File tree Expand file tree Collapse file tree 5 files changed +14
-3
lines changed
webmessaging/broadcastchannel Expand file tree Collapse file tree 5 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Last update:
3434- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
3535- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/bef6fa3566/WebCryptoAPI
3636- webidl/ecmascript-binding/es-exceptions: https://github.com/web-platform-tests/wpt/tree/a370aad338/webidl/ecmascript-binding/es-exceptions
37- - webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/e97fac4791 /webmessaging/broadcastchannel
37+ - webmessaging/broadcastchannel: https://github.com/web-platform-tests/wpt/tree/6495c91853 /webmessaging/broadcastchannel
3838- webstorage: https://github.com/web-platform-tests/wpt/tree/9dafa89214/webstorage
3939
4040[ Web Platform Tests ] : https://github.com/web-platform-tests/wpt
Original file line number Diff line number Diff line change 9696 "path" : " webidl/ecmascript-binding/es-exceptions"
9797 },
9898 "webmessaging/broadcastchannel" : {
99- "commit" : " e97fac4791931fb7455ba3fad759d362c7108b09 " ,
99+ "commit" : " 6495c91853a3cf028a401cf4d228fc0b6a5465e4 " ,
100100 "path" : " webmessaging/broadcastchannel"
101101 },
102102 "webstorage" : {
Original file line number Diff line number Diff line change 1+ features :
2+ - name : broadcast-channel
3+ files : " **"
Original file line number Diff line number Diff line change 1+ test ( function ( ) {
2+ assert_throws_js (
3+ TypeError ,
4+ ( ) => BroadcastChannel ( "" ) ,
5+ "Calling BroadcastChannel constructor without 'new' must throw"
6+ ) ;
7+ } , "BroadcastChannel constructor called as normal function" ) ;
8+
19async_test ( t => {
210 let c1 = new BroadcastChannel ( 'eventType' ) ;
311 let c2 = new BroadcastChannel ( 'eventType' ) ;
Original file line number Diff line number Diff line change 256256 // Since the worker has closed, it's not expected that the
257257 // BroadcastChannel will receive messages (there's a separate test for
258258 // that), so just indicate directly that it's ready to test receiving
259- // a message from the parent despite the possibility of a race condition.
259+ // a message from the parent dispite the possibility of a race condition.
260260 postMessage ( 'ready' ) ;
261261 }
262262 } ) ;
You can’t perform that action at this time.
0 commit comments