Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
queue event instead of immediately fire
created checks to see if parser is in use before event dispatch changed tests to expect crash and added async style test
- Loading branch information
1 parent
462409a
commit 79d896d
Showing
9 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/custom-elements/microtasks-and-constructors.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[microtasks-and-constructors.html] | ||
expected: CRASH | ||
bug: https://github.com/servo/servo/issues/19392 | ||
|
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/custom-elements/parser/parser-fallsback-to-unknown-element.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[parser-fallsback-to-unknown-element.html] | ||
expected: CRASH | ||
bug: https://github.com/servo/servo/issues/19392 | ||
|
25 changes: 25 additions & 0 deletions
25
...b-platform-tests/html/semantics/document-metadata/the-style-element/style_load_async.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>Style load event should be async</title> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script> | ||
var t = async_test("style load should be async"); | ||
var sync = true; | ||
function check() { | ||
assert_false(sync); | ||
t.done(); | ||
} | ||
</script> | ||
<style onload="t.step(check)"> | ||
</style> | ||
<script> | ||
sync = false | ||
</script> | ||
|
||
<body> | ||
<div id="log"></div> | ||
<div id="test"></div> | ||
</body> | ||
</html> |