Skip to content

[Feature Request]: Expose @electron/internal/common/parse-features-string #28377

@Prinzhorn

Description

@Prinzhorn

Preflight Checklist

Problem Description

new-window deprecated => setWindowOpenHandler only gives me a raw details.features string. I'd like to use parse-features-string.ts to parse it.

Proposed Solution

Please let me use parse-features-string, maybe as static BrowserWindow.parseFeaturesString

Alternatives Considered

Writing my own parser. Or maybe setWindowOpenHandler could give me a parsed thing? new-window had options with parsed width height etc.

Additional Information

Maybe it's already possible to import it and I just can't find it

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