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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames-expected.txt

Issue 2373023002: Make DOM.getChildNodes & DOM.getDocument optionally pierce iframe boundaries (Closed)
Patch Set: Per IM conversation, let DOM.getDocument optionally return the sub tree as well. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3a6e5a6f69acb0726a723baa7e0bc79b2adc115f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames-expected.txt
@@ -0,0 +1,125 @@
+
+{
+ "method": "DOM.setChildNodes",
+ "params": {
+ "parentId": 4,
+ "nodes": [
+ {
+ "nodeId": 5,
+ "nodeType": 1,
+ "nodeName": "DIV",
+ "localName": "div",
+ "nodeValue": "",
+ "childNodeCount": 1,
+ "children": [
+ {
+ "nodeId": 6,
+ "nodeType": 1,
+ "nodeName": "DIV",
+ "localName": "div",
+ "nodeValue": "",
+ "childNodeCount": 1,
+ "children": [
+ {
+ "nodeId": 7,
+ "nodeType": 1,
+ "nodeName": "DIV",
+ "localName": "div",
+ "nodeValue": "",
+ "childNodeCount": 1,
+ "children": [
+ {
+ "nodeId": 8,
+ "nodeType": 1,
+ "nodeName": "IFRAME",
+ "localName": "iframe",
+ "nodeValue": "",
+ "childNodeCount": 0,
+ "children": [],
+ "attributes": [
+ "src",
+ "resources/iframe.html"
+ ],
+ "frameId": "???",
+ "contentDocument": {
+ "nodeId": 9,
+ "nodeType": 9,
+ "nodeName": "#document",
+ "localName": "",
+ "nodeValue": "",
+ "childNodeCount": 1,
+ "children": [
+ {
+ "nodeId": 10,
+ "nodeType": 1,
+ "nodeName": "HTML",
+ "localName": "html",
+ "nodeValue": "",
+ "childNodeCount": 2,
+ "children": [
+ {
+ "nodeId": 11,
+ "nodeType": 1,
+ "nodeName": "HEAD",
+ "localName": "head",
+ "nodeValue": "",
+ "childNodeCount": 0,
+ "children": [],
+ "attributes": []
+ },
+ {
+ "nodeId": 12,
+ "nodeType": 1,
+ "nodeName": "BODY",
+ "localName": "body",
+ "nodeValue": "",
+ "childNodeCount": 1,
+ "children": [
+ {
+ "nodeId": 13,
+ "nodeType": 1,
+ "nodeName": "DIV",
+ "localName": "div",
+ "nodeValue": "",
+ "childNodeCount": 0,
+ "children": [],
+ "attributes": [
+ "id",
+ "element_in_an_iframe"
+ ]
+ }
+ ],
+ "attributes": []
+ }
+ ],
+ "attributes": [],
+ "frameId": "???"
+ }
+ ],
+ "documentURL": "???",
+ "baseURL": "???",
+ "xmlVersion": ""
+ }
+ }
+ ],
+ "attributes": [
+ "id",
+ "depth-3"
+ ]
+ }
+ ],
+ "attributes": [
+ "id",
+ "depth-2"
+ ]
+ }
+ ],
+ "attributes": [
+ "id",
+ "depth-1"
+ ]
+ }
+ ]
+ }
+}
+

Powered by Google App Engine
This is Rietveld 408576698