Bug 1860957 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The console log from the shim when I click the play button:

```
When using the Spotify embedded player, Firefox calls the Storage Access API on behalf of the site. See https://bugzilla.mozilla.org/show_bug.cgi?id=1792395 for details. spotify-embed.js:114:11
Partitioned cookie or storage access was provided to “https://open.spotify.com/embed/track/29m9hdcziVa1g3FrXtdNOe?utm_source=oembed&autoplay=1&auto_play=1” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Requesting storage access. https://open.spotify.com spotify-embed.js:60:11
Storage access granted for origin “https://open.spotify.com” on “(...)”.
Reloading after storage access grant. spotify-embed.js:70:15
When using the Spotify embedded player, Firefox calls the Storage Access API on behalf of the site. See https://bugzilla.mozilla.org/show_bug.cgi?id=1792395 for details. spotify-embed.js:114:11
Partitioned cookie or storage access was provided to “https://open.spotify.com/embed/track/29m9hdcziVa1g3FrXtdNOe?utm_source=oembed&autoplay=1&auto_play=1” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Clicked play after storage access grant. spotify-embed.js:97:15
```

1. This happens every time I play in the embedded iframe; previously it was sufficient to have this step only once.
2. It doesn't get the storage access anyway; `document.hasStorageAccess()` returns false inside the iframe after refresh. That's weird, because before the refresh document.requestStorageAccess() does resolve.
The console log from the shim when I click the play button:

```
When using the Spotify embedded player, Firefox calls the Storage Access API on behalf of the site. See https://bugzilla.mozilla.org/show_bug.cgi?id=1792395 for details. spotify-embed.js:114:11
Partitioned cookie or storage access was provided to “https://open.spotify.com/embed/track/29m9hdcziVa1g3FrXtdNOe?utm_source=oembed&autoplay=1&auto_play=1” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Requesting storage access. https://open.spotify.com spotify-embed.js:60:11
Storage access granted for origin “https://open.spotify.com” on “(...)”.
Reloading after storage access grant. spotify-embed.js:70:15
When using the Spotify embedded player, Firefox calls the Storage Access API on behalf of the site. See https://bugzilla.mozilla.org/show_bug.cgi?id=1792395 for details. spotify-embed.js:114:11
Partitioned cookie or storage access was provided to “https://open.spotify.com/embed/track/29m9hdcziVa1g3FrXtdNOe?utm_source=oembed&autoplay=1&auto_play=1” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Clicked play after storage access grant. spotify-embed.js:97:15
```

1. This happens every time I play in the embedded iframe; previously it was sufficient to have this step only once. (Edit: during mozregression the green builds still did refresh for each iframe, so I might be wrong)
2. It doesn't get the storage access anyway; `document.hasStorageAccess()` returns false inside the iframe after refresh. That's weird, because before the refresh document.requestStorageAccess() does resolve.

Back to Bug 1860957 Comment 0