Closed Bug 1662680 Opened 4 years ago Closed 4 years ago

Storage Access API prompt is NOT displayed with network.cookie.cookieBehavior = 1

Categories

(Firefox :: Protections UI, defect)

Firefox 81
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox81 --- affected

People

(Reporter: cbadau, Unassigned)

References

Details

Attachments

(1 file)

Attached image prompt.png

Affected versions

  • Firefox 81 Beta 5 (buildID: 20200901203141)

Affected platforms

  • Windows 10
  • Ubuntu 18.04

Steps to reproduce

  1. Launch Firefox.
  2. Set network.cookie.cookieBehavior = 1, privacy.partition.network_state = true, urlclassifier.trackingAnnotationTable.testEntries = known-tracker.englehardt-tracker.com, dom.storage_access.auto_grants = false. Restart Firefox.
  3. Navigate to https://senglehardt.com/test/dfpi/simple.html in a new tab.
  4. Click on the requestStorageAccess() button from the third englehardt-tracker.com iframe.

Expected result

  • The Storage Access API prompt is displayed correctly.

Actual result

  • The Storage Access API prompt is NOT displayed.

Regression range

  • I will check if this is a regression ASAP.

Additional notes

  • See attachment "prompt.png" - this is the prompt that should be displayed.

Suggested severity

  • S2
Blocks: 1658907
Has STR: --- → yes

We understood from Steven that the "network.cookie.rejectForeignWithExceptions.enabled" pref is required in Beta (needs to be set to True) for the prompt to be shown. Tim, can you please confirm this?

Flags: needinfo?(tihuang)

Yes, this pref has to be turned on in order to show this prompt.

Flags: needinfo?(tihuang)

Thanks, Tim!
With the "network.cookie.rejectForeignWithExceptions.enabled" pref set to True, the Storage Access API prompt is correctly displayed in 81 Beta. Based on that and based on previous comment, I will close the bug as INVALID.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: