Bug 7343 - REGRESSION: fast/js/toString-overrides.html fails when run multiple times
Summary: REGRESSION: fast/js/toString-overrides.html fails when run multiple times
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 10:41 PST by mitz
Modified: 2006-02-20 08:31 PST (History)
2 users (show)

See Also:


Attachments
Remove object from visited elements set before returning an error (3.98 KB, patch)
2006-02-18 13:09 PST, mitz
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-02-18 10:41:21 PST
% run-webkit-tests fast/jstoString-overrides.html fast/js/toString-overrides.html fast/js/toString-overrides.html fast/js/toString-overrides.html fast/js/toString-overrides.html fast/js/toString-overrides.html fast/js/toString-overrides.html fast/js/toString-overrides.html

[...]

Testing 7 test cases.
fast/js .....
fast/js/toString-overrides.html -> failed
.
fast/js/toString-overrides.html -> failed
.
fast/js/toString-overrides.html -> failed

4 test cases (57%) succeeded
3 test cases (42%) had incorrect layout

A failure looks like this:

This test checks for regression against 4147: Array.toString() and toLocaleString() improvements from KDE KJS.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS [1].toString() is '1'
PASS [1].toLocaleString() is 'toLocaleString'
PASS [1].toLocaleString() is '1'
PASS [/r/].toString() is 'toString2'
PASS [/r/].toLocaleString() is 'toLocaleString2'
PASS [/r/].toLocaleString() is 'toString2'
FAIL caught should be true. Was false
PASS successfullyParsed is true

TEST COMPLETE
Comment 1 mitz 2006-02-18 10:45:17 PST
I can also reproduce this by reloading the test in Safari repeatedly. Eventually it will display FAIL in that line.
Comment 2 mitz 2006-02-18 11:23:45 PST
Undoing the fix for bug 3539 fixes this bug.
Comment 3 mitz 2006-02-18 13:09:29 PST
Created attachment 6590 [details]
Remove object from visited elements set before returning an error
Comment 4 Maciej Stachowiak 2006-02-18 13:30:35 PST
Comment on attachment 6590 [details]
Remove object from visited elements set before returning an error

r=me