mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Auto merge of #21232 - servo:jdm-patch-22, r=asajeffrey
Enable MutationObserver by default. All of the WebIDL APIs are implemented, so we might as well have it enabled by default now. I've filed https://github.com/servo/servo/issues/21233 for the remaining test failures. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21232) <!-- Reviewable:end -->
This commit is contained in:
commit
53382f5a0f
11 changed files with 15 additions and 47 deletions
|
@ -8,7 +8,7 @@
|
||||||
"dom.gamepad.enabled": false,
|
"dom.gamepad.enabled": false,
|
||||||
"dom.microdata.testing.enabled": true,
|
"dom.microdata.testing.enabled": true,
|
||||||
"dom.mouseevent.which.enabled": false,
|
"dom.mouseevent.which.enabled": false,
|
||||||
"dom.mutation_observer.enabled": false,
|
"dom.mutation_observer.enabled": true,
|
||||||
"dom.permissions.enabled": false,
|
"dom.permissions.enabled": false,
|
||||||
"dom.permissions.testing.allowed_in_nonsecure_contexts": false,
|
"dom.permissions.testing.allowed_in_nonsecure_contexts": false,
|
||||||
"dom.serviceworker.timeout_seconds": 60,
|
"dom.serviceworker.timeout_seconds": 60,
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
[css-style-attr-decl-block.html]
|
|
||||||
[Changes to CSS declaration block should queue mutation record for style attribute]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Removing non-existing property or setting invalid value on CSS declaration block shouldn't queue mutation record]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
[cssstyledeclaration-mutationrecord-001.html]
|
|
||||||
expected: ERROR
|
|
||||||
[CSSStyleDeclaration.setPropertyValue queues a mutation record, even if not mutated]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[CSSStyleDeclaration.setPropertyValue queues a mutation record when serialization is changed]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[cssstyledeclaration-mutationrecord-002.html]
|
|
||||||
expected: ERROR
|
|
||||||
[CSSStyleDeclaration.setPropertyValue doesn't queue a mutation record when setting invalid values]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[cssstyledeclaration-mutationrecord-003.html]
|
|
||||||
expected: ERROR
|
|
||||||
[CSSStyleDeclaration.removeProperty doesn't queue a mutation record when not actually removed, invoked from setPropertyValue]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[cssstyledeclaration-mutationrecord-004.html]
|
|
||||||
expected: ERROR
|
|
||||||
[CSSStyleDeclaration.removeProperty doesn't queue a mutation record when not actually removed]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
[microtasks-and-constructors.html]
|
||||||
|
[Microtasks evaluate immediately when the stack is empty inside the parser]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Microtasks evaluate immediately when the stack is empty inside the parser, causing the checks on no attributes to fail]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Microtasks evaluate afterward when the stack is not empty using createElement()]
|
||||||
|
expected: FAIL
|
|
@ -1,6 +1,5 @@
|
||||||
[task_microtask_ordering.html]
|
[task_microtask_ordering.html]
|
||||||
type: testharness
|
expected: TIMEOUT
|
||||||
[Level 1 bossfight (synthetic click)]
|
[Level 1 bossfight (synthetic click)]
|
||||||
expected: FAIL
|
expected: TIMEOUT
|
||||||
bug: https://github.com/servo/servo/issues/1980
|
|
||||||
|
|
||||||
|
|
|
@ -34,18 +34,6 @@
|
||||||
[unhandledrejection: from Promise.reject, indirected through Promise.all]
|
[unhandledrejection: from Promise.reject, indirected through Promise.all]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
[delayed handling: a microtask delay before attaching a handler prevents both events (Promise.reject-created promise)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[delayed handling: a microtask delay before attaching a handler prevents both events (immediately-rejected new Promise-created promise)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[delayed handling: a microtask delay before attaching the handler, and before rejecting the promise, indirected through Promise.all]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[microtask nesting: attaching a handler inside a combination of mutationObserverMicrotask + promise microtasks]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[delayed handling: a nested-task delay before attaching a handler causes unhandledrejection]
|
[delayed handling: a nested-task delay before attaching a handler causes unhandledrejection]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
|
@ -65267,7 +65267,7 @@
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/interfaces.html": [
|
"mozilla/interfaces.html": [
|
||||||
"365c76c771b3d79a671b04047923f5644efb9b93",
|
"079065a1870bb9d3f790e9e8a3e17417c7195204",
|
||||||
"testharness"
|
"testharness"
|
||||||
],
|
],
|
||||||
"mozilla/interfaces.js": [
|
"mozilla/interfaces.js": [
|
||||||
|
|
|
@ -152,6 +152,8 @@ test_interfaces([
|
||||||
"MimeType",
|
"MimeType",
|
||||||
"MimeTypeArray",
|
"MimeTypeArray",
|
||||||
"MouseEvent",
|
"MouseEvent",
|
||||||
|
"MutationObserver",
|
||||||
|
"MutationRecord",
|
||||||
"NamedNodeMap",
|
"NamedNodeMap",
|
||||||
"Navigator",
|
"Navigator",
|
||||||
"Node",
|
"Node",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue