Closed Bug 808259 Opened 14 years ago Closed 14 years ago

Don't kill a process because of missing permissions.

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-basecamp:+, firefox18 fixed)

RESOLVED FIXED
blocking-basecamp +
Tracking Status
firefox18 --- fixed

People

(Reporter: gwagner, Assigned: gwagner)

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

We have some problems with chrome code that is accessing IDB via the settings API. Until we have a real fix, we shouldn't kill the app.
Attached patch patch (obsolete) — — Splinter Review
Assignee: nobody → anygregor
Attachment #677970 - Flags: review?(jones.chris.g)
blocking-basecamp: --- → ?
We can't release with the code in its current state. We can't release with the upcoming bandaid either, but the bug for the "real fix" also needs to be bb+.
blocking-basecamp: ? → +
Comment on attachment 677970 [details] [diff] [review] patch Much prefer a targeted workaround to disabling backstop checks entirely.
Attachment #677970 - Flags: review?(jones.chris.g)
The problem is a little bit more tricky. We use the SettingsService for writing to the DB in RadioInterfaceLayer.js. But when I create the transaction, I have no way to find out if we need a readonly or a readwrite transaction. (I create the transaction in createLock and only afterwards I see the get or set calls) For the regular API it was easier. If the API had the "readonly" access field I just created a "readonly" transaction. For the settingsService I don't have this information and I always have to create a readwrite transaction.
Attached patch patch — — Splinter Review
Attachment #677970 - Attachment is obsolete: true
Attachment #677976 - Flags: review?(jones.chris.g)
Attachment #677976 - Flags: review?(jones.chris.g) → review+
Wait, you want a *new* bug number in there, not one that is about to be fixed.
(In reply to ben turner [:bent] from comment #6) > Wait, you want a *new* bug number in there, not one that is about to be > fixed. Fixed. https://hg.mozilla.org/integration/mozilla-inbound/rev/e819b19ede3d
Status: NEW → RESOLVED
Closed: 14 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: