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

1619 Коммитов

Автор SHA1 Сообщение Дата
Razvan Caliman 4bc526421a Bug 1449885 - Read font variation axis data and setup UI with any axis values defined on rule. r=gl
MozReview-Commit-ID: 6tWRyjYcdDH
2018-04-02 17:32:51 +02:00
Razvan Caliman 16b65bde9d Bug 1435373 - Shapes editor: update tests for new implementation.r=pbro
MozReview-Commit-ID: KUVacaWD5lv

--HG--
extra : histedit_source : 900f8065cb8a2fc8c5474b8baa0fa83b8220ac07
2018-04-10 13:59:13 +02:00
Razvan Caliman db34548a67 Bug 1435373 - Shapes editor: implementation to map shape value changes to rule. r=pbro
MozReview-Commit-ID: i20YChYAxd

--HG--
extra : histedit_source : a216ae1ff4cac1609d60465476f157876fcc526f
2018-04-10 13:59:00 +02:00
Gurzau Raul df79f362f0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-10 19:56:38 +03:00
yulia 4928fe12d6 Bug 1443184 - update browser_markup_accessibility_semantics.js to use async/await. r=ochameau
MozReview-Commit-ID: AzLZwI43YU0

--HG--
extra : rebase_source : 2ba740555ef0d9a13354a2f788adaf517cd276cf
2018-04-05 11:10:39 +02:00
Jonathan Kingston bbb3623c41 Bug 1374741 - Within devtools/ make openUILinkIn() provide the correct triggeringPrincipal. r=jryans
MozReview-Commit-ID: KecQcZWeU6a

--HG--
extra : rebase_source : edbcbd607ee7209b5c137d4f7af9daf5eaeffab6
2018-02-21 16:01:03 +00: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
Daisuke Akatsuka 6bff78f829 Bug 1451772: Add requestLongerTimeout to browser_animation_keyframes-graph_computed-value-path. r=gl
MozReview-Commit-ID: 1nnieE4xbzy

--HG--
extra : rebase_source : 216f60d4dd46ce8c3a3e80dfa41cb6231957afd6
2018-04-09 11:05:47 +09:00
Andreea Pavel 7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
Patrick Brosset 8fb4c9df72 Bug 1446316 - Removing the unused and broken new colorPicker widget; r=gl
MozReview-Commit-ID: 93vY0NjL1pK

--HG--
extra : rebase_source : 3039fbd74608c9f81e1cf9863c0f50960ceae1da
2018-04-05 22:29:48 +02:00
Gabriel Luong 684673a2eb Bug 1437887 - Rename the title strings of the 3 pane inspector button. r=pbro 2018-04-06 03:45:06 -04:00
Andreea Pavel 3c4525a1b9 Backed out changeset ef4c55400ab1 (bug 1448096) for failing devtools at devtools/client/webconsole/test/browser_webconsole_split.js on a CLOSED TREE 2018-04-06 09:06:34 +03:00
Gabriel Luong 138e898f1c Bug 1448096 - Throttle the inspector window resize handler with requestIdleCallback. r=bgrins
MozReview-Commit-ID: 7UwTDAR0JDs
2018-04-05 18:29:35 -04:00
Dorel Luca 8875b56045 Backed out changeset db6ccdb84816 (bug 1448096) for Dev Tools failures on multiple files 2018-04-06 04:50:34 +03:00
Gabriel Luong c4e1be4676 Bug 1448096 - Throttle the inspector window resize handler with requestIdleCallback. r=bgrins 2018-04-05 19:54:21 -04:00
Gabriel Luong 9b6d2c7ea1 Bug 1433611 - Follow up: rename isSplitRuleViewEnabled to is3PaneModeEnabled in rules.js. r=me 2018-04-05 14:46:58 -04:00
Gabriel Luong e9ff3da166 Bug 1433611 - Adjust the widths of the split box on toggling on the 3 pane inspector. r=pbro
When the inspector is in landscape mode, it will first try to toggle on the 3 pane mode by
creating a middle/bottom-left panel with the same sidebar width, but if doubling the
original  sidebar width will be bigger than half of the toolbox's width, we will instead
toggle on the 3 pane mode with all panels being of equal widths.

When the inspector is in portrait mode, it will just toggle on its T shape pane such that
the 2 bottom panes are equal widths.

We also increased the breakpoint width of the toolbox's side view to 1000px so that it
will keep its T shape in portrait mode until the toolbox's width is bigger than 1000px.
2018-04-05 14:21:13 -04:00
Patrick Brosset e9b33924a6 Bug 1351081 - Always retrieve quads relatively to the top window, correctly; r=gl
Use the getBoxQuads's relativeTo option to avoid having to calculate the offset
due to frames.

Also reduce the precision of numbers used when checking if the highlighter is
correctly displayed.

Finally, for some strange reasons, this patch seems to cause a totally unrelated
events mutation event to be sent during the test. This polutes the mutations
received and made the test fail. So I filtered the list of mutations to only
preserve the ones we care about here.
I could not reproduce this extra mutation when running Firefox. Only during the
test. So I did not investigate further.

MozReview-Commit-ID: 1ZQ6FGULjHG

--HG--
extra : rebase_source : 6406571849afb1d3dcec176f68ef4d3d122a1abf
2018-03-30 11:24:45 +02:00
Narcis Beleuzu 6dda0f4a39 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-05 01:07:43 +03:00
Narcis Beleuzu f860c2bf00 Merge inbound to mozilla-central. a=merge 2018-04-05 01:02:17 +03: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
Razvan Caliman fd2272eb89 Bug 1411664 - Check if property name is invalid in rule view and change warning icon title text accordingly. r=pbro
MozReview-Commit-ID: L64Ow4cLAg8

--HG--
extra : rebase_source : d21dd8c2fbd9d4c1fbae1222f8cac91efacd749a
2018-04-04 15:26:44 +02:00
Cosmin Sabou 0ffa0aefd9 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-04-04 21:07:07 +03:00
Gabriel Luong f5951b405b Bug 1446503 - Place 3 pane toggle button next to sidebar tabs in the inspector. r=Honza 2018-04-04 11:02:43 -04:00
Xidorn Quan 67fd806b66 Bug 1449087 part 2 - Use Servo data to back @font-face rule. r=emilio
This patch does the following things:
* Create a new class ServoFontFaceRule for CSSOM of @font-face rule
  which mostly follows how nsCSSFontFaceRule was implemented.
* Remove the old nsCSSFontFaceRule and binding code to create it.
* Have FontFace backed by Servo data via making mRule and mDescriptors
  of the class hold RawServoFontFaceRule like ServoFontFaceRule.

To keep this patch small, it effectively just delays the conversion
from Servo data to nsCSSValue from parsing to using. This may cause
worse performance if the font set is flushed repeatedly. Supposing we
don't flush font set very frequently, it may not be a big deal.

We may still want to remove the intermediate nsCSSValue conversion at
some point, and have everything converted to their final form directly
when used, but that can happen in followups.

There are some unfortunate bits from this change:
* We lose style sheet for logging in FontFaceSet. This is probably not
  all that worse, because we wouldn't have that before either if the
  page doesn't use CSSOM to visit it. But we should figure out some
  approach to fix it anyway.
* InspectorFontFace no longer shares the same rule object as CSSOM.
  This isn't really a problem if the @font-face rule isn't very mutable.
  Unless we want to make the rule returned from InspectorFontFace to be
  mutable (i.e. via inspector), not using the same object probably isn't
  too bad.

This patch switches the code we use to serialize stuff in FontFace and
CSSFontFaceRule, which leads to some failures in tests. Specifically,
the expected changes including:
* Value of font-family now can be serialized to identifier sequence like
  font-family property. The old code always serializes it to string,
  but it doesn't seem to have different requirement than the property.
  Blink can serialize to identifier as well.
