Closed
Bug 1459299
Opened 6 years ago
Closed 6 years ago
Add pref setting methods to GeckoSessionTestRule
Categories
(GeckoView :: General, enhancement, P2)
Tracking
(firefox62 fixed)
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(3 files)
Add pref setting methods so tests can change specific Gecko behavior.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•6 years ago
|
||
mozreview-review |
Comment on attachment 8973690 [details] Bug 1459299 - 3. Clear parent process ChromeActor on window closing; https://reviewboard.mozilla.org/r/242064/#review248050 Thanks, this looks reasonable to me! :) Ideally we will improve this code at some stage so that the ChromeActor here isn't handled as a specialized one-off case like this, but this seems good as an incremental step.
Attachment #8973690 -
Flags: review?(jryans) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 8•6 years ago
|
||
mozreview-review |
Comment on attachment 8973688 [details] Bug 1459299 - 1. Add evaluateChromeJS for chrome privilege code; https://reviewboard.mozilla.org/r/242060/#review248658
Attachment #8973688 -
Flags: review?(snorp) → review+
Comment 9•6 years ago
|
||
mozreview-review |
Comment on attachment 8973689 [details] Bug 1459299 - 2. Add pref setting methods for tests; https://reviewboard.mozilla.org/r/242062/#review248664 I like the idea of being able to set prefs for tests, but I'm not a fan of the way we're doing it here. We should just use PrefsHelper (or a new thing that's better) instead of abusing the debugger protocol like this.
Attachment #8973689 -
Flags: review?(snorp) → review-
Comment 10•6 years ago
|
||
mozreview-review |
Comment on attachment 8973689 [details] Bug 1459299 - 2. Add pref setting methods for tests; https://reviewboard.mozilla.org/r/242062/#review248704 Jim and I talked some, and while I still think that this is not the best approach, he feels strongly that it is, so I'm inclined to relent for the time being.
Attachment #8973689 -
Flags: review- → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 14•6 years ago
|
||
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9248d8d84487 1. Add evaluateChromeJS for chrome privilege code; r=snorp https://hg.mozilla.org/integration/autoland/rev/af4cad4221fa 2. Add pref setting methods for tests; r=snorp https://hg.mozilla.org/integration/autoland/rev/a603214b9905 3. Clear parent process ChromeActor on window closing; r=jryans
Comment 15•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9248d8d84487 https://hg.mozilla.org/mozilla-central/rev/af4cad4221fa https://hg.mozilla.org/mozilla-central/rev/a603214b9905
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
Updated•5 years ago
|
Product: Firefox for Android → GeckoView
Updated•5 years ago
|
Target Milestone: Firefox 62 → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•