Skip to content

Commit abf30a1

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
[GM3Restyling] Use native menu for network request details context menu
Screenshot: https://imgur.com/a/0tQZbX4 Bug: 378634065 Change-Id: Iba74bb04ad9462762d010066068db462def2d13e Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6048957 Reviewed-by: Kim-Anh Tran <[email protected]> Commit-Queue: Kateryna Prokopenko <[email protected]>
1 parent 22ae0f1 commit abf30a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front_end/panels/timeline/components/NetworkRequestDetails.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ export class NetworkRequestDetails extends HTMLElement {
179179
// want the one to reveal in network panel, so add a new class which will only be supported by Network panel.
180180
// Also we want to have a different behavior(select the network request) from the
181181
// `SDK.NetworkRequest.NetworkRequest` (highlight the network request once).
182-
const contextMenu = new UI.ContextMenu.ContextMenu(event, {useSoftMenu: true});
182+
const contextMenu = new UI.ContextMenu.ContextMenu(event);
183183
contextMenu.appendApplicableItems(new TimelineUtils.NetworkRequest.TimelineNetworkRequest(networkRequest));
184184
void contextMenu.show();
185185
});

0 commit comments

Comments
 (0)