[webkit-changes] [WebKit/WebKit] 0bfbd6: Web Inspector: followup fixes after 254636 at main

Devin Rousso noreply at github.com
Mon Sep 19 14:44:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0bfbd6dc157bcb2aeb618c2f39762cb93549ac0e
      https://github.com/WebKit/WebKit/commit/0bfbd6dc157bcb2aeb618c2f39762cb93549ac0e
  Author: Devin Rousso <drousso at apple.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
    M Source/WebInspectorUI/UserInterface/Base/Utilities.js
    M Source/WebInspectorUI/UserInterface/Models/ConsoleSnippet.js
    M Source/WebInspectorUI/UserInterface/Views/ConsoleSnippetTreeElement.js
    M Source/WebInspectorUI/UserInterface/Views/LogContentView.js
    M Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js

  Log Message:
  -----------
  Web Inspector: followup fixes after 254636 at main
https://bugs.webkit.org/show_bug.cgi?id=245385

Reviewed by Patrick Angle.

* Source/WebInspectorUI/UserInterface/Base/Utilities.js:
(Set.prototype.some):
Fixed indentation.

* Source/WebInspectorUI/UserInterface/Models/ConsoleSnippet.js:
(WI.ConsoleSnippet.prototype.run):
Removed extra newline.

* Source/WebInspectorUI/UserInterface/Views/ConsoleSnippetTreeElement.js:
(WI.ConsoleSnippetTreeElement.prototype.onenter): Added.
(WI.ConsoleSnippetTreeElement.prototype.populateContextMenu): Added.
Support "Enter" to run and add a contextmenu item.

* Source/WebInspectorUI/UserInterface/Views/LogContentView.js:
(WI.LogContentView):
(WI.LogContentView.prototype._handleSnippetsNavigationItemContextMenu):
* Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.js:
(WI.SourcesNavigationSidebarPanel.prototype._populateCreateResourceContextMenu):
* Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js:
Fixed `"..."` in UI strings to be `"\u2026"`.

Canonical link: https://commits.webkit.org/254646@main




More information about the webkit-changes mailing list