OLD | NEW |
1 A | 1 A |
2 B | 2 B |
3 C | 3 C |
4 D | 4 D |
5 E | 5 E |
6 | 6 |
7 { | 7 { |
8 "nodes": [ | 8 "nodes": [ |
9 { | 9 { |
10 "nodeId": 4, | 10 "nodeId": 4, |
11 "parentId": 3, | 11 "parentId": 3, |
12 "backendNodeId": "<number>", | 12 "backendNodeId": "<number>", |
13 "nodeType": 1, | 13 "nodeType": 1, |
14 "nodeName": "SCRIPT", | 14 "nodeName": "SCRIPT", |
15 "localName": "script", | 15 "localName": "script", |
16 "nodeValue": "", | 16 "nodeValue": "", |
17 "childNodeCount": 0, | 17 "childNodeCount": 0, |
18 "children": [], | 18 "children": [], |
19 "attributes": [ | 19 "attributes": [ |
20 "type", | 20 "type", |
21 "text/javascript", | 21 "text/javascript", |
22 "src", | 22 "src", |
23 "../../http/tests/inspector-protocol/inspector-protocol-test.js" | 23 "../../http/tests/inspector-protocol/resources/inspector-protocol-test.j
s" |
24 ] | 24 ] |
25 }, | 25 }, |
26 { | 26 { |
27 "nodeId": 6, | 27 "nodeId": 6, |
28 "parentId": 5, | 28 "parentId": 5, |
29 "backendNodeId": "<number>", | 29 "backendNodeId": "<number>", |
30 "nodeType": 3, | 30 "nodeType": 3, |
31 "nodeName": "#text", | 31 "nodeName": "#text", |
32 "localName": "", | 32 "localName": "", |
33 "nodeValue": "\n\nfunction test()\n{\n InspectorTest.sendCommand(\"DOM.
enable\", {});\n InspectorTest.sendCommandOrDie(\"DOM.getFlattenedDocument\",
{\"depth\": -1, \"pierce\": true}, onDocument);\n\n function onDocument(resp
onse) {\n function stabilize(key, value) {\n var unstableKeys
= [\"backendNodeId\", \"documentURL\", \"baseURL\", \"frameId\"];\n i
f (unstableKeys.indexOf(key) !== -1)\n return \"<\" + typeof(valu
e) + \">\";\n return value;\n }\n InspectorTest.log(JSO
N.stringify(response, stabilize, 2));\n InspectorTest.completeTest();\n
}\n}\n\n" | 33 "nodeValue": "\n\nfunction test()\n{\n InspectorTest.sendCommand(\"DOM.
enable\", {});\n InspectorTest.sendCommandOrDie(\"DOM.getFlattenedDocument\",
{\"depth\": -1, \"pierce\": true}, onDocument);\n\n function onDocument(resp
onse) {\n function stabilize(key, value) {\n var unstableKeys
= [\"backendNodeId\", \"documentURL\", \"baseURL\", \"frameId\"];\n i
f (unstableKeys.indexOf(key) !== -1)\n return \"<\" + typeof(valu
e) + \">\";\n return value;\n }\n InspectorTest.log(JSO
N.stringify(response, stabilize, 2));\n InspectorTest.completeTest();\n
}\n}\n\n" |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 "nodeValue": "", | 434 "nodeValue": "", |
435 "childNodeCount": 1, | 435 "childNodeCount": 1, |
436 "children": [], | 436 "children": [], |
437 "documentURL": "<string>", | 437 "documentURL": "<string>", |
438 "baseURL": "<string>", | 438 "baseURL": "<string>", |
439 "xmlVersion": "" | 439 "xmlVersion": "" |
440 } | 440 } |
441 ] | 441 ] |
442 } | 442 } |
443 | 443 |
OLD | NEW |