Alexandre Poirot
67bb5020f7
Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
...
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.
MozReview-Commit-ID: IOH4mDprAVL
Depends on D12577
Differential Revision: https://phabricator.services.mozilla.com/D12578
2018-11-27 19:16:51 +00:00
Alexandre Poirot
3e32f9edd3
Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
...
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.
MozReview-Commit-ID: 16qZkuCBp9b
Depends on D12576
Differential Revision: https://phabricator.services.mozilla.com/D12577
2018-11-27 19:17:11 +00:00
Alexandre Poirot
f2cc564831
Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
...
MozReview-Commit-ID: nWTkfbF9qb
Depends on D12574
Differential Revision: https://phabricator.services.mozilla.com/D12575
2018-11-27 19:18:06 +00:00
Alexandre Poirot
05559ce854
Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
...
MozReview-Commit-ID: 4MAjszUiGUZ
Depends on D12573
Differential Revision: https://phabricator.services.mozilla.com/D12574
2018-11-27 19:18:28 +00:00
Andreea Pavel
2e1438afd5
Backed out 7 changesets (bug 1506546) fo failing devtools at devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_system_addons.js on a CLOSED TREE
...
Backed out changeset fbe3f2183f32 (bug 1506546)
Backed out changeset 8972a2f14015 (bug 1506546)
Backed out changeset 00fe26234b3d (bug 1506546)
Backed out changeset 7d8e650e25c2 (bug 1506546)
Backed out changeset a293a37483b9 (bug 1506546)
Backed out changeset 7b75250a4f12 (bug 1506546)
Backed out changeset 23ad29cb776e (bug 1506546)
2018-11-27 14:37:14 +02:00
Alexandre Poirot
be575263a9
Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
...
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.
MozReview-Commit-ID: IOH4mDprAVL
Depends on D12577
Differential Revision: https://phabricator.services.mozilla.com/D12578
2018-11-27 11:23:26 +00:00
Alexandre Poirot
b607a11eb5
Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
...
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.
MozReview-Commit-ID: 16qZkuCBp9b
Depends on D12576
Differential Revision: https://phabricator.services.mozilla.com/D12577
2018-11-27 11:23:24 +00:00
Alexandre Poirot
caf7aef5cd
Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
...
MozReview-Commit-ID: nWTkfbF9qb
Depends on D12574
Differential Revision: https://phabricator.services.mozilla.com/D12575
2018-11-27 11:23:20 +00:00
Alexandre Poirot
8df5a146e5
Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
...
MozReview-Commit-ID: 4MAjszUiGUZ
Depends on D12573
Differential Revision: https://phabricator.services.mozilla.com/D12574
2018-11-27 11:23:18 +00:00
yulia
595fd05e97
Bug 1508655 - BoxModel highlighter move nodeHighlighter to highlighterFront; r=ochameau
...
Depends on D12319
Differential Revision: https://phabricator.services.mozilla.com/D12320
2018-11-23 10:50:21 +00:00
yulia
fb8bc13fdb
Bug 1508655 - BoxModel highlighter split domGrip methods to make them more closely related to the walker; r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D12319
2018-11-23 10:49:29 +00:00
yulia
9003a64fc0
bug 1507146 - add await to all target.getFront calls in async callsites; r=ochameau
...
Depends on D11885
Differential Revision: https://phabricator.services.mozilla.com/D11886
2018-11-14 15:11:59 +00:00
Alexandre Poirot
e1d0ca7c1b
Bug 1506548 - Return WorkerTargetFront from listWorkers instead of form. r=yulia
...
MozReview-Commit-ID: 4CBQNwC8tKq
Depends on D11762
Differential Revision: https://phabricator.services.mozilla.com/D11763
2018-11-15 10:23:50 +00:00
Alexandre Poirot
781a5ac688
Bug 1506549 - Return target fronts out of RootFront.getProcess and getMainProcess. r=yulia
...
MozReview-Commit-ID: EGWYEmAkbtr
Depends on D11693
Differential Revision: https://phabricator.services.mozilla.com/D11622
2018-11-15 10:22:49 +00:00
Alexandre Poirot
46971acb4d
Bug 1506549 - Either pass a front or a form to Target constructor. r=yulia
...
MozReview-Commit-ID: BWsvAcWthnF
Differential Revision: https://phabricator.services.mozilla.com/D11693
2018-11-15 10:22:47 +00:00
Paolo Amadini
d03e533476
Bug 1496827 - Remove the "notification" binding. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D11650
2018-11-13 12:56:42 +00:00
Alexandre Poirot
21259d0507
Bug 1506545 - Instantiate Target for ContentProcessTargetActor via its front. r=yulia
...
MozReview-Commit-ID: EE4d0YULRBU
Depends on D11614
Differential Revision: https://phabricator.services.mozilla.com/D11615
2018-11-13 20:39:58 +00:00
Razvan Caliman
be2b453167
Bug 1500947 - (Part 3) Update indices of tracked declarations when one is removed; r=pbro
...
Depends on D11209
We need to take care when deleting a declaration. This means shifting the indexes of declarations which follow it in the CSS rule. To do this, we iterate over all tracked added/removed declarations and make sure to decrement their index if it is larger than the index of the deleted one.
The Rule view and specialized editors do not support inserting declarations at any other position other than at the end of the existing declarations list. For now, it is safe to assume all newly added declarations will not shift any tracked indexes. But we will need to handle this for other use cases, like the Style Editor or manual editing of element style attributes.
MozReview-Commit-ID: InrNbsNsqz6
Differential Revision: https://phabricator.services.mozilla.com/D11318
2018-11-13 09:00:48 +00:00
Alexandre Poirot
1fc5daee89
Bug 1498280 - Introduce RootClient.getMainProcess to fetch ParentProcessTargetActor. r=yulia
...
MozReview-Commit-ID: E9OiwqDwNk7
Differential Revision: https://phabricator.services.mozilla.com/D11758
2018-11-13 14:07:36 +00:00
Paolo Amadini
ecaee75fcc
Bug 1471403 - Part 2 - Lazify the creation of "notificationbox" elements. r=dao,bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D10892
2018-11-09 14:38:49 +00:00
yulia
67ae68cbed
Bug 1495388 - Simplify Inspector Front destruction; r=ochameau
...
Depends on D8992
Differential Revision: https://phabricator.services.mozilla.com/D9124
2018-11-07 14:35:42 +00:00
Alexandre Poirot
fba80ad701
Bug 1503628 - Merge TabTarget and WorkerTarget. r=yulia
...
MozReview-Commit-ID: 58iL6HyXjM4
Depends on D11013
Differential Revision: https://phabricator.services.mozilla.com/D11014
2018-11-08 10:09:10 +00:00
Alexandre Poirot
8b98126041
Bug 1497467 - Convert AddonClient to protocol.js front. r=yulia
...
MozReview-Commit-ID: 78Oqsq4mGqW
Differential Revision: https://phabricator.services.mozilla.com/D10391
2018-11-05 16:16:37 +00:00
Alexandre Poirot
b5d5986d8a
Bug 1497470 - Create a ContentProcessTargetFront front to match ContentProcessTargetActor. r=yulia
...
MozReview-Commit-ID: LFfG7WRHu3a
Differential Revision: https://phabricator.services.mozilla.com/D10189
2018-11-05 15:02:10 +00:00
Julian Descottes
a316673f82
Bug 1483660 - Hide UA Widget shadow root in inspector by default;r=ladybenko
...
Depends on D10536
Differential Revision: https://phabricator.services.mozilla.com/D10537
2018-11-05 17:22:45 +00:00
Patrick Brosset
470a812368
Bug 1501066 - part 2 - Simplify flexibility info and bail out when useless; r=mtigley
...
In cases where an item did not grow or shrink, devtools doesn't really have access
to any useful information about how the item might have wanted to flex.
So in this change, I'm just making sure we don't attempt to display this info at
all, because it's basically incorrect otherwise.
Depends on D10235
Differential Revision: https://phabricator.services.mozilla.com/D10236
2018-10-31 17:49:14 +00:00
yulia
1553a9ace6
Bug 1495388 - Make Inspector Front initialization async; r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D8707
2018-10-30 14:47:19 +00:00
Alexandre Poirot
4de8dbcb83
Bug 1502910 - Remove TimelineActor. r=Honza
...
MozReview-Commit-ID: DtmS18EYw12
Depends on D10186
Differential Revision: https://phabricator.services.mozilla.com/D10187
2018-10-30 10:49:19 +00:00
Alexandre Poirot
dfaa3ac7ef
Bug 1499022 - Rename BrowsingContextFront to BrowsingContextTargetFront. r=jdescottes
...
MozReview-Commit-ID: 4ipRMnu2vkh
Differential Revision: https://phabricator.services.mozilla.com/D9116
2018-10-30 10:14:20 +00:00
Alexandre Poirot
7f70817c9c
Bug 1485661 - Convert RootClient to protocol.js front. r=yulia
...
MozReview-Commit-ID: 1FfeXpVNYTk
Differential Revision: https://phabricator.services.mozilla.com/D8820
2018-10-30 08:08:20 +00:00
Brad Werth
96a32a4894
Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
...
MozReview-Commit-ID: 1Y8esljnLk9
Differential Revision: https://phabricator.services.mozilla.com/D4399
2018-10-22 19:17:45 +00:00
Dorel Luca
07b5accb27
Backed out 5 changesets (bug 1468754) for xpcshell and eslint failures. CLOSED TREE
...
Backed out changeset 67f969f5bdba (bug 1468754)
Backed out changeset 55ba74fa5c95 (bug 1468754)
Backed out changeset 0d44a0523525 (bug 1468754)
Backed out changeset da447a45603e (bug 1468754)
Backed out changeset 71f45c79522e (bug 1468754)
2018-10-22 22:00:49 +03:00
Brad Werth
9d49917ee9
Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
...
MozReview-Commit-ID: 1Y8esljnLk9
Differential Revision: https://phabricator.services.mozilla.com/D4399
2018-10-22 18:00:40 +00:00
Gurzau Raul
052bb9147e
Backed out 5 changesets (bug 1468754) for linting failure at checkouts/gecko/devtools/server/actors/utils/actor-registry.js on a CLOSED TREE
...
Backed out changeset c36e8383aa3a (bug 1468754)
Backed out changeset c98ac7503111 (bug 1468754)
Backed out changeset ddd043a258e0 (bug 1468754)
Backed out changeset e6ff3400a4f6 (bug 1468754)
Backed out changeset 817018fb5aa4 (bug 1468754)
2018-10-22 20:02:13 +03:00
Brad Werth
fa0e150891
Bug 1468754 Part 1: Add a ChangesActor to devtools. r=pbro
...
MozReview-Commit-ID: 1Y8esljnLk9
Differential Revision: https://phabricator.services.mozilla.com/D4399
2018-10-22 16:31:52 +00:00
Daniel Varga
19b44c7933
Merge mozilla-inbound to mozilla-central. a=merge
2018-10-20 13:10:23 +03:00
Gabriel Luong
1d4d455f90
Bug 1500469 - Don't require /shared/css/properties-db.js in the inspector client. r=mtigley
2018-10-19 17:40:31 -04: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
d9b0741497
Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D7097
2018-10-17 10:36:33 +00:00
yulia
d92f8581d8
Bug 1499056 - Use target.getFront for screenshot front; r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D8866
2018-10-17 10:40:48 +00:00
Alexandre Poirot
e427965f65
Bug 1497150 - Use BrowsingContextFront's javascriptEnabled cached value instead of calling attach. r=jdescottes
...
For now, the options panel was calling `attach` to know if the javascript was disabled
on the debugged document. But this property is already cached during the `attach`
request done by the toolbox.
MozReview-Commit-ID: JcDT6vxCUzN
Depends on D8851
Differential Revision: https://phabricator.services.mozilla.com/D8852
2018-10-16 22:17:20 +00:00
Alexandre Poirot
dc5e8bf951
Bug 1494632 - Convert WorkerClient to protocol.js front. r=jdescottes
...
MozReview-Commit-ID: BbtEReeG4v9
Depends on D7462
Differential Revision: https://phabricator.services.mozilla.com/D7463
2018-10-16 09:39:11 +00:00
Julien Wajsberg
2d0ee1fc30
Bug 1495473 - Properly propagate the error up to the client r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D7299
2018-10-15 17:33:58 +00:00
Alexandre Poirot
a7efccd4b4
Bug 1485660 - Convert TabClient to a front. r=jdescottes
...
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.
MozReview-Commit-ID: KmpClxJ53N7
Depends on D7457
Differential Revision: https://phabricator.services.mozilla.com/D7458
2018-10-15 08:36:07 +00:00
Daisuke Akatsuka
6d5f935423
Bug 1494847 - Part 2: Set proper currentTime for negative playback rate. r=pbro
...
Depends on D7685
Differential Revision: https://phabricator.services.mozilla.com/D7686
2018-10-12 06:36:37 +00:00
Daisuke Akatsuka
c12e094257
Bug 1494847 - Part 1: Show proper graph for negative playback rate. r=pbro
...
Differential Revision: https://phabricator.services.mozilla.com/D7685
2018-10-13 05:39:18 +00:00
Bogdan Tara
38b9145277
Backed out changeset 94ccc53c61a7 (bug 1488375) for test_memory_allocations_0x.html failures CLOSED TREE
2018-10-12 19:18:18 +03:00
yulia
ebc335aab0
Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D7097
2018-10-12 13:38:21 +00:00
Patrick Brosset
98f2f63a65
Bug 1495717 - More user-friendly Flex item sizing information; r=gl
...
MozReview-Commit-ID: 3cSeShKP6TE
Differential Revision: https://phabricator.services.mozilla.com/D8220
2018-10-12 08:46:34 +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