mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Stub out Trusted Types interfaces (#36355)
Some methods are implemented fully, while others are implemented partly. With these implementations, there are no observed crashes when running the trusted-types web-platform-tests. Most notably, the tests/wpt/tests/trusted-types/idlharness.window.js is now fully passing. Part of #36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
3f24b44e15
commit
b87bf0b806
145 changed files with 3377 additions and 559 deletions
|
@ -116,6 +116,7 @@ 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,
|
||||
/// Enable the [URLPattern] API.
|
||||
///
|
||||
/// [URLPattern]: https://developer.mozilla.org/en-US/docs/Web/API/URLPattern
|
||||
|
@ -290,6 +291,7 @@ 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_urlpattern_enabled: false,
|
||||
dom_webgl2_enabled: false,
|
||||
dom_webgpu_enabled: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue