Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / accessibility / accessibility-getNodeWithNoAXNode.html
blob8575e1b5fccb9e699c5702bc1f4628036f082a04
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
4 <script>
6 function test()
8 InspectorTest.sendCommand("DOM.getDocument", {}, onGotDocument);
10 function onGotDocument(msg)
12 if (msg.error) {
13 InspectorTest.log(msg.error.message);
14 InspectorTest.completeTest();
15 return;
17 var rootNode = msg.result.root;
18 InspectorTest.sendCommand("DOM.querySelector", { "nodeId": rootNode.nodeId, "selector": "head" }, onQuerySelector);
21 function onQuerySelector(msg)
23 if (msg.error) {
24 InspectorTest.log(msg.error.message);
25 InspectorTest.completeTest();
26 return;
28 var node = msg.result;
29 InspectorTest.sendCommand("Accessibility.getAXNode", { "nodeId": node.nodeId }, onGotAccessibilityNode);
32 function onGotAccessibilityNode(msg)
34 if (msg.error) {
35 InspectorTest.log(msg.error.message);
36 InspectorTest.completeTest();
37 return;
40 // nodeId isn't always the same, so set it to a known value if it's present
41 InspectorTest.log('result: ' + JSON.stringify(msg.result, null, " "));
42 InspectorTest.completeTest();
46 </script>
47 </head>
48 <body onLoad="runTest();">
49 <input type="text"></input>
50 </body>
51 </html>