[webkit-changes] [WebKit/WebKit] 971b9b: Enable Trusted Types in stable

Luke Warlow noreply at github.com
Fri Feb 28 17:19:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 971b9ba19d62aad183c5e3e47e2c1eff7c92f7c6
      https://github.com/WebKit/WebKit/commit/971b9ba19d62aad183c5e3e47e2c1eff7c92f7c6
  Author: Luke Warlow <lwarlow at igalia.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/content-security-policy/reporting/report-clips-sample.https.html
    M LayoutTests/imported/w3c/web-platform-tests/content-security-policy/securitypolicyviolation/source-file.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/WorkerGlobalScope-eval.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/block-eval-function-constructor.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/csp-block-eval.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-no-tt.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-tt-default-policy-mutate.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-tt-default-policy.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-tt-no-default-policy.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-function-constructor-untrusted-arguments-and-default-policy-throwing.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-function-constructor.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-no-csp-no-tt-default-policy.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-no-csp-no-tt.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-with-permissive-csp.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting-report-only.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/tt-block-eval.html
    M Source/JavaScriptCore/runtime/OptionsList.h
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml

  Log Message:
  -----------
  Enable Trusted Types in stable
https://bugs.webkit.org/show_bug.cgi?id=275349

Reviewed by Tim Nguyen.

Changes TrustedTypes UnifiedWebPreferences.yaml flag from testable to stable.
TrustedTypes remains disabled by default in WebKitLegacy.

The JSC useTrustedTypes option is also enabled by default.

Also updates WPT test files to no longer manually set useTrustedTypes JSC option to true.

* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/reporting/report-clips-sample.https.html:
* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/securitypolicyviolation/source-file.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/WorkerGlobalScope-eval.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/block-eval-function-constructor.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/csp-block-eval.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-no-tt.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-tt-default-policy-mutate.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-tt-default-policy.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-csp-tt-no-default-policy.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-function-constructor-untrusted-arguments-and-applying-default-policy.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-function-constructor-untrusted-arguments-and-default-policy-throwing.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-function-constructor.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-no-csp-no-tt-default-policy.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-no-csp-no-tt.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/eval-with-permissive-csp.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting-report-only.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html:
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/tt-block-eval.html:
* Source/JavaScriptCore/runtime/OptionsList.h:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

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