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)

x86
macOS
defect

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!).
Priority: -- → P5

This got fixed by the changes in bug 1179003.

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