mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
parent
4c38bec7d9
commit
6d33f36e6a
2 changed files with 1 additions and 6 deletions
|
@ -1,5 +0,0 @@
|
|||
[128.html]
|
||||
type: testharness
|
||||
[scheduler: appending script element to script ]
|
||||
expected: FAIL
|
||||
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue