Commit Graph
17 Commits
Author SHA1 Message Date
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Jason Laster 83c5cd5b3d Bug 1460056 - Update Debugger Frontend v50. r=jdescottes
MozReview-Commit-ID: DEBZJPz2YlK
2018-05-09 19:35:36 -04:00
Mark Banner 37c400e98f Bug 1455581 - Enable ESLint rules no-undef and no-unused-vars for devtools/client/framework/. r=jdescottes
MozReview-Commit-ID: IGwI0JkIDkf
2018-04-20 12:17:40 +01:00
Mark Banner 9ac1d38717 Bug 1451659 - Fix mochitest issues after enabling ESLint on more files in devtools. r=jdescottes
MozReview-Commit-ID: 4KZjO1VewoE
2018-04-05 11:08:30 +01:00
Mark Banner d48f3f2e01 Bug 1451659 - Enable ESLint for devtools/client/{canvasdebugger,framework,scratchpad,shadereditor}/. r=jdescottes
Disable rules with many failures for now, in a way that mentored bugs can easily pick them up.
Fix other minor issues raised by various rules.

MozReview-Commit-ID: 71OQI7jLihe
2018-04-04 23:24:04 +01:00
Mark Banner 963b2a1b45 Bug 1451659 - Automated ESLint fixes for devtools/client/framework/. r=jdescottes
MozReview-Commit-ID: 26jRtf8ZzTr
2018-04-04 22:10:09 +01:00
Alexandre Poirot 22e91d7acd Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
J. Ryan Stinnett a7231a768e Bug 1442312 - Move allowed rejections into specific tests they apply to. r=ochameau
By moving only the rejections that actually still apply into each test and out
of the shared head file, we are much more likely to notice new instances and
catch them when writing and editing tests in the future.

Bug 1018184 can be used to actually resolve these issues.

MozReview-Commit-ID: Qb71PsuutB
2018-03-08 18:14:52 -06:00
Florian Quèze f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Alexandre Poirot c06dcac8f2 Bug 1438508 - Allows running brower_browser_toolbox_debugger.js more than once. r=jryans
The sandbox used in this test isn't immediately destroyed when the test finishes.
So use a unique file name to always refer to the expected sandbox/file in this debugger test.

MozReview-Commit-ID: FJYXPN0RQS2
2018-02-14 09:54:03 -08:00
Alexandre Poirot 13e5d4f0f5 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs
2018-02-07 01:37:36 -08:00
Andrew McCreight 272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Julian Descottes 21e2440f5a Bug 1432842 - duplicate waitUntil() in browser toolbox test;r=jlast
MozReview-Commit-ID: 7ceTbl7DGgy
2018-01-25 10:40:33 +01:00
Julian Descottes 524de90951 Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW
2017-08-02 12:53:20 +02:00
J. Ryan Stinnett f23f138672 Bug 1346902 - Update browser toolbox integration test for new debugger. r=jlast
MozReview-Commit-ID: 8k8bIqSBKGf
2017-04-25 22:12:30 +02:00
J. Ryan Stinnett 530b903fcf 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
Alexandre Poirot 89dc6c7b3c Bug 1264626 - Test the browser toolbox debugger. r=jryans,jlongster 2016-04-27 07:04:47 -07:00