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

8241 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 430a7b0990 Bug 1447235 - Enable the console sidebar in Nightly; r=bgrins.
In Bug 1419292, we make sure there is no issue when releasing
actors for the output messages, so the sidebar is probably
good to go on Nighly in order to get more feedback.
The test for context menu entries in the console was updated
since it now shows the "Open in sidebar" entry.

MozReview-Commit-ID: 8R3rhf944Fh

--HG--
extra : rebase_source : 8fa00b58b43dea52fbbbfffc29c2cfb7960b49d0
2018-04-27 16:29:55 +02:00
Mike Ratcliffe 6e8faf3f57 Bug 1454103 - Correct display of local and sessionStorage in DevTools r=nchevobbe
Take into account node offsets in browser_webconsole_object_inspector_local_session_storage.js.

MozReview-Commit-ID: 73waFejjsF0

--HG--
extra : rebase_source : d34e26c280f777e266ab7f014cfb9b41e07c9a5e
2018-04-14 00:29:59 +01:00
Michael Ratcliffe d01c919943 Bug 1456923 - can't switch to dev-tools add-on that is loaded temporarily r=pbro
MozReview-Commit-ID: EOw2S34zqPa

--HG--
extra : rebase_source : 36b99bb0f70b64b31d9b1c552c5b680a7972abcd
2018-04-30 15:57:39 +01:00
Andreea Pavel 9eaa155d19 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-05-01 13:16:16 +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
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
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
Dorel Luca e80748dd8d Backed out changeset fd07ca1a922f (bug 1447235) for Devtools failures on devtools/client/webconsole/test/mochitest/browser_console_context_menu_entries.js. CLOSED TREE 2018-04-28 10:30:32 +03:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03: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
shindli 1113a5f279 Merge inbound to mozilla-central. a=merge 2018-04-27 00:39:26 +03:00
Jason Laster 4f93d6ceae Bug 1456473 - Update Debugger Frontend v45. r=jdescottes 2018-04-26 17:30:30 -04:00
Michael Ratcliffe 0bba572a12 Bug 1433844 - Storage inspector throws when add item, reload and arrow keys r=pbro
As far as I am aware, we can't create tests to detect whether an error has been thrown... especially if the error has no side affects.

If we really need a test for these simple four fixes you can always insist but I don't think we do.

MozReview-Commit-ID: 7j9N1X4jTHY

--HG--
extra : rebase_source : 95ce1cb4322fad250757db36a57272ccb328897d
2018-04-26 15:56:20 +01:00
Gabriel Luong 63837b4686 Bug 1455641 - Remove unnecessary catch from setSelectedNode calls. r=pbro 2018-04-26 11:28:02 -04:00
Razvan Caliman 5946ba102a Bug 1435370 - Replace shape editor icon. r=pbro
MozReview-Commit-ID: HwDJKAgnnzk

--HG--
extra : rebase_source : 4d39e67fe3e334a56531ce5921a2de31d25b0bc8
2018-04-26 14:26:55 +02:00
Andreea Pavel 35eb788d03 Backed out changeset b5a1430d99b5 (bug 1403530)for failing clipboard on devtools/client/netmonitor/src/har/test/browser_net_har_copy_all_as_har.js on a CLOSED TREE 2018-04-26 14:52:23 +03:00
Razvan Caliman 1c17bec4b8 Bug 1455335 - Extract font name and origin into reusable component. r=gl
- Extract font name and origin (URL + copy URL) into FontMeta component.
- Reuse FontMeta in font overview and font editor.
- Tweak CSS for improved spacing and flex-grow behaviour.

MozReview-Commit-ID: 4W2E48r8Yps

--HG--
extra : rebase_source : 5159468f943cb505fd1ca9aeb50954fbb690af07
2018-04-20 17:52:08 +02:00
Michael Ratcliffe 2d9c74daf9 Bug 1456772 - Fix web console message_count reporting r=yulia
MozReview-Commit-ID: 4DoChJ5AtCG

--HG--
extra : rebase_source : 956f44b42c3146cda36c196ae63decaf0a5ea166
2018-04-25 10:20:30 +01:00
Michael Ratcliffe 11ecac4bb0 Bug 1455275 - Instrument deactivation of RDM and Split Console with event telemetry r=yulia
This bounced because I was trying to access the toolbox after the ui was destroyed, which fails in tests. I will do a try run this time to make sure there are no issues.

MozReview-Commit-ID: 2iHpPLmm9lY

--HG--
extra : rebase_source : 42b0fbbfc26d43c49b699ef447c7650c94bd81ca
2018-04-23 13:50:53 +01:00
Jan Odvarko 5e3f95c227 Bug 1456129 - Extend HAR toolbar with import; r=davidwalsh
MozReview-Commit-ID: 2g5sVon7xpk

--HG--
extra : rebase_source : 8044e25d9af8367c430ad1e0b3ebeaba14993a47
2018-04-26 19:28:10 +02:00
Gabriel Luong d51badc935 Bug 1457440 - Stop translating margin, padding, border in the box-model diagram. r=bgrins 2018-04-27 15:52:34 -04:00
arthur.iakab 9e9c6ca596 Merge mozilla-central to inbound on a CLOSED TREE
--HG--
extra : amend_source : 45e514d60768068dc6f2b59b05059a0b86e4f692
2018-05-01 01:20:42 +03:00
Gabriel Luong 047a8388d4 Bug 1452206 - Tweak spacing and alignment of items in the Inspector Layout panel. r=jdescottes 2018-04-30 11:24:04 -04:00