Closed
Bug 983452
Opened 11 years ago
Closed 11 years ago
FxA in FTU: Remove code that checks if FxA is preffed off
Categories
(Firefox OS Graveyard :: FxA, defect, P2)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 993794
People
(Reporter: jhirsch, Assigned: jhirsch)
References
Details
(Whiteboard: [fxa4fxos2.0])
In [1] ferjm suggested we check the DOM to determine if our code was preffed off.
However, Arthur asked in [2] that we get the settings directly from JS, without going through the DOM.
We should update the other gaia code to use this instead, it's much cleaner.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=964390
[2] https://github.com/mozilla-b2g/gaia/pull/15692#discussion_r10418248
Comment 1•11 years ago
|
||
Jared, do you want to just back this code out? How does the risk/effort of:
1) moving the pref code, turning the pref on, waiting a week or three, removing the moved pref code
compare to:
2) removing the existing pref code; patching it back in if we need to
You can probably guess that I vote for 2) :-)
Assignee | ||
Comment 2•11 years ago
|
||
That's an awesome idea, Sam :-)
Assignee | ||
Updated•11 years ago
|
Summary: FxA System app: Use JS, not DOM, to check if we are preffed off → FxA System app: Remove code that checks if FxA is preffed off
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 3•11 years ago
|
||
per discussion in bug 967783, maybe we want to promote this to blocker?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → 6a68
Priority: -- → P2
Updated•11 years ago
|
Whiteboard: [fxa4fxos2.0]
Assignee | ||
Comment 5•11 years ago
|
||
Updating title, as it turns out FTU, not System, looked for the pref.
Summary: FxA System app: Remove code that checks if FxA is preffed off → FxA in FTU: Remove code that checks if FxA is preffed off
Assignee | ||
Comment 6•11 years ago
|
||
If I split this change across the two apps, then if (say) the FTU commit removes the pref, the Settings marionette test will fail. If I remove the pref in the Settings commit, then the FTU marionette test will fail.
Simplifying by marking this FTU bug as a dupe of 993794, and we'll get two reviews for one still small commit.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 7•11 years ago
|
||
I was incorrect in c3, actually bug 996476 contains the discussion of problems with OTA updates and this pref.
You need to log in
before you can comment on or make changes to this bug.
Description
•