Skip to content

Failed to execute 'importScripts' on 'WorkerGlobalScope' #1400

@jonaro00

Description

@jonaro00

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

On version 1.3.0-alpha.938 and later, alphaTab fails to render and this error appears twice in the Console.
Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://cdn.jsdelivr.net/npm/@coderline/alphatab@1.3.0-alpha.938/dist/alphaTab.js' failed to load. at blob:http://127.0.0.1:8000/f7d3e53e-53e3-47de-8150-6daacba5fcfe:1:1

Expected Behavior

On version 1.3.0-alpha.933, it works like it should.

Steps To Reproduce

This happens in the project https://github.com/jonaro00/TabPortal (plain HTML+CSS+JS with alphaTab from CDN)
Not sure if there is anything with my use-case triggering this.

Link to jsFiddle, CodePen, Project

https://github.com/jonaro00/TabPortal

Found in Version

1.3-alpha

Platform

Web

Environment

- **OS**: Ubuntu
- **Browser**: Brave Version 1.63.165 Chromium: 122.0.6261.94 (Official Build) (64-bit)

Anything else?

Based on the timing, this was likely caused by #1393 or #1386

Metadata

Metadata

Assignees

Labels

area-coreRelated to some core parts of alphaTabplatform-javascriptRelated to the JavaScript version of alphaTabstate-acceptedThis is a valid topic to work on.

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions