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

1567 Коммитов

Автор SHA1 Сообщение Дата
Jason Laster db0ca01e42 Bug 1457517 - Update Debugger Frontend v46. r=jdescottes 2018-05-07 18:30:42 -04:00
Gurzau Raul a27667b2c0 Backed out 2 changesets (bug 1433718) for devtools failures on markup/test/browser_markup_events_react_development_15.4.1_jsx.js
Backed out changeset 19576ace167c (bug 1433718)
Backed out changeset b7aeba47bb1f (bug 1433718)
2018-05-05 10:50:14 +03:00
Gabriel Luong dd29da22c4 Bug 1433718 - Make unit tests pass with the 3 pane inspector on in nightly. r=pbro 2018-05-04 09:38:47 -04:00
Michael Ratcliffe 764c4c8578 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61

--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01:00
Zhang Junzhi 2a3cb6ddb8 Bug 1454910 - Replaces the unicode-url stub with an actual unicode-url shim in the Developer Tools r=nchevobbe
MozReview-Commit-ID: vWJPYgc4uw

--HG--
extra : rebase_source : 7f2c325b9289bd93e0dc4bf361b85a43eb86e6d8
2018-05-03 13:33:47 +08:00
Gabriel Luong 787fcb84ea Bug 1446944 - Provide onboarding tooltip for the 3 pane inspector feature. r=jdescottes, flod 2018-05-03 13:55:54 -04:00
Jan Odvarko 3501c6ba27 Bug 1429296 - Show MDN link of filter properties when hover the filterbox; r=davidwalsh
MozReview-Commit-ID: H3xmQ95DbiF

--HG--
rename : devtools/client/netmonitor/src/assets/styles/MdnLink.css => devtools/client/shared/components/MdnLink.css
rename : devtools/client/netmonitor/src/components/MdnLink.js => devtools/client/shared/components/MdnLink.js
extra : rebase_source : d11cc6da4d27e89710868d81ea2fe8390c576b08
2018-04-30 14:58:26 +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
Cosmin Sabou ce9ff94ffe Merge inbound to mozilla-central. a=merge 2018-05-02 17:58:43 +03: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
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
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
Jason Laster f122eb780d Bug 1457954 - Update Debugger Frontend v45.1. r=jdescottes
MozReview-Commit-ID: 2pJD6SVNCdZ
2018-04-30 20:02:24 -04: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
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
Julian Descottes 633d168bde Bug 1454888 - Autocomplete postLabel overlaps with the scrollbar of the suggestions popup. r=jdescottes
MozReview-Commit-ID: FpfqEvdYg3z
2018-05-01 23:45:03 +02:00
Cosmin Sabou 6b8c87c819 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-27 13:12:22 +03: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
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
Nicolas Chevobbe 819e227c2d Bug 1456061 - Remove lambda chars in front of the frame function name; r=Honza.
This is confusing for some people and does not bring
much value. Let's remove it both in the frame component
and in the Error rep stacktrace.

MozReview-Commit-ID: Jy1jEJG4pRa

--HG--
extra : rebase_source : ee266d2c26be9733d9ec6dbddcb8e61a256bf9c5
2018-04-25 17:30:56 +02:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Brian Grinstead a6f357cd3b Bug 1456616 - Remove suppressFocusScroll from nsXULCommandDispatcher;r=bz
This attribute doesn't do anything.

MozReview-Commit-ID: FnshlyyAms5

--HG--
extra : rebase_source : 75e67479a3306a29b8ea45491984d08ceb4d6907
2018-04-24 13:22:12 -07:00
Michael Ratcliffe b23784ee71 Bug 1441070 - Instrument toolbox panel navigation with event telemetry r=yulia
This is pretty simple... finding the best locations for the probes was the
struggle here.

In order to land these probes before the freeze the test for these events will
be created as part of bug 1456073.

MozReview-Commit-ID: 7hIfbD3wQ1I

--HG--
extra : rebase_source : 990e69e0816742fc306b9313bd113f2d71f00b72
2018-04-19 12:09:28 +01:00
Fred Lin 8b58cf6bdc Bug 1426041 - Fix toolbar layout in Portrait mode; r=davidwalsh
MozReview-Commit-ID: 8yHx0qAmq09

--HG--
extra : rebase_source : 935463d90781d7dbdd9bc9743aa00cc332716c2c
2018-01-04 11:40:27 +08:00
Daisuke Akatsuka 9f38b4533c Bug 1453294: Reduce devtools min-width when docked to side. r=jdescottes
MozReview-Commit-ID: 19NWuivvY1k

--HG--
extra : rebase_source : bb66443ba9f35c04dd58a28d4b6100067fc1a585
2018-04-23 14:39:20 +09:00
Boris Zbarsky 17995a441f Bug 1453869 part 9. Stop creating DOMParser by contract in devtools. r=tromey
There are some extra hoops here because devtools has a lint to prevent Cu.importGlobalProperties, which is the normal way one would import a WebIDL constructor.

MozReview-Commit-ID: 2mdNI6N1z5B
2018-04-20 23:04:40 -04:00
Dorel Luca 65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Nicolas Chevobbe 2a7ab5bc4d Bug 1452566 - Release: devtools-reps 0.23.0 bundle; r=nchevobbe.
Change disabledFocus to focusable as it changed in the ObjectInspector.

MozReview-Commit-ID: CDHotb0d4sL

