Closed
Bug 1036220
Opened 11 years ago
Closed 8 years ago
Get rid of dom.mozAlarms.enabled pref
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: reuben, Assigned: reuben)
Details
(Whiteboard: [systemsfe])
Attachments
(1 file, 1 obsolete file)
20.80 KB,
patch
|
reuben
:
review+
smaug
:
review+
|
Details | Diff | Splinter Review |
Shouldn't be needed since the interface also has [CheckPermissions]. This means we can include mozAlarms in the Navigator.getFeature list (bug 1009645).
Assignee | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Nice!
Assignee | ||
Updated•11 years ago
|
Attachment #8452849 -
Flags: review?(nsm.nikhil)
Comment on attachment 8452849 [details] [diff] [review]
Get rid of the dom.mozAlarms.enabled pref
Review of attachment 8452849 [details] [diff] [review]:
-----------------------------------------------------------------
r=me with comments addressed.
::: dom/alarm/test/test_alarm_non_permitted_app.html
@@ +13,4 @@
>
> "use strict";
>
> SimpleTest.waitForExplicitFinish();
Do we need async tests here?
@@ -18,5 @@
> SpecialPowers.removePermission("alarms", document);
> window.location.reload();
> } else {
> - SpecialPowers.pushPrefEnv({"set": [["dom.mozAlarms.enabled", true]]}, function() {
> - SpecialPowers.removePermission("alarms", document);
This removePermission() should be preserved.
::: dom/alarm/test/test_alarm_permitted_app.html
@@ +12,5 @@
> <script type="application/javascript">
>
> "use strict";
>
> SimpleTest.waitForExplicitFinish();
Do we need async tests here?
::: dom/tests/mochitest/general/test_interfaces.html
@@ -112,5 @@
> // IMPORTANT: Do not change the list below without review from a DOM peer!
> var interfaceNamesInGlobalScope =
> [
> // IMPORTANT: Do not change this list without review from a DOM peer!
> - {name: "AlarmsManager", pref: "dom.mozAlarms.enabled"},
Ask a DOM peer?
Attachment #8452849 -
Flags: review?(nsm.nikhil) → review+
Updated•11 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 2.0 S6 (18july)
Assignee | ||
Comment 4•11 years ago
|
||
Comments addressed, carrying r=nsm.
Attachment #8452849 -
Attachment is obsolete: true
Attachment #8454904 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #8454904 -
Flags: review?(bugs)
Assignee | ||
Comment 5•11 years ago
|
||
Olli, the alarm parts are reviewed, I need a DOM peer review for the test_interfaces change.
Updated•11 years ago
|
Attachment #8454904 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 6•11 years ago
|
||
I had to back this out for breaking Android mochitests: https://tbpl.mozilla.org/php/getParsedLog.php?id=43856034&tree=B2g-Inbound
https://hg.mozilla.org/integration/b2g-inbound/rev/da1b857571c2
Flags: needinfo?(reuben.bmo)
Updated•11 years ago
|
Target Milestone: 2.0 S6 (18july) → 2.1 S1 (1aug)
Updated•11 years ago
|
Target Milestone: 2.1 S1 (1aug) → 2.1 S2 (15aug)
Updated•10 years ago
|
Target Milestone: 2.1 S2 (15aug) → 2.1 S3 (29aug)
Updated•10 years ago
|
Target Milestone: 2.1 S3 (29aug) → 2.1 S4 (12sep)
Updated•10 years ago
|
Target Milestone: 2.1 S4 (12sep) → ---
Assignee | ||
Comment 8•8 years ago
|
||
DOM Alarms no longer exists.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(reuben.bmo)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•