Commit Graph

60 Commits

Author SHA1 Message Date
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
Gregory Szorc
80fc62a1eb Bug 1287005 - Normalize line endings in devtools/; r=fitzgen
MozReview-Commit-ID: 9Wxx2WUa0Aj
2016-07-14 17:38:50 -07:00
Michael Ratcliffe
ac15073603 Bug 1356223 - Support scalar telemetry probe types in Telemetry.js r=pbro
MozReview-Commit-ID: A2SMdvjy4jp
2017-04-19 12:44:54 +01:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02: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
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
Julian Descottes
06eb02520c Bug 1333714 - Allow highlighter to be hidden even if current node is not valid;r=zer0
When a highlighter was created for a node that has been removed, it can no longer be
hidden due to a check performed in the hide method of the basic auto-refresh class.

While it makes sense not to display a highlighter for an invalid node, hiding a
highlighter should always remain possible.

MozReview-Commit-ID: ChkmecJeqy9
2017-03-10 22:25:01 +01: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
Geoff Brown
2a8f9235f3 Bug 1317662 - Request even longer timeout for browser_cmd_highlight_04.js; r=me,test-only 2017-02-17 11:51:05 -07:00
Olli Pettay
26386f2fa1 Bug 1315570, vsync handling in parent process' main thread should use high priority runnables, r=ehsan 2017-02-11 16:59:36 +02:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +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
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
Michael Ratcliffe
c12f4194c2 Bug 1210208 - Split browser_cmd_highlight_01.js r=pbro 2016-10-24 14:00:51 +01:00
Jared Wein
5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04: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
Brian Grinstead
c2fe846abb Bug 1306124 - Getting tests outside of webconsole/ to work when the new output area is on by default;r=linclark
MozReview-Commit-ID: Gva7BnXw9PL
2016-09-28 14:29:16 -07:00
Patrick Brosset
bdff51a1f0 Bug 1253655 - Get rid of CPOWs in some commandline tests; r=jsnajdr
MozReview-Commit-ID: qbKJKI7uAP
2016-09-16 14:48:15 +02: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
James Long
24266d6355 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
Michael Ratcliffe
f9a2f513c9 Bug 1236737 - Stop intermittent timeouts in browser_cmd_screenshot.js r=me
MozReview-Commit-ID: DLlHhPMWIB5
2016-08-03 12:09:43 +01:00
J. Ryan Stinnett
30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
Michael Ratcliffe
80c65bc874 Bug 1268837 - Remove GCLI screenshot --chrome file.png. r=jwalker
MozReview-Commit-ID: GlNfyofypHt
2016-06-30 14:08:42 +01:00
Eddy Bruel
84f0397a71 Bug 1265720 - Decouple fronts from actors in gcli;r=jryans 2016-06-09 17:28:36 +02:00
Nick Fitzgerald
bb663a0b35 Bug 1277985 - Decouple the CSSUsageFront from the CSSUsageActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Tom Tromey
c7b9386344 Bug 1265813 - Replace nsIIOService with URL in devtools. r=ochameau
MozReview-Commit-ID: GyoP6ApQXVc
2016-05-13 14:27:28 -06:00
Joel Maher
aadfd37353 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04: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
Ryan VanderMeulen
89924435a4 No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Michael Ratcliffe
22786b7f52 Bug 1264993 - Unable to list/edit certain cookies in GCLI r=jwalker
Simple patch to correct errors in cookie host matching:
  1. Match domains starting with a . in case this style was used e.g. .test.example.com
  2. Match localhost URLS.

MozReview-Commit-ID: 9qqnsNaW5oK
2016-04-18 13:54:23 +01:00
Jared Wein
344dc31204 Backout the backout because follow-up fix got pushed. Bug 1259859 - Add a test that looks for misused characters in user-facing strings. r=dolske,jryans
MozReview-Commit-ID: IBHYB76bvsk
2016-04-02 10:50:50 +02:00
Sebastian Hengst
0fb917a8da Backed out changeset a877338b4740 (bug 1259859) for failures in devtools mochitest browser_cmd_highlight_03.js. r=backout 2016-04-02 10:45:08 +02:00
Jared Wein
52e25f13aa Bug 1259859 - followup, fix some quotes that snuck in. r=me
MozReview-Commit-ID: 2WqhK8SFofe
2016-04-02 04:42:09 -04:00
Jared Wein
b9795f7bf4 Bug 1259859 - Add a test that looks for misused characters in user-facing strings. r=dolske,jryans
MozReview-Commit-ID: IBHYB76bvsk
2016-04-02 02:27:36 -04:00
Matteo Ferretti
43fdacdf3c Bug 1210208 - Intermittent browser_cmd_highlight_01.js | This test exceeded the timeout threshold.; r=miker
MozReview-Commit-ID: CIDclgvGylo
2016-03-18 16:22:44 -04:00
Alexandre Poirot
a49591223e Bug 1233463 - Ensure waiting for toolbox initialization in browser_cmd_csscoverage_startstop.js. r=jryans 2016-03-16 06:42:19 -07:00
Mike de Boer
fd7fd89140 Bug 1241930: Part 3 - convert all assertion methods used inside content tasks to the Assert.* family in devtools tests. r=mconley 2016-03-04 14:32:27 +01:00
Alexandre Poirot
50708a5309 Bug 1245875 - Remove Tilt from tree. r=vporof,jwalker 2016-03-03 02:27:22 -08:00
Alexandre Poirot
4f9be42328 Bug 1252346 - Fixes missing Services definition or tweaked eslint to figure out where does it comes from. r=jryans 2016-03-01 14:00:28 -06:00
Alexandre Poirot
dd101c6942 Bug 1250833 - Stop using browser.xul globals specific to devtools. r=jryans 2016-02-27 04:51:11 -08:00
Lin Clark
895294bbb9 Bug 1243777 - Remove skip-if lines for mulet. r=jryans 2016-02-02 08:50:00 -08:00
Alex Jordan
63bb47ade1 Bug 1106353 - [gcli] Extend addon to handle click-to-play. r=mratcliffe 2016-01-02 17:40:18 -08:00
Dão Gottwald
197cdcc6b2 Bug 384336 - Firefox window should be maximized on first run on small screens. r=MattN 2015-12-27 01:02:23 +01:00
Patrick Brosset
a55c60aca1 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop 2015-12-10 15:46:32 -05:00
Brian Grinstead
209365dbd5 Bug 1220011 - Yield on 'console close' command in test (fixes permafail with bug 1224294 applied); r=jwalker 2015-12-03 10:02:37 -05:00
Pablo
ce981411e1 Bug 770156 - GCLI needs a command to return the number of matches for a specified CSS selector. r=miker 2015-11-14 15:15:00 +01:00
J. Ryan Stinnett
166041d825 Bug 1210031 - Only subtract scrollbars for window screenshots. r=zer0 2015-11-18 22:47:55 -06:00