Граф коммитов

58 Коммитов

Автор SHA1 Сообщение Дата
yulia 9611217838 Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618

--HG--
extra : moz-landing-system : lando
2018-09-06 11:42:57 +00:00
arthur.iakab 4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia 139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

Differential Revision: https://phabricator.services.mozilla.com/D3618

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Ciure Andrei d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
yulia e259742bdf Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

Differential Revision: https://phabricator.services.mozilla.com/D3341

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
rename : devtools/shared/webconsole/screenshot-helper.js => devtools/shared/screenshot/save.js
extra : moz-landing-system : lando
2018-08-27 15:14:10 +00:00
Alexandre Poirot fed04d2b6d Bug 1026583 - Prevent emitting webconsole event when its actor is already destroyed. r=Honza
Summary: Depends On D4330

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1026583

Differential Revision: https://phabricator.services.mozilla.com/D4331

MozReview-Commit-ID: 5yGFUQq4J9W
2018-08-28 05:42:33 -07:00
Ciure Andrei a52997851e Backed out changeset 4f7d58a640b8 (bug 1483173) for browser_jsterm_screenshot_command_clipboard.js failures CLOSED TREE
--HG--
rename : devtools/shared/screenshot/capture.js => devtools/server/actors/webconsole/screenshot.js
2018-08-21 22:03:10 +03:00
yulia 9cbf625f78 Bug 1483173 - introduce screenshot actor; r=ochameau
This patch introduces a screenshot actor, which allows the screenshot functionality to be
shared across tools, and also implements it for the toolbox itself

Differential Revision: https://phabricator.services.mozilla.com/D3341

