You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in whatwg/webidl#1399, it doesn't really make sense to return frozen arrays as return values. The caller should just get back a sequence<T>.
It would be nice to clean this up so that the Web IDL spec can disallow using FrozenArray<T> in such scenarios.
The text was updated successfully, but these errors were encountered:
A few methods, namely:
Clients
'smatchAll()
Cache
'smatchAll()
andkeys()
ServiceWorkerContainer
'sgetRegistrations()
return
Promise<FrozenArray<T>>
.As discussed in whatwg/webidl#1399, it doesn't really make sense to return frozen arrays as return values. The caller should just get back a
sequence<T>
.It would be nice to clean this up so that the Web IDL spec can disallow using
FrozenArray<T>
in such scenarios.The text was updated successfully, but these errors were encountered: