Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert of Show service worker navigation preload requests in DevTools…
… Network tab (patchset #9 id:460001 of https://codereview.chromium.org/2620463002/ ) Reason for revert: Caused layout test failures. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=webkit_tests&tests=http%2Ftests%2Finspector%2Fservice-workers%2Flazy-addeventlisteners.html Original issue's description: > Show service worker navigation preload requests in DevTools Network tab. > > Demo: https://youtu.be/I-Qe_Y-xYxE > > Navigation Preload requests are initiated from the browser process. > This is different from the normal network requests which are initiated from the > renderer process. > > When the DevTools show the normal requests in the Network tab, DevTool's > Network events (requestWillBeSent, responseReceived, loadingFinished etc) are > dispatched via InspectorInstrumentation and InspectorNetworkAgent. > > This CL introduces new DevTool's Network events (navigationPreloadSent, > navigationPreloadResponseReceived, navigationPreloadFailed, > navigationPreloadFinished) which are dispatched via InspectorInstrumentation and > InspectorNetworkAgent from ServiceWorkerContextClient. > > In the normal requests case, we record the request sending timestamp when the > renderer process will send the request in InspectorNetworkAgent:: > willSendRequestInternal(). But in the navigation preload case, we record the > timestamp in the browser process, and send it to the service worker's renderer > process using FetchEventPreloadHandle. > > > BUG=649558 > > Review-Url: https://codereview.chromium.org/2620463002 > Cr-Commit-Position: refs/heads/master@{#445630} > Committed: https://chromium.googlesource.com/chromium/src/+/4c6b3b0f11b62e069d9d84ba99dbe94a45a5c622 [email protected],[email protected] # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=649558 Review-Url: https://codereview.chromium.org/2649923007 Cr-Commit-Position: refs/heads/master@{#445684}
- Loading branch information