Commit Graph
240 Commits
Author SHA1 Message Date
Tom Ritter 8acb67af33 Bug 1592297 - Remove MOZ_QUIET and disable this output by default. r=mccr8,jdescottes
Instead of setting MOZ_QUIET to hide the DOMWINDOW and DOCSHELL log messages, you
now must set a regular logging module to enable them. They are automatically enabled
on tests that rely on these messages are leak checking.

That module is DocShellAndDOMWindowLeak:3

One disadvantage of this change is that you cannot set MOZ_QUIET to hide these
messages when running those tests (primarily browser-chrome).

Differential Revision: https://phabricator.services.mozilla.com/D52413
2019-12-02 15:41:35 +00:00
Sylvestre Ledru 34c92ee57b Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

Differential Revision: https://phabricator.services.mozilla.com/D53269
2019-11-26 15:00:00 +00:00
Nicolas Chevobbe ff84e4988c Bug 1599027 - Remove http inspector doc. r=Honza.
The page was outdated and incorrect, so we remove it.
The architecture diagram of the console is updated to
show TabBoxPanel, and we add a quick summary for the
external components used in the Console.

Differential Revision: https://phabricator.services.mozilla.com/D54463
2019-11-26 08:43:59 +00:00
Sylvestre Ledru 07b15cd452 Bug 1599080 - Rename SUMMARY.md to index.md to make sure that the doc build use it r=nchevobbe
+ rename the title as it is used in the menu

Differential Revision: https://phabricator.services.mozilla.com/D54514
2019-11-25 13:57:12 +00:00
Nicolas Chevobbe 28177a814c Bug 1596342 - Update sending patch documentation to only mention Phabricator + moz-phab. r=rcaliman.
The documentation was mentioning arc as the primary
tool to push to review (and was discouraging using
moz-phab). moz-phab is now much more stable and
is the prefered way of pushing patches, so we shouldn't
mention arc anymore.
There was also a (not recommended) mention of attaching
patch to Bugzilla for reviews, which I think isn't
something we recommend anymore.

Differential Revision: https://phabricator.services.mozilla.com/D52969
2019-11-14 16:49:44 +00:00
Nicolas Chevobbe f0ac5d9860 Bug 1591330 - Remove LongStringClient. r=jdescottes.
The LongStringClient is removed and we replace its
usage with LongStringFront instead.
This require a few variable/function renaming, as
well as updating the mocks we use in node tests.

Switch usage to LongStringFront instead.

Differential Revision: https://phabricator.services.mozilla.com/D50579
2019-10-28 16:22:06 +00:00
Nicolas Chevobbe ce25c3f455 Bug 1519103 - Remove Scratchpad panel. r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D50583
2019-10-27 09:05:58 +00:00
Patrick Brosset b688068e8f Bug 1591340 - Add new code review docs; r=jdescottes
In this change, I am adding our code reviews docs written here
https://docs.google.com/document/d/1HXlPFGXgYn0MXv4OoA2PsSP-3vvvjXxDTGKtNeV0W-8/edit

This doc was done as a result of a group discussion here:
https://github.com/firefox-devtools/rfcs/issues/41

The doc is mostly a list of bullet points, so I didn't just move them here
as a .md file. I also added a bit more formatting and rephrased certain parts
so it would be more natural to read. I've been careful to retain the original
meaning though.

Differential Revision: https://phabricator.services.mozilla.com/D50591
2019-10-25 12:37:05 +00:00
Nicolas Chevobbe e3359be848 Bug 1588999 - Rename ObjectClient to ObjectFront. r=ochameau.
The object-client.js file is now a proper protocol.js front,
but is still named after a client.
This is confusing, so we rename and move the file next to other
fronts, and update all consumers to the new terminology.

Differential Revision: https://phabricator.services.mozilla.com/D49878
2019-10-21 12:07:10 +00:00
Julian Descottes fa9c19c497 Bug 1589597 - Mention compatibility node test suite in the docs r=ladybenko
Quick documentation update

Depends on D49710

