From 74b6c433d570a657eabe08df04c9d505837c75c7 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 3 Aug 2019 17:28:56 +0100 Subject: monkey-test: Add aborted-fetch to verify we don't leak Signed-off-by: Daniel Silverstone --- monkey-test/aborted-fetch.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 monkey-test/aborted-fetch.yaml (limited to 'monkey-test') 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 + -- cgit v1.2.3