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

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: Added a requestFrames parameter to fix the broken test Created 4 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 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..bbf4a1b283cca21ab4eb0c7d1a182342a2c965b4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames-expected.txt
@@ -0,0 +1,124 @@
+
+{
+ "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": [
+ {
+ "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": "???"
+ }
+ ],
+ "attributes": [
+ "src",
+ "resources/iframe.html"
+ ],
+ "frameId": "???",
+ "contentDocument": {
+ "nodeId": 9,
+ "nodeType": 9,
+ "nodeName": "#document",
+ "localName": "",
+ "nodeValue": "",
+ "childNodeCount": 1,
+ "documentURL": "???",
+ "baseURL": "???",
+ "xmlVersion": ""
+ }
+ }
+ ],
+ "attributes": [
+ "id",
+ "depth-3"
+ ]
+ }
+ ],
+ "attributes": [
+ "id",
+ "depth-2"
+ ]
+ }
+ ],
+ "attributes": [
+ "id",
+ "depth-1"
+ ]
+ }
+ ]
+ }
+}
+

Powered by Google App Engine
This is Rietveld 408576698