File tree 2 files changed +1
-9
lines changed
test/wpt/status/webmessaging
2 files changed +1
-9
lines 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
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" : [
You can’t perform that action at this time.
0 commit comments