Differential Revision: https://phabricator.services.mozilla.com/D49711
2019-10-18 14:10:29 +00:00
Julian Descottes 2dac29769b Bug 1587491 - Update DAMP try command documentation r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48720
2019-10-09 16:08:41 +00:00
Nicolas Chevobbe a23cf9aa91 Bug 1586006 - Remove preEvent mentions in protocol.js documentation. r=jdescottes.
`preEvent` isn't used anymore, but was somehow
replaced by `before`. This patch remove all the
mentions of `preEvent`, and tries to document
what can be done with `before`.

Differential Revision: https://phabricator.services.mozilla.com/D48068
2019-10-09 13:30:51 +00:00
Christoph Kerschbaumer 6dec8a1a75 Bug 1499354: Add object-src 'none' to the CSP of all about: pages. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D46950
2019-09-26 16:22:41 +00:00
Julian Descottes c961dbcb12 Bug 1576835 - Update DAMP test writing documentation r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D43580
2019-08-29 06:22:18 +00:00
Gurzau Raul bccc31483a Backed out changeset a5bc37462cee (bug 1576835) for codespell failure at writing-perf-tests.md on a CLOSED TREE 2019-08-28 18:21:45 +03:00
Julian Descottes 21a0034f1b Bug 1576835 - Update DAMP test writing documentation r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D43580
2019-08-28 14:34:19 +00:00
yulia 072ef9b9e2 Bug 1522571 - Unify addonTargetFront with webExtensionSpec; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42833
2019-08-28 10:01:43 +00:00
Florens Verschelde bfdf7101f1 Bug 1575827 - Remove references to outdated DevToolsColors MDN page; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D43227
2019-08-27 10:21:34 +00:00
Nicholas Nethercote e9e8ca0fac Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes
This makes prefs definition simpler, more consistent, and less error-prone.

Differential Revision: https://phabricator.services.mozilla.com/D41145
2019-08-26 01:44:59 +00:00
Julian Descottes 52e596219d Bug 1566443 - Rename folder aboutdebugging-new to aboutdebugging r=remote-debugging-reviewers,daisuke
Depends on D43029

Differential Revision: https://phabricator.services.mozilla.com/D43025
2019-08-23 08:52:33 +00:00
Bogdan Tara 565479bb88 Backed out changeset ab25abaafa1b (bug 1566443) for es lint failure on helper-addons.js CLOSED TREE 2019-08-23 11:06:45 +03:00
Julian Descottes a5e0030129 Bug 1566443 - Rename folder aboutdebugging-new to aboutdebugging r=remote-debugging-reviewers,daisuke
Depends on D43029

Differential Revision: https://phabricator.services.mozilla.com/D43025
2019-08-23 06:05:15 +00:00
Julian Descottes a5e9c77886 Bug 1575570 - Mention yarn in prerequisites for running devtools node tests r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D42894
2019-08-22 16:14:26 +00:00
Nicolas Chevobbe 290ba5cb21 Bug 1568779 - Remove editors settings comments in devtools files. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D42300
2019-08-19 12:48:16 +00:00
Julian Descottes c632e13c61 Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009
2019-08-08 12:44:13 +00:00
Julian Descottes 01741d2a94 Bug 1571365 - Add documentation for devtools node tests r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D40605
2019-08-05 12:08:20 +00:00
Nicolas Chevobbe 42b866ec0a Bug 1570320 - Rename hudservice into browser-console-manager. r=ochameau.
The file only manages the browser console, so we're
making its name reflect what it does.

Differential Revision: https://phabricator.services.mozilla.com/D40441
2019-08-05 11:40:58 +00:00
Julian Descottes 164796de63 Bug 1569975 - Add documentation about CSP in DevTools toolbox document r=sole
Differential Revision: https://phabricator.services.mozilla.com/D39899
2019-08-02 16:25:08 +00:00
Alexandre Poirot 1a70ec55b5 Bug 1569569 - Make HUDService specific to the browser console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40021
2019-07-31 21:56:54 +00:00
Nicolas Chevobbe e5ca5ca32d Bug 1568269 - Update console architecture diagram in doc. r=ochameau.
The diagram we had was outdated. We delete
the image, and add 2 ascii diagrams that
reflect the current architecture:
- one for the react part
- one for the non-react part

The style of the page is modified so diagrams can take
the whole horizontal space if needed.

Differential Revision: https://phabricator.services.mozilla.com/D39157
2019-07-25 08:57:14 +00:00
Nicolas Chevobbe b64f250865 Bug 1568472 - Add Gitbook hint plugin. r=jdescottes.
The template is used in one of the page, but the
plugin wasn't installed, so Gitbook would fail
generating the doc.

Differential Revision: https://phabricator.services.mozilla.com/D39156
2019-07-24 10:38:20 +00:00
Alexandre Poirot b18e55ff95 Bug 1566457 - Removed deprecated gDevTools JSM. r=jdescottes
This was kept to support old xul addons. All mozilla-central usages
have been removed and now uses Loader.jsm to get access to this module.

Differential Revision: https://phabricator.services.mozilla.com/D38321
2019-07-18 12:25:13 +00:00
Alexandre Poirot 4cc4a20117 Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes
ChromeUtils.import still support a second argument as it used to do
when it was Components.utils.import. But this is deprecated and we should
instead always use the returned value.

Differential Revision: https://phabricator.services.mozilla.com/D37708
2019-07-11 17:08:20 +00:00
yulia 7eba825d59 Bug 1559819 - rename threadClient to threadFront; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D32848
2019-07-11 09:45:32 +00:00
Nicolas Chevobbe feeb96b462 Bug 1560426 - Fix dead link in getting started page. r=sole.
Differential Revision: https://phabricator.services.mozilla.com/D35486
2019-07-04 17:06:35 +00:00
Julian Descottes 6bdf120301 Bug 1561565 - Add linting rule and update documentation for setupInParent r=ochameau,yulia,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36003
2019-06-28 12:09:25 +00:00
jaril de5e73e117 Bug 1560831 - Add getting started docs for setting up mozilla-central. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D35631
2019-06-25 15:43:36 +00:00
Ola Gasidlo 4cfd8dd54e Bug 1558755 - Add docs on how to run mochitests in headless mode, r=pbro,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D34683
2019-06-21 07:55:28 +00:00
Julian Descottes 12f8221b3c Bug 1556652 - Document how to create perf profiles on try for DAMP r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33601
2019-06-04 12:44:57 +00:00
Brian Grinstead 5caf04c8f7 Bug 1553188 - Part 4 - Update remaining references to browser.xul;r=bdahl
These are generally:
- Code comments to browser.xhtml
- Testcases, assertions that were mostly using browser.xul as a generic chrome URL
- References to the browser.xul path in tree

Differential Revision: https://phabricator.services.mozilla.com/D33208
2019-05-28 16:40:42 -07:00
yulia 3fa3fe5250 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373
2019-05-30 08:37:55 +00:00
yulia d6c65c3294 Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371
2019-05-29 15:51:28 +00:00
ivan 4d0b7cd5aa Bug 1533857 - Fix the broken link in docs r=sole
Fix the broken link in docs to devtools. The link to chapter about testing.

Differential Revision: https://phabricator.services.mozilla.com/D22867
2019-05-24 12:21:18 +00:00
Alexandre Poirot a357a5eed0 Bug 1551519 - Take screenshot at the end of each subtest. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D31060
2019-05-20 15:38:48 +00:00
Julian Descottes 9d7fc8991f Bug 1549375 - Update try syntax for running damp tests in devtools documentation r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D30350
2019-05-13 07:28:16 +00:00
yulia 0d24970e41 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

Differential Revision: https://phabricator.services.mozilla.com/D28966
2019-05-02 15:39:20 +00:00
yulia 13b3392c61 Bug 1529247 - remove unused releaseMany method from thread client and actor; r=ochameau
There is one spot I am unsure about, and that is the test:
devtools/server/tests/unit/test_threadlifetime-06.js -- should this be kept or do we want to remove
it as well?

Differential Revision: https://phabricator.services.mozilla.com/D21674
2019-03-12 14:06:35 +00:00
yulia 364e7346b7 Bug 1529247 - clean up frames methods on thread client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20834
2019-03-01 15:26:18 +00:00
Helena Moreno 1d06d8818b Bug 1525289 - Use https:// on the repository url. r=sole
Differential Revision: https://phabricator.services.mozilla.com/D21548
2019-03-01 05:21:48 +00:00
Chris H-C dffde3b76b Bug 1527299 - Update devtools' Event Telemetry doc and example r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20866
2019-02-28 09:23:14 +00:00