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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/html/imports/import-events-inline.html

Issue 1772853002: Block the HTML parser on external stylesheets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified parser blocking logic Created 4 years, 9 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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script> 5 <script>
6 setPrintTestResultsLazily();
6 var list = []; 7 var list = [];
7 function handle(event) 8 function handle(event)
8 { 9 {
9 list.push(event.type + '@' + event.target.id); 10 list.push(event.type + '@' + event.target.id);
10 if (list.length < 3) 11 if (list.length < 3)
11 return; 12 return;
12 expected = ['load@shouldLoad', 'error@shouldError', 'click@toClick']; 13 expected = ['load@shouldLoad', 'error@shouldError', 'click@toClick'];
13 shouldBe('window.list', 'expected'); 14 shouldBe('window.list', 'expected');
14 finishJSTest(); 15 finishJSTest();
15 } 16 }
16 </script> 17 </script>
17 <link id="harness" rel="import" href="resources/events-inline.html"> 18 <link id="harness" rel="import" href="resources/events-inline.html">
18 </head> 19 </head>
19 <body> 20 <body>
20 <script> 21 <script>
21 window.jsTestIsAsync = true; 22 window.jsTestIsAsync = true;
22 description('Test that inline event handler is fired on an imported document.'); 23 description('Test that inline event handler is fired on an imported document.');
23 </script> 24 </script>
24 </body> 25 </body>
25 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698