Closed
Bug 1062569
Opened 10 years ago
Closed 10 years ago
Inline the activity options used in the wappush app in order to make it easier to automatically extract the activity arguments from the source code
Categories
(Firefox OS Graveyard :: Gaia::Dialer, defect)
Tracking
(b2g-v2.2 fixed)
RESOLVED
FIXED
2.1 S4 (12sep)
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1062564 +++
I'm working on a static analysis tool which can extract information about all MozActivity API usages from the gaia source code. It's much simper for this tool if the activity options argument was passed as an inline JS object. I have a simple patch which does this for the wappush app.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8483771 -
Flags: review?(timdream)
Comment 2•10 years ago
|
||
Comment on attachment 8483771 [details] [review]
Patch (v1)
Actually for wappush :gsvelto should review but this looks trivial anyway.
Please make sure linter passes.
Attachment #8483771 -
Flags: review?(timdream) → review+
Comment 3•10 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #2)
> Actually for wappush :gsvelto should review but this looks trivial anyway.
Yeah, no problem with that. BTW I had culled this code from the SMS app and left it unmodified to reduce the risk because this was crash-landed during the infamous Oslo work-week so if you've got a change for the SMS app working then the same should apply here.
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Gabriele Svelto [:gsvelto] from comment #3)
> (In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from
> comment #2)
> > Actually for wappush :gsvelto should review but this looks trivial anyway.
>
> Yeah, no problem with that. BTW I had culled this code from the SMS app and
> left it unmodified to reduce the risk because this was crash-landed during
> the infamous Oslo work-week so if you've got a change for the SMS app
> working then the same should apply here.
Yes, I came across that code in the SMS app too. The problem there is that tryActivity has several callers, each passing different activity options. I would like to do something there too because that is currently the only place in gaia where my static analysis fails...
Keywords: checkin-needed
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-v2.2:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S4 (12sep)
You need to log in
before you can comment on or make changes to this bug.
Description
•