New issue
Advanced search Search tips

Issue 877391 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 363796
Owner:
Closed: Nov 5
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

console filter doesn't filter out workbox

Reported by davidmax...@gmail.com, Aug 24

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
1. add some console log statements to your code with a text prefix that so you can easily search for it; I do `console.log('MAXMAXMAX:', someVar);`
2. code must use workbox (my app seems to be using workbox v3.1.0)
3. open app and dev tools/console
4. type (eg) 'MAXMAXMAX' in the console filter

What is the expected behavior?
only lines containing 'MAXMAXMAX' should be displayed

What went wrong?
There are (also) lots of workbox statements, eg:

​​workbox Precaching is responding to: /app.min.js
workbox-core.dev.js:433 workbox Precaching is responding to: /analytics.js
workbox-core.dev.js:433 workbox Router is responding to: /data/routes.json
workbox-core.dev.js:433 workbox Router is responding to: /data/tours.json
workbox-core.dev.js:433 workbox Using CacheFirst to respond to '/data/routes.json'
workbox-core.dev.js:433 workbox Using CacheFirst to respond to '/data/tours.json'
workbox-core.dev.js:433 workbox Precaching is responding to: /manifest.json
workbox-core.dev.js:433 workbox Precaching is responding to: /images/manifest/icon-144x144.png

(don't blame me for the formatting - copy/pasting from chrome console has been very broken for years. ctrl-a didn't even work in this case)

Did this work before? N/A 

Chrome version: 68.0.3440.106  Channel: stable
OS Version: 
Flash Version:
 
nb, the copy/paste formatting looks a lot tidier in the submitted comment, but the file:line parts are not on the same line as the comment they pertain to.
It's irrelevant to this bug, but thought I'd mention it.
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
Mergedinto: 363796
Status: Duplicate (was: Assigned)
Thanks for the report.  The cases mentioned are produced by Workbox's internal calls to `console.group`.  Currently, Console does not filter out empty groups, but it should.

Sign in to add a comment