mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title>The end: DOMContentLoaded and defer scripts</title>
|
||||
<link rel=help href="https://html.spec.whatwg.org/multipage/#the-end">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
var dcl;
|
||||
var t = async_test(function() {
|
||||
dcl = false;
|
||||
document.addEventListener("DOMContentLoaded", function(e) {
|
||||
dcl = true;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script defer src=DOMContentLoaded-defer-support.js></script>
|
||||
Reference in New Issue
Block a user