[webkit-changes] [WebKit/WebKit] cd9e39: REGRESSION(283734 at main): User stylesheets tests fail

Ryosuke Niwa noreply at github.com
Tue Sep 17 10:35:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd9e39227c0b51b174b77cd97df99d8407603530
      https://github.com/WebKit/WebKit/commit/cd9e39227c0b51b174b77cd97df99d8407603530
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp
    M Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.h

  Log Message:
  -----------
  REGRESSION(283734 at main): User stylesheets tests fail
https://bugs.webkit.org/show_bug.cgi?id=279826

Reviewed by Timothy Hatcher.

The regression was introduced because the PR replaced m_userStyleSheets with protectedUserScripts().
Fix the regression by using newly introduced protectedUserStyleSheets instead.

* Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp:
(WebKit::WebUserContentControllerProxy::protectedUserStyleSheets const): Added.
(WebKit::WebUserContentControllerProxy::parameters const):
* Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.h:

Canonical link: https://commits.webkit.org/283782@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