Skip to content

Fails on latest Firefox with IndexSizeError and TypeError: a is undefined issues. #1728

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
AlexanderMakarov opened this issue May 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@AlexanderMakarov
Copy link

Describe the bug
Fails on Firefox with IndexSizeError and TypeError: a is undefined issues.

To Reproduce
Link to Live Editor: big flowchart with styles
Steps to reproduce the behavior:

  1. Just open the link.

Expected behavior
Editor shows flowchart diagram as it happens on Chromium-based browsers.

Actual
It fails with 2 errors in webtools "Console":

IndexSizeError: Selection.getRangeAt: 0 is out of range [content.js:1](moz-extension://4de7173c-6c3a-4c4f-badf-fc01dfb565fc/content.js)
    k moz-extension://4de7173c-6c3a-4c4f-badf-fc01dfb565fc/content.js:1
    C moz-extension://4de7173c-6c3a-4c4f-badf-fc01dfb565fc/content.js:1
    S moz-extension://4de7173c-6c3a-4c4f-badf-fc01dfb565fc/content.js:1

and right after

view fail TypeError: a is undefined
    Immutable 16
        r
        ln
        Tt
        J
        k
        ue
        qn
        Tr
        Nn
        Tr
        ot
        Nn
        ot
        Nn
        ot
        j

("16" here is a number of similar errors).

Image

Desktop (please complete the following information):

  • OS: Linux Mint 21.3 Virginia (Ubuntu 22.04) - i.e. latest
  • Browser Mozilla Firefox
  • Version 138.0.4 (64-bit)
@AlexanderMakarov AlexanderMakarov added the bug Something isn't working label May 27, 2025
@AlexanderMakarov AlexanderMakarov changed the title Fails on Fails on latest Firefox with IndexSizeError and TypeError: a is undefined issues. May 27, 2025
@denisw
Copy link

denisw commented May 30, 2025

I also get a blank page on Firefox 139.0, although the error is a different one for me:

Uncaught (in promise) Error: https://svelte.dev/e/props_invalid_value

According to the Svelte docs, this error is:

Cannot do `bind:%key%={undefined}` when `%key%` has a fallback value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants