Skip to content

[DevTools Bug]: Extension not loading for local files in Electron since 4.27.5 #27749

Open
@Bartel-C8

Description

@Bartel-C8

Website or app

local file (index.html)

Repro steps

Try to load the React Devtools in an Electron app (latest 27.1.2) which uses a local file to load.

Electron now properly supports loading manifest V3 extension, but there is a problem when loading a local file to the main window.
Context: electron/electron#36545 (comment)

Only workaround is to programatically close the application and re-create the window.
On some systems (Windows?) it seems plenty to just load the extension twice, but on my macOS, this does not work..

I traced the commit breaking this is: #26492
So v4.27.4 works fine, but the next release (and onwards) 4.27.5 suffer from this issue.

How often does this bug happen?

Every time

DevTools package (automated)

No response

DevTools version (automated)

No response

Error message (automated)

No response

Error call stack (automated)

No response

Error component stack (automated)

No response

GitHub query string (automated)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions