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

14663 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe e07650bddf Bug 1463128 - Expose setInputValue and getInputValue at hud level; r=Honza.
Now that the JsTerm is a React component, we shouldn't
let external consumers have to get the instance in order
to perform some actions on the console input.
We start with the most used actions, setInputValue and getInputValue,
and might extend that in the future.

Differential Revision: https://phabricator.services.mozilla.com/D20685

--HG--
extra : moz-landing-system : lando
2019-02-26 14:42:13 +00:00
Nicolas Chevobbe d1ea1da3da Bug 1463128 - Add setInputValue/getInputValue helper in console head.js;r=Honza.
This abstracts the most used console input functions,
and might make it easier to refactor things in the
future.

Differential Revision: https://phabricator.services.mozilla.com/D20684

--HG--
extra : moz-landing-system : lando
2019-02-26 14:41:31 +00:00
Nicolas Chevobbe de516a7a0e Bug 1463128 - Make test helpers function more consistent; r=Honza.
This patch make sure that all the helper functions
take the hud as a reference to the webconsole.
This makes them simpler to use as the user does not
have to remember what kind of object it takes.
We also rename some functions to not include the term
JsTerm, but rather console input, to make it easier
to reason about the code.

Differential Revision: https://phabricator.services.mozilla.com/D20683

--HG--
extra : moz-landing-system : lando
2019-02-26 14:40:42 +00:00
Nicolas Chevobbe e17d5340cd Bug 1463128 - Refactor WebConsole and BrowserConsole to ES6 classes; r=bgrins.
Doing this allows us to use native `extends` instead of
the custom one.

Differential Revision: https://phabricator.services.mozilla.com/D20679

--HG--
extra : moz-landing-system : lando
2019-02-26 14:45:00 +00:00
Nicolas Chevobbe 2156f2ea21 Bug 1463128 - Rename WebConsoleUI.owner into WebConsoleUI.hud; r=bgrins.
Renaming this property makes it easier to grasp what
it represents (instead of the vague `owner` term).

Differential Revision: https://phabricator.services.mozilla.com/D20678

--HG--
extra : moz-landing-system : lando
2019-02-26 14:39:03 +00:00
yulia 69d42691df Bug 1529247 - remove unused getPrototypesAndProperties method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20835

--HG--
extra : moz-landing-system : lando
2019-02-26 16:24:49 +00:00
Brindusan Cristian 73b09a782e Backed out changeset c300840573f5 (bug 1528276) for dt failures at browser_target_server_compartment.js. CLOSED TREE
--HG--
extra : histedit_source : b43e057c5f78805a5a09afd84836e537fc726618
2019-02-26 19:45:30 +02:00
shindli c442603050 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-26 18:58:45 +02:00
shindli 2869f9215c Merge inbound to mozilla-central. a=merge 2019-02-26 18:54:03 +02:00
Daisuke Akatsuka 66bda67c38 Bug 1525615: Add 'title' attribute to '<a>' of title of DebugTargetPane. r=jdescottes,ladybenko
Depends on D20296

Differential Revision: https://phabricator.services.mozilla.com/D20765

--HG--
extra : moz-landing-system : lando
2019-02-26 12:44:50 +00:00
Daisuke Akatsuka 73059dbb18 Bug 1525615: Change the style of DebugTargetItem. r=jdescottes,ladybenko
Depends on D20295

Differential Revision: https://phabricator.services.mozilla.com/D20296

--HG--
extra : moz-landing-system : lando
2019-02-26 12:45:20 +00:00
Daisuke Akatsuka bde87ae22f Bug 1525615: Introduce 'card' style. r=jdescottes,ladybenko
Depends on D20295

Differential Revision: https://phabricator.services.mozilla.com/D20640

--HG--
extra : moz-landing-system : lando
2019-02-26 12:42:45 +00:00
Daisuke Akatsuka 609cbc3551 Bug 1525615: Change the style of basic font-size and font-weight. r=jdescottes,ladybenko
Depends on D20294

Differential Revision: https://phabricator.services.mozilla.com/D20295

--HG--
extra : moz-landing-system : lando
2019-02-26 12:45:18 +00:00
Daisuke Akatsuka 07972cfb3c Bug 1525615: Change the style of category title. r=jdescottes,ladybenko
Depends on D20293

