Commit Graph

10048 Commits

Author SHA1 Message Date
Julian Descottes
f8ca87b8ea Bug 1458591 - remove unused toolbar propType;r=jryans
MozReview-Commit-ID: 8e85Fw4PLNQ

--HG--
extra : rebase_source : 6ac5b3bb22cf314f00603c43a00b01c4e9fd7f63
2018-05-02 20:52:41 +02:00
Julian Descottes
36063dcb4f Bug 1458591 - Use most recent chrome window for DevTools link helper;r=jryans
MozReview-Commit-ID: 8n5tT8qbAiU

--HG--
extra : rebase_source : 9efd2d2fd906856f588e6b7bc357b320e126b264
2018-05-02 20:23:53 +02:00
Brian Grinstead
ee4b5de796 Bug 1457278 - Show the accessibility tool in the default tool set in the Browser Toolbox;r=pbro
This is a new tool that will be better found if it is in the default set.

MozReview-Commit-ID: 5Q9ypEU1JzZ

--HG--
extra : rebase_source : 7253b818b7c69b5f05c60f8fd4ef6900b48ce0ca
2018-04-30 09:22:17 -07:00
Brian Grinstead
728088c505 Bug 1457278 - Remove the performance tool from the default tool set in the Browser Toolbox;r=pbro
The performance tool for browser chrome has been replaced by Gecko Profiler and perf-html,
so declutter the toolbar by removing it by default.

MozReview-Commit-ID: 88yFNLnZPXJ

--HG--
extra : rebase_source : 8187412b352e32bf34e40cf6dad7e1cf96bfd1fb
2018-04-30 09:22:14 -07:00
Brian Grinstead
92be1cbf7b Bug 1457278 - Stop putting scratchpad in the default tool set in the Browser Toolbox;r=pbro
We currently overflow the toolbar menu in a clean profile in the Browser Toolbox.
Scratchpad can be accessed from the parent process by opening the Scratchpad window
and targeting chrome, so this patch removes it from the default set.

MozReview-Commit-ID: 6esMvDCt6Um

--HG--
extra : rebase_source : 7b53b6a69c4c7f97b37fef12e5dcd15bfd28cd04
2018-04-30 09:22:11 -07:00
Cosmin Sabou
a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Cosmin Sabou
ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03:00
Alexandre Poirot
2ec45e7e5b Bug 1458350 - Import ChromeUtils explicitely to prevent exception when running browser_telemetry_button_eyedropper.js. r=miker
MozReview-Commit-ID: GF53TCYFK5D

--HG--
extra : rebase_source : 65dd6271306303a3f856f916dba822df18d1b00a
2018-05-02 05:10:09 -07:00
Cosmin Sabou
435ba6ef00 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
2018-05-02 12:27:59 +03:00
Andreea Pavel
9eaa155d19 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-05-01 13:16:16 +03:00
Andreea Pavel
7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
Jan Odvarko
75e5f8c584 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: Ad0ABzf0YuY

--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
extra : rebase_source : 10aa7eacd8cd8ebdf01e650bc3ccf0c9bb3d586b
2018-05-01 11:07:18 +02:00
Ciure Andrei
34f9738fa7 Backed out changeset daac5f4217b6 (bug 1349559) for failing devtools/client/responsive.html/test/unit/test_change_network_throttling.js CLOSED TREE
--HG--
rename : devtools/client/shared/components/throttling/actions.js => devtools/client/responsive.html/actions/network-throttling.js
rename : devtools/client/shared/components/throttling/NetworkThrottlingSelector.js => devtools/client/responsive.html/components/NetworkThrottlingSelector.js
rename : devtools/client/shared/components/throttling/reducer.js => devtools/client/responsive.html/reducers/network-throttling.js
rename : devtools/client/shared/components/throttling/profiles.js => devtools/client/shared/network-throttling-profiles.js
2018-05-01 09:58:59 +03:00
Bogdan Tara
55af40da2e Backed out 4 changesets (bug 1456680) for failing dt at devtools/client/inspector/grids/test/browser_grids_grid-outline-highlight-area.js CLOSED TREE
Backed out changeset 232bed10f4d8 (bug 1456680)
Backed out changeset cfa4b6d2be06 (bug 1456680)
Backed out changeset aef2d7d27ff1 (bug 1456680)
Backed out changeset 80f9a47393ed (bug 1456680)
2018-05-01 09:31:16 +03:00
Jan Odvarko
368596c629 Bug 1349559 - Introduce UI for network throttling in the Net panel; r=jryans
MozReview-Commit-ID: 8CvBHckNSpZ

--HG--
rename : devtools/client/responsive.html/components/NetworkThrottlingSelector.js => devtools/client/shared/components/throttling/NetworkThrottlingSelector.js
rename : devtools/client/responsive.html/actions/network-throttling.js => devtools/client/shared/components/throttling/actions.js
rename : devtools/client/shared/network-throttling-profiles.js => devtools/client/shared/components/throttling/profiles.js
rename : devtools/client/responsive.html/reducers/network-throttling.js => devtools/client/shared/components/throttling/reducer.js
extra : rebase_source : 278caad37ffc3a5c37ce7d6c968457f588ef4370
2018-05-01 07:42:52 +02:00
Gabriel Luong
8de1d457b7 Bug 1456680 - Part 6: Refactor getting the grid highlighter settings logic into HighlightersOverlay. r=pbro
- Refactor the logic for getting the grid highlighter settings into HighlightersOverlay.js
- Refactor the grid area and cell highlight into a single function in grid-inspector.js
- Change the order of the parameters for onHighlighterChange in grid-inspector.js
- Get the last highlighted state from the Redux store instead of storing them in a variable
2018-04-30 14:38:02 -04:00
Gabriel Luong
60f57af35a Bug 1456680 - Part 5: Remove unused onShowGridLineNamesHighlight method. r=pbro 2018-04-30 14:35:43 -04:00
Gabriel Luong
af33af7c5d Bug 1456680 - Part 2: Format markup.js; r=pbro 2018-04-30 14:33:57 -04:00
Gabriel Luong
6441460e7d Bug 1456680 - Part 1: Store the grid highlighter setting in HighlightersOverlay. r=pbro
Extract loading the grid highlighter setting into HighlightersOverlay. This
allows the grid highlighter toggle in the rule view to also show the grid
highlighter with the currently set highlight settings if the grid inspector
has not been initiated yet.
2018-04-30 14:33:48 -04:00
Jason Laster
f122eb780d Bug 1457954 - Update Debugger Frontend v45.1. r=jdescottes
MozReview-Commit-ID: 2pJD6SVNCdZ
2018-04-30 20:02:24 -04:00
Julian Descottes
cbcb31d0c1 Bug 1450073 - Add integration tests for the application panel;r=ladybenko,nchevobbe
MozReview-Commit-ID: 5rkFr7Fvshz

--HG--
extra : rebase_source : f5ef3aeb11cb35ed868ea1e5797f3ab1a5d296c6
2018-04-16 23:22:16 +02:00
Julian Descottes
4e050f75ee Bug 1450073 - Update listAllWorkers try/catch to be resilient if listWorkers failed;r=ochameau
The issue with the previous approach is that calling listWorkers on other processes
can fail leading us to return an empty result set, while we could still return the
information coming from the main process workers.

MozReview-Commit-ID: 8KBpGQH3qYH

--HG--
extra : rebase_source : cb4e8dd6c443b7c9ae9be24f06f76e25e0f43e1a
2018-04-27 21:41:10 +02:00
Mark Banner
d19d88da30 Bug 1457835 - Enable ESLint for testing/mochitest (manual changes). r=jmaher
MozReview-Commit-ID: BoGnB1aQxm8

--HG--
extra : rebase_source : 3014c44fb75c24616da5ca35b4e0addaf9982d9e
2018-04-30 11:03:44 +01:00
Razvan Caliman
b1dd705200 Bug 1451264 - Refactor shape editor to reuse render code for shape update and shape transform. r=pbro
MozReview-Commit-ID: GfURyGeJ17a

--HG--
extra : rebase_source : 4709583e614006c895ceed28b430db4639e2d9dc
2018-04-27 18:07:29 +02:00
Oriol Brufau
d98c7c3a6b Bug 1457513 - Let JSON Viewer display unmodified headers r=Honza
MozReview-Commit-ID: R54uNEefvw

--HG--
extra : rebase_source : 98f2feff9054702998eb6b4c1325fb514bdeaa45
2018-04-27 19:58:25 +02:00
Razvan Caliman
c4c977cedd Bug 1457838 - Shape editor: account for scrollbars when dragging markers to the edges of the viewport. r=pbro
MozReview-Commit-ID: HsoLfpxZWrh

--HG--
extra : rebase_source : 488df8cfcfdf82ffe76dc566e99030bc16288a89
2018-04-27 15:22:00 +02:00
Mark Banner
f7f93b63da Bug 1456755 - Enable ESLint rule no-undef for devtools/{client/scratchpad/,shared/tests/unit}. r=jdescottes
MozReview-Commit-ID: 1GdQdf1y0gc

--HG--
extra : rebase_source : ce83f4ebc4dd66202651b061bcdaef7e9ca360ba
2018-04-24 21:46:01 +01:00
Jan Odvarko
e647224b42 Bug 1456430 - Fix search box focus ring; r=davidwalsh
MozReview-Commit-ID: 8sGrn29wq1s

--HG--
extra : rebase_source : 8f1a4c3c98ef8a2b2ce8038328994c6ad41fc336
2018-04-27 09:34:19 +02:00
Daisuke Akatsuka
4529af68fb Bug 1456849 - Part 2: Add test whether the tool tabs are re-arranged when the visibility of toolbox button were changed. r=jdescottes
MozReview-Commit-ID: 7e3txrVhB9D

--HG--
extra : rebase_source : 72b9ee9992ebdf805b298d26bf1584294606f159
2018-04-29 10:52:14 +09:00
Daisuke Akatsuka
bd4daf957a Bug 1456849 - Part 1: Re-arrange the tool tabs if the visibility of command tools are changed. r=jdescottes
MozReview-Commit-ID: EzUfqRUdK6I

--HG--
extra : rebase_source : c108f7f183c8030d1ef44fa385e415b0209c22ad
2018-04-29 10:52:10 +09:00
Daisuke Akatsuka
b921c5e746 Bug 1453032 - Part 2: Add a test that avoids reselecting the node when the node is already selected. r=gl
MozReview-Commit-ID: L0SbpdEV93K

--HG--
extra : rebase_source : 7e7ed16b75c6b98a7dda651ff66769e449f344f6
2018-04-26 10:23:29 +09:00
Daisuke Akatsuka
b3e3346202 Bug 1453032 - Part 1: Add a check in setSelectedNode to avoid reselecting the nodeFront if it is already selected. r=gl
MozReview-Commit-ID: 3ZafsNbpEPQ

--HG--
extra : rebase_source : 0771911346d262bedb5f8df5a5c036b3cf6d8118
2018-04-26 10:23:23 +09:00
Daisuke Akatsuka
b6cc30f845 Bug 1453010 - Part 4: Add test for locking highlighting. r=gl
This patch depends on following PR.
https://github.com/devtools-html/devtools-core/pull/1028

MozReview-Commit-ID: 5IAWzZ3YTyg

--HG--
extra : rebase_source : 29bc78902015d5eee73743507f04864a978247b9
2018-04-28 10:48:23 +09:00
Daisuke Akatsuka
6c759aec9e Bug 1453010 - Part 3: Select a node by clicking on dom node element in AnimationTargetCompositor. r=gl
This patch depends on following PR.
https://github.com/devtools-html/devtools-core/pull/1028

MozReview-Commit-ID: HNW90OGsX3O

--HG--
extra : rebase_source : f7d72648ddb02bcfad5200672fd18e2cf1a0254a
2018-04-27 15:19:48 +09:00
Daisuke Akatsuka
4479b4112e Bug 1453010 - Part 2: Change the title of inspect icon. r=gl
This patch depends on following PR.
https://github.com/devtools-html/devtools-core/pull/1028

MozReview-Commit-ID: BizVdPBa4IA

--HG--
extra : rebase_source : fead3fd68b6dc34000008d68edf641cd17df0f3d
2018-04-27 15:19:45 +09:00
Daisuke Akatsuka
aca0528d53 Bug 1453010 - Part 1: Lock highlighted element by clicking on the inspect icon in AnimationTarget component. r=gl
MozReview-Commit-ID: 1FzOpsVLiwX

--HG--
extra : rebase_source : 22d48ea3c2d622884eef99444dd905f3c12ff548
2018-04-27 15:19:40 +09:00
Xidorn Quan
5050b395ae Bug 1434130 part 13 - Use Servo code to back GetCSSValuesForProperty. r=emilio,gl
This causes various changes to properties-db.js and also many devtools
tests get updated.

There are two changes affect multiple tests:

* `calc` gets removed from everywhere. We never have it listed in all
  properties which deserve it, and doing so without much false positive
  (i.e. properties don't deserve but get it) can be pretty tricky.
  So they are just removed for now.

* The complete color keyword list is no longer included, and instead,
  "COLOR" is prepended to the list directly. We can probably remove
  the related code which replaces color keywords with "COLOR" from
  devtools. Note that, with stylo enabled, the list is already unrelated
  to what the parsing code uses. We should eventually re-enable the
  disabled test here after we can get the color list from cssparser
  in bug 1456715.

Other changes to properties-db.js seem to be valid, some of them also
affect tests:

* `{-webkit-,}align-{content,items,self}` get `first baseline`, `safe`,
  `unsafe`, and lose `left` and `right`.

* `{-moz-,-webkit-,}{animation,transition}{,-timing-function}` has a
  new `frame` keyword which is a function value in `<timing-function>`.

* `{background,{-webkit-,}mask}-position-x` lose `top` and `bottom`, and
  correspondingly `{background,{-webkit-,}mask}-position-y` lose `left`
  and `right`.  They don't deserve those values.

* `{background,{-webkit-,}mask}{,-size}` get `auto`.

* `border` shorthand loses `<image>` values as well as other keyword
  values for `border-image-*` subproperties, because they aren't parsed
  on the shorthand.

* `{-moz-,}border-image{,-width}` get `auto`.

* `-moz-context-properties` gets `none`.

* `cursor` get some -moz-prefixed values as well as `url`.

* `fill` and `stroke` get the color keywords.

* `{-webkit-,}filter` get the keywords and function names.

* `font` shorthand loses values from many of `font-variant-*` properties
  because they are not parsed there.

* `font-variant` and `font-variant-alternates` get function values of
  the longhand.

* `font-variant-{east-asian,ligatures,numeric}` get `normal`, and
  `font-variant-ligatures` in addition gets `none`.
  `font-{feature,variation}-settings` also get `normal`.

* `grid` and `grid-template-{areas,columns,rows}` get `none`.

* `grid`, `grid-template`, and `grid-template-{columns,rows}` get
  `auto`, `fit-content`, `minmax`, and `repeat`.

* `grid-auto-{columns,rows}` get `auto`, `fit-content` and `minmax`.

* `-moz-image-region` gets `auto` and `rect`.

* `{-webkit-,}justify-content` lose `baseline`, `last baseline`, and
  get `safe` and `unsafe`.

* `{justify,place}-items` get `first baseline`, `legacy`, `safe`,
  `unsafe` and lose `auto`.

* `{justify,place}-self` and `place-content` get `first baseline`,
  `safe`, and `unsafe`.

* `outline{,-style}` get `hidden`.

* `scroll-snap-coordinate` gets `none`, and `scroll-snap-points-{x,y}`
  gets `none` and `repeat`.

* `shape-outside`, `text-emphasis{,-style}` get all the keyword values
  and function names they deserve.

* `stroke-dasharray` gets `none`.

* `text-combine-upright` drops `digits` which we never implemented.

* `{-moz-,-webkit-,}transform` and `-moz-window-transform` get their
  transform function list. `accumulatematrix` and `interpolatematrix`
  aren't real CSS value but they have `#[css(function)]` specified.
  We should probably remove them at some point.

* `will-change` gets `auto`.

* All properties accept `<image>` value now gets -webkit-prefixed
  gradient function names, including
  * `background{,-image}`,
  * `{-moz-,-webkit-,}border-image{,-source}`, and
  * `{-webkit-,}mask{,-image}`.

MozReview-Commit-ID: E7Y0CFUFYgW

--HG--
extra : source : bab732c8c531cfca1bcd233f769c25bb2e373773
2018-04-29 09:03:31 +10:00
Andreea Pavel
443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Kris Maglione
bf4d9f1be5 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt

--HG--
extra : rebase_source : 5fff3d9973a0ea976096339a63ce9ff628b68441
2018-04-23 12:58:34 -07:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Csoregi Natalia
96dbf29680 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-28 00:56:47 +03:00
Csoregi Natalia
12af4303ff Merge inbound to mozilla-central. a=merge 2018-04-28 00:53:15 +03:00
Gabriel Luong
b90a845dd3 Bug 1452503 - Remove closePath call to fix the implicit and explicit lines drawn on the grid highlighter. r=jdescottes 2018-04-27 10:14:46 -04:00
Cosmin Sabou
68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Gerald Squelart
89f75361b3 Bug 1417761 - Remove "layout.css.text-combine-upright.enabled" pref - r=xidorn
Shipped since Firefox 48, other browsers have similar impls, and the related
spec has been in CR since a while ago.
The syntax of this property as implemented should be considered to be pretty
stable, so we can remove this pref.

MozReview-Commit-ID: H7lDsdbUamD

--HG--
extra : rebase_source : fda63805d9dea49a55d57153c841426508a882f6
2018-04-27 11:31:25 +10:00
Daisuke Akatsuka
aadf2e5724 Bug 1455573 - Part 4: Add test for reordering with an extensions. r=jdescottes,rpl
MozReview-Commit-ID: GUX2otL3hSd

--HG--
extra : rebase_source : 24b106e1eba69be9ea829231e7c123d0653bc303
2018-04-27 06:29:05 +09:00
Daisuke Akatsuka
d9864881f2 Bug 1455573 - Part 3: Save the reordering preference when destroying. r=jdescottes
MozReview-Commit-ID: AEmnzVkEs9T

--HG--
extra : rebase_source : 096d8a080215d78d43fadf52ac88a928025150f4
2018-04-27 06:29:05 +09:00
Daisuke Akatsuka
aa105210ee Bug 1455573 - Part 2: Correspond to the extension tool tab. r=jdescottes
MozReview-Commit-ID: 34Qm2CENXiV

--HG--
extra : rebase_source : 17655283507abec9390b187ea08551b3bed81600
2018-04-27 06:29:04 +09: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
shindli
d46ebbf915 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-27 00:45:48 +03:00