Bypass ServiceWorker when the request originates from isolated world.
After https://codereview.chromium.org/1192013003, when Chrome extension sends XHR request to "chrome-extension://*" to get the contents in the extension, the request goes to the page's ServiceWorker. This is breaking some extensions. (crbug.com/517181) And also it is causing ASSERT failure. (crbug.com/528818) The requests initiated from extensions should not go to the ServiceWorker. So this CL checks DOMWrapperWorld.isIsolatedWorld and sets the skipServiceWorker flag to bypass the SW. BUG=528818,517181 Review URL: https://codereview.chromium.org/1390943003 Cr-Commit-Position: refs/heads/master@{#360533}
Showing
Please register or sign in to comment