* Family name inside local() is also changed to use the same way as
  family names elsewhere (i.e. can be identifier sequence). Blink has
  the same behavior as the old code, but I don't think it's a big deal.
* The order of descriptors serialized gets changed. I don't think it
  matters at all.
* Empty string as font-family via using string syntax is no longer
  considered invalid for FontFace. I don't find it is mentioned anywhere
  that it should be specifically treated invalid.


MozReview-Commit-ID: 32Fk3Fi9uTs

--HG--
extra : rebase_source : 6221ec8fc56de357b06dd27e770fb175348a2f77
2018-04-04 08:42:10 +10:00
Julian Descottes d06e921eb2 Bug 1430558 - add closing parenthesis automatically in CSS autocompletes;r=gl
MozReview-Commit-ID: LLBrLC3Bq0t

--HG--
extra : rebase_source : c081b53042dcc14c6f7bb022b35edab12a5deff0
2018-01-13 00:41:19 +01:00
Julian Descottes e843c3d265 Bug 1448320 - bind onDetachedFront in RuleView constructor;r=pbro
MozReview-Commit-ID: BuOTYTuregT

--HG--
extra : rebase_source : 6c6f668551b6e4fbdb43313d31eca83d715d4f0a
2018-03-23 14:47:52 +01:00
Daisuke Akatsuka f8c22850d9 Bug 1448732 - Part 3: Adjust requestLongerTimeout. r=pbro
MozReview-Commit-ID: Ia4mjyHyBci

--HG--
extra : rebase_source : b136930a83fd165552ef8c62f529f8d639484f83
2018-04-03 12:26:57 +09:00
Daisuke Akatsuka b7f7bcc74d Bug 1448732 - Part 2: Open detail pane by clicking on summary graph instead of selecting the node. r=pbro
MozReview-Commit-ID: CeMj2VJwRR5

--HG--
extra : rebase_source : 98a9bb6339d34872009ce6e57fc81f36b415fa7e
2018-04-03 12:26:36 +09:00
Daisuke Akatsuka 53379078db Bug 1448732 - Part 1: Remove extra animated elements before open animation inspector. r=pbro
MozReview-Commit-ID: Ds7fNJKDYc7

--HG--
extra : rebase_source : 78f80b588fa9ff47af4f9b608c7ad6b817a93dfc
2018-04-03 12:26:10 +09:00
Daisuke Akatsuka 4b8bbac5c7 Bug 1448732 - Part 0: Modify variables and code format for consistency. r=pbro
In this patch, modify the following things:

* Modify variable name of test data list to "TEST_DATA"
* Modify variable name of testing animation target class name to "targetClass"
* Some comments format

MozReview-Commit-ID: J33RRcm4chO

--HG--
extra : rebase_source : 6cfc7515faf587ee0dfe03377d9529c461ad4ae2
2018-04-03 12:25:44 +09:00
Dorel Luca d8a4cfd361 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-03 07:04:18 +03:00
Daisuke Akatsuka 361d95ecbf Bug 1447259: Change the tested animation in browser_animation_summary-graph_computed-timing-path_different-timescale.js test since the animation can intermittently already be finished during selectNodeAndWaitForAnimations. r=gl 2018-04-03 10:29:12 +09:00
Daisuke Akatsuka fb33aab183 Bug 1449497: Use Component instead of PureComponent. r=gl 2018-04-03 09:12:53 +09:00
Daisuke Akatsuka b4fc01f3cb Bug 1449625 - Part 2: Turn on new animation inspector for beta tests. r=gl 2018-04-03 08:36:00 +09:00
Daisuke Akatsuka d7f7c75314 Bug 1449625 - Part 1: Select the computed view instead of animation inspector in browser_markup_events_click_to_close.js test. r=gl 2018-04-03 08:35:46 +09:00
Brad Werth 61efc0db8f Bug 1298008 Part 6: Update a devtools test that checks the computed values of auto margins in the box model. r=gl
MozReview-Commit-ID: KBR8GkynhzV

--HG--
extra : rebase_source : 1f6db9a82fdf14c6ff9307db264aaae992f196b7
2018-04-02 09:01:34 -07:00
Patrick Brosset 1439d8acd8 Bug 1447736 - Refresh rule/computed-view even when parents and siblings change; r=jdescottes
MozReview-Commit-ID: 9RZyWwnpgUj

--HG--
extra : rebase_source : 9477160337327fa4059ea88871fc76519379c803
2018-03-28 17:20:22 +02:00
Julian Descottes f78853095e Bug 1053898 - Update browser_markup_anonymous_03 test for new shadowdom display;r=bgrins
MozReview-Commit-ID: FwFkeWuYPwj

--HG--
extra : rebase_source : 024ff11140b33ca2146eb43ba96d25b8e706aa36
2018-03-07 17:47:10 +01:00
Julian Descottes 443758308d Bug 1053898 - Add integration tests for DevTools inspector shadow dom support;r=bgrins
MozReview-Commit-ID: 7C56R5ZMQ4B

--HG--
extra : rebase_source : 620b1eba4d234b1333672f31862f6f349f962e2c
extra : intermediate-source : 7745ae3fc37904602fc164c8632636c566315eec
extra : source : fad1b64d20f3dff03d619b1a28bf05048a0d67d3
2018-02-13 20:03:39 +01:00
Julian Descottes a9f9f1a24c Bug 1053898 - Update SlottedNodeEditor to show a reveal link on hover;r=bgrins
MozReview-Commit-ID: 7j7zmApH5h6

--HG--
extra : rebase_source : d6723178568df5ebb736292851622e1e345ec365
2018-03-07 11:50:21 +01:00
Julian Descottes cfa4a1bc29 Bug 1053898 - Update inspector to prevent context-menu on slotted elements;r=bgrins
MozReview-Commit-ID: loWAiRBT18

--HG--
extra : rebase_source : 426fa586e9fa6212c7f9283946d3242b2296543f
2018-03-07 10:36:28 +01:00
Julian Descottes 514764d394 Bug 1053898 - Display slotted nodes in markup view;r=gl
Add new container and editor dedicated to represent slotted nodes.
Add isSlotted to the interface of Container elements (returns false
everywhere except for slotted containers).

MozReview-Commit-ID: DRxyqThpegm

--HG--
extra : rebase_source : e01c7931e66fcecbeb14f8de9901add062df6b98
2018-03-06 20:50:13 +01:00
Julian Descottes df344cddcc Bug 1053898 - Replace ElementContainer _buildEventTooltipContent() with generic click handler;r=gl
The markup-view forwards click events to container instance only if the Container
is a MarkupElementContainer, and assumes a _buildEventTooltipContent method will
be available. Here we switch to a public onContainerClick method that the markup
view will call as long as it is defined on the targeted container.

MozReview-Commit-ID: Kem0m57ECyE

--HG--
extra : rebase_source : b5ee2de3c22c0d6511c48ab5e4ceb64c6bd3143d
2018-03-07 11:49:28 +01:00
Julian Descottes 0ee987a344 Bug 1053898 - Add setContainer and hasContainer APIs in MarkupView;r=gl
With shadowdom support, a single nodeFront can have several containers.
This will complexify the logic to manipulate the _containers map in
markup.js. Introducing basic getters and setters to interact with this
map will make the transition easier.

MozReview-Commit-ID: FTphQgCsHNL

--HG--
extra : rebase_source : e7db9cd73a0511c1728efa42899c74c0c6f9e7fe
2018-03-06 19:47:24 +01:00
Julian Descottes 3f6acab961 Bug 1053898 - Add _markContainerAsSelected() API in MarkupView;r=gl
With shadowdom support, the container will become more specific than the
nodeFront. Add a specific API to select directly a container rather than
having to use a nodeFront will make the transition easier.

MozReview-Commit-ID: DIiKJPsxEYZ

