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

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-document-with-child-nodes.js

Issue 2962753002: [DevTools] Unflake some of inspector-protocol tests (Closed)
Patch Set: Created 3 years, 6 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-document-with-child-nodes.js
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-document-with-child-nodes.js b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-document-with-child-nodes.js
index 6c807ffb4a9ba0376476556d8149a79bd9f092a0..f9d57a70d03ad2743f3d02d4a69bdd69fc86cee4 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-document-with-child-nodes.js
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-document-with-child-nodes.js
@@ -1,14 +1,5 @@
(async function(testRunner) {
- var {page, session, dp} = await testRunner.startHTML(`
- <div id='depth-1'>
- <div id='depth-2'>
- <div id='depth-3'>
- <iframe src='../dom/resources/shadow-dom-iframe.html'></iframe>
- </div>
- </div>
- <div id='targetDiv'></div>
- </div>
- `, '');
+ var {page, session, dp} = await testRunner.startURL('./resources/dom-request-document-with-child-nodes.html', '');
var response = await dp.DOM.getDocument({depth: -1});
var iframeOwner = response.result.root.children[0].children[1].children[0].children[0].children[0].children[0];
if (iframeOwner.contentDocument.children) {

Powered by Google App Engine
This is Rietveld 408576698