Bug 184112 - Drop DOMWindow::frames() / DOMWindow::window() methods
Summary: Drop DOMWindow::frames() / DOMWindow::window() methods
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-03-28 15:09 PDT by Chris Dumez
Modified: 2018-03-29 09:53 PDT (History)
14 users (show)

See Also:


Attachments
Patch (2.58 KB, patch)
2018-03-28 15:10 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (3.91 KB, patch)
2018-03-29 09:27 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2018-03-28 15:09:18 PDT
Drop DOMWindow::frames() / DOMWindow::window() methods as they are just aliases for DOMWindow::self().
Comment 1 Chris Dumez 2018-03-28 15:10:24 PDT
Created attachment 336724 [details]
Patch
Comment 2 Daniel Bates 2018-03-28 23:17:14 PDT
Comment on attachment 336724 [details]
Patch

r=me
Comment 3 Daniel Bates 2018-03-28 23:21:57 PDT
Comment on attachment 336724 [details]
Patch

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

> Source/WebCore/page/DOMWindow.h:194
>      // Self-referential attributes

Please remove this comment now that self() is the only self-referential attribute that we have a member function for and its name is self-descriptive. Self :)
Comment 4 Daniel Bates 2018-03-28 23:26:01 PDT
(In reply to Daniel Bates from comment #3)
> Comment on attachment 336724 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=336724&action=review
> 
> > Source/WebCore/page/DOMWindow.h:194
> >      // Self-referential attributes
> 
> Please remove this comment now that self() is the only self-referential
> attribute that we have a member function for and its name is
> self-descriptive. Self :)

Err, top() is self-referential for the main frame :/
Comment 5 Chris Dumez 2018-03-29 09:27:08 PDT
Created attachment 336777 [details]
Patch
Comment 6 EWS Watchlist 2018-03-29 09:29:08 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 7 WebKit Commit Bot 2018-03-29 09:52:37 PDT
Comment on attachment 336777 [details]
Patch

Clearing flags on attachment: 336777

Committed r230077: <https://trac.webkit.org/changeset/230077>
Comment 8 WebKit Commit Bot 2018-03-29 09:52:39 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2018-03-29 09:53:23 PDT
<rdar://problem/39002370>