Jared Wein
b12a0d294c
Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D17020
--HG--
extra : moz-landing-system : lando
2019-01-23 17:03:32 +00:00
Patrick Brosset
de44cc12fc
Bug 1521776
- Add new scrollable markup badges; r=gl
...
Detect when nodes are scrollable on the actor side, and use this
information to display new [scrollable] markup-badges in the inspector.
Also track this dynimically so badges are added/removed when necessary.
Hide this behind a pref for now, until this gets tested by users and
validated.
Differential Revision: https://phabricator.services.mozilla.com/D17246
--HG--
extra : moz-landing-system : lando
2019-01-23 14:07:47 +00:00
shindli
b4fc89763a
Backed out changeset c9f087ff5a52 (bug 1521170) for X2 / TV failures CLOSED TREE
2019-01-23 02:29:37 +02:00
Jared Wein
cecdd9632d
Bug 1521170 - Add a rule that prevents calling some Array and String accessor methods without using the return value. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17020
--HG--
extra : moz-landing-system : lando
2019-01-22 23:02:24 +00:00
Julian Descottes
801f699fff
Bug 1483663 - Support element picker for UA widgets with NAC;r=ladybenko
...
Depends on D14700
Differential Revision: https://phabricator.services.mozilla.com/D14701
--HG--
extra : moz-landing-system : lando
2018-12-19 21:40:41 +00:00
Julian Descottes
9ce4f055e9
Bug 1483663 - Show native anonymous nodes under UA widgets;r=ladybenko
...
Differential Revision: https://phabricator.services.mozilla.com/D14700
--HG--
extra : moz-landing-system : lando
2018-12-19 21:40:13 +00:00
Andreea Pavel
35d9be3087
Backed out 2 changesets (bug 1483663) for failing dt at devtools/client/inspector/markup/test/browser_markup_shadowdom_ua_widgets_with_nac.js on a CLOSED TREE
...
Backed out changeset 6e9f11aeac28 (bug 1483663)
Backed out changeset 2ffa90b738a1 (bug 1483663)
2018-12-19 23:24:33 +02:00
Julian Descottes
9d930b5368
Bug 1483663 - Support element picker for UA widgets with NAC;r=ladybenko
...
Depends on D14700
Differential Revision: https://phabricator.services.mozilla.com/D14701
--HG--
extra : moz-landing-system : lando
2018-12-19 20:12:02 +00:00
Julian Descottes
2c7c95fa56
Bug 1483663 - Show native anonymous nodes under UA widgets;r=ladybenko
...
Differential Revision: https://phabricator.services.mozilla.com/D14700
--HG--
extra : moz-landing-system : lando
2018-12-19 20:09:47 +00:00
Patrick Brosset
0e57993bca
Bug 1507723 - Don't inline only-child short text nodes that are also flex items; r=gl
...
This change cleans up a lot of the getCurrentDisplay's logic which was unnecessarily
complex, it seems.
It also extracts the logic to walk up the DOM to find flex/grid containers to a
reusable functions.
Finally, this new extracted function is now used in the walker to determine if a text
node can be inlined in its parent element or not.
Differential Revision: https://phabricator.services.mozilla.com/D13677
--HG--
extra : moz-landing-system : lando
2018-12-04 13:29:15 +00:00
Patrick Brosset
22136caa2e
Bug 1506792 - Bail out when trying to get getComputedStyle for a non attached node; r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D12117
--HG--
extra : moz-landing-system : lando
2018-11-19 10:55:45 +00:00
Julian Descottes
99e9b458c0
Bug 1504355 - Do not return inlineTextChild for shadow hosts in inspector walker;r=ladybenko
...
Differential Revision: https://phabricator.services.mozilla.com/D11742
--HG--
extra : moz-landing-system : lando
2018-11-15 10:46:06 +00:00
Julian Descottes
e17ec00bdd
Bug 1483660 - Hide UA Widget shadow root in inspector by default;r=ladybenko
...
Depends on D10536
Differential Revision: https://phabricator.services.mozilla.com/D10537
--HG--
extra : moz-landing-system : lando
2018-11-05 17:22:45 +00: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
Patrick Brosset
8bc98179e9
Bug 1499322 - Support pseudo elements in the flexbox inspector; r=rcaliman
...
On the server, when looking for a flex container for a node, we were bailing
out if the displayType of the node was null. It was null for pseudo-elements.
This value was returned by the displayType getter in the NodeActor class.
Now, the reason for this dates to 4 years ago in bug 1139937 where trying to
get the display style of a pseudo-element was done in a way to failed. So we
just decided to return null at that point. It doesn't fail anymore, we're
able to return, say, "block" if a pseudo-element has a display:block style.
So I've removed the checks that returned null and that fixed the issue here.
The other part of the fix that was need is in the FlexItemActor class on the
server too. This class can be created for a pseudo-element too.
It accesses element.style without checking if that property exists. However it
does not exist for pseudo-elements. So we needed to add a check for that.
It's not a problem to just skip it in this case because pseudo-elements can't
have inline styles.
Differential Revision: https://phabricator.services.mozilla.com/D8873
--HG--
extra : moz-landing-system : lando
2018-10-17 14:24:57 +00:00
Tim Nguyen
53b1b96828
Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
...
Differential Revision: https://phabricator.services.mozilla.com/D8275
--HG--
extra : moz-landing-system : lando
2018-10-12 21:56:44 +00:00
Brindusan Cristian
e1f4f3ac73
Backed out changeset 0ff0cb536428 (bug 1497969) for devtools failures on browser_rules_add-rule-pseudo-class.js. CLOSED TREE
2018-10-12 00:00:47 +03:00
Tim Nguyen
c74ececee9
Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
...
Differential Revision: https://phabricator.services.mozilla.com/D8275
--HG--
extra : moz-landing-system : lando
2018-10-11 18:51:01 +00:00
Noemi Erli
4e75dfc2f6
Backed out changeset 06f4b6597f74 (bug 1497969) for failures in devtools/client/inspector/rules/test/browser_rules_pseudo_lock_options.js
2018-10-11 15:18:45 +03:00
Tim Nguyen
a59e428226
Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
...
Differential Revision: https://phabricator.services.mozilla.com/D8275
--HG--
extra : moz-landing-system : lando
2018-10-11 09:23:09 +00:00
Yura Zenevich
d84869d27a
Bug 1473037 - Display contrast ratio for text nodes inside the accessibility infobar. r=pbro
...
Co-authored-by: Micah Tigley <mtigley@mozilla.com>
MozReview-Commit-ID: 1KbcRG0bZA3
Differential Revision: https://phabricator.services.mozilla.com/D4954
--HG--
extra : moz-landing-system : lando
2018-10-02 13:29:24 +00:00
Belen Albeza
0bb5316f21
Bug 1488769 - Slotted nodes not being displayed in Shadow DOM tree if the node is a text. r=jdescottes
...
r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D5538
--HG--
extra : moz-landing-system : lando
2018-09-11 15:47:09 +00:00
Brad Werth
f6fd1a0004
Bug 1414597: Fix devtools inspector load events to correctly listen to XUL documents. r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D4495
--HG--
extra : moz-landing-system : lando
2018-09-10 19:20:01 +00:00
yulia
526ca5771c
Bug 1447487 - fix async destroy issues caused by destroying actor prototype at end of inspector
...
actor CLOSED TREE
--HG--
extra : amend_source : bae6232ee3f5f6352b6abe5c4513be08e26fc289
2018-08-31 16:11:00 +02:00
Margareta Eliza Balazs
21ac80ec93
Backed out changeset 3e4836ce7109 (bug 1447484) for landing the patch with the wrong bug number CLOSED TREE
...
--HG--
extra : amend_source : 7a5b31230a8e38758c6f247f9bcc468f1fd36f17
2018-08-31 17:07:51 +03:00
yulia
0e9801d96d
Bug 1447484 - fix async destroy issues caused by destroying actor prototype at end of inspector
...
actor; CLOSED TREE
--HG--
extra : amend_source : ee58ed641cecc7fa1beba2a26e4d362dd5de0bf5
2018-08-31 15:53:47 +02:00
yulia
5facf882eb
Bug 1485374 - fix race condition on sidebar destruction
...
--HG--
extra : rebase_source : fb043c3e2cc9a0d7360aa1fd1467caeea8a45acc
extra : source : a7a0c3893a27c9aa13abc5a04891a026d1604d9e
2018-08-31 14:18:46 +02:00
Kris Maglione
9a8a840c9d
Bug 1484496: Part 5d - Convert devtools/ nsISimpleEnumerator users to use JS iteration. r=bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D3732
--HG--
extra : rebase_source : 0154c72286ce0ca3ade84c5c360122861a36c7b0
extra : histedit_source : 83a8b267becbf86db5f8789d3673bd529da35286
2018-08-18 19:28:37 -07:00
Julian Descottes
1285d26f24
Bug 1481714 - Fix actors is null error when custom element is defined;r=ladybenko
...
Differential Revision: https://phabricator.services.mozilla.com/D2912
--HG--
extra : moz-landing-system : lando
2018-08-08 15:34:05 +00:00
Julian Descottes
070b4fffb3
Bug 1479470 - Always use _getMapForRegistry in CustomElementWatcher;r=ladybenko
...
Differential Revision: https://phabricator.services.mozilla.com/D2515
--HG--
extra : moz-landing-system : lando
2018-07-30 16:07:58 +00:00
Belén Albeza
9b62d62574
Bug 1473902 - Wrong node count in 'show all nodes' button. r=jdescottes
...
MozReview-Commit-ID: BwBqRVGli3b
--HG--
extra : rebase_source : 2eaa17883198ac7313440523f737e7d33480effa
2018-07-24 17:54:47 +02:00
Julian Descottes
6b744d9ea6
Bug 1443923 - part6: Update markup view when a custom element is defined;r=bgrins
...
MozReview-Commit-ID: BIDonbaoewh
--HG--
extra : rebase_source : ec8d22e890445e9185597014f610effac23ef753
2018-07-07 09:57:13 +02: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
Julian Descottes
3554bddce5
Bug 1476908 - Show keyframes for elements in shadow dom;r=bgrins
...
MozReview-Commit-ID: 6YJUnReL3PS
--HG--
extra : rebase_source : e1f663dd2044fb642b0606ba2dc153b4f8e43172
2018-07-20 17:48:50 +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
Razvan Caliman
d9ab58bfa9
Bug 1475947 - (Part 1) implement getOwnerGlobalDimensions() on Node actor. r=gl
...
MozReview-Commit-ID: Ij59UBVlCBD
--HG--
extra : rebase_source : b4b078106f4abb5e16a1ba7e435e65f13082d163
2018-07-16 19:06:06 +02:00
Julian Descottes
28776da332
Bug 1449968 - Add support for Inspect Element in Shadow DOM;r=bgrins
...
MozReview-Commit-ID: HhwyDMyZe1k
--HG--
rename : devtools/client/inspector/markup/test/browser_markup_shadowdom_pick_nested.js => devtools/client/inspector/markup/test/browser_markup_shadowdom_nested_pick_inspect.js
extra : rebase_source : 4276e3f88251075fd41d1e7f41a2f229be905f99
2018-07-05 18:48:24 +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
a436a69576
Bug 1465873 - part4: Update document-walker::parentNode() to return shadow roots;r=bgrins
...
MozReview-Commit-ID: GwAl9DCT3Fs
--HG--
extra : rebase_source : 9dbae35e59b81283337281d7eae47e2d0b8f8800
2018-06-28 11:38:46 +02:00
Julian Descottes
a2e1f4d2af
Bug 1465873 - part3: Move generic node utils from Node actor to layout/utils helper;r=bgrins
...
MozReview-Commit-ID: ASB5m4Eyrck
--HG--
extra : rebase_source : 892bbcc01923bdbf4819a0155d7f7fb7653557d1
2018-06-28 11:22:12 +02:00
Julian Descottes
96dfe1ad61
Bug 1465873 - part2: Update walker::children() to avoid updating refMap to detect pseudo elements;r=bgrins
...
MozReview-Commit-ID: DId4pM2rGmb
--HG--
extra : rebase_source : 6d591fb5c90e81a1aad2c5bef278765e2ca8cae8
2018-06-27 13:52:21 +02:00
Julian Descottes
77070bfc9b
Bug 1465873 - part1: Implement walker::countChildren() to count children without updating refMap;r=bgrins
...
MozReview-Commit-ID: CvJFIvn7Kdr
--HG--
extra : rebase_source : 2f5ad39436b98a833997851d98c950a817197f97
2018-06-27 13:51:26 +02:00
Julian Descottes
3c75e1e85c
Bug 1449959 - Listen to shadowrootattached events to update markup view;r=bgrins,ochameau
...
MozReview-Commit-ID: JcYGg8lKupl
--HG--
extra : rebase_source : 422196dec309321d8ac7629ba1f0628ce4007494
extra : source : 05991bc825e334630c53eae02bb3b7c4a471100f
2018-06-25 12:22:26 +02:00
Julian Descottes
be3f1a69c1
Bug 1078374 - Show content of template tags in markup view;r=bgrins
...
MozReview-Commit-ID: pbctIItlC9
--HG--
extra : rebase_source : af386c52748c55d518445c0175ac129c101a63da
2018-06-08 18:17:15 +02:00
Julian Descottes
a58b37acb3
Bug 1449333 - Display closed shadow roots in the inspector;r=bgrins
...
MozReview-Commit-ID: GIA5A4kOYFX
--HG--
extra : rebase_source : 03766e229910776476910a90ba4cebe97648c767
2018-06-15 15:35:28 -07:00
Sebastian Hengst
82bbb42c90
Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander
...
MozReview-Commit-ID: 6bs0jkTP6rP
--HG--
extra : rebase_source : 4e554f8e710aea1fb372a0f21d7539cf568baa17
2018-06-20 21:34:40 +03:00
J. Ryan Stinnett
eaa4969e77
Bug 1172897 - Rename TabActor to BrowsingContextTargetActor. r=ochameau
...
MozReview-Commit-ID: LPTEx2h4F1o
--HG--
rename : devtools/server/actors/tab.js => devtools/server/actors/targets/browsing-context.js
rename : devtools/shared/specs/tab.js => devtools/shared/specs/targets/browsing-context.js
extra : rebase_source : e62720693ad492cdfb68ab21af1f54d78e85123a
2018-05-25 18:20:28 -05:00
Blake Kaplan
49224c479c
Bug 1186265 - Move devtools over to getBounds(). r=pbro
...
This leaves getAdjustedQuads alone because it lives in its own world and its
result gets sent over IPC. That leaves things in a bit of an intermediate
state, but that should be OK for now.
MozReview-Commit-ID: DH6eGqCFhPr
--HG--
extra : rebase_source : 39feed5868c86a104e586f40bd1e80e8f8f34e0b
2018-06-04 16:41:43 -07:00
Gabriel Luong
9491ea9135
Bug 1464442 - Make the display-type badge in the markup-view say "subgrid" if the element is a subgrid. r=pbro
2018-06-05 09:16:54 -04:00
Julian Descottes
7fdc2c153f
Bug 1454696 - Fix leftover issues for prefer-const;r=yulia
...
MozReview-Commit-ID: JwOXoqw2mks
--HG--
extra : rebase_source : a3f07665a42c2779a85b7901a07206266a9d1616
extra : source : ae946f375e0d0f4f0f0fc859c54040fef42cbc2c
2018-06-01 12:19:35 +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
Michael Ratcliffe
801fc7686e
Bug 1449232 - Sort listeners by event name in the listener list r=pbro
...
The only real change is the sorting inside `devtools/server/actors/inspector/node.js`. The rest is just shuffling tests around to handle the sorted listeners.
MozReview-Commit-ID: 8ql1bRbr4Pl
--HG--
extra : rebase_source : 08b9493d36be667b20dc2d7fc0fb2bcafd94ef79
2018-05-25 16:03:13 +01: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
Neil Deakin
ef5f9b4b23
Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz
...
Test changes for removal of PopupBoxObject and popup.xml methods, some reflow tests now have different stacks now that they are not going through popup.xml binding methods, test_popupanchor.xul changes due to need to wait for popuppositioned event after resizing. The old code would just adjust the arrow directly when sizeTo was called, but the new code does this through an asynchronous popuppositioned event. Changes to some places that check for XULElement class.
--HG--
rename : dom/webidl/PopupBoxObject.webidl => dom/webidl/XULPopupElement.webidl
rename : layout/xul/PopupBoxObject.cpp => dom/xul/XULPopupElement.cpp
rename : layout/xul/PopupBoxObject.h => dom/xul/XULPopupElement.h
2018-04-27 11:04:38 -04:00
Boris Zbarsky
76ead58490
Bug 1455674 part 19. Get rid of JS uses of nsIDOMElement. r=qdot
...
In nsBlocklistService.js we know we're dealing with actual nodes, so .nodeType
checks should be fine.
2018-04-26 23:37:34 -04:00
Yura Zenevich
dbc919795a
Bug 1451241 - check text children of non-accessible nodes when retrieving accessible objects. r=jdescottes
...
MozReview-Commit-ID: 2SFe6g3hOCc
2018-04-25 14:06:16 -04:00
Boris Zbarsky
17995a441f
Bug 1453869 part 9. Stop creating DOMParser by contract in devtools. r=tromey
...
There are some extra hoops here because devtools has a lint to prevent Cu.importGlobalProperties, which is the normal way one would import a WebIDL constructor.
MozReview-Commit-ID: 2mdNI6N1z5B
2018-04-20 23:04:40 -04:00
Alexandre Poirot
24603597f9
Bug 1453385 - Fix actors trying to transfer functions or xpcom objects. r=jryans
...
MozReview-Commit-ID: 74l85ePCcrY
--HG--
extra : rebase_source : 5af0d60d6fe436a0b0039e0f0b017f8a39b8b5f9
2018-04-12 14:45:10 -07: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
Yura Zenevich
3ea27d2560
Bug 1428441 - adding 'Show Accessibility Properties' context menu item for inspector markup view nodes. r=pbro
...
MozReview-Commit-ID: EEE6VaCgIza
2018-04-09 10:50:26 -04:00
Julian Descottes
547614b6c5
Bug 1451037 - check if shadow host has children when fetching before/after pseudos;r=bgrins
...
MozReview-Commit-ID: KG6cRlLQiE1
--HG--
extra : rebase_source : 1b4a9d3da2f118f74c42db40b62c75e7aa04d0c8
2018-04-04 11:59:19 +02: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
8fe5897c42
Bug 1053898 - Update WalkerActor to return ::after,::before in children() of host element;r=bgrins
...
MozReview-Commit-ID: jCRQ49ZWa2
--HG--
extra : rebase_source : 31e8cb68519893a371504885fe34ee3e58372cfd
2018-03-07 12:38:54 +01:00
Julian Descottes
54ba16f026
Bug 1053898 - Update WalkerActor to return light DOM nodes as children of host element;r=bgrins
...
Light DOM nodes are now returned next to the shadow-root, however they are
skipped if they are found under a slot element, because the markup view
can not handle several containers for a single nodeFront yet.
MozReview-Commit-ID: 1df3VBPT2HX
--HG--
extra : rebase_source : bf3a2d42ddb07b5bac08fc95226e9751874c1f7a
2018-03-05 20:06:56 +01:00
Julian Descottes
0085fd1e68
Bug 1053898 - Update Walker and Node actors to observe mutations in shadow roots;r=bgrins
...
MozReview-Commit-ID: Djlo8ZC84Vm
--HG--
extra : rebase_source : b42b7e42c86d5ad1e4e3d435a3f2908dda08d1f1
2018-03-05 19:16:03 +01:00
Julian Descottes
e6b58eca96
Bug 1053898 - Update Walker and Node actors to listen to slotchange events on shadow roots;r=bgrins
...
MozReview-Commit-ID: 9LfiR7EFq3I
--HG--
extra : rebase_source : d4f9698a772c1ac3bc749303e96ef132c247d850
2018-03-05 18:24:53 +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
Julian Descottes
77bf77e8cb
Bug 1053898 - Update WalkerActor to return shadowRoot as child of host element;r=bgrins
...
This changeset allows to display a #document-fragment as the child of
a custom element that has a shadowRoot.
MozReview-Commit-ID: 59wbnjz40I3
--HG--
extra : rebase_source : 4e7c5c219e0c7db9324fd363f4597a653bcae109
2018-03-19 10:33:07 +01:00
Julian Descottes
4afbb03a9c
Bug 1053898 - Update DocumentWalker constructor to support showAnonymousContent parameter;r=pbro
...
MozReview-Commit-ID: 6c7qlnbe5ND
--HG--
extra : rebase_source : b32b14c180d94082ae8ecdb6195daa6f44f40209
2018-03-05 14:27:45 +01:00
Julian Descottes
ef13044e43
Bug 1053898 - Update DocumentWalker constructor to use optional object argument;r=pbro
...
MozReview-Commit-ID: I8AiM5rXPFd
--HG--
extra : rebase_source : 456a89d4c7026c9503544778d7b1a998056d88e8
2018-01-26 17:01:25 +01:00
Julian Descottes
06374c2d78
Bug 1053898 - Remove unused WalkerActor methods parents() and siblings;r=pbro
...
MozReview-Commit-ID: GEjFjslgK4J
--HG--
extra : rebase_source : 2b71203737cd0fa99f31528118cb6c9cf320a131
2018-03-07 22:49:48 +01:00
J. Ryan Stinnett
d376d1e61d
Bug 1446222 - Move CssLogic to Inspector actor dir. r=jdescottes
...
MozReview-Commit-ID: 8IWTgRyWXNQ
--HG--
rename : devtools/server/css-logic.js => devtools/server/actors/inspector/css-logic.js
extra : rebase_source : e88edd34f8150f15b9fb26130fd67c5c323a6d56
2018-03-19 17:39:11 -05:00
J. Ryan Stinnett
c500f6e824
Bug 1446222 - Move event parsers to Inspector actor dir. r=jdescottes
...
MozReview-Commit-ID: LoMjO3v0bDN
--HG--
rename : devtools/server/event-parsers.js => devtools/server/actors/inspector/event-parsers.js
extra : rebase_source : 9465b9552aff0209225996e0766591fd33dd175b
2018-03-15 19:25:37 -05:00
Mark Banner
0f3ec963be
Bug 1443093 - Update eslint-plugin-no-unsanitized to 3.0.0 / eslint to 4.18.2. r=mossop
...
Also change eslint-plugin-mozilla's globals.js to use eslint-scope rather than escope as
ESLint 4.x changed to eslint-scope. This avoids dependency issues that were masked by the
depedencies of eslint-plugin-no-unsanitized's previous version.
MozReview-Commit-ID: 6wLY7Oj0am3
--HG--
extra : rebase_source : 863313d7907e8246d1f5b0ee83164cc0f943f8f6
2018-03-05 10:34:38 +00: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
Nicolas Chevobbe
aca904dd7c
Bug 1382609 - Remove old-event-emitter usage from devtools/server; r=pbro.
...
MozReview-Commit-ID: 3B3slS3EPYn
--HG--
extra : rebase_source : 60bf49cfd4f620ee20aa577fd15168db48b2ff2d
2018-02-27 09:06:56 +01:00
J. Ryan Stinnett
9f3541ff3f
Bug 1439000 - Remove *-actor suffix from inspector actors. r=jdescottes
...
MozReview-Commit-ID: 9iOMZjmm9LR
--HG--
rename : devtools/server/actors/inspector/inspector-actor.js => devtools/server/actors/inspector/inspector.js
rename : devtools/server/actors/inspector/node-actor.js => devtools/server/actors/inspector/node.js
rename : devtools/server/actors/inspector/walker-actor.js => devtools/server/actors/inspector/walker.js
extra : rebase_source : 60d989ae565130c6182fadeb641ea064181e57e0
2018-02-16 15:47:32 -06:00
Alexandre Poirot
6ecbf50249
Bug 1437828 - Convert Task.jsm to async/await in devtools/server. r=jryans
...
MozReview-Commit-ID: I1GlhEdco3H
--HG--
extra : rebase_source : faa17e2cd6e985ada67ede46a11464e62f0f818f
2018-02-13 03:36:40 -08:00
Alexandre Poirot
793ced87e6
Bug 1436978 - Stop using Promise.jsm in devtools/server in favor of DOM Promises. r=jdescottes
...
MozReview-Commit-ID: Hv7uYZKZGIO
--HG--
extra : rebase_source : 95455a3c13b608d96f9a1f3c4a3071c04c7480f8
2018-02-13 02:31:14 -08: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
Julian Descottes
7cb0ab74fe
Bug 1434217 - remove walker actor methods deprecated in FF29;r=bgrins
...
MozReview-Commit-ID: 6ZxGTFNvOj4
--HG--
extra : rebase_source : 3dfdb2e40c95b0eb093f95cf4957343b4a993129
2018-01-30 11:58:30 +01:00
Julian Descottes
6683646ba1
Bug 1434217 - Remove unused inspector actor traits;r=bgrins
...
Inspector actor traits were used for backward compatibility, with
versions of Firefox older than 45. Our policy is to support servers
up to the last ESR version, which is 52 at the moment so these
should be safe to remove.
MozReview-Commit-ID: 6MwUp8vbW29
--HG--
extra : rebase_source : b36799130e66e4abdaee628d48ad1b056bc1afcd
2018-01-30 10:49:24 +01:00
Julian Descottes
27a469d6a8
Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
...
MozReview-Commit-ID: dfzTyhZXez
--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes
8cca58077e
Bug 1102240 - split inspector actor in smaller files;r=ochameau,pbro
...
MozReview-Commit-ID: LgZav4dMQRR
--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/document-walker.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/node-actor.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/utils.js
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/walker-actor.js
extra : rebase_source : b57466d2e2dfb6f332dec3a38a03b12506eb4a30
2018-01-26 13:11:58 +01:00
Julian Descottes
8eb0574c63
Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
...
MozReview-Commit-ID: LNgHweYJXcB
--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00