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

16 Коммитов

Автор SHA1 Сообщение Дата
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
Julian Descottes c729e260ce Bug 1443923 - part1: Return script location for shadow host in NodeActor form;r=bgrins
MozReview-Commit-ID: CLmOqqAa123

--HG--
extra : rebase_source : c793484450420f097dea057e18397577e0346f72
2018-07-05 09:47:56 +02:00
Belén Albeza cb2d3ee5bc Bug 1473901 - show shadow root mode. r=bgrins
MozReview-Commit-ID: Axt9W0uX4FB

--HG--
extra : rebase_source : a2708ee55feca17c79b110e6ea4507c8cb41caa1
2018-07-11 14:53:51 +02:00
Julian Descottes 1903f696ea Bug 1465873 - part6: Allow selection and breadcrumbs to walk from shadowRoot to host element;r=bgrins
By returning the shadow root as the parentNode of some elements, the breadcrumbs could no longer
display the chain of elements correctly, because shadowRoot.parentNode is null.

This changeset:
- returns the host actor ID as part of the shadowRoot form
- adds a parentOrHost convenience method on the node form
- uses said method in selection and breadcrumbs when walking up the ancestor chain

I don't think we should unconditionally return the host element as the parentNode of the
shadow root, because that is too disconnected from the reality.

MozReview-Commit-ID: JLeDb4VuT1q

--HG--
extra : rebase_source : 33f1f6e8dd221754a4a8fb32f954e5d277110917
2018-06-28 13:11:08 +02: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
Boris Zbarsky fef0aa2027 Bug 1455676 part 17. Stop using nsIDOMNode in devtools/. r=jdescottes 2018-05-29 22:58:50 -04:00
Patrick Brosset d8099444ec Bug 1460223 - Handle computedStyle.display failures for non-elements; r=gl
MozReview-Commit-ID: 9raK8Tkl4GI

--HG--
extra : rebase_source : dcb54a616ea0a00a4c2dcb6f9c29dcf557eeebde
2018-05-15 10:20:03 +02:00
Alexandre Poirot f9fdb6f696 Bug 1453385 - Remove NodeActor custom form attributes. r=Honza
This feature introduced in bug 1036949 is not longer used as it was designed for XUL add-ons.
The setFormProperty method was prevently Node's form from getting correctly
serialized between processes.

MozReview-Commit-ID: AiNnHSkwsEM

--HG--
extra : rebase_source : cf12f05f1de49a37a5d8ff694ef448f452f55a06
2018-04-11 08:54:27 -07:00
Julian Descottes 57820cf88e Bug 1053898 - Update NodeActor with new properties to detect slotted nodes in markup-view;r=bgrins
Instead of filtering light DOM nodes in the actor, return enough information
for the markup-view to filter out the nodes itself. The nodes will be displayed
in a later changeset when the markup view can accommodate several containers
for a single nodeFront.

MozReview-Commit-ID: LFKYU24BLZB

--HG--
extra : rebase_source : 232795c1ee91a41ec667c8bcdc21eb73bcfcbf9a
2018-03-06 18:31:46 +01:00
Julian Descottes b43628611e Bug 1053898 - Update markup view to display shadow roots as #shadow-root;r=bgrins
MozReview-Commit-ID: 36Zr2P6j6W6

--HG--
extra : rebase_source : a71f90edb139122d0561b4a51ef42082e64e381e
2018-03-05 16:41:43 +01: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
Gabriel Luong 756195eb25 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Dorel Luca a844f3b4b3 Backed out changeset ed63734c2be4 (bug 1431900) for Browser-Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js 2018-02-07 11:40:18 +02:00
Gabriel Luong e653874a84 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Alexandre Poirot 37bd611e02 Bug 1399589 - Move domnodelist, disconnectedNode and disconnectedNodeArray to node spec and front. r=jdescottes
MozReview-Commit-ID: B5l1X4pc2Kf

--HG--
extra : rebase_source : a45e07106582c999768065cddb93c38b692adfee
2017-10-03 17:19:56 +02:00
Alexandre Poirot b5eb40769a Bug 1399589 - Move NodeFront to its own module. r=jdescottes
MozReview-Commit-ID: EVeaFmqAmKL

--HG--
rename : devtools/shared/fronts/inspector.js => devtools/shared/fronts/node.js
extra : rebase_source : 2791e99ca8e37f4b9e0ba6bd1bb4d0bb22601781
2017-10-02 17:14:38 +02:00