Skip to content

In popup mode clicking the Reset button does not take effect. #359

@SaKaNa-Y

Description

@SaKaNa-Y

Describe the bug

When DevTools are opened in popup mode, clicking the reset-related buttons does not take effect.

I’ve identified the issue and found a solution. I think the root cause is that using confirm() in popup mode causes the operation to fail, since confirm() is a native browser API.

Fix: Replace all confirm() calls with a custom Vue modal dialog.

2026-05-21.21-09-26.mp4

Reproduction

video

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 AMD Ryzen 9 7940H w/ Radeon 780M Graphics     
    Memory: 4.54 GB / 15.22 GB
  Binaries:
    Node: 22.20.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.3 - C:\Program Files\nodejs\npm.CMD
    pnpm: 10.33.4 - C:\Program Files\nodejs\pnpm.CMD
    bun: 1.3.13 - C:\Users\86138\.bun\bin\bun.EXE
  Browsers:
    Chrome: 148.0.7778.168
    Edge: Chromium (140.0.3485.54)
    Internet Explorer: 11.0.22621.3527

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions