Last Comment Bug 766379 - Settings API: Add warning if we get or set a non-existing setting
: Settings API: Add warning if we get or set a non-existing setting
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: DOM: Device Interfaces (show other bugs)
: unspecified
: x86 Mac OS X
: -- normal (vote)
: mozilla16
Assigned To: Gregor Wagner [:gwagner]
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 16:21 PDT by Gregor Wagner [:gwagner]
Modified: 2012-06-21 04:05 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (3.68 KB, patch)
2012-06-19 18:04 PDT, Gregor Wagner [:gwagner]
fabrice: review+
Details | Diff | Splinter Review

Description Gregor Wagner [:gwagner] 2012-06-19 16:21:50 PDT
For B2G we only allow a list of known settings. We should start to enforce this by printing warnings when we add or get non-existing entries.
Comment 1 Gregor Wagner [:gwagner] 2012-06-19 18:04:28 PDT
Created attachment 634691 [details] [diff] [review]
patch
Comment 3 Ed Morley [:emorley] 2012-06-21 04:05:12 PDT
https://hg.mozilla.org/mozilla-central/rev/8e3fa5b800c5

Note You need to log in before you can comment on or make changes to this bug.