Remove the dom_trusted_types_enabled preference (#39281)

Everything related to Trusted Types has been implemented. Failing WPT
tests are related to other features such as SVG scripts.

Fixes #36258

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe 2025-09-13 11:57:15 +02:00 committed by GitHub
parent 5beb16d671
commit 2f252c9b78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 5 additions and 9 deletions

View file

@ -145,7 +145,6 @@ pub struct Preferences {
pub dom_testperf_enabled: bool,
// https://testutils.spec.whatwg.org#availability
pub dom_testutils_enabled: bool,
pub dom_trusted_types_enabled: bool,
pub dom_xpath_enabled: bool,
/// Enable WebGL2 APIs.
pub dom_webgl2_enabled: bool,
@ -325,7 +324,6 @@ impl Preferences {
dom_testing_html_input_element_select_files_enabled: false,
dom_testperf_enabled: false,
dom_testutils_enabled: false,
dom_trusted_types_enabled: false,
dom_webgl2_enabled: false,
dom_webgpu_enabled: false,
dom_webgpu_wgpu_backend: String::new(),