summaryrefslogtreecommitdiff
path: root/monkey-test
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-03 17:28:56 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-03 17:28:56 +0100
commit74b6c433d570a657eabe08df04c9d505837c75c7 (patch)
treeb76e621516e9c0b51bcba7b946dab62c37782cf9 /monkey-test
parente090974000e3d6d93ef8154becfb53bd43595843 (diff)
downloadnetsurf-test-74b6c433d570a657eabe08df04c9d505837c75c7.tar.gz
netsurf-test-74b6c433d570a657eabe08df04c9d505837c75c7.tar.bz2
monkey-test: Add aborted-fetch to verify we don't leak
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'monkey-test')
-rw-r--r--monkey-test/aborted-fetch.yaml23
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
+