Closed
Bug 857140
Opened 12 years ago
Closed 5 years ago
Cross-global Date keys are broken in indexeddb
Categories
(Core :: Storage: IndexedDB, defect, P5)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Unassigned)
References
Details
The code looks like this:
173 if (JS_ObjectIsDate(aCx, obj)) {
174 if (!js_DateIsValid(obj)) {
175 return NS_ERROR_DOM_INDEXEDDB_DATA_ERR;
I'm fixing JS_ObjectIsDate to work right, but js_DateIsValid will return false if the Date object comes from a subframe, which can't possibly be right per spec (cross-compartment wrappers are supposed to be transparent!).
Updated•7 years ago
|
Priority: -- → P5
Reporter | ||
Comment 1•5 years ago
|
||
This got fixed by the changes in bug 1179003.
You need to log in
before you can comment on or make changes to this bug.
Description
•