Fix 128.html

The spec says that a script must be immediately prepared whenever "the script element
is connected and a node or document fragment is inserted into the script element,
after any script elements inserted at that time."
This commit is contained in:
Anthony Ramine 2017-01-13 14:38:27 +01:00
parent 4c38bec7d9
commit 6d33f36e6a
2 changed files with 1 additions and 6 deletions

View file

@ -1,5 +0,0 @@
[128.html]
type: testharness
[scheduler: appending script element to script ]
expected: FAIL

View file

@ -28,7 +28,7 @@ t.step(function() {
});
onload = t.step_func(function() {
assert_array_equals(eventOrder, ["inline script #1", "inline script #2", "inline script #3", "end inline script #2", "end inline script #1"]);
assert_array_equals(eventOrder, ["inline script #1", "inline script #3", "inline script #2", "end inline script #2", "end inline script #1"]);
t.done();
});
</script>