gecko-dev/devtools
Nicolas Chevobbe 5dc6ad75e7 Bug 1435092 - Fix mocha tests broken due to changes to prefs; r=bgrins.
The mocha test are broken because we mock Services.pref,
and the assumptions we make in the mock are no longer valid.
Since we do have a fully functional replacement for Services
in devtools-modules, let's use it in our test.
Which means we need to introduce a mock for localStorage,
since it's what the devtools-modules Services uses, and helper
functions to replace what was in the Services mock.

MozReview-Commit-ID: KLHERfSa1Il

--HG--
extra : rebase_source : b1b5bc2d35624677fc241194ab1a49502cafe31d
2018-02-14 12:11:12 +01:00
..
client Bug 1435092 - Fix mocha tests broken due to changes to prefs; r=bgrins. 2018-02-14 12:11:12 +01:00
docs Bug 1406383- Add documentation for squashing commits; r=sole DONTBUILD 2018-01-13 03:12:10 +05:30
platform Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
server Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 11:55:38 +02:00
shared Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
shim Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes 2018-02-07 01:37:36 -08:00
.eslintrc.js Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop 2018-02-07 16:16:09 +00:00
.eslintrc.mochitests.js
.eslintrc.xpcshell.js
CODE_OF_CONDUCT.md
moz.build Backed out changeset 8a8f5e718ddd (bug 1369801) for frequently breaking devtools menus (bug 1384967). r=backout a=backout on a CLOSED TREE 2017-07-27 18:16:52 +02:00
templates.mozbuild Bug 1198013 - DevToolsModules now safe to call multiple times. r=miker 2017-11-03 12:38:05 -05:00