--HG--
extra : rebase_source : 091d67f68ac8ea89128dc2c5ae233a509a70a6a7
2018-03-06 19:04:48 +01:00
Julian Descottes ac82a726ad Bug 1053898 - Update MarkupView to track the hovered container rather than the hovered nodeFront;r=gl
With shadowdom support, a single node-front can be represented by several
containers. Keeping track of the hovered container rather than the hovered
nodeFront will make the transition easier.

MozReview-Commit-ID: 2uiMRhp5ly1

--HG--
extra : rebase_source : 4ee3b857ee43ebe981b2148b0a6a1390c69669aa
2018-03-06 18:47:26 +01:00
Julian Descottes df3e1babbb Bug 1053898 - Update framework/selection setNodeFront signature to use object argument;r=gl
Both reason and isSlotted arguments of setNodeFront are optional, switching to an
object argument avoids weird calls such as setNodeFront(front, null, true) in favor
of a more explicit setNodeFront(front, { isSlotted: true });

MozReview-Commit-ID: A6nziH3QQYe

--HG--
extra : rebase_source : e5bde9e74369e1b0fb2e1d1a0a2b31a0131caacd
2018-03-05 14:15:57 +01: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 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
J. Ryan Stinnett 5af746b756 Bug 1446572 - Adjust node inspection for toolbox's selected frame. r=pbro
When inspecting a node with the toolbox focused on an inner frame, we need to
adjust the selectors used to remove hidden parent frames.

MozReview-Commit-ID: CXwb3FmnJFO

--HG--
extra : rebase_source : df8b01286fe8ebe38cb93cfe05bbd24e7f97d40d
2018-03-28 19:54:43 -05:00
Cosmin Sabou b25da47eb2 Merge inbound to mozilla-central. a=merge 2018-03-28 12:49:56 +03:00
Daisuke Akatsuka f19d361797 Bug 1445825: Enable new animation inspector in nightly. r=gl
MozReview-Commit-ID: LrjeVNrzsGe

--HG--
extra : rebase_source : 71ab562a92a5765bb32e9b66e93eb9ee45b470b5
2018-03-26 17:00:39 +09:00
Luca Greco c407f3ba17 Bug 1425197 - Add additional checks of the target URL in the inspectedWindow devtools actor. r=kmag, r=ochameau 2018-03-16 21:20:52 +01:00
Alexandre Poirot 0d7c75ac4e Bug 1442159 - Convert browser_computed_cycle_color.js to async/wait. r=ochameau
- & fix test

MozReview-Commit-ID: FgtUSvORJor

--HG--
extra : rebase_source : 4985975c5e955587fa9b6b7d9edf037a55c2a665
2018-03-01 01:06:45 -08:00
yulia 5fb503cd90 Bug 1448111 - convert waitForScrollStop to async/await. r=ochameau
MozReview-Commit-ID: AL7ry5X4caQ

--HG--
extra : rebase_source : da630972d4001d43572e8008d40087a9ead4ab87
2018-03-27 12:15:10 +02:00
Alexandre Poirot daf63a8c08 Bug 1442153 - Convert browser_inspector_expand-collapse.js to async/await. r=ochameau
MozReview-Commit-ID: 39FYLGiDJCy

--HG--
extra : rebase_source : cd9e4d01898c7fc8b3f5a51e1780d68dc058efed
2018-03-01 00:23:36 -08:00
Daisuke Akatsuka 9a8aed2d91 Bug 1447599: Make duration of animations to be longer. r=pbro
MozReview-Commit-ID: BYlUcuKseoH

--HG--
extra : rebase_source : 3d0508fbc367f33e20925010d2826fd1295fbd6d
2018-03-26 11:00:42 +09:00
Gurzau Raul 3bcd829ce0 Merge inbound to mozilla-central. a=merge 2018-03-24 00:00:40 +02:00
Alexandre Poirot e9acb1b498 Bug 1444033 - Convert Task.jsm to async/await in devtools/client/inspector. r=jryans 2018-03-23 02:49:00 +02:00
Julian Descottes 0fe17e59dc Bug 1414286 - return promise in markup view collapse/expandAll;r=pbro
MozReview-Commit-ID: H4OuB2ggbWG

