Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / xmlviewer / extensions-api.html
blobf7437b928ab4d58e69ff1b52ba3dffe3979e74ae
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.setCanOpenWindows();
7 testRunner.waitUntilDone();
10 var xmlWindow;
12 function print(str)
14 document.getElementById('output').textContent = str;
15 xmlWindow.close();
16 testRunner.notifyDone();
19 function checkSourceXML()
21 var sourceXML = xmlWindow.document.getElementById('webkit-xml-viewer-source-xml');
22 if (sourceXML && sourceXML.firstChild.nodeName == 'root')
23 print('SUCCESS');
24 else
25 print('FAIL');
28 function onload()
30 xmlWindow = window.open('resources/sample.xml', "XMLViewerTestWindow");
31 xmlWindow.onload = checkSourceXML;
34 </script>
35 </head>
36 <body onload="onload();">
37 <p>Tests extensions hooks in xml viewer.</p>
38 <div id='output'></div>
39 </body>
40 </html>