Closed Bug 811816 Opened 12 years ago Closed 12 years ago

[Browser] places.js uses deprecated IndexedDB constant: { JavaScript Warning: "The constant IDBCursor.PREV has been deprecated. Use the string value "prev" instead." }

Categories

(Firefox OS Graveyard :: Gaia::Browser, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 882396

People

(Reporter: dholbert, Assigned: daleharvey)

Details

(Keywords: b2g-testdriver, unagi, Whiteboard: c=browser u=user)

Just noticed these go by in my B2G logcat error output, around when I was starting up my browser: { E/GeckoConsole( 111): [JavaScript Warning: "The constant IDBTransaction.READ_WRITE has been deprecated. Use the string value "readwrite" instead."] E/GeckoConsole( 111): [JavaScript Warning: "The constant IDBCursor.PREV has been deprecated. Use the string value "prev" instead."] } A quick grep shoes that these constants are used in places.js: https://github.com/mozilla-b2g/gaia/blob/master/apps/browser/js/places.js so I assume that's the usage that's triggering these messages. It looks like that file has a future-proof hack to make this continue to work even after the constant goes away: > IDBTransaction.READ_WRITE = IDBTransaction.READ_WRITE || 'readwrite'; so that means the error isn't actually problematic. However, we don't have that future-proofing hack for PREV -- looks like we need to add that. (and/or just remove the old names altogether.)
Component: Gaia → Gaia::Browser
Summary: Gaia places.js uses deprecated IndexedDB constant: { JavaScript Warning: "The constant IDBCursor.PREV has been deprecated. Use the string value "prev" instead." } → [Browser] places.js uses deprecated IndexedDB constant: { JavaScript Warning: "The constant IDBCursor.PREV has been deprecated. Use the string value "prev" instead." }
blocking-basecamp: ? → ---
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Whiteboard: c=browser u=user
Priority: -- → P3
Assignee: nobody → dale
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.