https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e7517084404fca126c4f89eb69217206689adf17 authored by jgraham on 20 December 2018, 17:24:15 UTC
Update range-percent-intrinsic-size-1.html
Tip revision: e751708
nested_worker_sync_xhr.worker.js
importScripts("/resources/testharness.js");

async_test(function() {
    const worker = new Worker("support/sync_xhr.js");
    worker.postMessage("ping");
    worker.onmessage = this.step_func_done(function(evt) {
        assert_equals(evt.data, "Pass");
        worker.terminate();
    });
}, "Nested worker that issues a sync XHR");
done();
back to top