WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
205253
Web Worker name is not passed to Worker local scope
https://bugs.webkit.org/show_bug.cgi?id=205253
Summary
Web Worker name is not passed to Worker local scope
jujjyl
Reported
2019-12-15 12:44:14 PST
Page a.html: <html><body><script> new Worker('worker.js', { name: 'testPassingNameToWorker'}); </script></body></html> File worker.js: console.log(this.name); console.log(name); // Using implicit this Expected: Should print 'testPassingNameToWorker' twice. Observed: Prints undefined and throws an exception on variable 'name' not being found. Works on Firefox and Chrome.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-12-16 11:25:25 PST
<
rdar://problem/57978500
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug