[webkit-changes] [WebKit/WebKit] 6ec2f0: Remove IDL duplication in RemoteDOMWindow.idl

Alex Christensen noreply at github.com
Tue Dec 19 08:39:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6ec2f0dd13a9084b135c7fe5574a91073bc6532a
      https://github.com/WebKit/WebKit/commit/6ec2f0dd13a9084b135c7fe5574a91073bc6532a
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M Source/WebCore/bindings/js/JSRemoteDOMWindowCustom.cpp
    M Source/WebCore/page/DOMWindow.idl
    M Source/WebCore/page/LocalDOMWindow.idl
    M Source/WebCore/page/RemoteDOMWindow.idl

  Log Message:
  -----------
  Remove IDL duplication in RemoteDOMWindow.idl
https://bugs.webkit.org/show_bug.cgi?id=266617
rdar://119851333

Reviewed by Chris Dumez.

RemoteDOMWindow.idl used to have some of the functions that LocalDOMWindow.idl had.
This moves them to a shared location and removes duplicate definitions, preferring
the LocalDOMWindow definition if there were any differences.

* Source/WebCore/bindings/js/JSRemoteDOMWindowCustom.cpp:
(WebCore::JSRemoteDOMWindow::self const):
(WebCore::JSRemoteDOMWindow::window const):
(WebCore::JSRemoteDOMWindow::frames const):
* Source/WebCore/page/DOMWindow.idl:
* Source/WebCore/page/LocalDOMWindow.idl:
* Source/WebCore/page/RemoteDOMWindow.idl:

Canonical link: https://commits.webkit.org/272272@main




More information about the webkit-changes mailing list