mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement TestUtils (#36301)
Implement the TestUtils namespace from https://testutils.spec.whatwg.org/. This should make the `js/builtins/weakrefs` tests run faster and more consistently. This change will enable other WPT tests but no tests exist currently for TestUtils itself. Fixes: #36290 --------- Signed-off-by: Sebastian C <sebsebmc@gmail.com> Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
5a35e1faec
commit
d93dad7f49
9 changed files with 69 additions and 3 deletions
|
@ -114,6 +114,8 @@ pub struct Preferences {
|
|||
pub dom_testing_element_activation_enabled: bool,
|
||||
pub dom_testing_html_input_element_select_files_enabled: bool,
|
||||
pub dom_testperf_enabled: bool,
|
||||
// https://testutils.spec.whatwg.org#availability
|
||||
pub dom_testutils_enabled: bool,
|
||||
/// Enable the [URLPattern] API.
|
||||
///
|
||||
/// [URLPattern]: https://developer.mozilla.org/en-US/docs/Web/API/URLPattern
|
||||
|
@ -287,6 +289,7 @@ impl Preferences {
|
|||
dom_testing_element_activation_enabled: false,
|
||||
dom_testing_html_input_element_select_files_enabled: false,
|
||||
dom_testperf_enabled: false,
|
||||
dom_testutils_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