[webkit-changes] [WebKit/WebKit] d6d79f: Adjusting the URL for bindings should have more gr...

Charlie Wolfe noreply at github.com
Wed Jan 25 10:21:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d6d79fb1647eb75b6044cfef4771c38818938c02
      https://github.com/WebKit/WebKit/commit/d6d79fb1647eb75b6044cfef4771c38818938c02
  Author: Charlie Wolfe <charliew at apple.com>
  Date:   2023-01-25 (Wed, 25 Jan 2023)

  Changed paths:
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  Adjusting the URL for bindings should have more granularity
https://bugs.webkit.org/show_bug.cgi?id=251132
rdar://104574697

Reviewed by Wenson Hsieh.

If we can attribute the script that is accessing bindings, and we
know that the script is first party, we should not adjust the URL.
We also shouldn't adjust the URL if the document has not loaded any
third party scripts.

* Source/WebCore/dom/Document.cpp:
(WebCore::Document::urlForBindings const):

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




More information about the webkit-changes mailing list