Summary: | REGRESSION: visited element handling is incorrect in nested join/toString calls | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||||||||
Component: | JavaScriptCore | Assignee: | Alexey Proskuryakov <ap> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | sam | ||||||||||
Priority: | P1 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Mac | ||||||||||||
OS: | OS X 10.5 | ||||||||||||
Attachments: |
|
Description
Alexey Proskuryakov
2008-04-10 02:43:09 PDT
Created attachment 20450 [details]
test case
Created attachment 20453 [details]
proposed fix
Created attachment 20454 [details]
proposed fix
Forgot to save ChangeLog before making the patch.
Created attachment 20455 [details]
proposed fix
Third time's the charm?
+ OwnPtr<HashSet<JSObject*> > visitedElements; Since this variable is now visible outside of the array implementation file, I think it needs a more specific name. How about "arrayVisitedElements"? Maybe also add a comment that says "Global data shared by array prototype functions". Please land this patch with your testcase. r=me Comment on attachment 20455 [details]
proposed fix
Setting r+ based on Geoff's r=me.
Committed revision 31807. |