Closed
Bug 1269051
Opened 8 years ago
Closed 7 years ago
Disable screenshot in bookmarks via a switchboard flag rather than at compile-time
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: mcomella, Assigned: cnevinchen, NeedInfo)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
Follow-up to compile-time disable, bug 1266820.
Reporter | ||
Comment 1•8 years ago
|
||
Margaret, it's non-trivial to do this because we need to know if we're in the experiment in LocalBrowserDB.getBookmarksInFolder (to create the smart folder) which does not have a reference to the Context. How important is it that we do this? fwiw, this could be revisited when we're implementing this feature if we'd like to use actual bucketing. If we were to implement this, some solutions off the top of my head: * Pass a context into LocalBrowserDB and set a member var reporting the state of the experiment – LocalBrowserDB is used outside of BrowserApp so this isn't entirely appropriate and can have weird side effects by accessing shared prefs values. Also, many callsites to update. * Add a static reference in BrowserApp that is updated in onCreate (or similar) and that LocalBrowserDB can access – icky global state, but probably the better solution (it's like a runtime constant).
Flags: needinfo?(margaret.leibovic)
Reporter | ||
Comment 2•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/49877/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/49877/
Comment 3•8 years ago
|
||
If it's difficult (and it sounds like it is), we don't need to worry about moving this behind a switchboard flag right now. However, in the future, I imagine we may want to control the UI of this feature with a switchboard flag, but we can cross that bridge when we get to it.
Flags: needinfo?(margaret.leibovic)
Assignee | ||
Comment 5•7 years ago
|
||
I'll take this. Is this bug still valid?
Assignee: nobody → cnevinchen
Flags: needinfo?(joechengla)
Flags: needinfo?(alam)
Comment 6•7 years ago
|
||
I don't think this is still valid. Correct me if I'm wrong, but I think this is left over from when we were experimenting with a "Screenshots" smart folder in Bookmarks. @mcomella?
Flags: needinfo?(alam) → needinfo?(michael.l.comella)
Reporter | ||
Comment 7•7 years ago
|
||
> I think this is left over from when we were experimenting with a "Screenshots" smart folder in Bookmarks.
Yep - I agree this is no longer valid (unless this is a feature that we intend to ship).
Flags: needinfo?(michael.l.comella)
Assignee | ||
Comment 8•7 years ago
|
||
I'll close this bug per comment 7
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•