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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/sync-xhr-doesnt-deadlock-iframe.html

Issue 2907443002: Upstream service worker "XHR" test to WPT (Closed)
Patch Set: Simplify request URL and remove outdated reference Created 3 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Service Worker: SyncXHR doesn't deadlock iframe</title>
3 <script>
4 function performSyncXHR() {
5 var url = 'sync-xhr-doesnt-deadlock.data?bustcache=' + Date.now();
6 var syncXhr = new XMLHttpRequest();
7 syncXhr.open("GET", url, false);
8 syncXhr.send();
9 if (syncXhr.responseText != 'hello')
10 throw 'FAIL';
11 }
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698