Michael Drake
84e57d8d52
test: flex: Add sample documents made when developing flex layout
...
These still appear to render the same as Firefox.
2024-10-17 13:25:10 +01:00
Vincent Sanders
fd1a709490
change web search option to use provider name instead of index
2024-05-27 14:29:23 +01:00
Daniel Silverstone
c3794ba8aa
test: Add nsurl test to cover idna_{en,de}code()
...
This adds regression checks for the security issue recently fixed
in idna_{en,de}code().
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2024-05-27 10:19:33 +01:00
Michael Drake
37dfc4a44e
test: calc: Add pages that use calc for width property
2024-05-26 21:09:04 +01:00
Daniel Silverstone
1cf1391916
test: Correct nsurl case which should fail
...
We were previously assuming a badly escaped hostname would
not be a url parse failure; but in practice firefox expects
it to fail and thus omnis to a search instead. This behaviour
is expected, thus we update the test case.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2024-05-25 12:04:01 +01:00
Vincent Sanders
8e4e92fc86
fix gcov flushing in assert exit
2024-03-18 23:29:25 +00:00
Vincent Sanders
bb3026b19d
Fix corestring test
2023-12-13 14:33:47 +00:00
Michael Drake
303d5f251f
tests: Add author_level_css to list of all options
2023-11-25 21:49:43 +00:00
Michael Drake
23102ff601
test: Use YAML SafeLoader
2023-06-17 11:20:52 +01:00
DeltaVonNeumann
a16d5ff10b
Avoid integer types with platform dependent size
2023-06-17 10:29:39 +01:00
Daniel Silverstone
7bcd4fd246
DOMTokenList: Add support and testing for this
...
We add both DOMTokenList and DOMSettableTokenList and introduce
polyfills for stringifying it until nsgenbind can do that.
We also bring in a test to demonstrate all that we have.
Note: This does not implement the extra methods that exist according
to MDN, we may need a polyfill to bring that up to snuff.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2022-11-27 09:40:47 +00:00
Michael Drake
c50f4bab09
Test: Add prefer_dark_mode to reference choices data
2022-10-23 17:22:56 +01:00
Michael Drake
bc15ad5784
tests: Update corestring allocation count.
2021-02-15 14:24:15 +00:00
Vincent Sanders
dcec1d0cd5
undo debug driver change
2021-02-08 08:44:54 +00:00
Vincent Sanders
a091dc3603
allow monkey tests to specify a redraw area for plot-check steps
2021-02-07 22:57:27 +00:00
Daniel Silverstone
bcd88f96bb
test: Use putImageData features in life demo
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-24 19:34:08 +01:00
Daniel Silverstone
fe429e8d2d
test/js/life: Support changing the size of the canvas
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 23:44:40 +01:00
Daniel Silverstone
eae3756c55
monkey_driver: Unbreak window condition code so timeouts can happen
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 19:50:33 +01:00
Michael Drake
ac8458e3f2
Tests: NetSurf style for game of life test.
2020-05-23 13:33:15 +01:00
Daniel Silverstone
af158650d8
test/js: Game of Life
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-23 11:49:33 +01:00
Vincent Sanders
a912d4db4e
fix corestring test
2020-05-23 09:31:52 +01:00
Daniel Silverstone
1223cf0786
test/js: Include mandelbrot example
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 19:53:23 +01:00
Daniel Silverstone
ee054db071
monkey: Excise sslcert and add loading blocking support
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-05-22 09:15:27 +01:00
Michael Drake
0ab6249a64
Tests: Update test data for improved nsoption colour rendering.
2020-04-07 21:32:27 +01:00
Vincent Sanders
fa1f1dcd11
fix start stop test to set launch options correctly
2020-03-23 17:41:05 +00:00
Vincent Sanders
e070f13093
integration test remove remaining windows when browser has been quit
2020-03-23 17:41:05 +00:00
Vincent Sanders
710818f346
fix integration test repeat "max" handling
2020-03-23 17:41:05 +00:00
Vincent Sanders
9cb7d0ab48
make conditionals optional in integration test sleep-ms action
2020-03-23 17:41:05 +00:00
Vincent Sanders
19dded8cfa
add ability for monkey farmer to launch browser with environment variables set
2020-03-23 17:40:53 +00:00
Daniel Silverstone
921568166b
test: Add disc_cache_path to Choices-all test data
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 19:21:49 +00:00
Daniel Silverstone
c88106e02a
monkey_driver: Add launch-time option support
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 15:37:12 +00:00
Daniel Silverstone
5a028f61d3
test: Another corestring
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-24 09:20:14 +00:00
Michael Drake
3cceb8ff2b
Test: libmalloc_fig.so needs "-ldl".
2020-02-24 08:22:53 +00:00
Daniel Silverstone
088917641f
utils: Add hashmap_count()
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:40 +00:00
Daniel Silverstone
54b1960d18
utils: Add iteration API to hashmap
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 20:59:39 +00:00
Daniel Silverstone
a653e1e86e
utils: Add a generic hashmap and tests for it
...
In order to be able to use a generic hashmap in things such
as the fs_backing_store we want one to exist. Here it is,
along with some moderately comprehensive tests.
Current limits:
1. All keys and values are owned by the hashmap
2. The hashmap, while capable of different bucket counts
only has a single fixed count for now
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-23 15:13:47 +00:00
Daniel Silverstone
e8e7485089
test: Increase window destroy timeout to 30s by default
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 17:51:07 +00:00
Daniel Silverstone
f9b80469e0
test: Extra info when windows don't destroy quickly
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-22 17:50:51 +00:00
Daniel Silverstone
310247ef82
test: Bring corestring test count up to date
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-02-21 16:19:35 +00:00
Michael Drake
9a98f19611
Core: Remove unused minimum GIF delay option.
2020-02-21 11:45:20 +00:00
Vincent Sanders
826f4e161c
improve monkey-see-monkey-do backtrace output to include function name
2020-01-12 23:57:32 +00:00
Daniel Silverstone
ed6c326b1c
monkey-see-monkey-do: Don't use personal address decoder
...
Fix what looks like a typo but was in fact a use of a personal
wrapper around addr2line, to simply use addr2line.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-01-10 22:24:13 +00:00
Daniel Silverstone
d63de35033
monkey-see-monkey-do: Decode backtraces
...
To improve debugging, decode backtraces discovered during
runs with monkey-see-monkey-do
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-01-10 22:21:21 +00:00
Daniel Silverstone
a29ed7c083
monkeyfarmer.py: Ensure that we capture and repeat stderr
...
In order that we can process stderr in monkey-see-monkey-do
we need to capture it in the farmer and re-echo it through
Python's stderr object
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2020-01-10 22:21:17 +00:00
Vincent Sanders
5632c9c8c0
stop bad unicode data from crashing teh test harness
...
instead of exploding if monkey returns a bad unicode string instead
a warning will be reported and the unicode decode performed with
character replacemnt instead
2019-12-31 19:42:33 +00:00
Vincent Sanders
3fdbef0566
remove unused render_resample option from beos, gtk and monkey frontends
2019-12-21 20:52:22 +00:00
Vincent Sanders
bacd8d229c
make RISC OS specific window_screen_ options limited to that frontend
2019-12-20 12:59:28 +00:00
Vincent Sanders
918b1d0fed
remove long unused plugin option from gtk and monkey
2019-12-17 22:09:41 +00:00
Daniel Silverstone
09f6c50980
monkey: Support testing page info state
...
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
2019-12-01 18:24:34 +00:00
Daniel Silverstone
7d0fe9ecbc
use faster loader for yaml in test parsing
2019-11-30 15:41:20 +00:00