author Tom Schuster <>
Tue, 23 Jul 2019 09:47:03 +0000
changeset 483813 09edf04895b6a18f9f43ac6b55acdb8d2470ea62
parent 455966 d085f7afb20a6718b42e4735c269a1b81f2c0065
permissions -rw-r--r--
Bug 1523706 - Extend devtools test. r=ckerschb Differential Revision:

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>Web Console test for script with non-JavaScript MIME type</title>
<!-- Any copyright is dedicated to the Public Domain. -->
        "use strict";

        // Test new Worker
        new Worker("");

        // Test importScripts
        const source = `importScripts("" +
                                      "test/mochitest/" +
        const url = URL.createObjectURL(new Blob([source], {type: "application/javascript"}));
        new Worker(url);
    <p>Web Console test for Worker and importScripts() inside Worker with non-JavaScript MIME type.</p>