Closed
Bug 1106324
Opened 10 years ago
Closed 10 years ago
add missing call to removeLock in SettingsRequestManager.finalizeSets
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
People
(Reporter: dbaron, Assigned: gerard-majax)
References
Details
Attachments
(2 files)
1.49 KB,
patch
|
qdot
:
review+
bajaj
:
approval-mozilla-b2g34+
|
Details | Diff | Splinter Review |
670 bytes,
text/plain
|
Details |
No description provided.
Reporter | ||
Comment 1•10 years ago
|
||
While I was debugging bug 1105511, khuey noticed that one case was
missing a removeLock call. We should add it; it seems like if we ever
hit this error case, the settings lock queue would get stuck. It's not
clear whether this is actually the cause of bug 1105511, so I'm putting
it in a separate bug.
Attachment #8530569 -
Flags: review?(lissyx+mozillians)
Assignee | ||
Comment 2•10 years ago
|
||
That would make sense, I can't even explain why I have not been able to see it before, the error sequencing in finalizeSets() is obviously always doing this, except for this case. I'm wondering if maybe we should not do this removeLock() call in the promise handler rather than at this level, because I see a lot of calls.
I'll use the plane to PDX to investigate this :)
Assignee | ||
Comment 3•10 years ago
|
||
With a quick hack I can confirm the blockage ... and the fix proposed seems to be working as expected.
Assignee | ||
Comment 4•10 years ago
|
||
With this change, we will for the issue for some lock.
Expected behavior is:
- without the fix, the queue will be blocked for ever
- with the fix, requests between #400 and #420 will get broken, but further will work
Tested on a Mulet, this gets you to homescreen, and gives time to unlock. Then we can see that Settings application is broken when you try to toggle some. Until you gover the level of request #420.
Assignee: dbaron → lissyx+mozillians
Assignee | ||
Comment 5•10 years ago
|
||
[Blocking Requested - why for this release]: This is affecting v2.1 for sure, since it's in the set of patches that got uplifted (bug 900551).
blocking-b2g: --- → 2.1?
Assignee | ||
Comment 6•10 years ago
|
||
Kyle, just FYI, since it's due to bug 900551.
Blocks: 900551
Flags: needinfo?(kyle)
Assignee | ||
Comment 8•10 years ago
|
||
I'll need some help on the way we could test this: we have xpchsell unit test for this components, but I'd need to fake the settings locking code to make getObjectStore() fail.
Comment 9•10 years ago
|
||
Comment on attachment 8530569 [details] [diff] [review]
Call removeLock in case where the call was missing
Review of attachment 8530569 [details] [diff] [review]:
-----------------------------------------------------------------
Taking review on this and r+'ing. Don't think it'll fix bug 1105511 (since this won't throw an exception) but it's good to have anyways.
Attachment #8530569 -
Flags: review?(lissyx+mozillians) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Hi, can you provide a try run for this change thanks!
Assignee | ||
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Keywords: checkin-needed
Comment 13•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Assignee | ||
Comment 14•10 years ago
|
||
Comment on attachment 8530569 [details] [diff] [review]
Call removeLock in case where the call was missing
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Settings OOP
User impact if declined: major, settings api completely blocked once triggered
Testing completed: exposed one case and tested the fix on device
Risk to taking this patch (and alternatives if risky): low
String or UUID changes made by this patch: none
Attachment #8530569 -
Flags: approval-mozilla-b2g34?
Updated•10 years ago
|
blocking-b2g: 2.1? → 2.1+
Updated•10 years ago
|
Attachment #8530569 -
Flags: approval-mozilla-b2g34? → approval-mozilla-b2g34+
Comment 15•10 years ago
|
||
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
status-firefox35:
--- → wontfix
status-firefox36:
--- → wontfix
status-firefox37:
--- → fixed
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•