indexeddb 'moz-extension' is not a valid schema

RESOLVED WORKSFORME

Status

()

Toolkit
WebExtensions: General
RESOLVED WORKSFORME
a year ago
a year ago

People

(Reporter: khalid, Unassigned)

Tracking

49 Branch
x86_64
Windows 10
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

a year ago
Created attachment 8796513 [details]
screen shot of the error

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36

Steps to reproduce:

upgrade to the last version 49.0.1


Actual results:

when i try to connect to indexDB via a web extension, it throws this error:

Quota 'moz-extension' is not a valid schema!: ActorsParent.cpp:6678
Quota Origin 'moz-extension+++3c0b49cf-9140-4938-ad14-a6236c156c51' failed to parse, handled tokens: : ActorsParent.cpp:6598
IndexedDB UnknownErr: ActorsParent.cpp:584

error {target: IDBOpenDBRequest, isTrusted: true, eventPhase: 0, bubbles: true, cancelable: true, defaultPrevented: false, timeStamp: 1475236015800000, originalTarget: IDBOpenDBRequest, explicitOriginalTarget: IDBOpenDBRequest, NONE: 0, CAPTURING_PHASE: 1}


Expected results:

I think the new indexedDB in the last version was tested from a normale page with "http" or "https" schema, but when we try to connect to it via a web-extension, whitch has the schema "moz-extension" it fails with the trown error
(Reporter)

Updated

a year ago
Severity: normal → blocker
Component: Untriaged → Developer Tools: DOM
Keywords: 64bit
OS: Unspecified → Windows 10
Priority: -- → P1
Hardware: Unspecified → x86_64

Comment 1

a year ago
Could you attach a simple extension to reproduce the issue, please.
Severity: blocker → normal
Component: Developer Tools: DOM → WebExtensions: General
Flags: needinfo?(khalid.rfk)
Keywords: 64bit
Priority: P1 → --
Product: Firefox → Toolkit
(Reporter)

Comment 2

a year ago
Created attachment 8796548 [details]
Sample code to reproduce the issue

this code try to connect to indexedDB in firefox version 49.0.1
the trown error is that "moz-extension" is unknown schema

please view error in the navigateur console
Flags: needinfo?(khalid.rfk)
The attached add-on works as expected for me.
(Reporter)

Comment 4

a year ago
the probeme is with version 49.0.1 (the last one), it works fine with older versions
I tested in both 49.0.1 and in recent nightly and developer editions.
(Reporter)

Comment 6

a year ago
it was a probleme with my installation of firefox

i re-installed firefox and then the probleme is gone :)

maybe there is a bug with the upgrade process

Thanks.

Updated

a year ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.