mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
MutationObserver api: Implement takeRecords() and characterData mutations
This commit is contained in:
parent
c5f7c9ccf3
commit
75434e6fce
9 changed files with 98 additions and 112 deletions
|
@ -1,28 +1,5 @@
|
|||
[MutationObserver-attributes.html]
|
||||
type: testharness
|
||||
[attributes Element.id: same value mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.className: new value mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.classList.add: single token addition mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.classList.add: multiple tokens addition mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.setAttribute: classname mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.setAttributeNS: creation mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.setAttributeNS: prefixed attribute creation mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes Element.className: empty string update mutation]
|
||||
expected: FAIL
|
||||
|
||||
[attributes/attributeFilter Element.id/Element.className: update mutation]
|
||||
expected: FAIL
|
||||
|
@ -32,4 +9,3 @@
|
|||
|
||||
[attributeFilter alone Element.id/Element.className: multiple filter update mutation]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
[MutationObserver-characterData.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[characterData Text.data: simple mutation without oldValue]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.data: simple mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.appendData: simple mutation]
|
||||
expected: TIMEOUT
|
||||
|
@ -15,46 +10,3 @@
|
|||
|
||||
[characterData Text.appendData: null string mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.insertData: simple mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.insertData: empty string mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.insertData: null string mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.deleteData: simple mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.deleteData: empty mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.replaceData: simple mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Text.replaceData: empty mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData ProcessingInstruction: data mutations]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Comment: data mutations]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Range.deleteContents: child and data removal mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Range.deleteContents: child and data removal mutation (2)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Range.extractContents: child and data removal mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData Range.extractContents: child and data removal mutation (2)]
|
||||
expected: TIMEOUT
|
||||
|
||||
[characterData/characterDataOldValue alone Text.data: simple mutation]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,11 +1,2 @@
|
|||
[MutationObserver-takeRecords.html]
|
||||
type: testharness
|
||||
[unreachabled test]
|
||||
expected: FAIL
|
||||
|
||||
[All records present]
|
||||
expected: FAIL
|
||||
|
||||
[No more records present]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue