Closed
Bug 889503
Opened 12 years ago
Closed 12 years ago
Move Settings API to WebIDL
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: reuben, Assigned: reuben)
References
Details
Attachments
(3 files, 1 obsolete file)
391 bytes,
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
17.07 KB,
patch
|
bzbarsky
:
review+
gwagner
:
review+
|
Details | Diff | Splinter Review |
2.86 KB,
patch
|
gwagner
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #770325 -
Flags: review?(dzbarsky)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #770336 -
Flags: review?(anygregor)
Comment 3•12 years ago
|
||
Comment on attachment 770325 [details] [diff] [review]
Patch
Review of attachment 770325 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/settings/SettingsManager.js
@@ -262,5 @@
> };
>
> -const SETTINGSMANAGER_CONTRACTID = "@mozilla.org/settingsManager;1";
> -const SETTINGSMANAGER_CID = Components.ID("{c40b1c70-00fb-11e2-a21f-0800200c9a66}");
> -const nsIDOMSettingsManager = Ci.nsIDOMSettingsManager;
It may be worth keeping these around.
Attachment #770325 -
Flags: review?(dzbarsky)
Attachment #770325 -
Flags: review?(bzbarsky)
Attachment #770325 -
Flags: feedback+
Updated•12 years ago
|
Attachment #770336 -
Flags: review?(anygregor) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #770325 -
Attachment is obsolete: true
Attachment #770325 -
Flags: review?(bzbarsky)
Attachment #772792 -
Flags: review?(bzbarsky)
Attachment #772792 -
Flags: review?(anygregor)
Comment 5•12 years ago
|
||
Comment on attachment 772792 [details] [diff] [review]
Patch, v2
r=me
Attachment #772792 -
Flags: review?(bzbarsky) → review+
Comment 6•12 years ago
|
||
Comment on attachment 772792 [details] [diff] [review]
Patch, v2
Review of attachment 772792 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/settings/SettingsManager.js
@@ +361,5 @@
> this.hasWritePrivileges = writePerm == Ci.nsIPermissionManager.ALLOW_ACTION;
>
> + if (this.hasReadPrivileges) {
> + cpmm.sendAsyncMessage("Settings:RegisterForMessages");
> + }
Huh? This defeats the purpose of the whole register message approach. We don't want to get messages if we don't have a listener. This means we have to wake up all apps when a setting has changed. Not good for mobile!
Attachment #772792 -
Flags: review?(anygregor)
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #776008 -
Flags: review?(anygregor)
Comment 8•12 years ago
|
||
Comment on attachment 772792 [details] [diff] [review]
Patch, v2
Review of attachment 772792 [details] [diff] [review]:
-----------------------------------------------------------------
Lets hope the navigator.language issue is getting fixed soon.
Attachment #772792 -
Flags: review+
Updated•12 years ago
|
Attachment #776008 -
Flags: review?(anygregor) → review+
Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/70f4d118d159
https://hg.mozilla.org/mozilla-central/rev/6c3396af4b17
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment 11•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/70f4d118d159 broke many gaia-unit tests, see bug 894964. These tests need to be fixed (or this patch fixed, or backed out) so that we can unhide gaia-unit-tests in TBPL.
Blocks: 894964
You need to log in
before you can comment on or make changes to this bug.
Description
•