Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/replay-worker/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import workerString from './worker';
* Get the URL for a web worker.
*/
export function getWorkerURL(): string {
// Safari (particularly on iOS) validates the MIME type of a Blob before it
const workerBlob = new Blob([workerString], { type: 'text/javascript' });
// will execute it as a classic Worker script. A Blob created without an
// explicit `type` defaults to an empty string, which WebKit may reject,
// firing a bare `error` event with no message. Blink/Gecko are lenient here,
Expand Down
Loading