Bug 101191

Summary: [V8] Dispose() and Clear() should be always coupled for safety
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: WebCore JavaScriptAssignee: Kentaro Hara <haraken>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, japhet, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Kentaro Hara
Reported 2012-11-05 01:01:35 PST
Clear() is not mandatory. However, to avoid misusing already disposed wrappers, Clear() should be always called just after Dispose().
Attachments
Patch (7.67 KB, patch)
2012-11-05 01:53 PST, Kentaro Hara
no flags
Kentaro Hara
Comment 1 2012-11-05 01:53:52 PST
Adam Barth
Comment 2 2012-11-05 07:43:07 PST
Comment on attachment 172295 [details] Patch ok
WebKit Review Bot
Comment 3 2012-11-05 08:14:52 PST
Comment on attachment 172295 [details] Patch Clearing flags on attachment: 172295 Committed r133479: <http://trac.webkit.org/changeset/133479>
WebKit Review Bot
Comment 4 2012-11-05 08:14:56 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.