Skip to content

amp-script: error thrown if remote script is too large #29860

@morsssss

Description

@morsssss

If I ask amp-script to load a script that's larger than 150,000 bytes, it gets blocked. Which is in line with expectations! But I also see an error in the Console:

Uncaught (in promise) TypeError: Cannot set property 'onerror' of null at amp-script.js:276

Looks like workerDom is null in the code here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions