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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/sources-panel-focus-editor-on-select.html

Issue 2224893004: DevTools: focus editor when SourcesPanel is shown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/sources-panel-focus-editor-on-select-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script>
5 <script>
6 function test()
7 {
8 InspectorTest.showScriptSource("inspector-test.js", onSourceFrame);
9 function onSourceFrame(sourceFrame)
10 {
11 InspectorTest.addResult("initial: focused = " + sourceFrame.hasFocus());
12 WebInspector.inspectorView.showPanel("elements")
13 .then(() => WebInspector.inspectorView.showPanel("sources"))
14 .then(onPanelReselected.bind(null, sourceFrame));
15 }
16
17 function onPanelReselected(sourceFrame)
18 {
19 InspectorTest.addResult("after panel reselected: focused = " + sourceFra me.hasFocus());
20 InspectorTest.completeTest();
21 }
22 };
23 </script>
24 </head>
25 <body onload="runTest()">
26 <p>Verifies that text editor has focus after panel re-selecting.</p>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/sources-panel-focus-editor-on-select-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698