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

Description Kentaro Hara 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().
Comment 1 Kentaro Hara 2012-11-05 01:53:52 PST
Created attachment 172295 [details]
Patch
Comment 2 Adam Barth 2012-11-05 07:43:07 PST
Comment on attachment 172295 [details]
Patch

ok
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2012-11-05 08:14:56 PST
All reviewed patches have been landed.  Closing bug.