--HG--
rename : devtools/server/actors/webconsole/screenshot.js => devtools/shared/screenshot/capture.js
extra : moz-landing-system : lando
2018-08-21 13:10:52 +00:00
yulia c67268db86 Bug 1483166 - refactor evalWithDebugger into its own file; r=nchevobbe,bhackett
this combines the changes that I made in bug 1464461
(https://reviewboard.mozilla.org/r/253132/diff/1#index_header) with the changes for web replay made
by Brian Hackett, along with some clean up that was done by Honza with regards to helpers being
executed. This change should not have any functional impact on the code base, but it should make it
easier to work with the evalWithDebugger functionality than it has been so far.

Differential Revision: https://phabricator.services.mozilla.com/D3311

--HG--
rename : devtools/server/actors/webconsole.js => devtools/server/actors/webconsole/eval-with-debugger.js
extra : moz-landing-system : lando
2018-08-21 14:01:02 +00:00
Alexandre Poirot a231f526d7 Bug 1482070 - Move DocumentEventsListener to its own file. r=Honza
Summary: Depends On D3601

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

Differential Revision: https://phabricator.services.mozilla.com/D3602

MozReview-Commit-ID: 2ksi5eir4mb


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/document-events.js
2018-08-20 09:06:22 -07:00
Alexandre Poirot 6f9535367f Bug 1482070 - Move ContentProcessListener to its own file. r=Honza
Summary: Depends On D3600

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

Differential Revision: https://phabricator.services.mozilla.com/D3601

MozReview-Commit-ID: CHReMMFXFHT


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/content-process.js
2018-08-20 09:06:21 -07:00
Alexandre Poirot 56e60d1aff Bug 1482070 - Move ConsoleReflowListener to its own file. r=Honza
Summary: Depends On D3599

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

Differential Revision: https://phabricator.services.mozilla.com/D3600

MozReview-Commit-ID: 8pL6y7F4chU


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/console-reflow.js
2018-08-20 09:06:21 -07:00
Alexandre Poirot 681faed609 Bug 1482070 - Move ConsoleAPIListener to its own file. r=Honza
Summary: Depends On D3598

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

Differential Revision: https://phabricator.services.mozilla.com/D3599

MozReview-Commit-ID: k3KVzlmXOR


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/console-api.js
2018-08-20 09:06:21 -07:00
Alexandre Poirot 659626feef Bug 1482070 - Move ConsoleServiceListener to its own file. r=Honza
Summary: Depends On D3597

Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

Differential Revision: https://phabricator.services.mozilla.com/D3598

MozReview-Commit-ID: 7jdh33iKfgU


--HG--
rename : devtools/server/actors/webconsole/listeners.js => devtools/server/actors/webconsole/listeners/console-service.js
2018-08-20 09:06:20 -07:00
Alexandre Poirot ed93e0337d Bug 1482070 - Move ConsoleProgressListener to its own file. r=Honza
Reviewers: Honza!

Tags: #secure-revision

Bug #: 1482070

Differential Revision: https://phabricator.services.mozilla.com/D3597

MozReview-Commit-ID: 99V3BJqKqZH


--HG--
rename : devtools/server/actors/webconsole/moz.build => devtools/server/actors/webconsole/listeners/moz.build
2018-08-20 09:06:20 -07:00
Alexandre Poirot b840eb27bf Bug 1479524 - Always use message manager with NetworkMonitorActor. r=jdescottes
MozReview-Commit-ID: AXOd0i4NOjH
2018-08-16 10:14:50 -07:00
Boris Zbarsky 79181a1a13 Bug 1446940 part 3. Stop getting docshells from windows via getInterface in devtools. r=bgrins 2018-08-01 13:07:10 -04:00
Boris Zbarsky 0e54dc6661 Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins 2018-07-24 19:47:41 -04:00
Nicolas Chevobbe 2fef8acb19 Bug 1473923 - Autocomplete console commands; r=yulia.
MozReview-Commit-ID: LpbIzheFmeT

--HG--
extra : rebase_source : 2e40528ff43b76571ec59ce8af591cd71c828251
2018-07-13 08:54:23 +02:00
Cosmin Sabou 8781fe39fe Backed out changeset 7f8cd8745c66 (bug 1473923) for devtools failures on browser_jsterm_autocomplete_commands. CLOSED TREE 2018-07-18 22:32:24 +03:00
Nicolas Chevobbe ef2525da47 Bug 1473923 - Autocomplete console commands; r=yulia.
MozReview-Commit-ID: LpbIzheFmeT

--HG--
extra : rebase_source : 72e6d56be5dda53fb841775ea7df67e488a7d3fe
2018-07-13 08:54:23 +02:00
yulia 2dde60b42d Bug 1473569 - fix faulty errors in formatCommand; r=nchevobbe
MozReview-Commit-ID: 9PeQySBxWyx

--HG--
extra : rebase_source : 09ea09170531c0f7fa14e37ecb1e9dd2423ca4b3
2018-07-06 18:03:50 +02:00
yulia bb71a2c1bc Bug 1464461 - add back mochitests for screenshot command; r=nchevobbe,ochameau
MozReview-Commit-ID: 4yGM74AXwoP

--HG--
extra : rebase_source : d13e13020c32b0949bf677a0f16ff88b419d3a42
2018-06-08 20:14:36 +02:00
yulia 47b52c6bb7 Bug 1464461 - implement unix style syntax for console commands; r=nchevobbe,ochameau
MozReview-Commit-ID: 8rQ9IQdsZkm

--HG--
extra : rebase_source : 8f5c302b5eff7d20daf581c7dd904ddcfd30efdd
2018-06-05 17:27:07 +02:00
yulia 4e3efc1eb4 Bug 1464461 - implement screenshot command in console panel; r=nchevobbe,ochameau
MozReview-Commit-ID: 8MDZglPqTz9

--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
extra : rebase_source : 018acf14945ede0dd58c4f7ecb6d694267deaa6b
2018-06-04 17:46:48 +02:00
Cosmin Sabou e092bc3111 Backed out 4 changesets (bug 1464461) for Talos damp failures on webconsole/objectexpand.js. CLOSED TREE
Backed out changeset 001370fe21e3 (bug 1464461)
Backed out changeset 014fa1322e94 (bug 1464461)
Backed out changeset 50f7f633bb7d (bug 1464461)
Backed out changeset 6c9488ed5ebd (bug 1464461)
2018-07-03 15:28:03 +03:00
yulia 100018a879 Bug 1464461 - add back mochitests for screenshot command; r=nchevobbe,ochameau
MozReview-Commit-ID: 4yGM74AXwoP

--HG--
extra : rebase_source : 47c927331542dc8f09f04b087b7a39bb217c5bee
2018-06-08 20:14:36 +02:00
yulia 2a8a3c6748 Bug 1464461 - implement unix style syntax for console commands; r=nchevobbe,ochameau
MozReview-Commit-ID: 8rQ9IQdsZkm

--HG--
extra : rebase_source : 6a5c17686e0619adbc0499564da2925e84368f8f
2018-06-05 17:27:07 +02:00
yulia f8458d5382 Bug 1464461 - implement screenshot command in console panel; r=nchevobbe,ochameau
MozReview-Commit-ID: 8MDZglPqTz9

--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
extra : rebase_source : 2934d853e9ad0364ac2929f6c07739ba13685578
2018-06-04 17:46:48 +02:00
Julian Descottes 640fe52298 Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4

--HG--
extra : rebase_source : 65de1b0aba412d9044b5196115f74276caa058f2
2018-06-01 12:36:09 +02:00
Boris Zbarsky fef0aa2027 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
Kris Maglione 01c298aca6 Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
Also fixes existing code which fails the rule.

MozReview-Commit-ID: CkLFgsspGMU

--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
Boris Zbarsky 76ead58490 Bug 1455674 part 19. Get rid of JS uses of nsIDOMElement. r=qdot
In nsBlocklistService.js we know we're dealing with actual nodes, so .nodeType
checks should be fine.
2018-04-26 23:37:34 -04:00
Adrian Wielgosik b3c501adc4 Bug 1447389 - Remove nsIDOMNodeList. r=bz
MozReview-Commit-ID: 11szZP6dS6V

--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Peter Van der Beken f5754d679a Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : 5911f91bd7a63cd3603494e087e3858bd0527500
2018-03-01 20:19:56 +01:00
J. Ryan Stinnett 23ff4cc75d Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Nicolas Chevobbe 90c41237b2 Bug 1441864 - Fix ContentProcessForward data handling; r=bgrins.
In ContentProcessForward, we listen for console-api-log-event in order
to pass data to the Browser console and Browser toolbox.
But the data is modified and properties are cherry-picked from the original
event, missing some properties probably introduced later like `counter`,
`prefix`, `private`, …
The fix consists in cloning the original event data and only overriding what
needs to be overridden.

MozReview-Commit-ID: 6jSfiRxcHQa

--HG--
extra : rebase_source : 3a4c61c0eb14ccdf584630c508dc439b7718ee45
extra : source : d266983f9cdeba0381f11e00bb6b271ccda561c1
2018-03-01 10:23:58 +01:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Peter Van der Beken 6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Cameron McCormack 234b89c117 Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
MozReview-Commit-ID: 9j6dUlanNTi

--HG--
extra : rebase_source : 9a790516379441d4e048009bcacdd26e93fde6ae
2018-02-05 11:39:18 +08:00
Andrew McCreight 5dec0e0beb 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

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Alexandre Poirot a273cd43a5 Bug 1432803 - Prevent using timeline actor to get DOMContentLoaded and load timings. r=Honza
MozReview-Commit-ID: Kkn36gDFTKN

--HG--
extra : rebase_source : e52861432f5651b864cada0c70568d504d883c6c
2018-01-24 08:48:26 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00