Skip to content

Uncaught (in promise) RangeError: source array is too long #24

Description

@IamRPDev

Good day,

First thanks for this excellent add-on, I can finally stop using chromium.

System Info:
OS: Linux Mint 22.1 Cinnamon
Browser: LibreWolf 139.0.1-1

I change linux_x86_64.sh to reflect ~/.librewolf instead of ~/.firefox in order to install.

The error isn't effecting functionality of hackrf.app, but may be an underlying issue.

My best guess it may have something to do with the serial port list, there are 32 items listed, but /dev/tty* has quite a few more than that. Thus I was thinking that while populating the list it throws the error because the array of tty devices is too long.

Let me know if there is anything else I can provide.

Full Error:

Uncaught (in promise) RangeError: source array is too long
    sourceFeedData moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    receive moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    connect moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    connect moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    open moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    NextJS 32
508 webserial.polyfill.js:1:44144
    sourceFeedData moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    receive moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    (Async: EventHandlerNonNull)
    connect moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    connect moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    InterpretGeneratorResume self-hosted:1425
    AsyncFunctionNext self-hosted:800
    (Async: async)
    open moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js:1
    NextJS 2
        Q
        J
    InterpretGeneratorResume self-hosted:1425
    AsyncFunctionNext self-hosted:800
    NextJS 30
    (Async: async)
        o
        aD
        a1
        e
        e
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6
        a4
        a6

Following after the Error there is a Warning. But I'm not sure if its related to the array issue.

Source map error: Error: URL constructor:  is not a valid URL.
Stack in the worker:resolveSourceMapURL@resource://devtools/client/shared/source-map-loader/utils/fetchSourceMap.js:56:22
getOriginalURLs@resource://devtools/client/shared/source-map-loader/source-map.js:73:24
workerHandler/</<@resource://devtools/client/shared/worker-utils.js:115:52
workerHandler/<@resource://devtools/client/shared/worker-utils.js:113:13

Resource URL: wasm:moz-extension://b6b4310d-8490-4860-abed-fa8c37e9d5e7/dist/webserial.polyfill.js%20line%201%20%3E%20WebAssembly.Module:1c7f7a7edbc2543e
Source Map URL: null

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions