diff options
author | horo <horo@chromium.org> | 2016-02-23 02:00:17 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-23 10:02:19 +0000 |
commit | 3cbfbfb9a38555d156e4034435de61722503c7c8 (patch) | |
tree | 93ad3ceb59a0952e7167ccb655d354b985f7908e /extensions/renderer | |
parent | 86a5a18c6f9e720fdaac9e5dc5eca8aafcb888ce (diff) | |
download | chromium_src-3cbfbfb9a38555d156e4034435de61722503c7c8.zip chromium_src-3cbfbfb9a38555d156e4034435de61722503c7c8.tar.gz chromium_src-3cbfbfb9a38555d156e4034435de61722503c7c8.tar.bz2 |
Change the logic to find the best matching Service Worker to debug
The current logic uses the length of the service worker script URL's directory to find the best matching service worker to debug.
But the directory may not be same as the service worker's scope and this logic may choose wrong service workers.
This CL change this logic to use the actual scope of the service worker, and check whether the page URL matches to the scope.
BUG=584296
Review URL: https://codereview.chromium.org/1713933002
Cr-Commit-Position: refs/heads/master@{#376958}
Diffstat (limited to 'extensions/renderer')
0 files changed, 0 insertions, 0 deletions