[Webkit-unassigned] [Bug 205253] New: Web Worker name is not passed to Worker local scope
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 15 12:44:14 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=205253
Bug ID: 205253
Summary: Web Worker name is not passed to Worker local scope
Product: WebKit
Version: Safari 13
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jujjyl at gmail.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191215/7e2355bd/attachment.htm>
More information about the webkit-unassigned
mailing list