[webkit-changes] [WebKit/WebKit] 9fe72b: Inject Web Extension bindings before the InjectedB...

Timothy Hatcher noreply at github.com
Wed Oct 4 15:58:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9fe72b90bda180bcafd79f28a5d1c02d4b3a4e09
      https://github.com/WebKit/WebKit/commit/9fe72b90bda180bcafd79f28a5d1c02d4b3a4e09
  Author: Timothy Hatcher <timothy at apple.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp

  Log Message:
  -----------
  Inject Web Extension bindings before the InjectedBundle.
https://webkit.org/b/262576

Reviewed by Brian Weinstein.

Reverse the order of inject so Safari can inject after WebKit if needed.
Aslo adopt RefPtr in more spots to match Chris's change in bd0e961.

* Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp:
(WebKit::WebLocalFrameLoaderClient::dispatchDidStartProvisionalLoad):
(WebKit::WebLocalFrameLoaderClient::dispatchDidCommitLoad):
(WebKit::WebLocalFrameLoaderClient::dispatchDidFinishLoad):
(WebKit::WebLocalFrameLoaderClient::dispatchGlobalObjectAvailable):
(WebKit::WebLocalFrameLoaderClient::dispatchServiceWorkerGlobalObjectAvailable):

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




More information about the webkit-changes mailing list