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

Side by Side Diff: LayoutTests/inspector/elements/shadow-dom-modify-chardata.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script> 4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script> 5 <script>
6 6
7 function typeText() 7 function typeText()
8 { 8 {
9 var input = document.getElementById("input1"); 9 var input = document.getElementById("input1");
10 input.focus(); 10 input.focus();
11 eventSender.keyDown("B"); 11 eventSender.keyDown("B");
12 eventSender.keyDown("a"); 12 eventSender.keyDown("a");
13 eventSender.keyDown("r"); 13 eventSender.keyDown("r");
14 } 14 }
15 15
16 function test() 16 function test()
17 { 17 {
18 var containerNode; 18 var containerNode;
19 WebInspector.settings.showShadowDOM.set(true); 19 WebInspector.settings.showUAShadowDOM.set(true);
20 InspectorTest.runTestSuite([ 20 InspectorTest.runTestSuite([
21 function testDumpInitial(next) 21 function testDumpInitial(next)
22 { 22 {
23 function callback(node) 23 function callback(node)
24 { 24 {
25 containerNode = InspectorTest.expandedNodeWithId("container"); 25 containerNode = InspectorTest.expandedNodeWithId("container");
26 InspectorTest.addResult("========= Original ========"); 26 InspectorTest.addResult("========= Original ========");
27 InspectorTest.dumpElementsTree(containerNode); 27 InspectorTest.dumpElementsTree(containerNode);
28 next(); 28 next();
29 } 29 }
(...skipping 19 matching lines...) Expand all
49 49
50 <body onload="runTest()"> 50 <body onload="runTest()">
51 <p> 51 <p>
52 Tests that elements panel updates shadow dom tree structure upon typing. 52 Tests that elements panel updates shadow dom tree structure upon typing.
53 </p> 53 </p>
54 54
55 <div id="container"><input type="text" id="input1"></div> 55 <div id="container"><input type="text" id="input1"></div>
56 56
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698