<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:guybedford@gmail.com" title="Guy Bedford <guybedford@gmail.com>"> <span class="fn">Guy Bedford</span></a>
</span> changed
<a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - REGRESSION (r153106-r153334): Function.prototype.call() and .apply() in web worker can’t set ‘this’ to global object"
href="https://bugs.webkit.org/show_bug.cgi?id=119472">bug 119472</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>guybedford@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - REGRESSION (r153106-r153334): Function.prototype.call() and .apply() in web worker can’t set ‘this’ to global object"
href="https://bugs.webkit.org/show_bug.cgi?id=119472#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - REGRESSION (r153106-r153334): Function.prototype.call() and .apply() in web worker can’t set ‘this’ to global object"
href="https://bugs.webkit.org/show_bug.cgi?id=119472">bug 119472</a>
from <span class="vcard"><a class="email" href="mailto:guybedford@gmail.com" title="Guy Bedford <guybedford@gmail.com>"> <span class="fn">Guy Bedford</span></a>
</span></b>
<pre>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);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>