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

Side by Side Diff: LayoutTests/xmlviewer/extensions-api.html

Issue 479753003: Transform XML tree viewer to blink-in-js implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.setCanOpenWindows(); 6 testRunner.setCanOpenWindows();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 9
10 var xmlWindow; 10 var xmlWindow;
(...skipping 10 matching lines...) Expand all
21 var sourceXML = xmlWindow.document.getElementById('webkit-xml-viewer -source-xml'); 21 var sourceXML = xmlWindow.document.getElementById('webkit-xml-viewer -source-xml');
22 if (sourceXML && sourceXML.firstChild.nodeName == 'root') 22 if (sourceXML && sourceXML.firstChild.nodeName == 'root')
23 print('SUCCESS'); 23 print('SUCCESS');
24 else 24 else
25 print('FAIL'); 25 print('FAIL');
26 } 26 }
27 27
28 function onload() 28 function onload()
29 { 29 {
30 xmlWindow = window.open('resources/sample.xml', "XMLViewerTestWindow "); 30 xmlWindow = window.open('resources/sample.xml', "XMLViewerTestWindow ");
31 xmlWindow.onAfterWebkitXMLViewerLoaded = checkSourceXML; 31 xmlWindow.onload = checkSourceXML;
32 } 32 }
33 33
34 </script> 34 </script>
35 </head> 35 </head>
36 <body onload="onload();"> 36 <body onload="onload();">
37 <p>Tests extensions hooks in xml viewer.</p> 37 <p>Tests extensions hooks in xml viewer.</p>
38 <div id='output'></div> 38 <div id='output'></div>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698