RESOLVED FIXED 80011
ES5.1-15.3.5.4. prohibits Function.caller from [[Get]]ting a strict caller
https://bugs.webkit.org/show_bug.cgi?id=80011
Summary ES5.1-15.3.5.4. prohibits Function.caller from [[Get]]ting a strict caller
Gavin Barraclough
Reported 2012-03-01 00:06:30 PST
Also, fix getting the caller from within a bound function, for within a getter, or setter (make our implementation match other browsers).
Attachments
Fix (16.22 KB, patch)
2012-03-01 00:16 PST, Gavin Barraclough
no flags
Gavin Barraclough
Comment 1 2012-03-01 00:16:53 PST
WebKit Review Bot
Comment 2 2012-03-01 00:19:16 PST
Attachment 129651 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1 Source/JavaScriptCore/interpreter/Interpreter.cpp:51: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 3 2012-03-01 03:11:00 PST
Comment on attachment 129651 [details] Fix Attachment 129651 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11770384 New failing tests: fast/js/caller-property.html
Gavin Barraclough
Comment 4 2012-03-01 16:13:30 PST
Fixed in r109461
Csaba Osztrogonác
Comment 5 2012-03-02 05:37:11 PST
Reopen, because it broke fast/js/function-dot-arguments-and-caller.html. (At least on SL and on Qt.) --- /Volumes/Data/slave/snowleopard-intel-release-tests/build/layout-test-results/fast/js/function-dot-arguments-and-caller-expected.txt +++ /Volumes/Data/slave/snowleopard-intel-release-tests/build/layout-test-results/fast/js/function-dot-arguments-and-caller-actual.txt @@ -2,5 +2,5 @@ If the test passes, you'll see a series of PASS messages below. -PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS +PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,FAIL,PASS
Csaba Osztrogonác
Comment 6 2012-03-02 06:33:16 PST
I skipped it on Qt to make bot happier - http://trac.webkit.org/changeset/109571/trunk/LayoutTests/platform/qt/Skipped Please unskip it with the proper fix. Thanks.
Gavin Barraclough
Comment 7 2012-03-02 17:52:52 PST
Fixed in r109644.
Gavin Barraclough
Comment 8 2012-03-07 17:20:28 PST
*** Bug 45480 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.