Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 7ae0527947 Bug 1603126 - Fix Promise rejections in async-storage. r=jdescottes.
All the rejections were called with 2 arguments, when reject only
cares about the first one.
This patch makes all the reject called with the actual DOMException,
and adds console.error before all those rejections.

Differential Revision: https://phabricator.services.mozilla.com/D56859

--HG--
extra : moz-landing-system : lando
2019-12-13 07:55:22 +00:00
Sylvestre Ledru 5da36f02d4 Bug 1562642 - Part 5 - Add missing MPL2 headers in devtools/ r=jlast
Depends on D41566

Differential Revision: https://phabricator.services.mozilla.com/D41567

--HG--
extra : moz-landing-system : lando
2019-08-12 15:56:26 +00:00
Victor Porof b8157dfaaf Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35894

--HG--
extra : source : 4722b924e08478f5337ab509718bd66906bf472f
extra : amend_source : a5baa1aab21639fdba44537e3a10b179b0073cb4
2019-07-05 11:29:32 +02:00
Julian Descottes 640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Alexandre Poirot 7fd76cec03 Bug 1387122 - Remove all useless Promise = require("promise"). r=tromey
Promise with a capital 'P' is already available in all DevTools sandboxes.

Still a couple of letfovers:
* Modules still using `Promise.defer()` (will be handled in bug 1387123)
* devtools/shared/defer, which introduces changes in Promise unhandled exception and stacks (bug 1388054)

MozReview-Commit-ID: PBaliHFa7u

--HG--
extra : rebase_source : d148a26e14e5eb34129f5d4c75c2087952ae596f
2017-08-07 17:53:29 +02:00
Tom Tromey 4baf48b18a Bug 1291834 - make indexDB a global via devtools loader; r=jryans
MozReview-Commit-ID: 3NnhUWaBBra

--HG--
extra : rebase_source : a9012b11c99b11eb6e4742ca66329a882fa1c553
2016-08-03 13:26:34 -06:00
Tom Tromey 947c17e208 Bug 1291834 - make devtools/shared/async-storage.js eslint-clean; r=jryans
MozReview-Commit-ID: LswJRCUrejy

--HG--
extra : rebase_source : 8bc8fc48c264ab331d8e42a9f632115cbd100270
2016-08-03 13:21:11 -06:00
J. Ryan Stinnett 30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
J. Ryan Stinnett e0e2e60e56 Bug 1196047 - Move async-storage.js to devtools/shared. r=bgrins
--HG--
rename : devtools/shared/shared/async-storage.js => devtools/shared/async-storage.js
2015-10-09 18:26:06 -05:00