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

11 Коммитов

Автор SHA1 Сообщение Дата
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
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Alexandre Poirot ded0553ffd Bug 1441527 - Adapt Task middleware to async functions. r=jryans
MozReview-Commit-ID: 99NjKtf2krk

--HG--
extra : rebase_source : fe0d39e1235788200056357172f7c93e96be815e
2018-02-22 10:47:41 -08:00
Brian Grinstead 46cc553a7c Bug 1382833 - Don't throw when dealing with CPOWs in the Object Actor;r=jimb
MozReview-Commit-ID: CaIS2IpaQme

--HG--
extra : rebase_source : 75b4fe1abd460978039d7f1085d56e64b9dd2765
2017-07-26 11:22:56 -07:00
Tom Tromey 16809923e0 Bug 1321839 - make devtools/shared eslint-clean; r=jryans
MozReview-Commit-ID: AGSdhrT4Z3D

--HG--
extra : rebase_source : b053c5a54d39e6669598714e5f572c0d3dc0ebb4
2016-12-02 10:32:04 -07:00
James Long 0b2677dddc Bug 1267365 - move various flags out of DevToolsUtils and don't depend on that module so much r=tromey 2016-08-05 17:41:01 -04: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
Nick Fitzgerald 81e06bd5ae Bug 1260938 - Add the `ThreadSafeDevToolsUtils.isSet` utility; r=jimb a=kwierso
MozReview-Commit-ID: IqY3Abv3OX

--HG--
extra : histedit_source : cba614f975f01cdedab0d0e9f93715214055dec7
2016-03-31 16:19:47 -07:00
Nick Fitzgerald 546829d13e Bug 1260589 - Add the ThreadSafeDevToolsUtils.flatten utility; r=jimb a=kwierso
The `flatten` function takes an array of arrays and flattens them to a single
array, removing one level of nesting. It does not recursively flatten multiple
levels of nesting.

MozReview-Commit-ID: ErDMHbT2IX

--HG--
extra : histedit_source : eb6e4f8c54f536c84b08da22ef60cfa56a5075c8
2016-03-31 16:18:44 -07:00
Nick Fitzgerald b6f99a14d8 Bug 1235458 - Move a bunch of utilities from DevToolsUtils to ThreadSafeDevToolsUtils. r=jsantell 2016-01-21 12:07:17 -08:00
Nick Fitzgerald dc7807bb13 Bug 1235457 - Create ThreadSafeDevToolsUtils for the utilities that can be used in workers; r=jsantell
This commit adds the ThreadSafeDevToolsUtils module for utilities that are
guaranteed to work off the main thread. It also makes DevToolsUtils re-export
the thread-safe utilities. This is similar to ChromeUtils and
ThreadSafeChromeUtils webidl interfaces.
2015-12-30 09:37:01 -08:00