Commit Graph
92 Commits
Author SHA1 Message Date
J. Ryan Stinnett 2e5a8e0090 Bug 1399401 - Escape backslashes in GCLI screenshot test,r=pmoore 2017-12-08 16:43:43 -05: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
Brian Grinstead c116f51a86 Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId
2018-02-27 11:29:59 -08:00
Michael Ratcliffe f1b92a530d Bug 1204268 - 'appcache validate' command doesn't work when manifest is in outer directory r=miker
MozReview-Commit-ID: Dtl5prPOQTT
2018-02-27 12:26:03 +00: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
Jonathan Kingston b12757515a Bug 1354175 - Disable AppCache in insecure contexts. r=baku,bkelly,mayhemer
MozReview-Commit-ID: wYWHkGlV8h
2018-01-12 19:09:30 +00:00
Florian Quèze c5f15a4700 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Bill McCloskey 142c9a9dbb Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel 26ac595cba Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey 427710d960 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca 81b4b85d01 Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey a0f07d3df7 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Johann Hofmann f8bbea13bf Bug 1374574 - Remove the FlyWeb system add-on from Firefox. r=mconley
MozReview-Commit-ID: BWqZIGz5hQx
2017-11-22 14:47:49 +01:00
Nicholas Nethercote 2c805ac89f Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.
2017-11-10 09:07:48 +11:00
Patrick Brosset 971a0b5090 Bug 1409428 - Cast inject urls from URL object to Strings; r=miker
MozReview-Commit-ID: GPHRMaJj6Zq
2017-10-18 09:49:38 +02:00
Alexandre Poirot 611e9eee3a Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0
2017-09-25 10:15:50 +02:00
Tom Tromey 59313c23c0 Bug 1388789 - fix invalid format in appcacheutils.properties; r=flod,pbro
MozReview-Commit-ID: KvteeshxD9R
2017-09-19 09:59:19 -06:00
Ted Campbell ff3ffc21b1 Bug 1398601 - Fix devtools browser_gcli_async test r=tromey
This test has encoding issues that accidently worked before. The
mockCommands.js file was loaded under two different encodings, but
previously the cache would always return the first encoding.

MozReview-Commit-ID: GE9BFy2RkqL
2017-09-13 14:20:28 -04:00
Gabriel Luong 33870cae74 Bug 1395975 - Merge the 2 commandline.css files. r=pbro 2017-09-01 11:43:29 -04:00
Brian Grinstead 2be258f821 Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7
2017-08-11 09:07:04 -07:00
Brad Werth ef81bec36a Bug 1371395 Part 2: Test media emulation of an unsupported type. r=jryans
MozReview-Commit-ID: L5tswjbGd97
2017-08-04 17:06:27 -07:00
Masatoshi Kimura 3a683891af Bug 1374847 - Remove nsIPrefBranch2 and nsIPrefBranchInternal. r=njn
MozReview-Commit-ID: 2LFhKNVspko
2017-08-04 17:12:58 +09:00
Alexandre Poirot c800f15849 Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd
2017-07-20 13:52:57 +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
Michael Kohler cbeee59a0a Bug 1354890 - convert uses of 'defer' to 'new Promise' in client/commandline/ r=nchevobbe
MozReview-Commit-ID: K3xnbfF8ebx
2017-05-20 21:26:25 +02:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02: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
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
Towkir Ahmed 79ebf244f4 Bug 1311536 - Stop importing chrome://global/skin/global.css in DevTools HTML files. r=ntim 2016-10-21 11:15:00 -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