ES5.1-15.3.5.4. prohibits Function.caller from [[Get]]ting a strict caller
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Mar 2012 01:52:17 +0000 (01:52 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Mar 2012 01:52:17 +0000 (01:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=80011

We now support getting the caller from within an accessor.

Reviewed by Sam Weinig.

* fast/js/function-dot-arguments-and-caller.html:
* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109644 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/js/function-dot-arguments-and-caller.html
LayoutTests/platform/qt/Skipped

index 5540980..31577a6 100644 (file)
@@ -1,3 +1,15 @@
+2012-03-02  Gavin Barraclough  <barraclough@apple.com>
+
+        ES5.1-15.3.5.4. prohibits Function.caller from [[Get]]ting a strict caller
+        https://bugs.webkit.org/show_bug.cgi?id=80011
+
+        We now support getting the caller from within an accessor.
+
+        Reviewed by Sam Weinig.
+
+        * fast/js/function-dot-arguments-and-caller.html:
+        * platform/qt/Skipped:
+
 2012-03-02  Eric Seidel  <eric@webkit.org>
 
         Chrome 18 fails html5test.com XHR Blob response test
index 36c4998..1ed7e0e 100644 (file)
@@ -80,7 +80,7 @@ eval('(function () { }).arguments instanceof Object ? "FAIL" : "PASS"'),
 eval('(function f() { return f.caller instanceof Object ? "FAIL" : "PASS"; })()'),
 
 (function f() {
-    return String({ toString: function g() { return g.caller instanceof Object ? "FAIL" : "PASS"; } });
+    return String({ toString: function g() { return g.caller instanceof Object ? "PASS" : "FAIL"; } });
 })(),
 
 (function f() {
index 56c96b3..6e5c4f6 100644 (file)
@@ -2670,7 +2670,3 @@ transitions/cancel-transition.html
 # REGRESSION, r109105 made it fail
 # https://bugs.webkit.org/show_bug.cgi?id=79555
 fast/events/dispatch-message-string-data.html
-
-# ES5.1-15.3.5.4. prohibits Function.caller from [[Get]]ting a strict caller
-# https://bugs.webkit.org/show_bug.cgi?id=80011 (REGRESSION caused by r109461)
-fast/js/function-dot-arguments-and-caller.html