Skip to content

Cryptic error when XUL path is wrong #154

@1j01

Description

@1j01

Instead of something like file not found: C:/Users/Isaiah/Projects/98.js-vr/shell.xul, I got:

JavaScript error: jar:file:///C:/Users/Isaiah/Projects/98.js-vr/node_modules/qbrt/dist/win32/runtime/omni.ja!/components/nsPrompter.js, line 340: NS_ERROR_NOT_AVAILABLE: Cannot call openModalWindow on a hidden window

(after copying the shell example code over but with a different name for the xul file)

I fixed it pretty quickly, but not from any information in that error message!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions