diff options
Diffstat (limited to 'monkey-test')
-rw-r--r-- | monkey-test/aborted-fetch.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/monkey-test/aborted-fetch.yaml b/monkey-test/aborted-fetch.yaml new file mode 100644 index 0000000..90a2ee1 --- /dev/null +++ b/monkey-test/aborted-fetch.yaml @@ -0,0 +1,23 @@ +title: Test we can hard-abort a fetch +group: initial +steps: +- action: launch + language: en + options: + - enable_javascript=1 +- action: window-new + tag: win1 + +# Ensure we can load the page properly in the first place +- action: navigate + window: win1 + url: http://test.netsurf-browser.org/cgi-bin/sleep.cgi +# Wait a full three seconds for the page to start loading properly +- action: sleep-ms + time: 3000 + conditions: [] +# Now stop dead and hope we don't see anything bad in the logs +- action: window-close + window: win1 +- action: quit + |