File tree 5 files changed +14
-3
lines changed
webmessaging/broadcastchannel
5 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Last update:
34
34
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi
35
35
- WebCryptoAPI: https://github.com/web-platform-tests/wpt/tree/bef6fa3566/WebCryptoAPI
36
36
- 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
38
38
- webstorage: https://github.com/web-platform-tests/wpt/tree/9dafa89214/webstorage
39
39
40
40
[ Web Platform Tests ] : https://github.com/web-platform-tests/wpt
Original file line number Diff line number Diff line change 96
96
"path" : " webidl/ecmascript-binding/es-exceptions"
97
97
},
98
98
"webmessaging/broadcastchannel" : {
99
- "commit" : " e97fac4791931fb7455ba3fad759d362c7108b09 " ,
99
+ "commit" : " 6495c91853a3cf028a401cf4d228fc0b6a5465e4 " ,
100
100
"path" : " webmessaging/broadcastchannel"
101
101
},
102
102
"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
+
1
9
async_test ( t => {
2
10
let c1 = new BroadcastChannel ( 'eventType' ) ;
3
11
let c2 = new BroadcastChannel ( 'eventType' ) ;
Original file line number Diff line number Diff line change 256
256
// Since the worker has closed, it's not expected that the
257
257
// BroadcastChannel will receive messages (there's a separate test for
258
258
// 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.
260
260
postMessage ( 'ready' ) ;
261
261
}
262
262
} ) ;
You can’t perform that action at this time.
0 commit comments