Bug 101710

Summary: Internals: MockPagePopup should not update DOM structure during detach()
Product: WebKit Reporter: Kent Tamura <tkent>
Component: Tools / TestsAssignee: Kent Tamura <tkent>
Status: RESOLVED FIXED    
Severity: Normal CC: keishi, morrita, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Kent Tamura
Reported 2012-11-08 22:29:13 PST
Internals: MockPagePopup should not update DOM structure during detach()
Attachments
Patch (21.76 KB, patch)
2012-11-08 22:46 PST, Kent Tamura
no flags
Kent Tamura
Comment 1 2012-11-08 22:46:30 PST
Hajime Morrita
Comment 2 2012-11-09 00:58:57 PST
Comment on attachment 173207 [details] Patch Now both MockPagePopup and WebPagePopupImpl are RefCounted. Why not make PagePopup a RefCounted? Then we might be able to get rid of these complicated lifecycle trick.
Kent Tamura
Comment 3 2012-11-09 01:42:17 PST
(In reply to comment #2) > (From update of attachment 173207 [details]) > Now both MockPagePopup and WebPagePopupImpl are RefCounted. Why not make PagePopup a RefCounted? Then we might be able to get rid of these complicated lifecycle trick. Yeah, it would help some. Let me work on it after this patch.
WebKit Review Bot
Comment 4 2012-11-11 17:40:37 PST
Comment on attachment 173207 [details] Patch Clearing flags on attachment: 173207 Committed r134180: <http://trac.webkit.org/changeset/134180>
WebKit Review Bot
Comment 5 2012-11-11 17:40:40 PST
All reviewed patches have been landed. Closing bug.
Kent Tamura
Comment 6 2012-11-11 20:01:59 PST
(In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 173207 [details] [details]) > > Now both MockPagePopup and WebPagePopupImpl are RefCounted. Why not make PagePopup a RefCounted? Then we might be able to get rid of these complicated lifecycle trick. > > Yeah, it would help some. Let me work on it after this patch. I tried to reduce some code by it, but I couldn't do anything other than removing RefCounted<> inheritance of MockPagePopup and WebPagePopupImpl.
Note You need to log in before you can comment on or make changes to this bug.