New issue
Advanced search Search tips

Issue 644991 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 594160
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug

Blocking:
issue 644617



Sign in to add a comment

Warnings from ServiceWorkerGlobalScope doesn't show up in devtools' console

Project Member Reported by shimazu@chromium.org, Sep 8 2016

Issue description

Warning should be shown when addEventListener is called after the very first evaluation of the service worker script.

Where firing the warning is here: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp?dr=CSs&q=ServiceWorkerGlobalScope&sq=package:chromium&l=155

However, currently these messages are shown only on chrome://serviceworker-internals, and we cannot see them on DevTools. I've already confirmed ServiceWorkerContextWatcher::OnReportConsoleMessage and ServiceWorkerHandler::OnErrorReported were called correctly, so something seems wrong after that.
 
Components: Platform>DevTools
I tried bisect, and this happens between 415439 and 415451.
Here is a list of changes:
https://chromium.googlesource.com/chromium/src/+log/540399d5f34abfcae1828e2c36835ffae391e319..d748f22c6fa57ce44370686d816500f8cc9cb2aa

And then I tried reverting https://crrev.com/2297803002, it works.
Labels: -Pri-3 Pri-1
According to c#2, this would be a regression. Let's bump the priority...
Mergedinto: 594160
Status: Duplicate (was: Available)

Sign in to add a comment