Implement Range::createContextualFragment

This commit is contained in:
Guillaume Gomez 2016-05-29 03:28:37 +02:00
parent 2ef1437457
commit 5ab7f54762
12 changed files with 52 additions and 38 deletions

View file

@ -1,35 +1,11 @@
[createContextualFragment.html]
type: testharness
[Must not throw INVALID_STATE_ERR for a detached node.]
expected: FAIL
[Simple test with paragraphs]
expected: FAIL
[Don't auto-create <body> when applied to <html>]
expected: FAIL
[<script>s should be run when appended to the document (but not before)]
expected: FAIL
[<html> and <body> must work the same, 1]
expected: FAIL
[<html> and <body> must work the same, 2]
expected: FAIL
[Implicit <body> creation]
expected: FAIL
[Namespace generally shouldn't matter]
expected: FAIL
[<html> in a different namespace shouldn't be special]
expected: FAIL
[null should be stringified]
expected: FAIL
[undefined should be stringified]
expected: FAIL

View file

@ -1,6 +1,6 @@
[load-events-networkState.html]
type: testharness
expected: TIMEOUT
[NETWORK_NO_SOURCE]
expected: TIMEOUT

View file

@ -2,3 +2,4 @@
type: testharness
[error]
expected: FAIL

View file

@ -1,5 +0,0 @@
[119.html]
type: testharness
[scheduler: external defer script created with createContextualFragment]
expected: FAIL

View file

@ -1,4 +1,3 @@
[quickCheckAPI-G_I.html]
type: testharness
disabled: https://github.com/servo/servo/issues/10656

View file

@ -1,14 +1,19 @@
[copy-tex-image-2d-formats.html]
[WebGL test #3: getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors]
expected: FAIL
[WebGL test #6: getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors]
expected: FAIL
[WebGL test #9: getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors]
expected: FAIL
[WebGL test #12: getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors]
expected: FAIL
[WebGL test #15: getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors]
expected: FAIL
[WebGL test #16: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -3,4 +3,3 @@
expected:
if os == "linux": CRASH
if os == "mac": TIMEOUT

View file

@ -1,6 +1,5 @@
[texture-npot.html]
type: testharness
[WebGL test #4: at (0, 0) expected: 0,0,0,255 was 192,0,128,64]
expected: FAIL
@ -117,3 +116,4 @@
[WebGL test #83: getError expected: NO_ERROR. Was INVALID_ENUM : gl.generateMipmap with POT texture should return succeed]
expected: FAIL

View file

@ -3,4 +3,3 @@
expected:
if os == "linux": CRASH
if os == "mac": TIMEOUT