Alexandre Poirot
a517296222
Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
...
MozReview-Commit-ID: EKWTGhGo0VM
Depends on D11624
Differential Revision: https://phabricator.services.mozilla.com/D11625
2018-11-15 10:23:00 +00: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
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
d11fed2899
Bug 1506549 - Introduce API to listen for new child fronts of a given type. r=yulia
...
MozReview-Commit-ID: EKWTGhGo0VM
Depends on D11624
Differential Revision: https://phabricator.services.mozilla.com/D11625
2018-11-14 16:20:57 +00: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
Alexandre Poirot
0ebd9905d3
Bug 1506545 - Stop overloading Pool.actor from Front class. r=yulia
...
Front.actor custom implementation is only used from Front class and doesn't match Pool's one behavior.
Front users would expect to see the one from Pool as it inherits from it.
MozReview-Commit-ID: 8plo2K5kEWq
Differential Revision: https://phabricator.services.mozilla.com/D11614
2018-11-13 14:22:24 +00:00
Mark Banner
3d6aaad3f5
Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
yulia
88dccefa84
Bug 1495387 - introduce async front instantiation; r=ochameau
...
Depends on D8989
Differential Revision: https://phabricator.services.mozilla.com/D8990
2018-10-18 14:34:33 +00:00
Alexandre Poirot
5c243860e2
Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
...
MozReview-Commit-ID: KvwkISz7OVe
Depends on D7456
Differential Revision: https://phabricator.services.mozilla.com/D7457
2018-10-15 08:36:05 +00:00
Brindusan Cristian
dac48fe630
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
02abc4f079
Bug 1485660 - Avoid exceptions when the connection is closed in middle of the actor's id retrieval. r=jdescottes
...
MozReview-Commit-ID: KvwkISz7OVe
Depends on D7456
Differential Revision: https://phabricator.services.mozilla.com/D7457
2018-10-11 15:46:24 +00:00
yulia
19e126155c
Bug 1473513 - reduce number of poolFor calls; r=ochameau
...
Summary:
MozReview-Commit-ID: 9VqKPauAP9j
Depends on D6475
Reviewers: ochameau
Reviewed By: ochameau
Bug #: 1473513
Differential Revision: https://phabricator.services.mozilla.com/D6476
2018-09-26 10:08:10 +02:00
yulia
e2298cb0fa
Bug 1473513 - create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor; r=ochameau
...
Summary:
create LazyActorClass based off ObservedActorFactory and RegisterdFactory classes for use in RootActor and BrowsingContextActor;
Depends on D6468
Reviewers: ochameau
Reviewed By: ochameau
Bug #: 1473513
Differential Revision: https://phabricator.services.mozilla.com/D6470
2018-09-26 10:03:33 +02:00
yulia
c161f03267
Bug 1473513 - use Protocol.js pools for workerTargetActorPool in Target Actors; r=ochameau
...
Summary: MozReview-Commit-ID: 5uIWwOR7CHp
Reviewers: ochameau
Reviewed By: ochameau
Bug #: 1473513
Differential Revision: https://phabricator.services.mozilla.com/D6468
2018-09-26 10:02:54 +02:00
Alexandre Poirot
a2c6859b00
Bug 1026583 - Avoid sending events for already destroyed actors. r=yulia
...
Reviewers: yulia!
Tags: #secure-revision
Bug #: 1026583
Differential Revision: https://phabricator.services.mozilla.com/D4329
MozReview-Commit-ID: 3485VTbMRqO
2018-08-28 05:42:32 -07:00
Alexandre Poirot
14e115ac28
Bug 1222047 - Expose helper to easily instanciate global and target scoped fronts. r=yulia
...
Summary: Depends On D3314
Tags: #secure-revision
Bug #: 1222047
Differential Revision: https://phabricator.services.mozilla.com/D3316
MozReview-Commit-ID: fqlHCkOtIB
2018-08-23 03:51:39 -07:00
Nicolas Chevobbe
f4cb8c45de
Bug 1450944 - Throw in actor methods instead of returning an error packet; r=ochameau.
...
Since protocol.js catches exceptions and returns an appropriate
packet as a result, we can use this instead of returning manually
an error packet.
MozReview-Commit-ID: 6lREam5sEVs
2018-05-17 15:04:24 +02:00
J. Ryan Stinnett
c6fd8c950e
Bug 1172897 - Rename TabActor to BrowsingContextTargetActor. r=ochameau
...
MozReview-Commit-ID: LPTEx2h4F1o
2018-05-25 18:20:28 -05:00
Julian Descottes
82711b9a8f
Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
...
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Alexandre Poirot
afce6f9c37
Bug 1458731 - Print actor's typeName and name of the throwing method when an exception is thrown by a protocol.js's actor. r=jlast,jryans
...
MozReview-Commit-ID: 5poQ0F1dJVu
2018-05-09 03:44:54 -07:00
Alexandre Poirot
24ee363f7d
Bug 1460229 - Throw an explicit error message when a method specified in a spec is missing in the actor. r=jryans
...
MozReview-Commit-ID: JdsCMh93xZE
2018-03-28 01:08:06 -07:00
Alexandre Poirot
71157b13ca
Bug 1459205 - Speed up dict type by preventing duplicated calls to getType from its write method. r=jryans
...
MozReview-Commit-ID: Dn37LGEpB6q
2018-05-03 12:47:27 -07:00
Alexandre Poirot
231d0b4128
Bug 1454899 - Prevent request arguments duplication on each request call. r=jryans
...
MozReview-Commit-ID: GaLM6LsCoWp
2018-04-05 10:00:02 -07:00
yulia
3cd3db0e76
Bug 1450948 - collect actorSpecs in a weakmap. r=ochameau
...
MozReview-Commit-ID: 7O4edWRb7cF
2018-04-25 14:46:44 +02:00
yulia
509fc33710
Bug 1450948 - Convert ChromeActor to protocol.js r=ochameau
...
MozReview-Commit-ID: 1pwYUXGiEdT
* fix types in tab.js
MozReview-Commit-ID: 2PAU8IeEKDV
2018-04-24 15:30:38 +02:00
Alexandre Poirot
99bffa66ff
Bug 1455437 - Prevent multiple Map query by simplifying _sendEvent method. r=jryans
...
MozReview-Commit-ID: H5ora5qsunx
2018-04-18 15:42:37 -07:00
Alexandre Poirot
3fa12e98b9
Bug 1455437 - Inline isIterator helper in protocol.js. r=jryans
...
MozReview-Commit-ID: DLoXENvbKOe
2018-04-18 15:31:30 -07:00
Alexandre Poirot
0814dff167
Bug 1454792 - Prevent duplicating arrays in Array type's read/write methods. r=jryans
...
MozReview-Commit-ID: 82GYGZUs6TH
2018-04-05 09:23:09 -07:00
Alexandre Poirot
a5c6ba1de5
Bug 1454792 - Use arrow functions instead of bind in protocol.js. r=jryans
...
MozReview-Commit-ID: 8pOL86G3ff5
2018-04-16 09:30:43 -07:00
Alexandre Poirot
3f9e8efc0d
Bug 1454792 - Stop duplicating arrays in protocol.js's identifyWrite function. r=jryans
...
MozReview-Commit-ID: LTgw12JInh9
2018-04-05 09:14:09 -07:00
Alexandre Poirot
a686848de3
Bug 1454373 - Switch protocol.js to native promises. r=jryans
...
MozReview-Commit-ID: ALifNayHJJG
2018-04-13 14:34:12 -07:00
Narcis Beleuzu
38bda8fc73
Backed out 2 changesets (bug 1454373) for mochitest devtools failures on devtools/client/shadereditor/test/browser_se_*. CLOSED TREE
...
Backed out changeset 4ec712f0aa13 (bug 1454373)
Backed out changeset b2ada4fddfa0 (bug 1454373)
2018-04-17 17:30:28 +03:00
Alexandre Poirot
e512183cab
Bug 1454373 - Switch protocol.js to native promises. r=jryans
...
MozReview-Commit-ID: ALifNayHJJG
2018-04-13 14:34:12 -07:00
Alexandre Poirot
1590ea5dd6
Bug 1453385 - Make protocol.js throw if a spec implements a nested response object. r=jryans
...
MozReview-Commit-ID: 7TXQMvYzGDG
2018-04-12 16:06:10 -07:00
Alexandre Poirot
3df33bdc7b
Bug 1453385 - Prevent protocol.js from copying all response objects. r=jryans
...
MozReview-Commit-ID: 5suOD9UmIr
2018-04-09 12:45:17 -07:00
J. Ryan Stinnett
8d1c817851
Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
...
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
J. Ryan Stinnett
2d2308f11e
Bug 1432496 - Clean up protocol.js deprecations. r=jdescottes
...
`ActorClass` and `FrontClass` are depercated protocol.js APIs that were left in
place to support add-ons that might have used them. Now that we're in an
WebExtensions only mode, it seems safe to remove these.
MozReview-Commit-ID: HRKMPTIktrZ
2018-01-23 09:15:49 -06:00
Alexandre Poirot
16658478b2
Bug 1397330 - Lazy load inspector spec and front modules. r=jdescottes,jryans
...
MozReview-Commit-ID: BbF40tQrzoF
2017-09-13 00:55:00 +02:00
Tom Tromey
2c4ab81b95
Bug 1395262 - use plain console.error in devtools promise catches; r=bgrins
...
MozReview-Commit-ID: C8IhVPckQJ7
2017-08-30 12:05:41 -06:00
Julian Descottes
bc1dc1e752
Bug 1378862 - remove usage of sdk heritage in devtools protocol.js;r=zer0
...
MozReview-Commit-ID: 8hyEroQwnNL
2017-08-21 20:21:48 +02:00
Julian Descottes
ef24cdb654
Bug 1391563 - stop exporting event-emitter emit method from devtools protocol.js;r=ochameau
...
MozReview-Commit-ID: Eeh55k6DDCd
2017-08-18 17:16:12 +02:00
Julian Descottes
90d2742710
Bug 1137935 - remove usage of sdk event-target in devtools;r=ochameau
...
MozReview-Commit-ID: 2lPCVNq7wN0
2017-08-16 15:17:24 +02:00
Julian Descottes
92eb851e00
Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
...
MozReview-Commit-ID: 2ab0Ol4Mq64
2017-08-16 15:11:21 +02:00
Julian Descottes
bd8cf49a5c
Bug 1361332 - replace sdk/util/object by Object.assign in devtools;r=zer0
...
MozReview-Commit-ID: 3IREzyuAjAF
2017-07-31 19:53:37 +02:00
Paolo Amadini
7afba17088
Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
...
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.
MozReview-Commit-ID: 1buqgX1EP4P
2017-06-19 11:32:37 +01:00
Sebastian Hengst
c6d9ef3e98
Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout
2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef
Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
...
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tom Tromey
a67980a817
Bug 1321839 - make devtools/shared eslint-clean; r=jryans
...
MozReview-Commit-ID: AGSdhrT4Z3D
2016-12-02 10:32:04 -07:00
J. Ryan Stinnett
8df45a4d5d
Bug 1291815 - Wait for requests to settle between DAMP subtests. r=ochameau
...
MozReview-Commit-ID: 2WH1QquOclP
2016-09-29 16:51:15 -05:00
fbdb0dae94
Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
...
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00