Implement MutationObserver childList mutations.

This commit is contained in:
Imanol Fernandez 2017-05-18 17:06:24 +02:00
parent 864f5509d8
commit 0290e405ce
6 changed files with 112 additions and 119 deletions

View file

@ -1,90 +0,0 @@
[MutationObserver-childList.html]
type: testharness
expected: TIMEOUT
[childList Node.textContent: replace content mutation]
expected: TIMEOUT
[childList Node.textContent: no previous content mutation]
expected: TIMEOUT
[childList Node.textContent: empty string mutation]
expected: TIMEOUT
[childList Node.normalize mutation]
expected: TIMEOUT
[childList Node.normalize mutations]
expected: TIMEOUT
[childList Node.insertBefore: addition mutation]
expected: TIMEOUT
[childList Node.insertBefore: removal mutation]
expected: TIMEOUT
[childList Node.insertBefore: removal and addition mutations]
expected: TIMEOUT
[childList Node.insertBefore: fragment addition mutations]
expected: TIMEOUT
[childList Node.insertBefore: fragment removal mutations]
expected: TIMEOUT
[childList Node.insertBefore: last child addition mutation]
expected: TIMEOUT
[childList Node.appendChild: addition mutation]
expected: TIMEOUT
[childList Node.appendChild: removal mutation]
expected: TIMEOUT
[childList Node.appendChild: removal and addition mutations]
expected: TIMEOUT
[childList Node.appendChild: fragment addition mutations]
expected: TIMEOUT
[childList Node.appendChild: fragment removal mutations]
expected: TIMEOUT
[childList Node.appendChild: addition outside document tree mutation]
expected: TIMEOUT
[childList Node.replaceChild: replacement mutation]
expected: TIMEOUT
[childList Node.replaceChild: removal mutation]
expected: TIMEOUT
[childList Node.replaceChild: internal replacement mutation]
expected: TIMEOUT
[childList Node.removeChild: removal mutation]
expected: TIMEOUT
[childList Range.deleteContents: child removal mutation]
expected: TIMEOUT
[childList Range.deleteContents: child and data removal mutation]
expected: TIMEOUT
[childList Range.extractContents: child removal mutation]
expected: TIMEOUT
[childList Range.extractContents: child and data removal mutation]
expected: TIMEOUT
[childList Range.insertNode: child insertion mutation]
expected: TIMEOUT
[childList Range.insertNode: children insertion mutation]
expected: TIMEOUT
[childList Range.surroundContents: children removal and addition mutation]
expected: TIMEOUT
[childList Node.replaceChild: self internal replacement mutation]
expected: TIMEOUT

View file

@ -1,12 +0,0 @@
[MutationObserver-inner-outer.html]
type: testharness
expected: TIMEOUT
[innerHTML mutation]
expected: FAIL
[innerHTML with 2 children mutation]
expected: TIMEOUT
[outerHTML mutation]
expected: TIMEOUT