--HG--
extra : rebase_source : 14f14ed47cc9cd925cbab7cf99c7ea7773e8eb1e
2018-03-22 14:42:59 +01:00
Margareta Eliza Balazs cdccb66d47 Backed out changeset 610872970d04 (bug 1444033) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/inspector/test/head.js on a CLOSED TREE 2018-03-23 02:06:53 +02:00
Alexandre Poirot 779fe85e35 Bug 1444033 - Convert Task.jsm to async/await in devtools/client/inspector. r=jryans
MozReview-Commit-ID: 3Gek7xhypx3
2018-03-22 15:13:00 -04:00
Narcis Beleuzu 15414c4ffe Merge nozilla-central to autoland. a=merge CLOSED TREE 2018-03-23 12:04:15 +02:00
Daisuke Akatsuka 0f1a3fe6c3 Bug 1438435 - Part 2: Add unit test for avoiding updates in the animation inspector when hidden. r=gl
MozReview-Commit-ID: 5BhYW69Q0Ff

--HG--
extra : rebase_source : 2b2b13959665c38923f5fe813d24540cb63982d6
2018-03-23 13:11:29 +09:00
Daisuke Akatsuka 9f1af0d0aa Bug 1438435 - Part 1: Avoid updating the UI during hiding the animation inspector panel. r=gl
MozReview-Commit-ID: LuWd9xgSP8C

--HG--
extra : rebase_source : 211534fef539e9c93224aa3398780d1bd8743b3b
2018-03-23 13:09:56 +09:00
Daisuke Akatsuka 600cb5d996 Bug 1438072 - Part 3: Add test. r=pbro
MozReview-Commit-ID: HHlBQkKr59U

--HG--
extra : rebase_source : 240c4ea97885763eb0afc64c37dc69b2ee0ff56b
2018-03-20 15:25:52 +09:00
Daisuke Akatsuka 5599e7361d Bug 1438072 - Part 2: Change the opacity of unchanged items. r=pbro
MozReview-Commit-ID: 6gH9Ad7Crn3

--HG--
extra : rebase_source : 3b6df55ed758edb8a921db7b6dae32f36fad3fb8
2018-03-20 15:25:51 +09:00
Daisuke Akatsuka 3933141de3 Bug 1438072 - Part 1: Put unchanged item to bottom of list. r=pbro
MozReview-Commit-ID: KresprCD08d

--HG--
extra : rebase_source : 421c29657b658219cdddee978b0b0672d93fc795
2018-03-20 15:25:51 +09:00
Daisuke Akatsuka f8a8117b97 Bug 1438072 - Part 0: Rename variables that are related to animated property item. r=gl
MozReview-Commit-ID: E34UrF1UhXz

--HG--
extra : rebase_source : ad3f7b5e6efe19e56df311d24b24dac4d203036d
2018-03-20 15:25:51 +09:00
Daisuke Akatsuka c81202c131 Bug 1437730 - Part 3: Add tests. r=gl
MozReview-Commit-ID: 75xaanT4jwD

--HG--
extra : rebase_source : b61ce73c6f0c46c5e678ce852ab25418434d7e61
2018-03-20 15:10:40 +09:00
Daisuke Akatsuka 73a4f951d7 Bug 1437730 - Part 2: Update animation inspector to reflect animation modification. r=gl
MozReview-Commit-ID: 35hgVGujptl

--HG--
extra : rebase_source : c62fcda057b9c6c5d78bb78793ec853171b57e85
2018-03-20 15:10:35 +09:00
Daisuke Akatsuka c244cd9a8f Bug 1437730 - Part 1: Update animation state on mutations of added or removed animations. r=gl
MozReview-Commit-ID: KOQlLX3sEj9

--HG--
extra : rebase_source : ad407911753c0842355053682d47491ad30f0052
2018-03-20 15:10:31 +09:00
Gabriel Luong c5229d9797 Bug 1447528 - Remove the pref observer for the split rule view pref in the inspector. r=pbro 2018-03-21 15:39:32 -04:00
Gabriel Luong 806ec66def Backed out changeset 74cee31cc206 (bug 1447528). r=me 2018-03-21 16:34:36 -04:00
Gabriel Luong 820cf0016c Bug 1447528 - Remove the pref observer for the split rule view pref in the inspector. r=pbro 2018-03-21 15:39:32 -04:00
Razvan Caliman 13150dc4a9 Bug 1443846 - Part 3: Add SVG swatch icon for font editor toggle. r=pbro
MozReview-Commit-ID: Akx2PjdOVgO
2018-03-16 17:06:39 +01:00
Razvan Caliman 07521a682a Bug 1443846 - Part 2: Add skeleton for font editor panel. r=gl
- Implement basic React component & Redux store and actions for font editor.
- Move font overview rendering from FontsApp into its own component: FontOverview. FontsApp remains just a wrapper for FontEditor and FontOverview.
- Listen to rule selection events to toggle the display of the font editor and font overview panels.

MozReview-Commit-ID: 496LHPqpnKL
2018-03-13 21:15:52 +01:00
Razvan Caliman 3c6bdde9b9 Bug 1443846 - Part 1: Add swatch to mark rule as selected and toggle font inspector panel. r=pbro
To use, toggle pref to true: devtools.inspector.fonteditor.enabled

- Introduces the ability for tools to mark one or more rules as "selected". Store rule references for tools to know here to map changes.
- On mouse hover over any rule, show the font editor swatch.
- On click on the font editor swatch, toggle the rule as "selected" and toggle the font inspector panel.

MozReview-Commit-ID: 3eTzEOXkApl
2018-03-11 17:05:36 +01:00
Andreea Pavel 108954cccc Backed out 2 changesets (bug 1435373) for patch failing to be applied on a CLOSED TREE
Backed out changeset 0ea578dacf23 (bug 1435373)
Backed out changeset c3b0f6497bb7 (bug 1435373)
2018-04-10 04:46:23 +03:00
Razvan Caliman f25ae8281b Bug 1435373 - Shapes editor: update tests for new implementation. r=pbro
MozReview-Commit-ID: KUVacaWD5lv

--HG--
extra : rebase_source : 313d79cf10b1540c20b3df9aa7144cae42c4c4d7
extra : source : 03b412c9e45e0b293af9050543b3f1e69df88e7c
2018-04-05 12:21:59 +02:00
Margareta Eliza Balazs 922c555275 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 19:00:25 +02:00
yulia 817d9b5e5b Bug 1382601 - update inspector to use new event emitter. r=pbro
MozReview-Commit-ID: 8hGCpkC1eHz

--HG--
extra : rebase_source : 02a10f5defe536cd316633d3fb8e2dace40f9099
2018-03-16 14:27:46 +01:00
Julian Descottes f960ea774c Bug 1447154 - Use AppConstants.jsm instead of devtools/shared/system to get constants;r=jryans,nchevobbe
devtools/shared/system is a complex module retrieving details device/platform
information. Modules that only need to get AppConstants should not pull down
such a complex dependency.

MozReview-Commit-ID: 2FmCO8nBSpP

--HG--
rename : devtools/client/shared/webpack/shims/system-stub.js => devtools/client/shared/webpack/shims/app-constants-stub.js
extra : rebase_source : 0ec5e4d320c8b1543d5fe579d8adf51c5fa4286d
2018-03-19 22:18:20 +01:00
Emilio Cobos Álvarez 48957d62c0 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
shindli 7b0e5ad3eb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-20 12:16:52 +02:00
shindli 55e9f63bac Merge inbound to mozilla-central. a=merge 2018-03-20 12:11:27 +02:00
Daisuke Akatsuka 8ef42462fb Bug 1440831: Add requestLongerTimeout(2) for browser_animation_keyframes-graph_computed-value-path.js. r=gl 2018-03-20 11:17:42 +09:00
Daisuke Akatsuka 275c0e6078 Bug 1445291: Handle to the error 'no such actor'. r=gl 2018-03-20 10:34:32 +09:00
Nicolas Chevobbe 9efe6dcb78 Bug 1446941 - Remove old-event-emitter usage from styleeditor; r=gl.
MozReview-Commit-ID: D8szZGCwb9i

