mirror of
https://github.com/servo/servo.git
synced 2025-06-04 07:35:36 +00:00
Unconditionally enable the URLPattern API (#37116)
We fail only a couple of the URLPattern tests and I think that's mostly due to bugs in the `urlpattern` crate. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
7fd0c81f55
commit
88fd2e43c8
4 changed files with 1 additions and 8 deletions
|
@ -116,10 +116,6 @@ pub struct Preferences {
|
|||
// 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
|
||||
pub dom_urlpattern_enabled: bool,
|
||||
pub dom_xpath_enabled: bool,
|
||||
/// Enable WebGL2 APIs.
|
||||
pub dom_webgl2_enabled: bool,
|
||||
|
@ -292,7 +288,6 @@ impl Preferences {
|
|||
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,
|
||||
dom_webgpu_wgpu_backend: String::new(),
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
typedef (USVString or URLPatternInit) URLPatternInput;
|
||||
|
||||
[Exposed=(Window,Worker), Pref="dom_urlpattern_enabled"]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface URLPattern {
|
||||
[Throws] constructor(URLPatternInput input, USVString baseURL, optional URLPatternOptions options = {});
|
||||
[Throws] constructor(optional URLPatternInput input = {}, optional URLPatternOptions options = {});
|
||||
|
|
1
tests/wpt/meta/__dir__.ini
vendored
1
tests/wpt/meta/__dir__.ini
vendored
|
@ -1,5 +1,4 @@
|
|||
prefs: [
|
||||
"dom_serviceworker_enabled:true",
|
||||
"dom_testutils_enabled:true",
|
||||
"dom_urlpattern_enabled:true",
|
||||
]
|
||||
|
|
1
tests/wpt/mozilla/meta/__dir__.ini
vendored
1
tests/wpt/mozilla/meta/__dir__.ini
vendored
|
@ -10,6 +10,5 @@ prefs: [
|
|||
"dom_testbinding_preference_value_string_empty:",
|
||||
"dom_testbinding_preference_value_string_test:test",
|
||||
"dom_testbinding_preference_value_truthy:true",
|
||||
"dom_urlpattern_enabled:true",
|
||||
"media_testing_enabled:true",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue