Skip to content

alloy: DevTools context menu grow infinitely when using devtools://devtools/bundled/inspector.html #4016

@YUCLing

Description

@YUCLing

Describe the bug
When using DevTools by browsing devtools://devtools/bundled/inspector.html, the context menu of DevTools can grow infinitely because the previous items aren't cleared at all.

To Reproduce
Steps to reproduce the behavior:

  1. Go to devtools://devtools/bundled/inspector.html
  2. Open context menu multiple times (must let DevTools add its items using DevToolsHost.showContextMenuAtPoint)

Expected behavior
Each time opening, previous items added by DevTools should be cleared.

Screenshots

Image

Versions (please complete the following information):

  • OS: Windows 11
  • CEF Version: 140.1.14

Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?

Yes

Does the problem reproduce with Google Chrome at the same version?

Not reproducible in Chrome

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    alloyRelated to the Alloy runtimebugBug reporthelp wantedIssue resolution will likely require community contributions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions