| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2f7828d commit 226836c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -491,7 +491,7 @@ class BroadcastChannel extends EventTarget { | |||
| 491 | 491 | if (arguments.length === 0) | |
| 492 | 492 | throw new ERR_MISSING_ARGS('message'); | |
| 493 | 493 | if (this[kHandle] === undefined) | |
| 494 | - throw new DOMException('BroadcastChannel is closed.'); | ||
| 494 | + throw new DOMException('BroadcastChannel is closed.', 'InvalidStateError'); | ||
| 495 | 495 | if (this[kHandle].postMessage(message) === undefined) | |
| 496 | 496 | throw new DOMException('Message could not be posted.'); | |
| 497 | 497 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,14 +10,6 @@ | |||
| 10 | 10 | ] | |
| 11 | 11 | } | |
| 12 | 12 | }, | |
| 13 | - "interface.any.js": { | ||
| 14 | - "fail": { | ||
| 15 | - "expected": [ | ||
| 16 | - "postMessage after close should throw", | ||
| 17 | - "postMessage should throw InvalidStateError after close, even with uncloneable data" | ||
| 18 | - ] | ||
| 19 | - } | ||
| 20 | - }, | ||
| 21 | 13 | "origin.window.js": { | |
| 22 | 14 | "fail": { | |
| 23 | 15 | "expected": [ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments