Chromium Code Reviews| Index: LayoutTests/http/tests/serviceworker/resources/fetch-worker.js |
| diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js |
| index 7f5d401c3f0a3e618eefac237f462b0fb9ee5b2c..71819006c870e1efd847169f76da13d0b000878a 100644 |
| --- a/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js |
| +++ b/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js |
| @@ -19,7 +19,9 @@ function doNextFetchTest(port) { |
| port.postMessage('quit'); |
| // Destroying the execution context while fetch is happening should not cause a crash. |
| fetch('dummy.html').then(function() {}).catch(function() {}); |
| - self.close(); |
| + // FIXME: Since we can't ensure the context is torn down while |
|
horo
2014/08/27 02:24:50
Could you please add this method
function runInfi
jsbell
2014/08/27 16:27:09
Done. Let's see what the try bots think.
|
| + // this fetch is outstanding, consider making it re-fetch on |
| + // success. |
| return; |
| } |
| var target = testTargets.shift(); |