Commit Graph

14688 Commits

Author SHA1 Message Date
Helena Moreno
010dd5db65 Bug 1525613 - Create a preference to enable message grouping in the console. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D21356

--HG--
extra : moz-landing-system : lando
2019-02-27 14:04:46 +00:00
Alexandre Poirot
f439c41435 Bug 1520835 - Removed now-useless front pool from DebuggerClient. r=jdescottes
Depends on D20704

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:38 +00:00
Alexandre Poirot
252ea7758f Bug 1520835 - Remove unused attachTarget methods. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20704

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:52 +00:00
saumya
03d6f7f411 Bug 1470253 - Don't show console.timeStamp() messages. r=nchevobbe
Made changes to messages.js and added a test file.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:42:11 +00:00
Nicolas Chevobbe
0050fc9adc Bug 1529545 - Fix console mocha tests; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D20652

--HG--
rename : devtools/client/webconsole/test/components/new-console-output-wrapper.test.js => devtools/client/webconsole/test/components/webconsole-wrapper.test.js
extra : moz-landing-system : lando
2019-02-27 13:28:43 +00:00
Nicolas Chevobbe
afd0f67662 Bug 1529497 - Remove promise and defer usage in devtools/shared/DevToolsUtils.js; r=yulia.
The `yieldingEach` is moved into the only file that
is using it, in canvas debugger, and is not migrated
as the panel will be removed in a few months.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:28:16 +00:00
Amy Chan
4b3c09df36 Bug 1498565 - Getting Firefox to stop freezing when large file is loaded in Response tab r=Honza
When large files's Response tab in Network Devtools is open, Firefox freezes. This checks for file size & switches from SourceEditor to pre() when the files is too big.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:09:32 +00:00
Nicolas Chevobbe
09acaeaaa2 Bug 1494941 - Add requestLongerTimeout in browser_jsterm_await_helper_dollar_underscore.js; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D20803

--HG--
extra : moz-landing-system : lando
2019-02-27 13:07:08 +00:00
Nicolas Chevobbe
69369fb53b 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-27 10:09:35 +00:00
Nicolas Chevobbe
f21b834258 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-27 10:09:00 +00:00
Nicolas Chevobbe
4d98e3462d 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-27 10:07:12 +00:00
Nicolas Chevobbe
36e515d435 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-27 10:05:51 +00:00
Nicolas Chevobbe
c273e7f9d4 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-27 10:04:53 +00:00
Dorel Luca
cde6aa9ebe Backed out 2 changesets (bug 1335740) for devtools failures. CLOSED TREE
Backed out changeset 1bddabb7bafb (bug 1335740)
Backed out changeset e31483efc331 (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
extra : rebase_source : e6fc9bc5fc3eac450e65d6ff38b672b01a4cbe5d
2019-02-27 12:00:27 +02:00
yulia
be92800480 Bug 1527294 - implement deprecation notice for shader editor, canvas editor, and audio editor; r=pbro
The goal of this deprecation notice is to inform people that these panels are going away. This code should be short lived, only firefox versions 67-68.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 17:08:52 +00:00
yulia
6b47255bce Bug 1530554 - Fix expression evaluation in worker threads; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21226

--HG--
extra : moz-landing-system : lando
2019-02-26 15:58:21 +00:00
Julian Descottes
2f48ae10e8 Bug 1530833 - Use correct document in browser_aboutdebugging_telemetry_runtime_updates.js;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D21271

--HG--
extra : moz-landing-system : lando
2019-02-27 03:24:25 +00:00
Jan-Ivar Bruaroey
5739f01e2d Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-02-27 03:51:14 +00:00
Daisuke Akatsuka
4b869d9db6 Bug 1525533: Stop supporting inspection of addon in Browser Toolbox. r=jdescottes,rpl
Depends on D20786

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

--HG--
extra : moz-landing-system : lando
2019-02-27 01:57:19 +00:00
Daisuke Akatsuka
f1d3bec0f2 Bug 1525533: Debug local addon as well via debugger client. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20786

--HG--
extra : moz-landing-system : lando
2019-02-25 13:52:17 +00:00
Julian Descottes
61a763b33b Bug 1525619 - Update typography for RuntimeInfo r=ladybenko,daisuke
Depends on D20472

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:43:17 +00:00
Julian Descottes
446b55e82e Bug 1525619 - Add Disconnect button as disabled in the RuntimeInfo layout r=daisuke,ladybenko
Depends on D20471

I can drop this changeset if we prefer, but this is how I imagine the disconnect button would fit in the RuntimeInfo.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:46 +00:00
Julian Descottes
310f4e13bc Bug 1525619 - Update layout for RuntimeInfo to display device name on separate line;r=ladybenko,daisuke
Depends on D20464

For this change I moved all the layout logic for the RuntimeInfo h1 to RuntimeInfo.css
I don't know if we prefer to have layout info in base.css or in specialized components, but the RuntimeInfo header has a very specific structure.
I can't see how this would be worth having in base.css. And it is the only consumer for main-heading, so I removed all layout rules from base.css for main-heading.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:44 +00:00
Julian Descottes
16b6c78cce Bug 1525619 - Separate runtime action buttons from addon debug checkbox r=daisuke
Depends on D20439

I want to separate the addon checkbox and the load temporary addon for 2 reasons:
- we will get remove the checkbox after Bug 1525533
- we may support temporary addons for remote runtimes later

The "load temporary addon" might also move inside the Temporary Extensions category.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:37:07 +00:00
Gurzau Raul
7f1653d151 Backed out 5 changesets (bug 1463128) for failing at webconsole/autocomplete.js on a CLOSED TREE.
Backed out changeset 31a85e2ed53e (bug 1463128)
Backed out changeset fcd93f64c934 (bug 1463128)
Backed out changeset ae460b3a30c2 (bug 1463128)
Backed out changeset 97a1eeb8db65 (bug 1463128)
Backed out changeset c504e9730eac (bug 1463128)
2019-02-27 00:19:15 +02:00
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