mirror of
https://github.com/servo/servo
synced 2026-05-03 04:42:17 +02:00
Update web-platform-tests to revision 95aad3bd9b82b5c65d84d53517b65ba084de9394
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
<title>HTML Test: The embed element represents a document</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link rel="stylesheet" href="/resources/testharness.css">
|
||||
<meta name="assert" content="Check if the embed element represents a document when a text/html resource source is used">
|
||||
<body>
|
||||
<script type="application/javascript">
|
||||
var childLoaded = false;
|
||||
t = async_test("Test document type embedding");
|
||||
addEventListener("load", t.step_func_done(function() { assert_true(childLoaded); }));
|
||||
window.childLoaded = false;
|
||||
async_test(function() {
|
||||
addEventListener("load", this.step_func_done(function() {
|
||||
assert_true(window.childLoaded);
|
||||
}));
|
||||
}, "Test document type embedding");
|
||||
</script>
|
||||
<embed src="embed-iframe.html">
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user