Closed
Bug 1155245
Opened 9 years ago
Closed 9 years ago
The app status is not set correctly for hosted certified apps
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(firefox40 fixed)
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: amac, Assigned: amac)
References
Details
Attachments
(1 file, 2 obsolete files)
1.14 KB,
patch
|
amac
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Enable developer mode (set pref("dom.apps.developer_mode", true);) 2. Boot and install any hosted app that is certified 3. Check the app status at /data/local/webapps/webapps.json EXPECTED: The appStatus should be 3 (Certified) ACTUAL: The appStatus is 1. And if the app uses web components on any other thing that explicitly check for the status, it doesn't work.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → amac.bug
Attachment #8593435 -
Flags: review?(fabrice)
Comment 2•9 years ago
|
||
Comment on attachment 8593435 [details] [diff] [review] V1. Set the correct app status for hosted apps on developer mode Review of attachment 8593435 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/apps/Webapps.jsm @@ +3107,5 @@ > // don't update the permissions yet. > if (!aData.isPackage) { > if (supportUseCurrentProfile()) { > + // Until now we were not setting correctly the appStatus for hosted apps, and that didn't matter because > + // hosted apps couldn't be other than installed anyway. That's not true anymore... Remove this comment. Historians will look at the blame & bugzilla.
Attachment #8593435 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 3•9 years ago
|
||
r=fabrice Try run at: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ae2d76e6200a
Attachment #8593807 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Attachment #8593435 -
Attachment is obsolete: true
Assignee | ||
Comment 4•9 years ago
|
||
Test run looks (mostly) green, requesting checkin.
Keywords: checkin-needed
Comment 5•9 years ago
|
||
Your B2G/Mulet test failures look legit... 213 INFO TEST-UNEXPECTED-FAIL | dom/apps/tests/test_app_enabled.html | Test timed out. - expected PASS
Keywords: checkin-needed
Assignee | ||
Comment 6•9 years ago
|
||
Actually this kinda looks a lot like Bug 1115788. In fact, all of those tests seem to have a lot of oranges judging by the suggestions... The code added here only makes a single change if the developer_mode preference is true. And the only test where that's true is on test_install_dev_mode.html. So for all the rest, the code that's being executed is the same with and without this patch.
Keywords: checkin-needed
Comment 7•9 years ago
|
||
The failures aren't happening in production, especially at the high frequency of your test run. Please post a green Try run to verify that your patch isn't at fault rather than asking me to accept it on faith and risk a tree closure if wrong.
Keywords: checkin-needed
Assignee | ||
Comment 8•9 years ago
|
||
r=fabrice
Attachment #8593807 -
Attachment is obsolete: true
Attachment #8596561 -
Flags: review+
Assignee | ||
Comment 9•9 years ago
|
||
Try run at: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1b37fb308caa
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/83ce3822d127
Keywords: checkin-needed
Comment 12•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/83ce3822d127
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
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
•