Bug 109151

Summary: Fix FIXME in WindowFeatures.h
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: DOMAssignee: Kentaro Hara <haraken>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, darin, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Kentaro Hara 2013-02-07 01:01:19 PST
1. // FIXME: We can delete this constructor once V8 showModalDialog is changed to use DOMWindow.

This FIXME is not right. The WindowFeatures() constructor is used by other ports too (e.g. WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp). So we should remove the FIXME.

2. // FIXME: We can make these functions private non-member functions once V8 showModalDialog is changed to use DOMWindow.

This FIXME is fixable. Given that V8 now uses DOMWindow in showModalDialog(), we can make the methods private.
Comment 1 Kentaro Hara 2013-02-07 01:02:52 PST
Created attachment 187013 [details]
Patch
Comment 2 Kentaro Hara 2013-02-07 01:03:44 PST
Created attachment 187014 [details]
Patch
Comment 3 Build Bot 2013-02-07 05:43:19 PST
Comment on attachment 187014 [details]
Patch

Attachment 187014 [details] did not pass win-ews (win):
Output: http://queues.webkit.org/results/16426129
Comment 4 WebKit Review Bot 2013-02-07 16:32:09 PST
Comment on attachment 187014 [details]
Patch

Clearing flags on attachment: 187014

Committed r142202: <http://trac.webkit.org/changeset/142202>
Comment 5 WebKit Review Bot 2013-02-07 16:32:13 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Darin Adler 2013-02-07 20:15:02 PST
Comment on attachment 187014 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=187014&action=review

> Source/WebCore/page/WindowFeatures.h:40
> +    WindowFeatures()

Any chance we can wean the callers off this entirely? I don’t understand why this is useful.