We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e91bfab commit 39381baCopy full SHA for 39381ba
test/parallel/test-structuredClone-global.js
@@ -44,7 +44,7 @@ for (const StreamClass of [ReadableStream, WritableStream, TransformStream]) {
44
].forEach((platformEntity) => {
45
assert.throws(() => structuredClone(new platformEntity.platformClass(platformEntity.value)),
46
new DOMException('Cannot clone object of unsupported type.', 'DataCloneError'),
47
- `Cloning ${platformEntity.message} should throw DOMException`);
+ `Cloning ${platformEntity.brand} should throw DOMException`);
48
49
});
50
0 commit comments