| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0412ac8 commit d65334c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -402,7 +402,7 @@ class BroadcastChannel extends EventTarget { | |||
| 402 | 402 | if (arguments.length === 0) | |
| 403 | 403 | throw new ERR_MISSING_ARGS('message'); | |
| 404 | 404 | if (this[kHandle] === undefined) | |
| 405 | - throw new DOMException('BroadcastChannel is closed.'); | ||
| 405 | + throw new DOMException('BroadcastChannel is closed.', 'InvalidStateError'); | ||
| 406 | 406 | if (this[kHandle].postMessage(message) === undefined) | |
| 407 | 407 | throw new DOMException('Message could not be posted.'); | |
| 408 | 408 | } | |
| 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