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

10007 Коммитов

Автор SHA1 Сообщение Дата
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
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
Julian Descottes 109bb692c0 Bug 1457098 - Update DevTools performance documentation to mention DevTools dashboard;r=ochameau
MozReview-Commit-ID: 6MIqaha3mcn

--HG--
extra : rebase_source : 28b8f2672fb8bf340643ed06990e1507e93d5ae5
2018-04-26 12:39:42 +02: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
yulia bb64c024ae Bug 1450948 - collect actorSpecs in a weakmap. r=ochameau
MozReview-Commit-ID: 7O4edWRb7cF

--HG--
extra : rebase_source : 80421fa98d9f988cf0b73508a811b41568012465
2018-04-25 14:46:44 +02:00
yulia 318a381a6e Bug 1450948 - Convert ChromeActor to protocol.js r=ochameau
MozReview-Commit-ID: 1pwYUXGiEdT
* fix types in tab.js

MozReview-Commit-ID: 2PAU8IeEKDV

--HG--
extra : rebase_source : 4003f1c84108aed4f37bca2d3c8cfb32d5ac40e9
2018-04-24 15:30:38 +02:00
Alexandre Poirot bcd0977534 Bug 1456907 - Report correct file name of modules requiring modules with a wrong path. r=jryans
MozReview-Commit-ID: E8UuQ06eMJn

--HG--
extra : rebase_source : d457594735fa8c9d802eee7d14384f3868049d6a
2018-04-25 09:17:17 -07: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
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
Csoregi Natalia aa73cfd14b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-28 00:55:43 +03:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03: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
Razvan Caliman a49dc964fe Bug 1450685 - Ensure correct cursor is shown when rotating a polygon. r=pbro
MozReview-Commit-ID: Jv6uD6T0HmP

--HG--
extra : rebase_source : 4eca32c001f69513c4c53eaa2064f423f8bd7ed0
2018-04-12 17:10:05 +02:00
Razvan Caliman 927ffd73a1 Bug 1457206 - Round values for all shape coordinates. r=pbro
MozReview-Commit-ID: H2fspzF5mYz

--HG--
extra : rebase_source : 7ee5ceebaed1d420d1cd0c97a330cac3ebd45664
2018-04-26 18:17:37 +02:00
Nicolas Chevobbe 6ff34d6d14 Bug 1451018 - Convert SymbolActor to protocol.js; r=yulia.
MozReview-Commit-ID: AW2uxeN1tpM

--HG--
extra : rebase_source : 4dc7656798af9ab0227318758a9b4e653ddf77f4
2018-04-18 15:04:03 +02: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
Neil Deakin ef5f9b4b23 Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz
Test changes for removal of PopupBoxObject and popup.xml methods, some reflow tests now have different stacks now that they are not going through popup.xml binding methods, test_popupanchor.xul changes due to need to wait for popuppositioned event after resizing. The old code would just adjust the arrow directly when sizeTo was called, but the new code does this through an asynchronous popuppositioned event. Changes to some places that check for XULElement class.

--HG--
rename : dom/webidl/PopupBoxObject.webidl => dom/webidl/XULPopupElement.webidl
rename : layout/xul/PopupBoxObject.cpp => dom/xul/XULPopupElement.cpp
rename : layout/xul/PopupBoxObject.h => dom/xul/XULPopupElement.h
2018-04-27 11:04:38 -04:00
Xidorn Quan 43eb5c8140 Bug 1456364 part 4 - Convert CSS_PROPERTY_* flags to a typed enum flags. r=emilio
MozReview-Commit-ID: 4mLPe5cH80N
2018-04-26 16:24:33 +02:00
Nicolas Chevobbe 8cfc39fd7f Bug 1419292 - Add a test for object behaviour in the sidebar; r=bgrins.
This adds a test to ensure a message in the console sidebar can
still be expanded after the message it comes from was pruned (the
log limit was hit).

MozReview-Commit-ID: 8CyJlXkgcJL

--HG--
extra : rebase_source : 3cdb1a33dc401e164d7ca766739d3b1858d7f329
2018-04-03 14:09:59 +02:00
Brian Grinstead a4187b44f2 Bug 1456663 - Add a preference to open webconsole.html directly in the Browser Console;r=nchevobbe
This makes it easier to test top-level HTML window support. We continue to use the
XUL wrapper document unless if the pref is changed.

MozReview-Commit-ID: LUunCOCSyMN

--HG--
extra : rebase_source : b2a6d191d95088b95b22d9d0e146172912c9e8da
2018-04-26 10:35:14 -07:00
Nicolas Chevobbe a6cbf51f06 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.

MozReview-Commit-ID: 8R3rhf944Fh

--HG--
extra : rebase_source : c2df76c549ec655608c0c360291bcbb14f609267
2018-04-27 16:29:55 +02:00
Brian Grinstead f7477feb10 Bug 1454445 - Put windowtype/positioning attributes on the webconsole html tag to support opening as top-level;r=mossop
We currently never open this as a top level window (it gets wrapped in browserconsole.xul),
but we are working towards it. Putting these attributes on the <html> tag works similarly to
putting them on the <window> tag in the XUL document and makes it easier to make progress
on missing features.

MozReview-Commit-ID: x6seka5wyf

--HG--
extra : rebase_source : 5942a8b49d0fcba69da468afde343ff8329e7e6d
2018-04-24 16:22:07 -07:00
Alexandre Poirot f44b62f9b3 Bug 1454899 - Prevent request arguments duplication on each request call. r=jryans
MozReview-Commit-ID: GaLM6LsCoWp

--HG--
extra : rebase_source : cd2d5a9cf756ebf29050490145851f1b9afc8aa1
2018-04-05 10:00:02 -07:00