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
The code has a single Exposed=(Window, SharedStorageWorklet) interface SharedStorage {...} interface, and it adds [Exposed=SharedStorageWorklet] to prevent individual methods from being exposed from window.sharedStorage when inside of a Window global specifically.
The spec puts the common methods intoExposed=(Window, SharedStorageWorklet) interface SharedStorage, and puts the Window-only methods into a [Exposed=(Window)] interface WindowSharedStorage : SharedStorage {}.
To align with the existing code's functionality, WindowSharedStorage should be merged into SharedStorage within the spec.
The text was updated successfully, but these errors were encountered:
Today, the Chrome code and the spec don't match:
Exposed=(Window, SharedStorageWorklet) interface SharedStorage {...}
interface, and it adds[Exposed=SharedStorageWorklet]
to prevent individual methods from being exposed fromwindow.sharedStorage
when inside of aWindow
global specifically.Exposed=(Window, SharedStorageWorklet) interface SharedStorage
, and puts the Window-only methods into a[Exposed=(Window)] interface WindowSharedStorage : SharedStorage {}
.To align with the existing code's functionality,
WindowSharedStorage
should be merged intoSharedStorage
within the spec.The text was updated successfully, but these errors were encountered: