Commit Graph
957 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book e7bc984487 Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Julian Descottes 7e80aab478 Bug 1365014 - inspector.html add shims for sdk, uuid, lazy requires;r=gl
MozReview-Commit-ID: CtYnDV4V0HU
2017-05-11 23:43:01 +02:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Nazım Can Altınova e03dfabf15 Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Sebastian Hengst 681d92fccd Backed out changeset 19f0b1e8f287 (bug 1358710) for failing reftest aja-linear-2.html on OS X with e10s. r=backout 2017-05-15 00:18:47 +02:00
Nazım Can Altınova 253dbdec6e Bug 1358710 - Unprefix -moz-linear-gradient / -moz-radial-gradient in unit tests r=dholbert
MozReview-Commit-ID: J2Tn8GKfKIN
2017-04-24 15:54:51 +03:00
Joel Maher 9acac8d873 Bug 1319807 - Move Linux64 mochitest-devtools to Ubuntu 16.04. r=gbrown
MozReview-Commit-ID: KiJgV8sKiLN
2017-05-12 16:19:41 -04:00
Wes Kocher f0c747f144 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ADbja7mAY4s
2017-05-11 17:41:11 -07:00
Wes Kocher cc93c3ff89 Merge inbound to m-c a=merge
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Gabriel Luong 27e4071d4c Bug 1335768 - Set debugger/new/panel.js and netmonitor/panel.js to be ignored during the webpack module parse. r=jdescottes 2017-05-11 16:36:16 -04:00
Mark Banner 44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst c8bd0b3620 Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Patrick Brosset 1c539e3ebc Bug 1359759 - 3 - Faster debounce for grid highlighting; r=gl
Now that we are not re-rendering the grid outline all the time, it
seems safe to change the throttling mechanism of the cell highlighting.
Instead, we use debouncing now, so that rapid movements won't lead to
useless highlighting. The cell will get highlighted only if the user
settles on a cell in the outline.
Also, we can make the timeout much shorter so that only really rapid
movements are ignored, and the rest leads to cell highlighting, resulting
in a smoother UX.

MozReview-Commit-ID: 5WxAQRaLJkC
2017-04-26 10:09:28 +02:00
Patrick Brosset e72105f5d4 Bug 1359759 - 2 - Clear React warnings in GridOutline and prevent re-renders; r=gl
Made the GridOutline component work with only 1 grid at a time.
It already did, but in a not so obvious way.

Removed the setState that happened during the render call to avoid
React warnings.

Cleaned up various data attribute to use the dataset property instead.

Removed the mouseover/out that controled the background color of the
highlighted cells. This now happens in CSS :hover, using currentColor.

Avoided React warnings related to missing "key" props.

Made changes to grid-inspector to avoid loops of re-renders when the
highlighter would highlight a cell on hover.
The component would wait for highlighter's events to dispatch store
actions. Instead, we dispatch them first, then when the events come, we
check if things have really changed! This way, the events will still have
effect if they come from the rule-view for instance, but not if they
come from the grid outline itself.

MozReview-Commit-ID: 6LK8B1P8iMU
2017-05-10 16:07:12 +02:00
Patrick Brosset 070662c1c2 Bug 1359759 - 1 - Move grid outline below grid details to avoid UI jumps; r=gl
MozReview-Commit-ID: LeUAb6YWVWB
2017-04-25 18:38:02 +02:00
Gabriel Luong 1ae28ecba0 Bug 1335768 - Remove the Heritage.extend dependency in the markup view. r=jdescottes 2017-05-11 13:47:01 -04:00
Micah Tigley 07de462ba2 Bug 1332085 - Add Color Name Field to Color Widget. r=gl
MozReview-Commit-ID: AYFulQcvBwv
2017-05-08 20:31:37 -06:00
Patrick Brosset 90b69f15a0 Bug 1358479 - Check if a grid fragment is valid before highlighting it; r=jdescottes
Grid fragments returned by the chrome-only el.getGridFragments() API
may sometimes in fact be empty. When they are, the returned object still
looks like a fragment, but has either no rows or no columns.
So this commit simply adds a quick check on this in the css grid highlighter
before attempting to highlight a grid fragment.

MozReview-Commit-ID: GjsGu9hpU5G
2017-04-25 14:16:57 +02:00
Patrick Brosset d645d6fa58 Bug 1352776 - Make ReadOnlyEditor in the inspector also tabbable like other editors; r=jdescottes
MozReview-Commit-ID: 2gfD9QdNC8B
2017-04-25 14:49:42 +02:00
Patrick Brosset 09bac40d91 Bug 1355267 - Polish the properties list and remove the position info at the top; r=gl
MozReview-Commit-ID: CoT9fO2w8Tb
2017-04-24 18:42:06 +02:00
Florian Queze 6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Emilio Cobos Álvarez eca214dbd7 Bug 1355351: Look for the frame for ::before and ::after pseudos. r=heycam
MozReview-Commit-ID: 7Hm2IGsl323
2017-04-16 22:59:29 +02:00
nchevobbe d8840a78b0 Bug 1358103 - Remove createFactory call on Reps; r=jdescottes
The new Reps bundle from Bug 1357341 is all about functions now,
so we should remove all unnecessary `createFactory` calls
we used to do when creating Reps.

MozReview-Commit-ID: 4KvCThhwphv
2017-04-21 08:50:24 +02:00
Michael Ratcliffe d1ec44834b Bug 1352115 - Add scalars for toolbareyedropper, copyuniquecssselector and copyfullcssselector r=bsmedberg,pbro
MozReview-Commit-ID: CeqtJ22GM6M
2017-04-19 13:04:12 +01:00
Carsten "Tomcat" Book 5c743100d6 merge mozilla-inbound to mozilla-central a=merge 2017-04-19 10:32:48 +02:00
Wes Kocher f4bc6586d8 Merge m-c to inbound, a=merge 2017-04-18 14:38:53 -07:00
Stanford Lockhart ee4b2ab911 Bug 1349691: Polish the grid inspector and layout tab. r=jdescottes
MozReview-Commit-ID: DPYqfcDRKcs
2017-03-29 17:31:46 -03:00
Patrick Brosset bb1f37bc46 Bug 1356873 - Insert inline text nodes between open and close tags; r=gl
MozReview-Commit-ID: 9bWm0EP7Wrp
2017-04-16 18:11:14 +02:00
Julian Descottes 558fa10d31 Bug 1357340 - grid inspector: add isConnected when creating node grips from node fronts;r=gl
MozReview-Commit-ID: 3OUrS2OvqFs
2017-04-18 11:32:17 +02:00
Alexandre Poirot 0b8aff48d5 Bug 1351266 - Test preview and font tooltips by faking mouse events. r=jdescottes
MozReview-Commit-ID: LdaTXmo9Eb6
2017-03-28 15:51:08 +02:00
Sebastian Hengst c609a620b6 merge mozilla-central to autoland. r=merge a=merge 2017-04-14 17:22:00 +02:00
Wes Kocher 0fb3243c27 Merge m-c to inbound, a=merge 2017-04-13 17:33:39 -07:00
Gabriel Luong dc8ea4459f Bug 1343167 - Add navigation for the box model's position, padding, border, margin and content layout. r=jdescottes 2017-04-06 11:24:38 -04:00
Julian Descottes e3ca23cf09 Bug 1355886 - fix regression when undoing delete node next to a whitespace sibling;r=pbro
MozReview-Commit-ID: GDYzsbCiQcI
2017-04-12 18:59:28 +02:00
Patrick Brosset f5d60234ab Bug 1355064 - Build the markup-view DOM manually rather than with templater; r=jdescottes
MozReview-Commit-ID: LbULOa7UGq2
2017-04-10 14:55:58 +02:00
Phil Ringnalda c483a4a456 Backed out changeset 94720e6beec3 (bug 1343167) for still failing browser_inspector_textbox-menu.js too often
CLOSED TREE
2017-04-11 19:20:32 -07:00
Micah Tigley e34c8d53a1 Bug 1347336 - Display grid line name and position in Grid Highlighter. r=gl
MozReview-Commit-ID: EbUKzd5zqaw
2017-04-11 13:31:22 -06:00
Gabriel Luong 9ff7e33162 Bug 1343167 - Add navigation for the box model's position, padding, border, margin and content layout. r=jdescottes 2017-04-06 11:24:38 -04:00
Julian Descottes de2fed25f3 Bug 1345529 - fix inspector DocumentWaler children() method;r=pbro
The inspector's DocumentWalker had several issues when trying to retrieve
children for a given node, especially if the starting node was filtered
out by the filter function of the walker.

If the starting node was provided by options.center or options.start
and if this starting node was filtered out by the walker's filter
then the walker would fallback to the first valid parent of this node.

eg with
parent1 > parent2 > [valid-node, invalid-node, valid-node]

