Show logs and fetches from a SharedWorker in DevTools |
||||
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
,
Jun 11 2018
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.
,
Jun 11 2018
My bad for being unclear. This is not a bug or regression but a feature request to match Firefox’ behavior.
,
Jun 11 2018
,
Oct 12
|
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Jun 11 2018