Closed
Bug 1091601
Opened 10 years ago
Closed 10 years ago
Settings closes down when changing permissions for THA applications
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(blocking-b2g:2.1+, firefox34 wontfix, firefox35 wontfix, firefox36 fixed, b2g-v2.1 verified, b2g-v2.2 verified)
People
(Reporter: lanker, Assigned: lanker)
Details
(Whiteboard: [Tako_Blocker])
Attachments
(3 files)
4.53 KB,
patch
|
fabrice
:
review+
fabrice
:
approval-mozilla-b2g34+
|
Details | Diff | Splinter Review |
2.46 MB,
video/mp4
|
Details | |
2.33 MB,
video/3gpp
|
Details |
Step to reproduce: 1. Make sure some trusted hosted application is installed 2. Go to Settings -> App permissions 3. Pick a trusted hosted application 4. Try to change permissions result: Settings closes down
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8514266 -
Flags: review?(fabrice)
Assignee | ||
Comment 2•10 years ago
|
||
Application kind is used in isExplicitInPermissionsTable for checking the permissions in the permission table. When calling the function from PermissionSettings, the app kind wasn't passed so the permission check failed. This lead to Settings closing down when trying to change the permissions in "App permissions", due to the assert in receiveMessage (dom/permission/PermissionSettings.jsm). The attached patch fixes this.
Comment 3•10 years ago
|
||
[Blocking Requested - why for this release]: This is of vital importance for Trusted Hosted Apps.
blocking-b2g: --- → 2.1?
Comment 4•10 years ago
|
||
Blocking given THA is shipping in 2.1 and the impact here.
blocking-b2g: 2.1? → 2.1+
Updated•10 years ago
|
Attachment #8514266 -
Flags: review?(fabrice)
Attachment #8514266 -
Flags: review+
Attachment #8514266 -
Flags: approval-mozilla-b2g34+
Updated•10 years ago
|
Assignee: nobody → fredrik.lanker
Updated•10 years ago
|
Whiteboard: [Tako_Blocker]
Comment 6•10 years ago
|
||
kwierso, can you help merge this on 2.1? Its unclear if this is on m-c yet, but prolly you can help confirm.
Flags: needinfo?(kwierso)
(In reply to bhavana bajaj [:bajaj] from comment #6) > kwierso, can you help merge this on 2.1? Its unclear if this is on m-c yet, > but prolly you can help confirm. So this did merge to m-c back around when it first landed to b2g-inbound. Unsure why it wasn't commented/resolved, then. Pushed this to b2g34 as well in https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/95fbd7635152 My understanding is that this does not need to be pushed to Aurora 35 (no b2g releases will be based on 35) or Beta 34 (the b2g34 relbranch is sufficient). Happy to push it more places if my understanding is incorrect. :)
Flags: needinfo?(kwierso)
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
status-b2g-v2.1:
--- → fixed
status-b2g-v2.2:
--- → fixed
This issue has been successfully verified on Flame 2.1: Gaia-Rev 1b231b87aad384842dfc79614b2a9ca68a4b4ff3 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/95fbd7635152 Build-ID 20141119001205 Version 34.0 Device-Name flame FW-Release 4.4.2
Updated•10 years ago
|
status-firefox34:
--- → wontfix
status-firefox35:
--- → wontfix
status-firefox36:
--- → fixed
Target Milestone: --- → mozilla36
This bug has been verified as "pass" on latest build of Flame 2.2, Nexus5_2.2 by STR as comment 0. Actual result:It will keep in settings view when we change permissions in App permissions view. See attachment:Verify.3gp Reproducing rate: 0/5 Device:Nexus5_2.2 build(Pass): Build ID 20150615002503 Gaia Revision e7a0c6d5f4df04d45fb3f726efb9e8223600cb79 Gaia Date 2015-06-15 06:12:18 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/f278c675d51f Gecko Version 37.0 Device Name hammerhead Firmware(Release) 5.1 Firmware(Incremental) eng.cltbld.20150615.040818 Firmware Date Mon Jun 15 04:08:47 EDT 2015 Bootloader HHZ12d Device:Flame 2.2 build(Pass): Build ID 20150615002503 Gaia Revision e7a0c6d5f4df04d45fb3f726efb9e8223600cb79 Gaia Date 2015-06-15 06:12:18 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/f278c675d51f Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150615.040806 Firmware Date Mon Jun 15 04:08:18 EDT 2015 Bootloader L1TC000118D0
QA Whiteboard: [MGSEI-Triage+]
Comment 10•9 years ago
|
||
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•