[webkit-changes] [WebKit/WebKit] 30c07b: Simplify Navigation::scriptExecutionContext()

Patrick noreply at github.com
Thu Mar 21 11:20:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30c07bfcf389ac842ae25fd40d99c9b1913d78af
      https://github.com/WebKit/WebKit/commit/30c07bfcf389ac842ae25fd40d99c9b1913d78af
  Author: Patrick Griffis <pgriffis at igalia.com>
  Date:   2024-03-21 (Thu, 21 Mar 2024)

  Changed paths:
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Source/WebCore/page/Navigation.cpp
    M Source/WebCore/page/Navigation.h
    M Source/WebCore/page/Navigation.idl

  Log Message:
  -----------
  Simplify Navigation::scriptExecutionContext()
https://bugs.webkit.org/show_bug.cgi?id=271161

Reviewed by Chris Dumez.

As Navigation is a LocalDOMWindowProperty it always has
access to its own ScriptExecutionContext.

* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::navigation):
* Source/WebCore/page/Navigation.cpp:
(WebCore::Navigation::Navigation):
(WebCore::Navigation::initializeEntries):
(WebCore::Navigation::scriptExecutionContext const):
(WebCore::Navigation::serializeState):
(WebCore::Navigation::navigate):
(WebCore::Navigation::updateCurrentEntry):
(WebCore::Navigation::updateForNavigation):
* Source/WebCore/page/Navigation.h:
* Source/WebCore/page/Navigation.idl:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list