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

Side by Side Diff: LayoutTests/fast/dom/Document/document-current-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 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 5
6 jsTestIsAsync = true; 6 jsTestIsAsync = true;
7 7
8 description('Test basic usage of document.currentScript') 8 description('Test basic usage of document.currentScript')
9 9
10 function logCurrentScript() { 10 function logCurrentScript() {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 var script = document.createElement('script'); 55 var script = document.createElement('script');
56 script.id = 'j'; 56 script.id = 'j';
57 script.textContent = 'logCurrentScript();'; 57 script.textContent = 'logCurrentScript();';
58 script.async = false; 58 script.async = false;
59 script.defer = false; 59 script.defer = false;
60 document.head.appendChild(script); 60 document.head.appendChild(script);
61 61
62 logCurrentScript(); 62 logCurrentScript();
63 </script> 63 </script>
64 64
65 <script src="../../js/resources/js-test-post.js"></script>
66 <script> 65 <script>
67 window.onload = function() { 66 window.onload = function() {
68 shouldBeNull('document.currentScript'); 67 shouldBeNull('document.currentScript');
69 finishJSTest(); 68 finishJSTest();
70 }; 69 };
71 </script> 70 </script>
72 </body> 71 </body>
73 </html> 72 </html>
74 73
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698