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

Side by Side Diff: LayoutTests/fast/html/imports/import-script.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 var loadedScripts = []; 6 var loadedScripts = [];
7 var numLoaded = 0; 7 var numLoaded = 0;
8 var labels = ["InlineParser", "InlineDynamic", "ExternalParser", "ExternalDynami c", "ExternalAsync"].sort(); 8 var labels = ["InlineParser", "InlineDynamic", "ExternalParser", "ExternalDynami c", "ExternalAsync"].sort();
9 9
10 document.notifyLoaded = function(label, doc) 10 document.notifyLoaded = function(label, doc)
(...skipping 20 matching lines...) Expand all
31 window.jsTestIsAsync = true; 31 window.jsTestIsAsync = true;
32 32
33 var dynamicallyInsertedInlineScript = leaf.import.createElement("script"); 33 var dynamicallyInsertedInlineScript = leaf.import.createElement("script");
34 dynamicallyInsertedInlineScript.innerHTML = "document.notifyLoaded('InlineDynami c', document);" 34 dynamicallyInsertedInlineScript.innerHTML = "document.notifyLoaded('InlineDynami c', document);"
35 leaf.import.body.appendChild(dynamicallyInsertedInlineScript); 35 leaf.import.body.appendChild(dynamicallyInsertedInlineScript);
36 36
37 var dynamicallyInsertedExternalScript = leaf.import.createElement("script"); 37 var dynamicallyInsertedExternalScript = leaf.import.createElement("script");
38 dynamicallyInsertedExternalScript.setAttribute("src", "script-leaf-external-dyna mic.js"); 38 dynamicallyInsertedExternalScript.setAttribute("src", "script-leaf-external-dyna mic.js");
39 leaf.import.body.appendChild(dynamicallyInsertedExternalScript); 39 leaf.import.body.appendChild(dynamicallyInsertedExternalScript);
40 </script> 40 </script>
41 <script src="../../js/resources/js-test-post.js"></script>
42 </body> 41 </body>
43 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/html/imports/import-same-url.html ('k') | LayoutTests/fast/html/imports/import-success-fail.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698