Differential Revision: https://phabricator.services.mozilla.com/D20294

--HG--
extra : moz-landing-system : lando
2019-02-26 12:37:22 +00:00
Daisuke Akatsuka 6645524530 Bug 1525615: Change button style. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D20293

--HG--
extra : moz-landing-system : lando
2019-02-26 12:41:34 +00:00
Narcis Beleuzu 144880da5e Backed out 6 changesets (bug 1525615) for build bustages. CLOSED TREE
Backed out changeset c6f3144fb731 (bug 1525615)
Backed out changeset 54455c6ac7ca (bug 1525615)
Backed out changeset 383b66655783 (bug 1525615)
Backed out changeset c5fa70d3ef1e (bug 1525615)
Backed out changeset a84ca43b06f0 (bug 1525615)
Backed out changeset 97ff6454af34 (bug 1525615)
2019-02-26 14:06:16 +02:00
Daisuke Akatsuka ec7479d9d6 Bug 1525615: Add 'title' attribute to '<a>' of title of DebugTargetPane. r=jdescottes,ladybenko
Depends on D20296

Differential Revision: https://phabricator.services.mozilla.com/D20765

--HG--
extra : moz-landing-system : lando
2019-02-26 11:12:56 +00:00
shindli c780ef516c Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-02-26 12:20:22 +02:00
Daisuke Akatsuka dbddac86aa Bug 1525851: Add semi-automated test. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20117

--HG--
extra : moz-landing-system : lando
2019-02-26 05:25:56 +00:00
Andrea Marchesini e5f9055504 Bug 1508996 - Change Response's statusText's default, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D21026

--HG--
extra : moz-landing-system : lando
2019-02-26 03:56:08 +00:00
Razvan Caliman def6b3e0fc Bug 1530341 - (Part 2) Add Copy All Changes button to Changes panel. r=gl
Depends on D21007

Adds a Copy All Changes button to the toolbar of the Changes panel.
When pressed, this builds a stylesheet out of the changes for all sources tracked (stylesheets, element styles, etc)
The output format is the same as the now defunct Bug 1524548 with the added code comment as separator between the sources.

Differential Revision: https://phabricator.services.mozilla.com/D21008

--HG--
extra : moz-landing-system : lando
2019-02-25 22:37:02 +00:00
Razvan Caliman 6babe11480 Bug 1530341 - (Part 1) Remove Copy Changes and Copy All Changes context menu options. r=gl
Remove the Copy All and Copy All Changes context menu options form the Changes panel context menu. As decided by PM & UX, they will be replaced with a single Copy All Changes button in the toolbar (part 2 of this series).

Differential Revision: https://phabricator.services.mozilla.com/D21007

--HG--
extra : moz-landing-system : lando
2019-02-25 22:34:31 +00:00
Razvan Caliman 0a37fab475 Bug 1529606 - Add Copy Rule button to Changes panel. r=pbro
Adds a button that shows up when hovering selectors in the Changes panel.
When clicked, it invokes the same Copy Rule behavior implemented for the context menu: copies the full content of the rule with changes applied.

The added/changed CSS class names use BEM notation. I intend to refactor the Changes panel stylesheet to BEM in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D20808

--HG--
extra : moz-landing-system : lando
2019-02-25 22:20:53 +00:00
Julian Descottes b53f74e7bb Bug 1446450 - Add test to check the display of additional addon install error messages;r=daisuke
Depends on D20650

Differential Revision: https://phabricator.services.mozilla.com/D20651

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/resources/bad-extension/manifest.json => devtools/client/aboutdebugging-new/test/browser/resources/bad-extensions/invalid-json/manifest.json
extra : moz-landing-system : lando
2019-02-26 03:07:50 +00:00
Julian Descottes 1d49158674 Bug 1446450 - Show additional error messages in about:debugging-new;r=daisuke
Depends on D20649

Differential Revision: https://phabricator.services.mozilla.com/D20650

--HG--
extra : moz-landing-system : lando
2019-02-25 13:08:47 +00:00
Julian Descottes 4d09f08e17 Bug 1446450 - Show additional error messages in about:debugging;r=daisuke
Depends on D20648

Differential Revision: https://phabricator.services.mozilla.com/D20649

--HG--
extra : moz-landing-system : lando
2019-02-25 13:08:09 +00:00
Julian Descottes ecf2b4ff49 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

Differential Revision: https://phabricator.services.mozilla.com/D20830

--HG--
extra : moz-landing-system : lando
2019-02-26 16:38:30 +00:00
tanhengyeow 52bdd9d78e Bug 1485416 - Highlight tracker in the Headers side panel. r=Honza
Include highlight tracker in the Headers side panel

Differential Revision: https://phabricator.services.mozilla.com/D20991

--HG--
extra : moz-landing-system : lando
2019-02-26 14:57:11 +00:00
Razvan Caliman e757eeb931 Bug 1530662 - Add hover/active and dark theme colors for buttons in Changes panel. r=pbro
Adds button styles to conform to latest UI designs:
https://mozilla.invisionapp.com/share/VFQC7MQSD9W#/screens

Differential Revision: https://phabricator.services.mozilla.com/D21212

--HG--
extra : moz-landing-system : lando
2019-02-26 14:18:29 +00:00
Nicolas Chevobbe de1788a765 Bug 1529615 - Don't scroll to bottom if there's no need to; r=Honza.
We are trying to scroll to the bottom on componentDidMount and
on message addition, even if the console output does not overflow.
Since scrollToBottom can take a dozen ms (or more), we should
avoid to call it when there's no need to.

Differential Revision: https://phabricator.services.mozilla.com/D20688

--HG--
extra : moz-landing-system : lando
2019-02-26 11:07:11 +00:00
arthur.iakab 01800513e9 Backed out 3 changesets (bug 1530341, bug 1529606) for causing devtools failures on browser_parsable_css.js CLOSED TREE
Backed out changeset 8a760030e793 (bug 1530341)
Backed out changeset 2c74db63f9aa (bug 1530341)
Backed out changeset 96e76fdfd8b2 (bug 1529606)
2019-02-25 21:35:09 +02:00
Jason Laster 24516d5010 Bug 1530415 - Fix recent jest regressions. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21029

--HG--
extra : moz-landing-system : lando
2019-02-25 18:39:17 +00:00
Razvan Caliman 4597f8fe09 Bug 1530341 - (Part 2) Add Copy All Changes button to Changes panel. r=gl
Depends on D20808

Adds a Copy All Changes button to the toolbar of the Changes panel.
When pressed, this builds a stylesheet out of the changes for all sources tracked (stylesheets, element styles, etc)
The output format is the same as the now defunct Bug 1524548 with the added code comment as separator between the sources.

Differential Revision: https://phabricator.services.mozilla.com/D21008

--HG--
extra : moz-landing-system : lando
2019-02-25 17:45:47 +00:00
Razvan Caliman ded1fb2379 Bug 1530341 - (Part 1) Remove Copy Changes and Copy All Changes context menu options. r=gl
Remove the Copy All and Copy All Changes context menu options form the Changes panel context menu. As decided by PM & UX, they will be replaced with a single Copy All Changes button in the toolbar (part 2 of this series).

Differential Revision: https://phabricator.services.mozilla.com/D21007

--HG--
extra : moz-landing-system : lando
2019-02-25 14:47:56 +00:00
Razvan Caliman 8b9ef36b98 Bug 1529606 - Add Copy Rule button to Changes panel. r=pbro
Adds a button that shows up when hovering selectors in the Changes panel.
When clicked, it invokes the same Copy Rule behavior implemented for the context menu: copies the full content of the rule with changes applied.

The added/changed CSS class names use BEM notation. I intend to refactor the Changes panel stylesheet to BEM in a follow-up patch.

Differential Revision: https://phabricator.services.mozilla.com/D20808

--HG--
extra : moz-landing-system : lando
2019-02-25 17:45:40 +00:00
Jason Laster c478849c88 Bug 1530360 - Fix Recent flow regressions (3). r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21017

--HG--
extra : moz-landing-system : lando
2019-02-25 15:42:09 +00:00
Micah Tigley 74d6c448d5 Bug 1493677 - Link box-model values to their source CSS rules. r=gl
This patch allows hovering over box-model values and scrolling to their source CSS rule while pressing down the shift-key,

