Commit Graph
125 Commits
Author SHA1 Message Date
Julian Descottes 2530599593 Bug 1391562 - use obj.on/off/emit rather than static methods from devtools event-emitter;r=zer0
MozReview-Commit-ID: I50W8zGB9d0
2017-08-18 17:05:04 +02:00
Julian Descottes 92eb851e00 Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
MozReview-Commit-ID: 2ab0Ol4Mq64
2017-08-16 15:11:21 +02:00
ZER0 d78f1c54ef Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8
2017-08-11 03:47:30 +02:00
Masatoshi Kimura dcc478e660 Bug 1387790 - Remove [deprecated] decodeImageData from imgITools. r=tnikkel
MozReview-Commit-ID: GZBYTPanHH6
2017-08-06 10:54:14 +09:00
Masatoshi Kimura 3a683891af Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko
2017-08-04 17:12:58 +09:00
Masatoshi Kimura 0af76969af Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC
2017-08-04 17:49:22 +09:00
Jan Odvarko e1fb837bfd Bug 1378821 - Stop using sdk/window/utils in DevTools; r=zer0
MozReview-Commit-ID: BD3EGMWtDv1
2017-07-10 10:55:40 +02:00
Paolo Amadini 7afba17088 Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Julian Descottes 6614669379 Bug 1370467 - avoid CPOW in screenshot gcli command;r=pbro
MozReview-Commit-ID: 9nFkfmjG8CD
2017-06-07 01:13:42 +02:00
Patrick Brosset 1f2e9f002f Bug 1353042 - Get rid of all sdk/tabs and sdk/tabs/utils usage; r=zer0
Removed obsolete browser_dbg_event-listeners-03/4.js tests (they are for the
old debugger, and the new debugger doesn't even support event listeners
yet, so no use keeping this test around).

Removed getBrowserForTab SDK dependency from command-state.js.

Changed the implementation of addTab/removeTab in perf test's tab-utils
helper.

MozReview-Commit-ID: 7EXJ5K3kaJm
2017-05-02 16:46:54 +02:00
Iris Hsiao 153bdf75c5 Backed out changeset 4c2036f901c1 (bug 1353042) for build bustage in Symlink target path does not exist: doc_event-listeners-04.html
CLOSED TREE
2017-05-23 16:15:23 +08:00
Patrick Brosset 2d48f73faf Bug 1353042 - Get rid of all sdk/tabs and sdk/tabs/utils usage; r=zer0
Removed obsolete browser_dbg_event-listeners-03/4.js tests (they are for the
old debugger, and the new debugger doesn't even support event listeners
yet, so no use keeping this test around).

Removed getBrowserForTab SDK dependency from command-state.js.

Changed the implementation of addTab/removeTab in perf test's tab-utils
helper.

MozReview-Commit-ID: 7EXJ5K3kaJm
2017-05-02 16:46:54 +02:00
Andrew McCreight 3ab27444cb Bug 1365767 - Stop bootlegging TextEncoder and TextDecoder from osfile.jsm in devtools. r=jryans
MozReview-Commit-ID: DI4OqSGdzgl
2017-05-17 13:52:39 -07:00
Michael Ratcliffe 9c336b0fce Bug 1356033 - chrome://browser/content/gcli_sec_{bad,good,moderate}.svg should be moved to devtools r=jdescottes
This is easy to test:

Green tick marks (gcli_sec_good.svg) and Red Crosses (gcli_sec_bad.svg):
1. Go to https://csp-evaluator.withgoogle.com/
2. Shift+F2
3. security csp

I couldn't find a way to show the Orange Minus (gcli_sec_moderate.svg) but the path is changed in line with the other images and I did test it programatically so it will be fine.

MozReview-Commit-ID: 5897IV7epax
2017-05-04 14:41:36 +01:00
Sebastian Hengst 3babb50a2e Backed out changeset 2febf984044a (bug 1356033) for bustage due to now unused pattern "gcli*" in browser/base/content/moz.build. r=backout on a CLOSED TREE 2017-05-05 09:43:54 +02:00
Michael Ratcliffe 16640033c6 Bug 1356033 - chrome://browser/content/gcli_sec_{bad,good,moderate}.svg should be moved to devtools r=jdescottes
This is easy to test:

Green tick marks (gcli_sec_good.svg) and Red Crosses (gcli_sec_bad.svg):
1. Go to https://csp-evaluator.withgoogle.com/
2. Shift+F2
3. security csp

I couldn't find a way to show the Orange Minus (gcli_sec_moderate.svg) but the path is changed in line with the other images and I did test it programatically so it will be fine.

MozReview-Commit-ID: 5897IV7epax
2017-05-04 14:41:36 +01:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Stoyan Dimitrov 782de731a1 Bug 1045273 - "[gcli] optional parameters labeled as 'helpManOptional', not as optional in help" r=mratcliffe
MozReview-Commit-ID: HFGkU77huBw
2017-04-04 05:48:00 +01:00
Michael Ratcliffe df5fc28978 Bug 1347517 - Add telemetry for GCLI commands used r=miker
MozReview-Commit-ID: FBBsZeZkPEt
2017-03-15 18:33:52 +01:00
Matteo Ferretti 1fc638443d Bug 1342928 - Keep the commands / buttons state in sync; r=jwalker
This was a regression given by bug 1320149; in order to keep the performance
gain I created a lightweight object (`CommandState`) that is required from both
gcli's command and toolbox so that the last one doesn't need to be strong
coupled with the first one.

