Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(573)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/syntax/parsing/the-end.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>The end</title> 3 <title>The end</title>
4 <link rel=help href="https://html.spec.whatwg.org/multipage/#the-end"> 4 <link rel=help href="https://html.spec.whatwg.org/multipage/#the-end">
5 <script src="../../../../../resources/testharness.js"></script> 5 <script src="../../../../../resources/testharness.js"></script>
6 <script src="../../../../../resources/testharnessreport.js"></script> 6 <script src="../../../../../resources/testharnessreport.js"></script>
7 <div id="log"></div> 7 <div id="log"></div>
8 <script> 8 <script>
9 async_test(function() { 9 async_test(function() {
10 document.addEventListener("DOMContentLoaded", this.step_func_done(function(e) { 10 document.addEventListener("DOMContentLoaded", this.step_func_done(function(e) {
(...skipping 20 matching lines...) Expand all
31 async_test(function() { 31 async_test(function() {
32 var seen = false; 32 var seen = false;
33 document.addEventListener("DOMContentLoaded", this.step_func(function() { 33 document.addEventListener("DOMContentLoaded", this.step_func(function() {
34 seen = true; 34 seen = true;
35 })); 35 }));
36 window.addEventListener("load", this.step_func_done(function() { 36 window.addEventListener("load", this.step_func_done(function() {
37 assert_true(seen, "DOMContentLoaded should be fired before load"); 37 assert_true(seen, "DOMContentLoaded should be fired before load");
38 })); 38 }));
39 }, "order"); 39 }, "order");
40 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698