When asking for the children of parent2, if the walker started on
"invalid-node", then the walker would instead use parent2 and in turn
we would retrieve the children of parent 1

To fix that we can either tell the walker wether it should fallback to a
sibling of the starting node or to a parent, or make sure that the nodes
provided to the walker are valid.

A second issue was with the utility methods _readForward and _readBackward.
They both use the next/previousSibling() methods of a walker in order to
collect all the valid siblings of the walker's current node. But they were
always including the current node of the walker in their return array. And
there is no guarantee that the walker's currentNode is actually valid for it's
filter.

eg with a walker containing [invalid-node-1, invalid-node-2, valid-node].
Let's say the walker is currently on valid-node and we call previousSibling
The walker will do 3 steps:
- this.walker.previousSibling() > returns invalid-node-2, fails filtering
- this.walker.previousSibling() > returns invalid-node-1, fails filtering
- this.walker.previousSibling() > returns null, stop looping and return null

But at this stage the internal walker still points to the last visited node
(invalid-node-1). So if _readForward/Backward blindly add the current node
of the walker, we might be returning invalid nodes.

MozReview-Commit-ID: 72Be7DP5ky6
2017-04-06 23:17:03 +02:00
Phil Ringnalda 667614e01d Backed out changeset fda9bea59c6f (bug 1345529) for timeouts in browser_markup_mutation_01.js 2017-04-10 08:18:03 -07:00
Julian Descottes d0cbbccb43 Bug 1345529 - fix inspector DocumentWaler children() method;r=pbro
The inspector's DocumentWalker had several issues when trying to retrieve
children for a given node, especially if the starting node was filtered
out by the filter function of the walker.

If the starting node was provided by options.center or options.start
and if this starting node was filtered out by the walker's filter
then the walker would fallback to the first valid parent of this node.

eg with
parent1 > parent2 > [valid-node, invalid-node, valid-node]

When asking for the children of parent2, if the walker started on
"invalid-node", then the walker would instead use parent2 and in turn
we would retrieve the children of parent 1

To fix that we can either tell the walker wether it should fallback to a
sibling of the starting node or to a parent, or make sure that the nodes
provided to the walker are valid.

A second issue was with the utility methods _readForward and _readBackward.
They both use the next/previousSibling() methods of a walker in order to
collect all the valid siblings of the walker's current node. But they were
always including the current node of the walker in their return array. And
there is no guarantee that the walker's currentNode is actually valid for it's
filter.

eg with a walker containing [invalid-node-1, invalid-node-2, valid-node].
Let's say the walker is currently on valid-node and we call previousSibling
The walker will do 3 steps:
- this.walker.previousSibling() > returns invalid-node-2, fails filtering
- this.walker.previousSibling() > returns invalid-node-1, fails filtering
- this.walker.previousSibling() > returns null, stop looping and return null

But at this stage the internal walker still points to the last visited node
(invalid-node-1). So if _readForward/Backward blindly add the current node
of the walker, we might be returning invalid nodes.

MozReview-Commit-ID: 72Be7DP5ky6
2017-04-06 23:17:03 +02:00
Sebastian Hengst 167df2d0a0 Bug 1352801 - Disable MDN tooltip feature in rule inspector. r=gl
MozReview-Commit-ID: 6QOi9yqKcVH
2017-04-09 21:53:18 +02:00
Sebastian Hengst 97aa38e1ee Backed out changeset f74ec3b3a49a (bug 1352801) for eslint failure. r=backout 2017-04-09 22:33:34 +02:00
Sebastian Hengst 48d58dafbd Bug 1352801 - Disable MDN tooltip feature in rule inspector. r=gl
MozReview-Commit-ID: 6QOi9yqKcVH
2017-04-04 11:12:26 +02:00
Gabriel Luong fdf98b4cf2 Bug 1350046 - Fix react-related errors in the layout panel. r=jdescottes 2017-04-07 13:11:33 -04:00
Phil Ringnalda fa2493e3b6 Backed out 2 changesets (bug 1343167) for mass failures in browser_inspector_textbox-menu.js
Backed out changeset 6aa495cd9908 (bug 1343167)
Backed out changeset 98d4fa0f8bf8 (bug 1343167)
2017-04-06 21:01:43 -07:00
Wes Kocher c48a5e31ea Merge inbound to central, a=merge 2017-04-06 15:01:34 -07:00
Gabriel Luong 43872cab17 Bug 1343167 - Fix eslint errors in BoxModelMain.js. r=me 2017-04-06 12:08:35 -04:00