summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/wasm/jsapi/error-interfaces-no-symbol-tostringtag.js
blob: 572db0c01b620dd317f2079df6d0ea7cff6333fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// META: global=jsshell

test(() => {
  assert_not_own_property(WebAssembly.CompileError.prototype, Symbol.toStringTag);
}, "WebAssembly.CompileError");

test(() => {
  assert_not_own_property(WebAssembly.LinkError.prototype, Symbol.toStringTag);
}, "WebAssembly.LinkError");

test(() => {
  assert_not_own_property(WebAssembly.RuntimeError.prototype, Symbol.toStringTag);
}, "WebAssembly.RuntimeError");