Chromium Code Reviews| 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..03209133cfdccf98ef017cebb56732b0a0814374 |
| --- /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(); |
|
horo
2014/09/18 01:04:29
ditto
|
| + var syncXhr = new XMLHttpRequest(); |
| + syncXhr.open("GET", url, false); |
| + syncXhr.send(); |
| + if (syncXhr.responseText != 'hello') |
| + throw 'FAIL'; |
| +} |
| +</script> |