New issue
Advanced search Search tips

Issue 851323 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Show logs and fetches from a SharedWorker in DevTools

Project Member Reported by surma@chromium.org, Jun 10 2018

Issue description

Chrome Version       : 67.0.3396.62
OS Version: OS X 10.13.4
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: FAIL (no support for SharedWorker)
    Firefox: OK
    IE/Edge: FAIL (no support for SharedWorker)

What steps will reproduce the problem?
1. Paste this code in DevTools:

new SharedWorker(URL.createObjectURL(new Blob([`onconnect = e => {e.ports[0].onmessage = e => console.log(e['data'])}`], {type: 'text/javascript'}))).port.postMessage("hai")


What is the expected result?
See a log.

What happens instead of that?
You see nothing. Not even a request in the network tab. You need to inspect the SharedWorker itself via chrome://inspect#worker


UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36



 
Labels: Needs-Triage-M67
Cc: vamshi.kommuri@chromium.org
Components: Platform>DevTools
Labels: -Pri-3 Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Windows Pri-2
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue!

Tried checking the issue on reported chrome version 67.0.3396.62 and on the latest canary 69.0.3453.3 using Mac 10.13.1, Ubuntu 14.04 and Windows 10. When pasting the code in DevTools console it results "Undefined". Similar behaviour is seen from M60(60.0.3112.0) considering it as Non-Regression and marking it as Untriaged.

Comment 3 by surma@google.com, Jun 11 2018

My bad for being unclear. This is not a bug or regression but a feature request to match Firefox’ behavior. 

Comment 4 by kozy@chromium.org, Jun 11 2018

Labels: -Type-Bug Type-Feature
Owner: eostroukhov@chromium.org
Status: Assigned (was: Untriaged)
Owner: jarhar@chromium.org

Sign in to add a comment