[Webkit-unassigned] [Bug 119472] REGRESSION (r153106-r153334): Function.prototype.call() and .apply() in web worker can’t set ‘this’ to global object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 1 07:32:53 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=119472

Guy Bedford <guybedford at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |guybedford at gmail.com

--- Comment #4 from Guy Bedford <guybedford at gmail.com> ---
I can confirm this is working in the latest nightly against the simple test case in a worker:

function a() {
  "use strict";
  if (typeof this == 'undefined')
    postMessage('"this" is undefined, when it should be the worker global');
  else
    postMessage('"this" is correctly defined to the worker global');
}

a.call(self);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160801/8717f37f/attachment.html>


More information about the webkit-unassigned mailing list