Commit Graph
211 Commits
Author SHA1 Message Date
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
Michael Ratcliffe 17f74ad7f5 Bug 1531283: Add MOZ_QUIET description to explain how to disable ++DOMWINDOW and ++DOCSHELL logging r=sole
Differential Revision: https://phabricator.services.mozilla.com/D21514
2019-02-28 12:02:44 +00:00
yulia 6c3dc248ae Bug 1529247 - clean up frame scripts methods; r=ochameau
these events no longer exist

Differential Revision: https://phabricator.services.mozilla.com/D20482
2019-02-22 16:04:23 +00:00
Greg Tatum c2c8d72671 Bug 1525358 - Rename perf.html to profiler.firefox.com; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D18728
2019-02-21 23:16:40 +00:00
Patrick Brosset fb33e924f3 Bug 1527826 - Reflect our github org name change in the m-c code; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D19748
2019-02-15 09:38:53 +00:00
soniasingla ef55ab809c Bug 1522090 - Add info to troubleshoot './mach bootstrap'. r=Ola
Add info to troubleshoot './mach bootstrap'

Differential Revision: https://phabricator.services.mozilla.com/D19271
2019-02-12 07:43:24 +00:00
Brian Hackett a4a6701216 Bug 1525482 - Remove pauseOnDOMEvents logic, r=lsmyth. 2019-02-05 15:32:44 -10:00
championshuttler 115640f01c Bug 1522067 - Add additional info about commit messages & blocking reviews. r=Ola
Add additional info about commit messages and blocking reviews.

Differential Revision: https://phabricator.services.mozilla.com/D18490
2019-02-04 11:03:19 +00:00
Alexandre Poirot e9c0994e1c Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-02-02 11:24:24 +00:00
Bogdan Tara c0cfac2f78 Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE
Backed out changeset e8e363f98525 (bug 1465635)
Backed out changeset 9ec017a91e78 (bug 1465635)
Backed out changeset 11413ebfbcaf (bug 1465635)
Backed out changeset 52728b761d5d (bug 1465635)
Backed out changeset 734646bf9829 (bug 1465635)
Backed out changeset d9ae7cd34c1a (bug 1465635)
Backed out changeset 00d325ab677a (bug 1465635)
Backed out changeset a9b181f32189 (bug 1465635)
2019-01-30 18:54:05 +02:00
Alexandre Poirot 47a8a0d0bd Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874
2019-01-30 13:28:25 +00:00
Sylvestre Ledru 349f44a1a4 Bug 1523092 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17740
2019-01-30 14:16:08 +00:00
sakshaat 80bebf52ce Bug 1522057 - Adds an additional line in to make console.log output easier to find r=Ola
This just adds a line to the documentation to make console.log outputs easier to find by adding an emoji.

Differential Revision: https://phabricator.services.mozilla.com/D17984
2019-01-30 13:05:04 +00:00
Alexandre Poirot ada6cda619 Bug 1515862 - Remove detail feature from protocol.js. r=jdescottes
This feature is only used by node and domrulestyle actors and that, only for actor ID.
Instead of this, support this "pass only actor ID rather than full form" feature
in a more dedicated way.

We might followup on that to clarify/simplify doing this: passing only the actor ID
rather than its full form.

Depends on D17613

Differential Revision: https://phabricator.services.mozilla.com/D17614
2019-01-28 18:42:46 +00:00
championshuttler c80beeb948 Bug 1522085 - Add info unicode characters break './mach bootstrap'. r=Ola
Add info unicode characters break "./mach bootstrap"

Differential Revision: https://phabricator.services.mozilla.com/D17779
2019-01-28 12:14:13 +00:00
championshuttler 2ac54a0a07 Bug 1522060 - Add information when people should request Level 3 access. r=Ola
Add information when people should request Level 3 access

Differential Revision: https://phabricator.services.mozilla.com/D17778
2019-01-28 12:13:29 +00:00
sole 26c6f6f3f9 Bug 1508583 - Improve sections under getting started. r=ladybenko,Ola
MozReview-Commit-ID: 9RRTngBSF2F

Differential Revision: https://phabricator.services.mozilla.com/D13988
2019-01-22 13:31:30 +00:00
Julian Descottes dfaf1749cf Bug 1497264 - Remove AddonTargetActor and AddonConsoleActor;r=ochameau,yulia
This should be rather safe. We can do more refactoring and renaming once LegacyExtension support is fully removed (ie Fx 65 hits release)

Differential Revision: https://phabricator.services.mozilla.com/D15383
2019-01-08 18:17:17 +00:00
Emilio Cobos Álvarez dc336a73ba Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
yulia bfb5cb0d57 bug 1504185 - remove highlighterUtils documentation from devtools; r=ochameau
Depends on D11084

Differential Revision: https://phabricator.services.mozilla.com/D11085
2018-12-18 08:46:46 +00:00
Ciure Andrei 3e1f01f806 Backed out 14 changesets (bug 1508660, bug 1508656, bug 1504185) for browser_target_cached-front.js perma failures CLOSED TREE
Backed out changeset 08e5ae4312b3 (bug 1508660)
Backed out changeset 01b687bb0b75 (bug 1504185)
Backed out changeset 140374b098aa (bug 1504185)
Backed out changeset caafdc0ea4c7 (bug 1508656)
Backed out changeset 8b98b777aec2 (bug 1508656)
Backed out changeset f1905a2f9b6c (bug 1508656)
Backed out changeset 8b01632f9e3d (bug 1508656)
Backed out changeset eb4c893d451e (bug 1508656)
Backed out changeset 70db61618160 (bug 1508656)
Backed out changeset dff79b73c7fe (bug 1508660)
Backed out changeset b3518d5285be (bug 1508660)
Backed out changeset 94a957b9ba90 (bug 1508660)
Backed out changeset 773938f18269 (bug 1508660)
Backed out changeset 4eca8fce0a47 (bug 1508660)
2018-12-17 17:15:23 +02:00
yulia e2ae4da275 bug 1504185 - remove highlighterUtils documentation from devtools; r=ochameau
Depends on D11084

Differential Revision: https://phabricator.services.mozilla.com/D11085
2018-12-17 12:23:31 +00:00
Alexandre Poirot 662d5ebb84 Bug 1508285 - Refactor RootFront.listTabs to return BrowsingContextTargetFront instead of JSON form. r=yulia,jdescottes
MozReview-Commit-ID: 4CMHJ3tV7Rc

Depends on D14174

Differential Revision: https://phabricator.services.mozilla.com/D14175
2018-12-17 11:56:30 +00:00
Alexandre Poirot 62db72cbb3 Bug 1510949 - Make protocol.js support es6 classes for fronts. r=yulia
MozReview-Commit-ID: JegR2JsyNrI

Differential Revision: https://phabricator.services.mozilla.com/D13780
2018-12-11 16:32:41 +00:00
Alexandre Poirot 2c7d0fee4e Bug 1509315 - Pass the full target form to all BrowsingContextTargetFront instances. r=yulia
For now, we only pass { actor } for all tab target fronts created via DebuggerClient.attachTarget,
whereas parent process target fronts were passing the full form from RootFront.getProcess.

MozReview-Commit-ID: 1H2NxFv8glY

Differential Revision: https://phabricator.services.mozilla.com/D12730
2018-11-27 21:47:52 +00:00
Bogdan Tara 228d1068ee Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Alexandre Poirot e9c1084d13 Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
This was only used by test and isn't much useful.

MozReview-Commit-ID: DeIimVmMOOs

Depends on D11623

Differential Revision: https://phabricator.services.mozilla.com/D11624
2018-11-15 10:22:58 +00:00
Andrea Marchesini 02c1924ab1 Bug 1480544 - Allow Console API to log messages on stdout, r=bgrins
This patch introduces 2 new prefs:
- devtools.console.stdout.chrome: if true, console API writes on stdout when
                                  used by chrome code
- devtools.console.stdout.content: console API write on stdout when used by
                                   content code.
2018-11-15 21:47:58 +01:00
Andreea Pavel 9d41a0a2bf Backed out 5 changesets (bug 1506549) for failing devtools at devtools/client/aboutdebugging/test/browser_service_workers_status.js on a CLOSED TREE
Backed out changeset 6be66dea928c (bug 1506549)
Backed out changeset da0d76d0e8fc (bug 1506549)
Backed out changeset 490eeba8f9f7 (bug 1506549)
Backed out changeset 97554f465eca (bug 1506549)
Backed out changeset 4f259de6cce0 (bug 1506549)
2018-11-14 21:46:07 +02:00
Alexandre Poirot b2d3c01b7c Bug 1506549 - Stop returning the actor from Pool.manage. r=yulia
This was only used by test and isn't much useful.

MozReview-Commit-ID: DeIimVmMOOs

Depends on D11623

Differential Revision: https://phabricator.services.mozilla.com/D11624
2018-11-14 15:48:20 +00:00