Sync XHR on Worker should not crash when response arrives immediately
A WorkerThreadableLoader::MainThreadLoaderHolder instance is created on the main thread and its reference is sent to the worker thread. The current implementation sends the reference after the loading starts (on the main thread), but it's problematic because the loading may exit immediately and hence it breaks WorkerThreadableLoader::WaitableEventWithTasks's assumption. BUG=637980 Review-Url: https://codereview.chromium.org/2250203003 Cr-Commit-Position: refs/heads/master@{#414302}
Showing
Please register or sign in to comment