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

36 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 3df40590e9 Bug 1621886 - Call Actor destroy from all actors r=nchevobbe
Depends on D66780

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

--HG--
extra : moz-landing-system : lando
2020-03-18 10:48:22 +00:00
Nicolas Chevobbe aa9535d9d8 Bug 1621712 - Switch ActorPool usage to Pools in devtools/server/actors. r=jdescottes.
All the actors using ActorPool now use Pool instead.
A few changes were needed since the API are a bit different:
- addActor(x) was changed to manage(x)
- removeActor(x) was changed to x.destroy() (which removes x from the Pool)
- x.registeredPool was changed into x.parent() (registeredPool was the Pool x was in)
- conn.addActorPool calls were removed as it's already done in the Pool _poolMap getter
- conn.removeActorPool(x) calls were turned into x.destroy , as the former is called
  from Pool#destroy.

Also, some actors were overriding Actor#initialize without calling
Actor.prototype.initialize.call, which mean they didn't have a `conn`
property.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 06:32:24 +00:00
Logan Smyth 1d75bb2c8a Bug 1610416 - Expose SavedFrame frames via debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61517

--HG--
extra : moz-landing-system : lando
2020-02-12 04:02:17 +00:00
Razvan Maries f039242241 Backed out 2 changesets (bug 1610416, bug 1610415) for build bustages on Frame.cpp. CLOSED TREE
Backed out changeset c208490126fe (bug 1610416)
Backed out changeset 8f19f7882caf (bug 1610415)
2020-02-05 09:26:33 +02:00
Logan Smyth af0a5181d1 Bug 1610416 - Expose SavedFrame frames via debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D61517

--HG--
extra : moz-landing-system : lando
2020-02-05 05:44:03 +00:00
Logan Smyth d0fabc6e3a Bug 1592430 - Basic support for async live stacks in the debugger server. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D56661

--HG--
extra : moz-landing-system : lando
2019-12-12 06:19:03 +00:00
jaril 658cf442ca Bug 1599221 - Fixed promoting and demoting of object actors with watchpoints r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D54955

--HG--
extra : moz-landing-system : lando
2019-11-27 22:32:05 +00:00
Jason Laster d0771d94df Bug 1594941 - Remove unused Frame.environment field. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D53851

--HG--
extra : moz-landing-system : lando
2019-11-19 19:53:14 +00:00
Andreea Pavel 47d35b097d Backed out changeset 352bd579f519 (bug 1594941) for failing xpcshell at test_breakpoint-16.js on a CLOSED TREE 2019-11-19 20:56:26 +02:00
Jason Laster 67ab86708e Bug 1594941 - Remove unused Frame.environment field. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D52282

--HG--
extra : moz-landing-system : lando
2019-11-19 15:44:58 +00:00
Jason Laster cfe4e9651b Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-07 20:22:43 +00:00
Daniel Varga 6df4c46d72 Backed out 2 changesets (bug 1571704) for xpcshell failure at devtools/server/tests/unit/test_blackboxing-01.js. On a CLOSED TREE
Backed out changeset c4bcee0f733a (bug 1571704)
Backed out changeset 25e20d00d43f (bug 1571704)
2019-11-07 01:33:18 +02:00
Jason Laster 5110bd1de0 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : source : 5dd0214c512990cd9417ad504406abb71c60654c
2019-11-06 20:07:35 +00:00
Coroiu Cristina 513f9646d7 Backed out changeset 5dd0214c5129 (bug 1571704) for ESlint failure and causing hunks failed when backout Bug 1592616 on a CLOSED TREE 2019-11-06 22:52:53 +02:00
Jason Laster ff3a09fd85 Bug 1571704 - Make ThreadActor.frames return Frame fronts instead of JSON objects. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D51004

--HG--
extra : moz-landing-system : lando
2019-11-06 20:07:35 +00:00
Nicolas Chevobbe 925311bc77 Bug 1568779 - Remove editors settings comments in devtools files. r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D42300

--HG--
extra : moz-landing-system : lando
2019-08-19 12:48:16 +00:00
Victor Porof 24d2c75470 Bug 1561435 - Format devtools/server/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d2dc183b9bf9086d4b862e0e9a0cfa0bf773193f
2019-07-05 11:26:00 +02:00
Kevin Morehouse 25f075630a Bug 1546109 - Replace references to generated properties in the server r=jlast
Replace:
        generatedSourceActor —> sourceActor
        generatedLine —> line
        generatedColumn —> column
        generatedLastColumn —> lastColumn
        generatedUrl —> url
        generatedLocation —> location
        GeneratedLocation —> SourceLocation
        parentGeneratedLocation —> parentLocation
    Replace references in comments to match the above changes.

The affected files are:

    devtools/server/actors/breakpoint.js
    devtools/server/actors/common.js
    devtools/server/actors/frame.js
    devtools/server/actors/thread.js
    devtools/server/actors/utils/TabSources.js

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

--HG--
extra : moz-landing-system : lando
2019-05-24 13:43:11 +00:00
Jason Laster 28fe41e07b Bug 1532319 - Log Points should have context. r=davidwalsh
This has some fun wins

- colored prompt
- multiline textarea
- default value for log points

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

--HG--
extra : moz-landing-system : lando
2019-04-09 22:42:06 +00:00
Jason Laster e5c5dceda1 Bug 1527612 - Format displayName in the server. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D19666

--HG--
extra : moz-landing-system : lando
2019-02-13 22:32:00 +00:00
Jason Laster f38f25dc45 Bug 1521540 - Replace Frame.source form with Frame.actor. r=lsmyth
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D17439
2019-01-25 18:10:34 -05:00
Mark Banner ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Brian Hackett e1bbd3b632 Bug 1465488 Part 1 - Web Replay server side devtools changes, r=jimb.
--HG--
extra : rebase_source : 06e4fec804a3c9c6aa0cd47f15f56d1ec66ae869
2018-07-24 14:53:30 +00: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
Nicolas Chevobbe c2c2ef50c5 Bug 1449188 - Split devtools/server/actors/object.js in smaller files; r=ochameau.
We create one file per actor, and move the ones that are only used by the ObjectActor
into an object folder.
We also take this as an opportunity to extract utils function used in at least 2
different files into an object/utils.js file.
Furthermore, we extract stringifiers and previewers in their own files for readibility
sake, and rename DebuggerServer.ObjectActorPreviewers to previewers only, as
we don't make any use of putting those into DebuggerServer.

MozReview-Commit-ID: L9ajKrzkC4k

--HG--
rename : devtools/server/actors/object.js => devtools/server/actors/array-buffer.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/long-string.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/previewers.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/property-iterator.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/stringifiers.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/symbol-iterator.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/symbol.js
rename : devtools/server/actors/object.js => devtools/server/actors/object/utils.js
extra : rebase_source : ae332d0a85d9d8bcc306d399fffbd0ec643db49c
2018-03-28 08:24:41 +02: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
Jason Laster e321615671 Bug 1370923 - Fetch environments on demand. r=jimb 2017-06-07 14:28:00 -04:00
Yury Delendik bae4d246c0 Bug 1333840 - Protect from frame.this access for wasm debugger frame. r=ochameau
MozReview-Commit-ID: eEhoHiXQTr

--HG--
extra : rebase_source : 21c12aebb9aa87725b87d1ea890e58b90596b8a3
2017-01-25 12:21:37 -06:00
Dalimil Hajek 3e02aa5978 Bug 1322085 - Make devtools/server/actors/*.js eslint-clean. r=ntim 2017-01-16 12:51:00 -05:00
J. Ryan Stinnett a8aec05d11 Bug 1315391 - Rename all `disconnect` methods to `destroy` in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2

--HG--
extra : rebase_source : 4d018622b7547d404510e0b563c6324c0127aafc
2016-11-11 18:24:58 -06:00
Eddy Bruel f389d7ede3 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
Eddy Bruel 2bdbd75fa0 Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
Nick Fitzgerald 5658c35c3b Bug 1277953 - Use ActorClassWithSpec for the FrameActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
J. Ryan Stinnett 30b2b7ce44 Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Jennifer Fong 2f312892d5 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Lin Clark f48cabf9a7 Bug 1235375 - Change FrameActor to protocol.js. r=ejpbruel 2016-01-04 08:34:00 -05:00