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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/misc/script-after-slow-stylesheet-removed.html

Issue 2322343002: Fix "notificiation" and "soruce" typos. (Closed)
Patch Set: Created 4 years, 3 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 2
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 var log = []; 7 var log = [];
8 setTimeout(function() { 8 setTimeout(function() {
9 log.push(1); 9 log.push(1);
10 document.getElementById("sheet").remove(); 10 document.getElementById("sheet").remove();
11 log.push(2); 11 log.push(2);
12 }, 1); 12 }, 1);
13 </script> 13 </script>
14 14
15 <link id="sheet" rel="stylesheet" href="http://127.0.0.1:8000/misc/resources/slo w-stylesheet.cgi"> 15 <link id="sheet" rel="stylesheet" href="http://127.0.0.1:8000/misc/resources/slo w-stylesheet.cgi">
16 16
17 <p>Test that removing the last script blocking resoruce doesn't synchronously ru n script.</p> 17 <p>Test that removing the last script blocking resource doesn't synchronously ru n script.</p>
18 <p id="output"></p> 18 <p id="output"></p>
19 19
20 <script> 20 <script>
21 document.getElementById("output").textContent = (log.toString() == "1,2") ? "PAS S" : "FAIL"; 21 document.getElementById("output").textContent = (log.toString() == "1,2") ? "PAS S" : "FAIL";
22 </script> 22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698