Skip to content

WorkerGlobalScope's importScripts should check response #39993

@Gae24

Description

@Gae24

Similar to how it was done in #39468, according to spec we should return a NetworkError if either response's status is not an ok status or the result of extracting a MIME type from response's header list is not a JavaScript MIME type.

Metadata

Metadata

Labels

A-content/domInteracting with the DOM from web contentE-less-complexStraightforward. Recommended for a new contributor.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions