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

Unified Diff: LayoutTests/http/tests/inspector/template-content-inspect-crash.html

Issue 197283031: DevTools: fix author shadow dom inspection mode, speacial-case ua. Fix crash from the bug. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 6 years, 9 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: LayoutTests/http/tests/inspector/template-content-inspect-crash.html
diff --git a/LayoutTests/http/tests/inspector/template-content-inspect-crash.html b/LayoutTests/http/tests/inspector/template-content-inspect-crash.html
index 38247cc7c5a8854eb4052cf62241c8682301e831..2e18c02a5a40adb573220e37ce2d50f9e563dd18 100644
--- a/LayoutTests/http/tests/inspector/template-content-inspect-crash.html
+++ b/LayoutTests/http/tests/inspector/template-content-inspect-crash.html
@@ -14,8 +14,6 @@ function test()
window.testRunner.setAllowUniversalAccessFromFileURLs(false);
}
- WebInspector.settings.showShadowDOM.set(true);
-
InspectorTest.expandElementsTree(function() {
var contentNode = InspectorTest.expandedNodeWithId("tpl").templateContent();
WebInspector.panels.elements.selectDOMNode(contentNode, true);
@@ -37,7 +35,7 @@ function test()
<template id="tpl">
<div>Hello!</div>
-</div>
+</template>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698