Title: [189206] trunk/Source/WebInspectorUI
- Revision
- 189206
- Author
- [email protected]
- Date
- 2015-08-31 23:18:10 -0700 (Mon, 31 Aug 2015)
Log Message
Web Inspector: Command-Enter for selected JS in Debugger/Sources shouldn't change the focus
https://bugs.webkit.org/show_bug.cgi?id=148613
Reviewed by Timothy Hatcher.
* UserInterface/Views/ConsoleTabContentView.js:
(WebInspector.ConsoleTabContentView.prototype.shown):
Always focus on the console prompt when the console tab get selected.
* UserInterface/Views/LogContentView.js:
(WebInspector.LogContentView.prototype.shown): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (189205 => 189206)
--- trunk/Source/WebInspectorUI/ChangeLog 2015-09-01 05:23:27 UTC (rev 189205)
+++ trunk/Source/WebInspectorUI/ChangeLog 2015-09-01 06:18:10 UTC (rev 189206)
@@ -1,3 +1,17 @@
+2015-08-31 Nikita Vasilyev <[email protected]>
+
+ Web Inspector: Command-Enter for selected JS in Debugger/Sources shouldn't change the focus
+ https://bugs.webkit.org/show_bug.cgi?id=148613
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/ConsoleTabContentView.js:
+ (WebInspector.ConsoleTabContentView.prototype.shown):
+ Always focus on the console prompt when the console tab get selected.
+
+ * UserInterface/Views/LogContentView.js:
+ (WebInspector.LogContentView.prototype.shown): Deleted.
+
2015-08-31 Joseph Pecoraro <[email protected]>
Web Inspector: Debugger Popovers should work for object literal shorthand variables
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleTabContentView.js (189205 => 189206)
--- trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleTabContentView.js 2015-09-01 05:23:27 UTC (rev 189205)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleTabContentView.js 2015-09-01 06:18:10 UTC (rev 189206)
@@ -43,6 +43,8 @@
{
super.shown();
+ WebInspector.consoleContentView.prompt.focus();
+
if (this.contentBrowser.currentContentView === WebInspector.consoleContentView)
return;
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js (189205 => 189206)
--- trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js 2015-09-01 05:23:27 UTC (rev 189205)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js 2015-09-01 06:18:10 UTC (rev 189206)
@@ -114,11 +114,6 @@
this._scrollElementHeight = this.messagesElement.getBoundingClientRect().height;
}
- shown()
- {
- this.prompt.focus();
- }
-
get scrollableElements()
{
return [this.element];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes