Closed Bug 1706821 Opened 5 years ago Closed 5 years ago

Gracefully handle calls to IndexedDB from third-party iframes when third-party cookies are blocked

Categories

(Core :: Storage: IndexedDB, defect)

Firefox 90
defect

Tracking

()

RESOLVED DUPLICATE of bug 1607302

People

(Reporter: liamre, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Actual user agent: Firefox Nightly 90.0a1 (2021-04-21) (64-bit)

Visit https://beacon.schneidercorp.com/Pictometry/ViewerIPA.aspx?AppID=1051&LayerID=23951&PageTypeID=4&PageID=9973&KeyValue=16002500190 with network.cookie.cookieBehavior set to 1 (all third-party cookies blocked)

Actual results:

The page is broken due to an "Uncaught DOMException: The operation is insecure." error from the third-party iframe trying to access/read/check for IndexedDB.

Expected results:

The call to IndexedDB should be gracefully handled or ignored (not sure how this works).

In Chromium-based browsers, this page is not broken with third-party cookies blocked.

Not sure whether to file as a defect due to the fact that the site is broken, or that the behavior doesn't match Chromium, or as an enhancement because it is a request to change this behavior. Feel free to edit this if I chose wrong.

Just realized that's not a user-agent. Here: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Try this URL if the original one doesn't work: https://beacon.schneidercorp.com/Application.aspx?AppID=1051&LayerID=23951&PageTypeID=4&PageID=9973&KeyValue=16002500190

Thanks for filing this bug! We had some discussion in this area previously in bug 1607302 about how to address this class of problems and we got to (local, Firefox) consensus that we should address it, but things stalled somewhat on the standardization follow up. I'm going to dupe to that bug, but the reality is that it will be a few months before we can get to it because of recent turnover in engineering staff.

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