| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html
|
| index aa071dd44b3f1df7615e04562dcdd9ce6ccb2527..6fe82d70203e2b4fd8725f59667ea8c0ca407db9 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html
|
| @@ -15,8 +15,10 @@ async_test(function(t) {
|
| })
|
| .then(function() { return with_iframe(scope); })
|
| .then(function(frame) {
|
| - frame.contentWindow.performSyncXHR();
|
| - service_worker_unregister_and_done(t, scope);
|
| + setTimeout(function() {
|
| + frame.contentWindow.performSyncXHR();
|
| + service_worker_unregister_and_done(t, scope);
|
| + }, 0);
|
| })
|
| .catch(unreached_rejection(t));
|
| }, 'Verify SyncXHR does not deadlock');
|
|
|