MozReview-Commit-ID: 3NcTt6i4ezx
2017-03-20 14:54:03 +01:00
Florian Quèze c1bca211b8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze 49d8db6821 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze b15de4893d Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Alexandre Poirot 469a33b758 Bug 1320149 - Prevent loading gcli when opening a toolbox. r=jwalker,miker
MozReview-Commit-ID: KE209SRA15u
2017-01-05 10:27:31 -08:00
Florian Quèze c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze 0a4ee94a29 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Michael Ratcliffe c22a5be759 Bug 1331505 - Stop GCLI addon list from showing hidden addons r=jdescottes
A really simple one. We just remove all of the hidden add-ons from the add-on list in GCLI before processing them.

There was no way for GCLI tests to check that a value did not exist so I added it because we needed to check for all of our hidden add-ons:

  - Web Compat
  - FlyWeb
  - Pocket
  - Multi-process staged rollout
  - Form Autofill
  - Application Update Service Helper
  - Presentation
  - Shield Recipe Client

MozReview-Commit-ID: 3kx5FOEJSQB
2017-01-17 16:05:36 +00:00
Florian Quèze 63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Florian Quèze 361ec85a2e Bug 1329182 - remove trailing newURI null parameters in devtools/, r=jaws. 2017-01-09 20:27:26 +01:00
Wes Kocher 725e635b68 Merge inbound to central, a=merge
MozReview-Commit-ID: 1ij6nLf8f8s
2017-01-05 17:30:35 -08:00
Steve Chung 43be51cbda Bug 1324334 - Migrate Chart.jsm to js and remove xul components in the chart, r=Honza,rickychien
MozReview-Commit-ID: CvVJlolZ8pZ
2016-12-16 15:47:03 +08:00
Phil Ringnalda 58c820acd4 Bug 1326334 followup, placate yet another new eslint rule merged in from autoland
MozReview-Commit-ID: KHcshmPveR6
2017-01-03 19:59:25 -08:00
Tim Nguyen 60a630cd40 Bug 1326334 - Fix more errors in devtools/shared. r=jryans
MozReview-Commit-ID: 2MOe5hEyqYo
2017-01-03 23:47:28 +01:00
Thomas Nguyen 82e1caab63 Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Jaideep Bhoosreddy b53e50167d Bug 1257913 - Add copy screenshot to clipboard feature; r=jryans
MozReview-Commit-ID: 6pMNR8hCR7d
2016-09-09 12:17:08 -04:00
André Bargull e5411a565a Bug 1319935 - Remove String generics uses in devtools. r=bgrins 2016-11-24 13:16:44 -08:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
J. Ryan Stinnett d70bb81021 Bug 1212689 - Extract ToolboxButtons to save GCLI from loading toolbox.js. r=ochameau
MozReview-Commit-ID: DZcvEa9v0vS
2016-10-13 11:21:53 -05:00
Shubheksha Jalan 1c465fe212 Bug 1295080 - Add WebSocket option to GCLI 'listen' command r=jsnajdr
MozReview-Commit-ID: GooqxVgg6iY
2016-09-09 18:28:31 +05:30
Thomas Wisniewski a1a4c002e4 Bug 918751 - Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=keeler, r=Mossop, r=paul 2016-09-03 18:45:08 -04:00
Julian Descottes 2283f05cf3 Bug 1265887 - migrate devtools/ from PluralForm.jsm to plural-form.js;r=tromey
MozReview-Commit-ID: 7I7djgqcrnr
2016-08-27 18:42:33 +02:00
Julian Descottes ea152e80ca Bug 1295608 - Migrate devtools/shared to use l10n.js instead of Services.string;r=tromey
I explicitly did not migrate the localizations of the external properties file brand.properties.
This should be handled as part of Bug 1297733.

MozReview-Commit-ID: JXomOmr37xV
2016-08-26 15:01:52 +02:00
Sebastian Hengst d5a21ac842 Backed out changeset 85fabbd4395a (bug 1295608) 2016-08-25 14:20:02 +02:00
Julian Descottes dbc7171cd2 Bug 1295608 - Migrate devtools/shared to use l10n.js instead of Services.string;r=tromey
I explicitly did not migrate the localizations of the external properties file brand.properties.
This should be handled as part of Bug 1297733.

MozReview-Commit-ID: JXomOmr37xV
2016-08-23 12:19:42 +02:00
Wes Kocher 821d0c747f Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change
2016-08-16 22:07:30 -07:00
Towkir Ahmed 66577cc09e Bug 1293663 - Remove the always-false (useless) 'if' condition from GCLI util.js. r=miker 2016-08-12 14:48:00 -04:00