Update document.open to latest spec

This commit is contained in:
Derek Guenther 2018-09-23 13:36:07 -05:00
parent e4657c1496
commit 1538587f2f
12 changed files with 59 additions and 163 deletions

View file

@ -1,4 +0,0 @@
[001.html]
[Replacement of window object after document.open]
expected: FAIL

View file

@ -1,4 +0,0 @@
[005.html]
[Cancelling timeout after document.open]
expected: FAIL

View file

@ -1,4 +0,0 @@
[008.html]
[Replacement of document prototype object after document.open]
expected: FAIL

View file

@ -1,17 +0,0 @@
[009.https.html]
expected: ERROR
[document.open replacing singleton window]
expected: NOTRUN
[document.open replacing singleton location]
expected: NOTRUN
[document.open replacing singleton history]
expected: NOTRUN
[document.open replacing singleton navigator]
expected: NOTRUN
[document.open replacing singleton applicationCache]
expected: NOTRUN

View file

@ -1,7 +0,0 @@
[document.open-02.html]
[document.open should redirect to window.open when called with three arguments]
expected: FAIL
[document.open should throw when it has no window and is called with three arguments]
expected: FAIL

View file

@ -1,4 +0,0 @@
[document.open-03.html]
[document.open and singleton replacement]
expected: FAIL

View file

@ -5,9 +5,6 @@
[Event listeners are to be removed from shadow trees as well]
expected: FAIL
[Custom event listeners are to be removed from Window]
expected: FAIL
[Standard event listeners are to be removed from Window]
expected: FAIL
@ -17,9 +14,6 @@
[Custom event listeners are to be removed from Window for an active but not fully active document]
expected: FAIL
[Custom event listeners are to be removed from Window for a non-active document that is the associated Document of a Window (frame is removed)]
expected: FAIL
[Standard event listeners are to be removed from Window for an active but not fully active document]
expected: FAIL

View file

@ -1,13 +1,6 @@
[quirks.window.html]
[document.open() sets document to no-quirks mode (write new doctype)]
expected: FAIL
expected: CRASH
bug: https://github.com/servo/servo/issues/20218
[document.open() sets document to no-quirks mode, not limited-quirks mode]
expected: FAIL
[document.open() sets document to no-quirks mode (write no doctype)]
expected: FAIL
[document.open() sets document to no-quirks mode (write old doctype)]
expected: FAIL

View file

@ -1,4 +0,0 @@
[readiness.window.html]
[document.open() and readiness]
expected: FAIL

View file

@ -1,4 +0,0 @@
[url-fragment.window.html]
[document.open() and document's URL containing a fragment (entry is not relevant)]
expected: FAIL