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

196 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes cb5e53c754 Bug 1549375 - Update try syntax for running damp tests in devtools documentation r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D30350

--HG--
extra : moz-landing-system : lando
2019-05-13 07:28:16 +00:00
yulia 77f46589d6 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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:39:20 +00:00
yulia 408d434de2 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

--HG--
extra : moz-landing-system : lando
2019-03-12 14:06:35 +00:00
yulia beb91522fe Bug 1529247 - clean up frames methods on thread client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20834

--HG--
extra : moz-landing-system : lando
2019-03-01 15:26:18 +00:00
Helena Moreno 284d7ce470 Bug 1525289 - Use https:// on the repository url. r=sole
Differential Revision: https://phabricator.services.mozilla.com/D21548

--HG--
extra : moz-landing-system : lando
2019-03-01 05:21:48 +00:00
Chris H-C 527d62f75f Bug 1527299 - Update devtools' Event Telemetry doc and example r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20866

--HG--
extra : moz-landing-system : lando
2019-02-28 09:23:14 +00:00
Michael Ratcliffe 3a13844ccd 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

--HG--
extra : moz-landing-system : lando
2019-02-28 12:02:44 +00:00
yulia 9b8862951b Bug 1529247 - clean up frame scripts methods; r=ochameau
these events no longer exist

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

--HG--
extra : moz-landing-system : lando
2019-02-22 16:04:23 +00:00
Greg Tatum 39cd1d4845 Bug 1525358 - Rename perf.html to profiler.firefox.com; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D18728

--HG--
extra : moz-landing-system : lando
2019-02-21 23:16:40 +00:00
Patrick Brosset 37ee7ed440 Bug 1527826 - Reflect our github org name change in the m-c code; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D19748

--HG--
extra : moz-landing-system : lando
2019-02-15 09:38:53 +00:00
soniasingla 6ba84dcaa9 Bug 1522090 - Add info to troubleshoot './mach bootstrap'. r=Ola
Add info to troubleshoot './mach bootstrap'

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

--HG--
extra : moz-landing-system : lando
2019-02-12 07:43:24 +00:00
Brian Hackett 2698b171b3 Bug 1525482 - Remove pauseOnDOMEvents logic, r=lsmyth.
--HG--
extra : rebase_source : f38155b0fc6e18a31f0cfb7848ef71042635d793
2019-02-05 15:32:44 -10:00
championshuttler e26b523f00 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

--HG--
extra : moz-landing-system : lando
2019-02-04 11:03:19 +00:00
Alexandre Poirot ef1c99b06e Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

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

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:24 +00:00
Bogdan Tara 19bcfc41e1 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 dc852753a8 Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

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

--HG--
extra : moz-landing-system : lando
2019-01-30 13:28:25 +00:00
Sylvestre Ledru b6356f4723 Bug 1523092 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17740

--HG--
extra : moz-landing-system : lando
2019-01-30 14:16:08 +00:00
sakshaat ae028b7239 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

--HG--
extra : moz-landing-system : lando
2019-01-30 13:05:04 +00:00
Alexandre Poirot 4199139118 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

--HG--
extra : moz-landing-system : lando
2019-01-28 18:42:46 +00:00
championshuttler 920f6b20e3 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

--HG--
extra : moz-landing-system : lando
2019-01-28 12:14:13 +00:00
championshuttler f25db13866 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

--HG--
extra : moz-landing-system : lando
2019-01-28 12:13:29 +00:00
sole e76a9c3329 Bug 1508583 - Improve sections under getting started. r=ladybenko,Ola
MozReview-Commit-ID: 9RRTngBSF2F

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

--HG--
rename : devtools/docs/README.md => devtools/docs/about-documentation.md
rename : devtools/docs/contributing/code-reviews.md => devtools/docs/contributing/code-reviews-checklist.md
extra : moz-landing-system : lando
2019-01-22 13:31:30 +00:00
Julian Descottes bb71a1eb72 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

--HG--
extra : moz-landing-system : lando
2019-01-08 18:17:17 +00:00
Emilio Cobos Álvarez d2ed260822 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 b8ac5fefb6 bug 1504185 - remove highlighterUtils documentation from devtools; r=ochameau
Depends on D11084

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

--HG--
extra : moz-landing-system : lando
2018-12-18 08:46:46 +00:00
Ciure Andrei 2540abfecb 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 f14ff81dbc bug 1504185 - remove highlighterUtils documentation from devtools; r=ochameau
Depends on D11084

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

--HG--
extra : moz-landing-system : lando
2018-12-17 12:23:31 +00:00
Alexandre Poirot 9d435e1006 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

--HG--
extra : moz-landing-system : lando
2018-12-17 11:56:30 +00:00
Alexandre Poirot 37fcc38aa4 Bug 1510949 - Make protocol.js support es6 classes for fronts. r=yulia
MozReview-Commit-ID: JegR2JsyNrI

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

--HG--
extra : moz-landing-system : lando
2018-12-11 16:32:41 +00:00
Alexandre Poirot 90639c1f6b 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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:47:52 +00:00
Bogdan Tara 647b9eb109 Merge inbound to mozilla-central. a=merge 2018-11-16 11:47:51 +02:00
Alexandre Poirot 5eed35c08e 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

--HG--
extra : moz-landing-system : lando
2018-11-15 10:22:58 +00:00
Andrea Marchesini c0950f9d8a 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 b1857361c4 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 65f24f315e 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

--HG--
extra : moz-landing-system : lando
2018-11-14 15:48:20 +00:00
Patrick Brosset de110ae1c8 Bug 1500110 - Improve the debuggin intermittents documentation; r=sole
Differential Revision: https://phabricator.services.mozilla.com/D9114

--HG--
extra : moz-landing-system : lando
2018-10-19 09:14:20 +00:00
Alexandre Poirot 0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Alexandre Poirot bbd1bcdcbe Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:10 +00:00
Brindusan Cristian c328bc1cdf Backed out 8 changesets (bug 1485660) for damp failures on front.hasRequests. CLOSED TREE
Backed out changeset 7a2f29bbe2a8 (bug 1485660)
Backed out changeset 26e82fa62444 (bug 1485660)
Backed out changeset 9bb2f56f219d (bug 1485660)
Backed out changeset 40a3c2dd1b38 (bug 1485660)
Backed out changeset cfb160882db9 (bug 1485660)
Backed out changeset 3642f2d66777 (bug 1485660)
Backed out changeset 9026679753b2 (bug 1485660)
Backed out changeset dccca441b980 (bug 1485660)
2018-10-11 22:33:35 +03:00
Alexandre Poirot 8c5e401017 Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-11 15:46:28 +00:00
Gurzau Raul a8d8876e9e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-27 19:45:35 +03:00
yulia 72f9e83eb1 Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Summary: Depends on D6477

Reviewers: ochameau

Reviewed By: ochameau

Bug #: 1473513

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

--HG--
rename : devtools/server/actor-registry.js => devtools/server/actors/utils/actor-registry.js
extra : rebase_source : ae52db7b028b4d866d8a363eae9ae7c124714458
2018-09-26 10:09:15 +02:00
yulia 9c120b705d Bug 1473513 - separate registerModule behavior from DebuggerServer; r=ochameau
Summary:
MozReview-Commit-ID: 3GsXRxcIKfx

Depends on D6473

Reviewers: ochameau

Reviewed By: ochameau

Subscribers: reviewbot

Bug #: 1473513

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

--HG--
rename : devtools/server/main.js => devtools/server/actor-registry.js
extra : rebase_source : 3ea4edd91ca8b09ad5e25ae01df885c587bee7b1
2018-09-26 10:06:43 +02:00
Michael Ratcliffe 4e3c6d2b5f Bug 1491879 - Fix telemetry support for multiple tabs / windows r=nchevobbe
- Various telemetry methods now need an object to be passed in in order to keep them seperate e.g. if the inspector is opened in tab 1 a timer is started. If an inspector is opened in tab 2 the same timer is restarted. Closing tab 2 would then erase the timing event invalidating the timer in tab 1.
- We no longer need to preface telemetry calls with category "devtools.main" because this is the only category we will be using.
- There are some changes to `devtools/client/debugger/new/dist/vendors.js` and `devtools/client/debugger/new/src/utils/telemetry.js` that need to be ported to the debugger at the same time as landing this.

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

--HG--
extra : moz-landing-system : lando
2018-09-25 12:57:13 +00:00
Alexandre Poirot 0df7ab9a73 Bug 1494317 - Remove "newScript" event leftovers r=yulia
MozReview-Commit-ID: 3lc5XXdBWgS

Depends on D6941

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

--HG--
extra : moz-landing-system : lando
2018-09-26 18:11:55 +00:00
Alexandre Poirot c4e18d3974 Bug 1494305 - Refactor all tabClient usages to use promise API instead of callback style r=yulia
MozReview-Commit-ID: DZVG1X45sQV

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

--HG--
extra : moz-landing-system : lando
2018-09-26 18:02:45 +00:00
Alexandre Poirot 1255c658b2 Bug 1473513 - Backed out changeset d72f6ff37ca6 for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: LKPmFrhaQ5q

Depends on D6807

Bug #: 1473513

Differential Revision: https://phabricator.services.mozilla.com/D6808
2018-09-25 19:34:26 +03:00
Alexandre Poirot a3c7499a55 Bug 1473513 - Backed out changeset 174fe98999ea for failures on mobile/android/tests/browser/chrome/test_debugger_server.html CLOSED TREE
Summary:
MozReview-Commit-ID: GfSX2wYfLrN

Depends on D6803

Bug #: 1473513

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

--HG--
rename : devtools/server/actors/utils/actor-registry.js => devtools/server/actor-registry.js
2018-09-25 19:33:52 +03:00
Margareta Eliza Balazs 5ad86cabda Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-25 12:50:02 +03:00
yulia 04d870f203 Bug 1473513 - move ActorRegistry module to server/actors/utils; r=ochameau
Depends on D6477

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

--HG--
rename : devtools/server/actor-registry.js => devtools/server/actors/utils/actor-registry.js
extra : moz-landing-system : lando
2018-09-25 08:47:10 +00:00