--HG--
extra : rebase_source : 3390cf6aa1d79ef24f98b74cdece50cae36b937b
2018-04-17 15:16:44 +02:00
Julian Descottes 288735f7e2 Bug 1451211 - Show a colour swatch next to colour values in the CSS variable autocomplete postlabel. r=jdescottes
MozReview-Commit-ID: 7obhsNOBu4N

--HG--
extra : rebase_source : 8edd4725d6b02870c19054e3db16bc5baab8bc19
2018-04-18 21:34:16 +02:00
Boris Zbarsky 0ac1ce2e6b Bug 1452183 part 2. Stop using nsIDOMDocumentFragment in JS. r=mccr8 2018-04-17 21:13:03 -04:00
Kris Maglione 0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm?at=default&fileviewer=file-view-default

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Yura Zenevich b4dc67d73a Bug 1447302 - add telemetry probes for accessibility inspector Developer Tool panel. r=jdescottes
MozReview-Commit-ID: 6tcGHq86goa
2018-04-16 21:17:26 -04:00
Alexandre Poirot 24603597f9 Bug 1453385 - Fix actors trying to transfer functions or xpcom objects. r=jryans
MozReview-Commit-ID: 74l85ePCcrY

--HG--
extra : rebase_source : 5af0d60d6fe436a0b0039e0f0b017f8a39b8b5f9
2018-04-12 14:45:10 -07:00
Michael Ratcliffe d9c4ce23c4 Bug 1453312 - Record event for toolbox close r=yulia
Changes:

1. The change in telemetry.js avoids an issue with overwriting pending properties.
2. The test in telemetry.md has been updated now that we have a working test.
3. Added the actual toolbox.close telemetry event and test.

MozReview-Commit-ID: 9fOCkwCCwDx

--HG--
extra : rebase_source : 55028edf836af62c25ae603675de0b3f5189f43e
2018-04-11 14:18:44 +01:00
Zhang Junzhi 5f2ae38817 Bug 1448553 - Part 6: Adds xpcshell-based unit tests for the common Unicode-URL related functions defined in Part 1 r=nchevobbe
This patch adds some unit tests for the common Unicode-URL related functions
defined in Part 1.

MozReview-Commit-ID: 2juTaanghnN

--HG--
extra : rebase_source : 25449943d2091cbdb9cfaa00024577254ad2e280
2018-04-03 00:46:55 +08:00
Zhang Junzhi 0b67198c71 Bug 1448553 - Part 2: Decodeds Punycode-encoded international domain names and URI-encoded filenames in the Web Console so that they are displayed as human-readable Unicode text. r=nchevobbe
The Punycode-encoded international domain names and URI-encoded filenames are
human-unreadable, so they should be displayed as human-readable Unicode text.
This commit decodes this kind of names in the Web Console.

MozReview-Commit-ID: 8AVLkdaQOh6

--HG--
extra : rebase_source : 947c126f1d0d86efc6bba71447cf54ef486e2fdc
2018-04-02 15:23:22 +08:00
Zhang Junzhi b1bb196167 Bug 1448553 - Part 1: Defines common functions for getting a Unicode URL or a Unicode URL component r=nchevobbe
This patch defines some common functions for getting a Unicode URL or a Unicode
URL component.

These functions are not only intended to be used by future patches for this bug,
but also intended to be the common functions for any future patches which need
to reuse such functionalities.

MozReview-Commit-ID: DZBYoKv9Fmx

--HG--
extra : rebase_source : 4dd684a5c43fa49b3f07fce8bb162ab6f277b6b6
2018-04-02 14:36:13 +08:00
arthur.iakab 691e26b1b6 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-04-13 12:55:46 +03:00
arthur.iakab b9f0fcc3d6 Merge mozilla inbound to mozilla-central a=merge 2018-04-13 12:43:21 +03:00
Jason Laster 18698e7304 Bug 1453708 - devtools-source-map: update to 0.16.0. r=jdescottes
MozReview-Commit-ID: GNZy1fEEjuB
2018-04-12 18:57:26 -04:00
Alexandre Poirot 9b2fdcf8bb Bug 1453712 - Use a preference to set the testing flag. r=jryans
MozReview-Commit-ID: 1cjSQnXtc4h

--HG--
extra : rebase_source : 55c0c9fa81a8dc17b92cba721dcc5912b07d0fab
2018-04-12 09:22:42 -07:00
Margareta Eliza Balazs 1c0306e497 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-12 12:45:41 +03:00
Erica Wright 5a58c5d8bf Bug 1431071 - Grid line names suggestions offered in inspector autocomplete if element is in a grid and rule applies. r=gl, jdescottes
MozReview-Commit-ID: HGINxducS4x
2018-04-04 14:01:19 -04:00
Jason Laster 881644f25f Bug 1453066 - Update Debugger Frontend v34. r=jdescottes 2018-04-11 22:06:24 -04:00
Brian Grinstead 86d5c02846 Bug 1304794 - Stop using the old frontend for remaining non-console mochitests r=nchevobbe
MozReview-Commit-ID: D9azk5jNzpm

--HG--
extra : rebase_source : c361776292202609c408c25533aeab64428c4a47
2018-04-12 09:29:43 -07:00
Nicolas Chevobbe 5cb11e529d Bug 1449165 - devtools-reps: release v0.22.0; r=Honza.
MozReview-Commit-ID: BfLLy2AVYZi

--HG--
extra : rebase_source : b0a46c4a0d948b38898d07bfbcdcaf0fe2c08573
2018-04-04 17:57:35 +02:00