Closed Bug 1040651 Opened 11 years ago Closed 11 years ago

[LayerScope] Add a "LayerScope" option in "Settings -> Developer"

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

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

RESOLVED FIXED
2.1 S9 (21Nov)
Tracking Status
b2g-v2.1S --- wontfix
b2g-v2.2 --- fixed
b2g-master --- fixed

People

(Reporter: boris, Assigned: boris)

References

Details

Attachments

(2 files)

I think we should add a "LayerScope" option in Settings->Developer to enable/disable the preference of LayerScope, so we don't need to run ./edit-prefs.sh on B2G and add: 1. user_pref("gfx.layerscope.enabled", true); 2. user_pref("network.gonk.manage-offline-status", false);
Summary: [LayerScope] Add a "LayerScope" option in "Developer" to enable/disable Layer Scope → [LayerScope] Add a "LayerScope" option in "Settings -> Developer"
Assignee: nobody → boris.chiou
Attached patch Gacko Part. (v1)Splinter Review
Add a listener at Gecko side. We will also add a "LayerScope" option in "Settings -> Developer", so we can enable Layerscope dynamically.
Attachment #8519642 - Flags: review?(fabrice)
Attachment #8519648 - Flags: review?(fabrice)
I think we only need "gfx.layerscope.enabled" for enabling layerscope right now, so I will only add an option for "gfx.layerscope.enabled" in my patch. Thanks.
(In reply to Boris Chiou [:boris] from comment #2) > Created attachment 8519648 [details] [review] > Gaia Part. (v1) (pull request #25976) (In reply to Boris Chiou [:boris] from comment #1) > Created attachment 8519642 [details] [diff] [review] > Gacko Part. (v1) > > Add a listener at Gecko side. We will also add a "LayerScope" option > in "Settings -> Developer", so we can enable Layerscope dynamically. Try server: https://tbpl.mozilla.org/?tree=Try&rev=72fadac31512
Blocks: 1096139
No longer blocks: 1096139
Blocks: 1096139
Status: NEW → ASSIGNED
Attachment #8519642 - Flags: review?(fabrice) → review+
Comment on attachment 8519648 [details] [review] Gaia Part. (v1) (pull request #25976) I commented on github, but I defer to a settings peer anyway.
Attachment #8519648 - Flags: review?(fabrice)
Attachment #8519648 - Flags: review?(arthur.chen)
Attachment #8519648 - Flags: review-
I did not find anything from the document[1] regarding not placing english in the html file. Stas, could you help confirm that? [1]: https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/localization_code_best_practices
Flags: needinfo?(stas)
Thanks for asking, Arthur! Zibi posted about this to dev-gaia only a week ago, so it's a pretty new thing that we're trying to promote and that we ask you to follow: https://groups.google.com/forum/#!topic/mozilla.dev.gaia/XWPswH8nuuE I updated the MDN page to mention this. Let me know if you have any questions.
Flags: needinfo?(stas)
(In reply to Staś Małolepszy :stas from comment #7) > Thanks for asking, Arthur! Zibi posted about this to dev-gaia only a week > ago, so it's a pretty new thing that we're trying to promote and that we ask > you to follow: > > https://groups.google.com/forum/#!topic/mozilla.dev.gaia/XWPswH8nuuE > > I updated the MDN page to mention this. Let me know if you have any > questions. Thanks for your clarification, I upload a new patch to remove the English translation. Thank you.
Comment on attachment 8519648 [details] [review] Gaia Part. (v1) (pull request #25976) Stas, thanks for the clarification. r=me, thanks Boris!
Attachment #8519648 - Flags: review?(arthur.chen) → review+
Keywords: checkin-needed
master: d81ef65f1f30968b0fcc07a77fe69d8d24f4fba8
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Keywords: checkin-needed
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S9 (21Nov)
Hi Steven, I need cherry-pick this patch into v2.1s branch for debugging purpose in the future. Thanks
Flags: needinfo?(styang)
blocking-b2g: --- → 2.1S?
(In reply to Vincent Liu[:vliu] from comment #15) > Hi Steven, > > I need cherry-pick this patch into v2.1s branch for debugging purpose in the > future. Thanks If possible, please also cherry-pick Bug 1096139 which also makes the connection of layerscope easier.
blocking-b2g: 2.1S? → 2.1S+
Flags: needinfo?(styang)
Looks like this never made it to v2.1S. Do we still want it?
Flags: needinfo?(vchen)
Flags: needinfo?(jocheng)
No, don't need this one on 2.1s
Flags: needinfo?(vchen)
blocking-b2g: 2.1S+ → ---
Flags: needinfo?(jocheng)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: