https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 2a4f272981f07911c52195e7358c84dea434d264 authored by Chris Nardi on 07 April 2018, 01:36:26 UTC
Update expected cssText for custom property serialization
Tip revision: 2a4f272
create_multiple_memory.worker.js
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// The WebAssembly spec doesn't specify a limit on how many Memory objects can
// be allocated. This test makes sure we can have at least two at once.

importScripts("/resources/testharness.js");
test(function () {
  const mem1 = new WebAssembly.Memory({initial: 1});
  const mem2 = new WebAssembly.Memory({initial: 1});
}, "WebAssembly#CreateMultipleMemories.");
done();
back to top