Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock-iframe.html

Issue 573293005: syncxhr doesn't deadlock layout test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698