]> git.gir.st - VimFx.git/commit
support for nsPrefBranch::{get,set}StringPref() (#901)
author依云 <lilydjwg@gmail.com>
Sun, 19 Nov 2017 16:16:56 +0000 (00:16 +0800)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 19 Nov 2017 16:16:56 +0000 (17:16 +0100)
commitdefdabd355003e6e4592f6ab7587ee2c8c6497ee
tree511b2576ee937c638132c82895365301f31f324f
parentd3643abf8d7b821869bb014b918db06241bc4b3c
support for nsPrefBranch::{get,set}StringPref() (#901)

Firefox commit:

--8<--

Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.

Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.

-->8--
extension/lib/prefs.coffee
Imprint / Impressum