[webkit-changes] [WebKit/WebKit] b1ff4e: [GTK][WPE] Remote Web Inspector: context menu does...

Przemyslaw Gorszkowski noreply at github.com
Thu Mar 9 05:16:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b1ff4ea8b21294251d503fa653bd8ae77ff37823
      https://github.com/WebKit/WebKit/commit/b1ff4ea8b21294251d503fa653bd8ae77ff37823
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Base/BrowserInspectorFrontendHost.js

  Log Message:
  -----------
  [GTK][WPE] Remote Web Inspector: context menu does not work
https://bugs.webkit.org/show_bug.cgi?id=253428

Reviewed by Tim Nguyen.

Context menu does not work in remote web inspector due to the error:
'typeerror: Cannot call a class constructor without |new|'.

This fix adds missing 'new' when SoftContextMenu class is created.

* Source/WebInspectorUI/UserInterface/Base/BrowserInspectorFrontendHost.js:
(window.InspectorFrontendHost.WI.BrowserInspectorFrontendHost.prototype.showContextMenu):

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




More information about the webkit-changes mailing list