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
However, since they are declared as Web IDL operations, they end up as JavaScript methods, not constructors.
This has several observable differences, notably around how they don't require new, and fail various IsConstructor tests. E.g. they cannot be subclassed.
Ideally we would define these as constructors. Doing so would probably require new Web IDL infrastructure, however...
The text was updated successfully, but these errors were encountered:
In https://privacycg.github.io/saa-non-cookie-storage/#storageaccesshandle the members
BroadcastChannel
andSharedWorker
are presumably supposed to be sort of namespaced versions of the globalBroadcastChannel
andSharedWorker
constructors.However, since they are declared as Web IDL operations, they end up as JavaScript methods, not constructors.
This has several observable differences, notably around how they don't require
new
, and fail various IsConstructor tests. E.g. they cannot be subclassed.Ideally we would define these as constructors. Doing so would probably require new Web IDL infrastructure, however...
The text was updated successfully, but these errors were encountered: