Commit Graph
239 Commits
Author SHA1 Message Date
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02: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 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
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
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
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
Alexandre Poirot eb708d4d60 Bug 1320939 - Lazy load all tooltip widgets until each is really used. r=jdescottes
MozReview-Commit-ID: 9P93GocdLm8
2017-01-31 15:31:37 +01:00
Alexandre Poirot 06bea2fcdb Bug 1335419 - Lazy load and instanciate computed view, ruleview and font inspector. r=jdescottes
MozReview-Commit-ID: CtI8w6Ao35u
2017-01-31 16:26:40 +01:00
Matteo Ferretti 4a6c9485d3 Bug 1349275 - refactored moveInfobar function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr
2017-03-28 12:40:22 +02:00
Iris Hsiao fc280a6213 Backed out changeset 448adfbcfda1 (bug 1349275) for eslint failure 2017-03-29 10:29:13 +08:00
Matteo Ferretti 7484fd202f Bug 1349275 - refactored moveInfobar function; r=pbro
- Added `getViewportDimensions`
- Added `getComputedStylePropertyValue` to `CanvasFrameAnonymousContentHelper`
- Refactored totally `moveInfobar` to works with both APZ enabled and new
  positioned absolutely highlighters
- Updated `AutoRefreshHighlighter` for having a `scrollUpdate` method.
- Updated tests

MozReview-Commit-ID: 5m31ZzRzLXr
2017-03-28 12:40:22 +02:00
J. Ryan Stinnett 47d40079e2 Bug 1326100 - Restore notable inline comments in DevTools. r=tromey
MozReview-Commit-ID: 6cLDkoCt0al
2017-03-20 16:22:55 -05:00
Carsten "Tomcat" Book c523d35b9d merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Matteo Ferretti c26f95af3b Bug 1335691 - Removed RectHighlighter, tests, and all reference to them; r=gl
MozReview-Commit-ID: Gn3uxuv7gRU
2017-03-13 21:35:50 +01:00
Matteo Ferretti 428103c1a0 Bug 1255351 - box model highlighter: all the guidelines now are overlap the node; r=gl
This patch is fixing the issue mostly for 1dppx / 1dpi display.
For higher dpi a follow-up bug will be made once bug 1345917 and bug 1151421
are fixed; and it will be part of bug 1187970.

MozReview-Commit-ID: 7XuED9ydGvB
2017-03-10 02:32:09 +01:00
Michael Layzell 0742c44837 Bug 1317322 - Part 1: Activate paste in menus when within <textarea> controls, r=ehsan
MozReview-Commit-ID: 7YD8qtsC3u6
2017-03-06 14:37:39 -05:00
Sebastian Hengst 4614f6261e Backed out changeset b43d8eb6e6c9 (bug 1335691) for build bustage. r=backout on a CLOSED TREE 2017-03-13 18:33:11 +01:00
Matteo Ferretti 9bec5bbb63 Bug 1335691 - Removed RectHighlighter, tests, and all reference to them; r=gl
MozReview-Commit-ID: Gn3uxuv7gRU
2017-03-13 17:49:11 +01:00
Wes Kocher 2bfc778e40 Backed out 3 changesets (bug 1317322)
Backed out changeset ee9b08930b65 (bug 1317322)
Backed out changeset 1eb8e1322979 (bug 1317322)
Backed out changeset 39cba44c517d (bug 1317322)

MozReview-Commit-ID: 3uruqVonhEG
2017-03-01 15:38:02 -08:00
Michael Layzell 98e06d3cfe Bug 1317322 - Part 1: Activate paste in menus when within <textarea> controls, r=ehsan
MozReview-Commit-ID: 7YD8qtsC3u6
2017-03-01 15:20:08 -05:00
Matteo Ferretti d30b7c7a6a Bug 1341580 - DevTools Inspector tooltip get element width/height wrong when browser zoomed; r=gl
- Considered page's zoom when element's dimensions are displayed on the infobar
- Added unit test

MozReview-Commit-ID: 9Mk4ttswpZ2
2017-02-26 16:11:51 +01:00
Julian Descottes 04a8b1ea18 Bug 1336198 - Part 10: Fix race condition in boxmodel tests. r=gl
MozReview-Commit-ID: IDBgbnlMX2c
2017-02-22 20:48:23 +01:00
Gabriel Luong 7b1d35d588 Bug 1336198 - Part 9: Use existing box model tests with the new react/redux box model. r=jdescottes
MozReview-Commit-ID: HrqeP2X35t
2017-02-22 19:26:57 +01:00
Gabriel Luong 08151dafcb Backed out 9 changesets (bug 1336198). r=backout
Backed out changeset fd85a5aafa9f (bug 1336198)
Backed out changeset e1624f6a8087 (bug 1336198)
Backed out changeset a174ae51463a (bug 1336198)
Backed out changeset a7e1c96ccf87 (bug 1336198)
Backed out changeset c0df0213c72b (bug 1336198)
Backed out changeset e7d3c4bfc729 (bug 1336198)
Backed out changeset 3c88ae1e9508 (bug 1336198)
Backed out changeset 0461bc95ee7f (bug 1336198)
Backed out changeset f6710bb42058 (bug 1336198)
2017-02-24 01:12:28 -05:00
Julian Descottes 1e114ac15f Bug 1336198 - part10: fix race condition in boxmodel tests;r=gl
MozReview-Commit-ID: IDBgbnlMX2c
2017-02-22 20:48:23 +01:00
Gabriel Luong bdd771f1bc Bug 1336198 - Part 9: Use existing box model tests with the new react/redux box model. r=jdescottes
MozReview-Commit-ID: HrqeP2X35t
2017-02-22 19:26:57 +01:00
Iris Hsiao 72ec1ea8a3 Backed out 8 changesets (bug 1336198) for devtool failures in browser_boxmodel.js
Backed out changeset 148f39b53d9c (bug 1336198)
Backed out changeset b2d689c41408 (bug 1336198)
Backed out changeset 29efd4e3acf0 (bug 1336198)
Backed out changeset 03b3126da4af (bug 1336198)
Backed out changeset c7101889b2ec (bug 1336198)
Backed out changeset e00c4a1694c4 (bug 1336198)
Backed out changeset eca5d4226787 (bug 1336198)
Backed out changeset 9e507c03b6cd (bug 1336198)
2017-02-20 15:32:18 +08:00
Gabriel Luong 10ae229ccf Bug 1336198 - Part 9: Use existing box model tests with the new react/redux box model. r=jdescottes 2017-02-19 22:52:10 -05:00
djmdev 26d0de42c5 Bug 1231932 - Added copy attribute value context menu to elements in the DOM Inspector; r=gl
Added a new attributes submenu option to copy value of an attribute
to clipboard. Also updated the corresponding test files.
2017-02-16 16:00:41 +05:30
Sebastian Hengst b0e5fe9483 Backed out changeset c316dd475a13 (bug 1336198) 2017-02-16 23:43:46 +01:00
Gabriel Luong 9574a2c7e1 Bug 1336198 - Part 9: Use existing box model tests with the new react/redux box model. r=jdescottes 2017-02-16 16:07:31 -05:00
Wes Kocher 4d1efc8984 Backed out changeset 2fda05fd4c87 (bug 1231932) for clipboard failures in devtools inspector tests a=backout
MozReview-Commit-ID: KUYXEqTyd9P
2017-02-16 09:14:07 -08:00
djmdev 3462d80209 Bug 1231932 - Adds Copy Attribute Value context menu to elements in the DOM Inspector; r=gl
Added a new attributes submenu option to copy value of an attribute
to clipboard. Also, updated the corresponding test files.
2017-02-16 16:00:41 +05:30
Matteo Ferretti fd8cc97d66 Bug 1312103 - Avoid scrolling latency on highlighters given by APZ; r=pbro
- Used `position: absolute` instead of `position: fixed` whenever was possible.
- Updated utility functions and auto-refresh base class to consider the scrolled
  values in root document and scrollable elements.

MozReview-Commit-ID: 6evdOrfj74z
2017-01-02 11:43:37 +01:00
Sébastien Blin 999c7d96b1 Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro 2017-02-03 08:08:00 -05:00
Jonathan Kew 3aca604bfc Bug 1312049 - Switch nsChromeRegistry::GetDirectionForLocale to use uloc_isRightToLeft instead of a list of known-rtl locales, and replace the now-obsolete intl.uidirection.* prefs with a single override intl.uidirection for testing purposes. r=gandalf 2017-02-02 22:12:50 +00:00
Sebastian Hengst 2c9e48f9cd Backed out changeset bb3edf240bb0 (bug 1327675) for eslint failures. r=backout 2017-02-02 00:01:39 +01:00
Sébastien Blin 1d3f38632c Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro 2017-02-01 06:13:00 -05:00
Wes Kocher ca6a7351bf Backed out changeset 85d33b74434a (bug 1327675) for asan dt10 failures in browser_rules_content_02.js a=backout
MozReview-Commit-ID: GxWdtGX5Lor
2017-01-31 10:24:33 -08:00
Sébastien Blin 2e45df1d1d Bug 1327675 - Correctly hightlight nodes for inherited rules. r=pbro
MozReview-Commit-ID: KydZ3vNM6Z6
2017-01-27 07:32:00 +01:00
Gabriel Luong f70a44c2eb Bug 1333561 - Part 5: Replace the inspector and computed view tests with the correct box model selectors. r=me 2017-01-28 17:38:58 -05:00
Florian Quèze 47dde5c17b Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Alexandre Poirot f487633f8f Bug 1326753 - Fix inspect node from browser context menu against elements in iframes. r=pbro
MozReview-Commit-ID: C4dvnISlneS
2017-01-18 22:08:10 +01:00
Patrick Brosset d045689e66 Bug 1323700 - Adding a copy full path option to the inspector menu; r=gl
MozReview-Commit-ID: IvRnek7e7Xq
2017-01-17 14:14:41 +01:00
Geoff Brown 828ad789f9 Bug 1328915 - Skip linux32/debug devtools tests in clipboard and gpu subsuites; r=me 2017-01-16 11:58:13 -07:00
Sebastian Hengst c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen 548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00