Embedded Spotify does not get the storage access anymore
Categories
(Core :: Privacy: Anti-Tracking, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox119 | --- | wontfix |
firefox120 | --- | wontfix |
firefox121 | --- | fixed |
People
(Reporter: saschanaz, Unassigned)
References
(Regression)
Details
(Keywords: regression)
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
- 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)
- 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.
Reporter | ||
Comment 1•1 year ago
|
||
mozregression points to bug 1835907.
Comment 2•1 year ago
|
||
Set release status flags based on info from the regressing bug 1835907
:bvandersloot, since you are the author of the regressor, bug 1835907, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 3•1 year ago
|
||
Ben, could we just add another requestStorageAccess
call here? That's after frame reload, after the storage access grant.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
(In reply to Paul Zühlcke [:pbz] from comment #3)
Ben, could we just add another
requestStorageAccess
call here? That's after frame reload, after the storage access grant.
I think so, but haven't tested to confirm yet. It may also be fixed by https://phabricator.services.mozilla.com/D190577 landing.
Comment 5•1 year ago
|
||
After testing, either adding that storage access call or landing that patch resolve the issue.
Should we take any action to uplift or allowlist in some way, or just fix it and let it ride the trains with Fx121.
Comment 6•1 year ago
|
||
Thanks for taking a look!
I think we can wait for your patch to land and ride the trains. It's partial breakage (preview still works) and can be worked around by disabling ETP via toggle. Also the folks from Spotify are already aware of the issue.
Updated•1 year ago
|
Reporter | ||
Comment 7•11 months ago
|
||
This works now, thanks! And indeed mozregression points to bug 1858143 as the fixer.
Updated•11 months ago
|
Description
•