Differential Revision: https://phabricator.services.mozilla.com/D18772

--HG--
extra : moz-landing-system : lando
2019-02-25 15:14:12 +00:00
Daisuke Akatsuka 13c92c1381 Bug 1525615: Change the style of DebugTargetItem. r=jdescottes,ladybenko
Depends on D20295

Differential Revision: https://phabricator.services.mozilla.com/D20296

--HG--
extra : moz-landing-system : lando
2019-02-22 02:23:57 +00:00
Daisuke Akatsuka 19bbe7d2b2 Bug 1525615: Introduce 'card' style. r=jdescottes,ladybenko
Depends on D20295

Differential Revision: https://phabricator.services.mozilla.com/D20640

--HG--
extra : moz-landing-system : lando
2019-02-26 10:21:29 +00:00
Daisuke Akatsuka 265a582003 Bug 1525615: Change the style of basic font-size and font-weight. r=jdescottes,ladybenko
Depends on D20294

Differential Revision: https://phabricator.services.mozilla.com/D20295

--HG--
extra : moz-landing-system : lando
2019-02-21 19:07:09 +00:00
Daisuke Akatsuka 1c056803eb Bug 1525615: Change the style of category title. r=jdescottes,ladybenko
Depends on D20293

Differential Revision: https://phabricator.services.mozilla.com/D20294

--HG--
extra : moz-landing-system : lando
2019-02-22 01:50:47 +00:00
Daisuke Akatsuka 4d7b18e4a4 Bug 1525615: Change button style. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D20293

--HG--
extra : moz-landing-system : lando
2019-02-21 16:09:13 +00:00
Julian Descottes 7fa9589cd3 Bug 1521511 - Add telemetry for additional runtime actions;r=daisuke,janerik
Depends on D19529
Waiting for product feedback before asking for review from janerik

Differential Revision: https://phabricator.services.mozilla.com/D19686

--HG--
extra : moz-landing-system : lando
2019-02-22 17:12:18 +00:00
Patrick Brosset 06734363b3 Bug 1363990 - New pref to beautify HTML code when copying from the inspector; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D21030

--HG--
extra : moz-landing-system : lando
2019-02-26 09:33:52 +00:00
Razvan Caliman 3febb41272 Bug 1530294 - Add option to skip cache when requesting authored text for CSS rule r=gl
This patch adds a boolean option to skip the cached value of `StyeRuleActor.authoredText` and re-parse the stylesheet for its value.
When changing content of a descendant rule inside an ancestor like @media or @select, the cached `authoredText` value is outdated.
This yields incorrect data when requesting the complete rule authored text, hence the need for a cache-busting option.

In addition to this change, there is a slight refactor to include the generated unique selector for the mock-rule for element inline styles.

Differential Revision: https://phabricator.services.mozilla.com/D21033

--HG--
extra : moz-landing-system : lando
2019-02-26 09:09:01 +00:00
Razvan Caliman 38e6367521 Bug 1512956 - Ensure empty string is considered valid CSS authoredText; r=pbro
When removing all declarations from a rule via the Rule view, the authoredText value ends up as an empty string.
This patch ensures that the fallback cssText is not used in that case because that accidentally restores the whole declaration block when re-parsing the text of the rule.

Differential Revision: https://phabricator.services.mozilla.com/D14753

--HG--
extra : moz-landing-system : lando
2019-02-25 09:49:41 +00:00
Julian Descottes d82f34fe81 Bug 1530291 - Remove references to devtools-filter-icon classname;r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D20984

--HG--
extra : moz-landing-system : lando
2019-02-25 10:25:29 +00:00
Oana Pop Rus 1c320a30c5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-25 12:30:31 +02:00
Martin Koroknay 08eb4a95a7 Bug 1529225 - Remove unused filterBarVisible prop from FilterBar component. r=nchevobbe
Removed the 'filterBarVisible' required prop from the FilterBar component, which is no longer needed after the changes in Bug 1523861.

Differential Revision: https://phabricator.services.mozilla.com/D20948

--HG--
extra : moz-landing-system : lando
2019-02-25 08:30:20 +00:00
Dorel Luca 4a4dcd57fa Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00