summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wasm/compile_worker.js
blob: 9a28efb970ef12375653e2a3babdc1a636dc8715 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

this.importScripts("resources/load_wasm.js");

onmessage = function(msg) {
    createWasmModule()
        .then(postMessage)

}