RESOLVED FIXED 63352
The fast/js/recursion-limit-equal test is too fragile
https://bugs.webkit.org/show_bug.cgi?id=63352
Summary The fast/js/recursion-limit-equal test is too fragile
Filip Pizlo
Reported 2011-06-24 13:41:35 PDT
The fast/js/recursion-limit-equal test validates that the JavaScriptCore engine can throw a RangeError correctly in a recursion function that tests equality. However, its present design asserts that the RangeError is thrown from the point of recursion rather than from any of the other points in the function. Small changes in the system may change where the RangeError is thrown, which results in the test failing. This contradicts the definition of the test: the test is meant to succeed so long as a RangeError is thrown, regardless of which line number in the test function triggers the runtime to throw the error.
Attachments
the patch (1.85 KB, patch)
2011-06-24 13:44 PDT, Filip Pizlo
barraclough: review+
webkit.review.bot: commit-queue-
Archive of layout-test-results from ec2-cr-linux-03 (1.47 MB, application/zip)
2011-06-24 14:14 PDT, WebKit Review Bot
no flags
Filip Pizlo
Comment 1 2011-06-24 13:44:32 PDT
Created attachment 98533 [details] the patch
Gavin Barraclough
Comment 2 2011-06-24 13:47:54 PDT
Comment on attachment 98533 [details] the patch Great
WebKit Review Bot
Comment 3 2011-06-24 14:14:37 PDT
Comment on attachment 98533 [details] the patch Attachment 98533 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8934578 New failing tests: fast/js/recursion-limit-equal.html
WebKit Review Bot
Comment 4 2011-06-24 14:14:42 PDT
Created attachment 98539 [details] Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Gavin Barraclough
Comment 5 2011-06-27 11:40:42 PDT
Landed in r89842
Note You need to log in before you can comment on or make changes to this bug.