Index: LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock-iframe.html |
diff --git a/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock-iframe.html b/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock-iframe.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0fa72911624be9ce7cec49954e6d8c3a9fce1cef |
--- /dev/null |
+++ b/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock-iframe.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<title>Service Worker: SyncXHR doesn't deadlock iframe</title> |
+<script> |
+function performSyncXHR() { |
+ var url = 'sync-xhr-doesnt-deadlock.data?bustcache=' + Date.now(); |
+ var syncXhr = new XMLHttpRequest(); |
+ syncXhr.open("GET", url, false); |
+ syncXhr.send(); |
+ if (syncXhr.responseText != 'hello') |
+ throw 'FAIL'; |
+} |
+</script> |