Closed Bug 1179243 Opened 11 years ago Closed 11 years ago

Gaia changes for OpenMobile Application Compatibility Layer

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.0M fixed, b2g-v2.1S fixed, b2g-v2.2 wontfix, b2g-master wontfix)

RESOLVED FIXED
FxOS-S2 (10Jul)
Tracking Status
b2g-v2.0M --- fixed
b2g-v2.1S --- fixed
b2g-v2.2 --- wontfix
b2g-master --- wontfix

People

(Reporter: bwalker, Assigned: mikehenrty)

References

Details

(Whiteboard: [systemsfe])

Attachments

(3 files, 1 obsolete file)

No description provided.
Blocks: 1169474
Kevin, could you take a look at this PR. Please see bug 1169426 for background. But the basic functionality is that the acl-daemon dev app should be able to execute commands against the system app. It mimics the communication channel, and there are buttons for each of the actions (like run app, close app, send notification, etc). Let me know if you have any questions about the details.
Attachment #8628551 - Flags: review?(kgrandon)
Comment on attachment 8628551 [details] [review] [PR 2.1s] acl integration I wasn't really part of the discussions around implementation or partnership here, so a few things are confusing to me. From what I've been told is that we are unable to actually build and test this ourselves on devices? This seems like a strategic mistake for Mozilla to be implementing a workflow like this, and normally I would be against something like this out of principle. The code does look fine though, and seems like it should work. While I can't actually test this, I will leave my principles at the door and give you an R+ because it seems like there is monumental pressure to get this landed. The feedback- is for the general approach/workflow and not your code, so feel free to land. It's just my silent form of protest and I'm hoping someone will play me a tiny violin.
Attachment #8628551 - Flags: review?(kgrandon)
Attachment #8628551 - Flags: review+
Attachment #8628551 - Flags: feedback-
Attachment #8628592 - Flags: review?(kgrandon)
Attachment #8628592 - Flags: review+
Attachment #8628592 - Flags: feedback-
(In reply to Kevin Grandon (PTO) :kgrandon from comment #3) > Comment on attachment 8628551 [details] [review] > [PR 2.1s] acl integration > > I wasn't really part of the discussions around implementation or partnership > here, so a few things are confusing to me. From what I've been told is that > we are unable to actually build and test this ourselves on devices? This > seems like a strategic mistake for Mozilla to be implementing a workflow > like this, and normally I would be against something like this out of > principle. Completely agreed. Pushing to land this before we have a build to test is extremely risky and a backwards way of operating. I'm sorry to stick this on you, and I appreciate your timely review.
fwiw, I initially asked this to not ship in default builds. I'm not sure how easy it is to do with gaia build system though.
(In reply to Fabrice Desré [:fabrice] from comment #5) > fwiw, I initially asked this to not ship in default builds. I'm not sure how > easy it is to do with gaia build system though. We do have a setting that disables this code if you don't have the right build flag. But yes, we do still include the code for default builds.
v2.1s https://github.com/mozilla-b2g/gaia/commit/c1a9fe0710a214df0dcabe89e45f3a9c41c282f9 Last patch landed. Let's open a new bug when we want to integrate this into master.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S2 (10Jul)
Whiteboard: [systemsfe]
(In reply to Michael Henretty [:mhenretty] from comment #8) > v2.1s > https://github.com/mozilla-b2g/gaia/commit/ > c1a9fe0710a214df0dcabe89e45f3a9c41c282f9 > > Last patch landed. Let's open a new bug when we want to integrate this into > master. This is causing Gaia unit test and Linter failures on v2.1s: https://treeherder.mozilla.org/logviewer.html#?job_id=19866&repo=mozilla-b2g34_v2_1s https://treeherder.mozilla.org/logviewer.html#?job_id=19870&repo=mozilla-b2g34_v2_1s We don't have automation on v2.0m, so I have no idea if it's affected as well.
Flags: needinfo?(mhenretty)
Attached file [v2.1s PR] Test fixes
This fixes the unit test, and linter test. The pre-commit linter hook didn't catch this because newer versions of jshint don't detect the 'Notification' keyword as a global since it's a DOM object now. As for the unit test failure, I fixed it, but now I need to run this on try. I'm looking into that now.
Flags: needinfo?(mhenretty)
On the bright-side, neither of these errors are actual bugs. So I don't think we need to upload to v2.0m. In the meantime, I'm running as many of the tests locally as I can before getting review for this.
Also to note, after speaking with :gaye there is no easy way to get a full test run of this code on v2.1s since we don't have a taskcluster gaia-try config for this. Hence the local testing.
Comment on attachment 8631766 [details] [review] [v2.1s PR] Test fixes Spoke with kgrandon over IRC about this. r+ is good to carry. I was able to repro the failures locally and fixed them. It appears to be working fine now, and since 2.1s is not too active I'm going to land and just watch the tests.
Attachment #8631766 - Flags: review+
Attachment #8631760 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: