Closed Bug 1649999 Opened 4 years ago Closed 4 years ago

Cache API Fully broken on Android nightly and IndexedDB test logic is broken

Categories

(Core :: Storage: Cache API, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1639542

People

(Reporter: tt, Unassigned)

Details

See discussion on Reddit: https://www.reddit.com/r/firefox/comments/hgroso/weekly_discussion_for_nightly_builds_for_20200627/fwigp2m/

A user went to https://firefox-storage-test.glitch.me and it shows that:

  • Cache API is fully broken
    • Error message: An operation is insecure
  • indexedDB's testing logic on that website is broken
    • Error message: A mutation operation was attempted on a database that did not allow mutations. (which is NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR)
      https://imgur.com/a/Nu3S0jq

I wonder if that user uses any add-ons that block cross-origin/thrid-party response and thus they cause Cache API broken.

Although the website says that it can be because tset logic for IndexedDB be broken. I guess it can also be something that went wrong in IndexedDB.

I checked it again and looks like API is broken in Private browsing (whether Add-ons are installed or not). In normal mode it's working fine.

Duplicate of bug 1639542 ?

I am using Realme C3 on android 10.

(In reply to gwarser from comment #2)

Duplicate of bug 1639542 ?

Yes, IndexedDB in not currently supported in private browsing mode, but we're actively working on that, as tracked in that bug!

(In reply to AnonWO8m8 from comment #1)

I checked it again and looks like API is broken in Private browsing (whether Add-ons are installed or not). In normal mode it's working fine.

Ah, I wasn't aware of it's in private browsing mode. Thanks for mentioning that!

It's known issues and we are working on supporting them.

Bug for IndexedDB private browsing mode: https://bugzilla.mozilla.org/show_bug.cgi?id=1638396
Bug for Cache API in private browsing mode: https://bugzilla.mozilla.org/show_bug.cgi?id=1117808

(I checked the result for running the testing page in private browsing mode on desktop and it's the same)

Then, I am going to close this as a dup. Please feel free to reopen it.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Summary: Cache API Fully broken on Android nightly and IndexedDB test logic is broken → Cache API Fully broken on Android nightly and IndexedDB test logic is broken
You need to log in before you can comment on or make changes to this bug.