Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for nsPrefBranch::{get,set}StringPref() #901

Merged
merged 1 commit into from
Nov 19, 2017
Merged

support for nsPrefBranch::{get,set}StringPref() #901

merged 1 commit into from
Nov 19, 2017

Conversation

lilydjwg
Copy link
Contributor

@lilydjwg lilydjwg commented Nov 19, 2017

This fixes for Firefox >= 2017-11-10.

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--

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--
@lilydjwg lilydjwg mentioned this pull request Nov 19, 2017
@lydell lydell merged commit defdabd into akhodakivskiy:master Nov 19, 2017
@lydell
Copy link
Collaborator

lydell commented Nov 19, 2017

Thanks! I didn't test if it works, but I trust you. I'll try to upload a new version now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants