File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
test/wpt/status/webmessaging Expand file tree Collapse file tree 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 {
402402 if ( arguments . length === 0 )
403403 throw new ERR_MISSING_ARGS ( 'message' ) ;
404404 if ( this [ kHandle ] === undefined )
405- throw new DOMException ( 'BroadcastChannel is closed.' ) ;
405+ throw new DOMException ( 'BroadcastChannel is closed.' , 'InvalidStateError' ) ;
406406 if ( this [ kHandle ] . postMessage ( message ) === undefined )
407407 throw new DOMException ( 'Message could not be posted.' ) ;
408408 }
Original file line number Diff line number Diff line change 1010 ]
1111 }
1212 },
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- },
2113 "origin.window.js" : {
2214 "fail" : {
2315 "expected" : [
You can’t perform that action at this time.
0 commit comments