Commit Graph
26 Commits
Author SHA1 Message Date
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
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
David McCurry db5fa9ee74 Bug 859051 - Implement cache panel; r=Honza 2018-05-01 05:42:00 +03:00
Mike Ratcliffe 87cde2de5f Bug 1448287 - Fix devtools.dump.emit when using new event emitter r=jdescottes
components.stack is not always available, throw new Error() to obtain a stack instead.

MozReview-Commit-ID: BZq7zLKgA9H
2018-03-23 15:34:22 +00:00
Mark Banner 972759b0d6 Bug 1438489 - Enable ESLint rule mozilla/use-services for devtools/. r=jdescottes
MozReview-Commit-ID: FZscEA6Q3Kb
2018-02-15 12:00:17 +00:00
Julian Descottes 5ff5c03294 Bug 1403489 - remove special loader rule for devtools/shared/platform;r=tromey
MozReview-Commit-ID: HwhAXHm8ipq
2017-09-27 12:38:23 +02:00
Chung-Sheng Fu 3360252b7e Bug 863246 - Fix test failures r=Gijs
MozReview-Commit-ID: 8tUr27zvs8z
2017-07-19 17:30:01 +08:00
Sebastian Hengst 71a9474a9e Backed out changeset a7b0c6ddd812 (bug 863246) 2017-08-25 16:43:33 +02:00
Chung-Sheng Fu 4c53aad1f5 Bug 863246 - Fix test failures r=Gijs
MozReview-Commit-ID: 8tUr27zvs8z
2017-07-19 17:30:01 +08:00
Julian Descottes 4cfe0011de Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9
2017-08-02 13:24:14 +02:00
Sebastian Hengst a48bc3cc94 Backed out changeset 17aff9906595 (bug 1386584) because bug 1386299 had to be backed out. r=backout on a CLOSED TREE 2017-08-03 14:02:17 +02:00
Julian Descottes 8796d7a48f Bug 1386584 - Remove JSM boilerplate in devtools/shared/platform/chrome/stack;r=ochameau
MozReview-Commit-ID: EgbKH70NsM9
2017-08-02 13:24:14 +02:00
Julian Descottes 02b755a48a Bug 1378820 - remove usage of sdk/clipboard in devtools clipboard helper;r=gl
Remove previous helper APIs:
- currentFlavors()
- getData()

The only consumer for both APIs was in devtools/cient/inspector/inspector.
The logic was:
- call currentFlavors()
- if clipboard contains:
  -  "text/unicode"
  or
  - "text/html" but not "image/png"
- then call getData()

But actually calling getData() without any argument means that unless "image/png"
flavor is available, we will always use the "text/unicode" flavor.
(see current code for sdk helper: http://searchfox.org/mozilla-central/rev/09c065976fd4f18d4ad764d7cb4bbc684bf56714/addon-sdk/source/lib/sdk/clipboard.js#204-209)

If the text/unicode flavor was available at the same time as image/png, the code
would have returned the image data, which is probably not what we expect in the
context of the inspector.

I think we should explicitly request for text/unicode. So this patch introduces
a new getText() api in the devtools clipboard helper, which is a simplified version
of the sdk get() helper. We could always extend it to also support text/html.


MozReview-Commit-ID: E3JVj9boVKe
2017-07-31 14:02:37 +02:00
Sebastian Hengst 32ea619857 Backed out changeset 192d517219c1 (bug 1369801)
MozReview-Commit-ID: KeLy0a8hjVF
2017-07-27 18:14:38 +02:00
Sebastian Hengst 7724f41f04 Backed out changeset 435291ffe259 (bug 1369801)
MozReview-Commit-ID: EEX45P93sID
2017-07-27 18:14:18 +02:00
Julian Descottes 0bf8df6878 Bug 1369801 - dt-addon-fennec: skip xpcshell devtools tests on android;r=jryans
MozReview-Commit-ID: 9nkktpNhU0A
2017-06-22 21:33:15 +02:00
Julian Descottes 8c0c562ada Bug 1369801 - dt-addon-xpcshell: load devtools addon for xpcshell tests;r=bgrins
MozReview-Commit-ID: 4EyclGKca0t
2017-07-11 12:30:22 +02:00
Masatoshi Kimura 4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Geoff Brown 828ad789f9 Bug 1328915 - Skip linux32/debug devtools tests in clipboard and gpu subsuites; r=me 2017-01-16 11:58:13 -07:00
Jared Wein 2dfc7371c2 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO
2016-11-08 15:14:19 -05:00
Mark Banner 233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Tom Tromey aafeb94084 Bug 1265796 - add .eslintrc to devtools/shared/platform/content/; r=gregtatum
devtools/shared/platform/content/ should never require chrome or a few
other things; enforce this with eslint.

MozReview-Commit-ID: DLgWITOvWeB
2016-09-19 09:16:34 -06:00
Tom Tromey 213101f046 Bug 1298898 - put test_clipboard.html into clipboard suite; r=gregtatum
MozReview-Commit-ID: Gjkyp9GpP9Z
2016-09-07 12:23:37 -06:00
Tom Tromey 449f8d410e Bug 1290230 - move clipboard helper to new devtools platform module; r=gregtatum
MozReview-Commit-ID: 53tOehW9kxo
2016-08-12 12:52:40 -06:00
Tom Tromey 96f00c8290 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB
2016-08-05 13:17:17 -06:00