aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js')
m---------tests/wpt/web-platform-tests0
-rw-r--r--tests/wpt/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js6
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests
deleted file mode 160000
-Subproject 29dfb8944e535d439ca94cf7d1b1d9138a8ad11
diff --git a/tests/wpt/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js b/tests/wpt/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js
new file mode 100644
index 00000000000..0207cf10764
--- /dev/null
+++ b/tests/wpt/web-platform-tests/XMLHttpRequest/resources/xmlhttprequest-timeout-simple.js
@@ -0,0 +1,6 @@
+if (this.document === undefined)
+ importScripts("xmlhttprequest-timeout.js");
+
+runTestRequests([ new RequestTracker(true, "no time out scheduled, load fires normally", 0),
+ new RequestTracker(true, "load fires normally", TIME_NORMAL_LOAD),
+ new RequestTracker(true, "timeout hit before load", TIME_REGULAR_TIMEOUT) ]);