New issue
Advanced search Search tips

Issue 848965 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 908863
Owner:
Closed: Dec 4
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Logs from workers don't contain all arguments, sometimes appear twice

Project Member Reported by einbinder@chromium.org, Jun 2 2018

Issue description

Navigate to:

data:text/html, <script id="worker1" type="javascript/worker"> console.log('a', 'b'); //only 'a' will be logged </script> <script> const blob = new Blob([ document.querySelector('#worker1').textContent ], { type: "text/javascript" }); new Worker(window.URL.createObjectURL(blob)); </script>

Open DevTools, notice two logs, one with only the first argument 'a'.

Refresh the page with DevTools open, only one log appears.

It looks like the Log.entryAdded event for workers doesn't contain all the information, and that DevTools console is using the deprecated Console domain.
 
Owner: dgozman@chromium.org
Mergedinto: 908863
Status: Duplicate (was: Assigned)
Only first argument is expected for logs which are reported through the page.

Appearing twice is tracked by  issue 908863 .

Sign in to add a comment