--HG--
extra : rebase_source : 50966436201cff0008befd0586323199a4395016
2018-03-19 12:35:40 +01:00
Daisuke Akatsuka 6221c7d3c9 Bug 1438755 - Part 4: Add unit test for different time scales of ComputedTimingPath component. r=gl
MozReview-Commit-ID: 8FnGLXCeSkH
2018-03-20 17:47:48 +09:00
Daisuke Akatsuka ef43417360 Bug 1438755 - Part 3: Use timeScale object in latest props. r=gl
MozReview-Commit-ID: FPXyOsIfOr7
2018-03-20 17:47:47 +09:00
Daisuke Akatsuka 3b80cdf283 Bug 1438755 - Part 2: Avoid updating while the state of AnimatedPropertyList component is updating asynchronously. r=gl
MozReview-Commit-ID: H51jpPkEsOp
2018-03-20 17:47:47 +09:00
Daisuke Akatsuka bf33ad0836 Bug 1438755 - Part 1: Avoid updating while the state of SummaryGraphPath component is updating asynchronously. r=gl
MozReview-Commit-ID: ERRkCdhEO9x
2018-03-20 17:47:47 +09:00
Patrick Brosset 14a179db40 Bug 1444327 - Bring back ability to see and copy font URLs; r=jdescottes
In the fonts panel UI prior to Firefox 60, remote font URLs used to be
displayed in full in a text input field. It made it easy to copy them.
With the redesign that happened in 60 (bug 1437548 and 1442001), getting
the URL became harder. The URL isn't visible anymore easily. There's a link
that can be clicked to load the URL in the browser, or it can also be copied
from the @font-face CSS rule code section. But that's harder.

This change adds the beginning of the URL back (with an ellipsis) and a
simple button that copies the link.

Note that the new test failed intermittently on non e10s (took too long).
This was because of a react middleware which was logging all actions, which,
in non-e10s, ended up logging StyleRuleActors, which got serialized and caused
way too much logs to be printed, slowing the test down. So the test was
disabled on non-e10s.

MozReview-Commit-ID: 2oSMoWKYhTk

--HG--
extra : rebase_source : ac406d91c78e5222854b53f245ad2d93428bfc4d
2018-03-14 16:16:55 +01:00
Noemi Erli d2dbc4de71 Backed out changeset 12a46d4d860a (bug 1444327) for frequently failing devtools/client/inspector/fonts/test/browser_fontinspector_copy-URL.js (bug 1446595) a=backout 2018-03-18 00:07:13 +02:00
Nicolas Chevobbe 22c45c6645 Bug 1382581 - Adapt inspector code to the EventEmitter change in devtools/client/framework; r=pbro.
MozReview-Commit-ID: 7BssAmdv2S0

--HG--
extra : rebase_source : 561b2e161ce42ed2785aa496203691aeb8a3e697
2018-03-14 18:15:42 +01:00
Narcis Beleuzu d7db70bc02 Backed out changeset 3ab8cedcdaf0 (bug 1382601) for talos g2 failures on /markup.js
--HG--
extra : rebase_source : debcafd996d5638bde8c3c1bd95305138404f8ef
2018-03-16 23:17:25 +02:00
yulia 254e553c41 Bug 1382601 - update inspector to use new event emitter. r=nchevobbe,pbro
MozReview-Commit-ID: 8hGCpkC1eHz

--HG--
extra : rebase_source : bb5333bf3cf38a8c0d13249477e40fcd668eb71c
2018-03-16 14:27:46 +01:00