Implement document.write (fixes #3704)

This is a bit crude because of some missing utility methods on BufferQueue.
This commit is contained in:
Anthony Ramine 2016-11-25 16:19:19 +01:00
parent 708ebdceee
commit 4d93ee134c
91 changed files with 235 additions and 585 deletions

View file

@ -1,6 +0,0 @@
[005.html]
type: testharness
expected: ERROR
[ scheduler: document.write inline in markup ]
expected: FAIL

View file

@ -1,6 +0,0 @@
[006.html]
type: testharness
expected: ERROR
[ scheduler: document.write inline - multiple]
expected: FAIL

View file

@ -1,6 +0,0 @@
[007.html]
type: testharness
expected: ERROR
[ scheduler: document.write external]
expected: FAIL

View file

@ -1,6 +0,0 @@
[008.html]
type: testharness
expected: ERROR
[ scheduler: document.write external - multiple]
expected: FAIL

View file

@ -1,6 +0,0 @@
[009.html]
type: testharness
expected: ERROR
[ scheduler: document.write external - multiple with doc.write]
expected: FAIL

View file

@ -1,6 +0,0 @@
[010.html]
type: testharness
expected: ERROR
[ scheduler: document.write external + inline - multiple with doc.write]
expected: FAIL

View file

@ -1,6 +0,0 @@
[011.html]
type: testharness
expected: ERROR
[ scheduler: document.write external + inline - multiple with doc.write + subsequent markup]
expected: FAIL

View file

@ -1,6 +0,0 @@
[012.html]
type: testharness
expected: ERROR
[ scheduler: document.write external and onload events ]
expected: FAIL

View file

@ -1,6 +0,0 @@
[018.html]
type: testharness
expected: ERROR
[ scheduler: DOM added scripts and doc.write]
expected: FAIL

View file

@ -1,6 +0,0 @@
[026.html]
type: testharness
expected: ERROR
[ scheduler: doc write added script, .src set later]
expected: FAIL

View file

@ -1,6 +0,0 @@
[027.html]
type: testharness
expected: ERROR
[ scheduler: doc write added script with content, .src set later]
expected: FAIL

View file

@ -1,6 +0,0 @@
[041.html]
type: testharness
expected: ERROR
[ scheduler: document.write scripts that write scripts]
expected: FAIL

View file

@ -1,3 +0,0 @@
[068.html]
type: testharness
expected: ERROR

View file

@ -1,6 +1,5 @@
[096.html]
type: testharness
expected: ERROR
[ scheduler: defer script added from document.write relative to DOMContentLoaded]
expected: FAIL

View file

@ -1,6 +0,0 @@
[097.html]
type: testharness
expected: ERROR
[ scheduler: slow-loading async script added from document.write]
expected: FAIL

View file

@ -1,6 +1,5 @@
[098.html]
type: testharness
expected: ERROR
[ scheduler: defer script added from document.write]
expected: FAIL

View file

@ -1,5 +0,0 @@
[107-import.html]
type: testharness
[ scheduler: stylesheets blocking scripts document.write]
expected: FAIL

View file

@ -1,5 +0,0 @@
[107-noimport.html]
type: testharness
[ scheduler: stylesheets blocking scripts document.write]
expected: FAIL

View file

@ -1,6 +0,0 @@
[120.html]
type: testharness
expected: ERROR
[scheduler: script created without a window ]
expected: NOTRUN

View file

@ -1,21 +0,0 @@
[149.html]
type: testharness
expected: ERROR
[for='window' event='onload()' parser inserted executes immediately]
expected: FAIL
[for='window' event='onload' parser inserted executes immediately]
expected: FAIL
[for=' WINdow\t\n' event='ONload\t\n' parser inserted executes immediately]
expected: FAIL
[for='window' event='onload()' dom inserted executes immediately]
expected: FAIL
[for='window' event='onload' dom inserted executes immediately]
expected: FAIL
[for=' WINdow\t\n' event='ONload\t\n' dom inserted executes immediately]
expected: FAIL