Commit Graph

10531 Commits

Author SHA1 Message Date
Patrick Brosset
19fcf133dd Bug 1500019 - Wait for the inline-style rule to be updated before proceeding; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D9368

--HG--
extra : moz-landing-system : lando
2018-10-24 03:55:43 +00:00
Daisuke Akatsuka
4831d220c9 Bug 1498103: Use existing USB runtime to keep current state. r=jdescottes
So far, when USB list was updated, since we replace to all new instances, the
states had not been able to keep. To resolve this, re-use runtimes that retain
in runtimes state.

Depends on D9470

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:07:15 +00:00
Daisuke Akatsuka
0e3970f196 Bug 1498103: Select 'this firefox' page when selected runtime was removed. r=jdescottes
Depends on D9469

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

--HG--
extra : moz-landing-system : lando
2018-10-24 06:21:11 +00:00
Daisuke Akatsuka
7b111c9032 Bug 1498103: Avoid to add debug target listeners for USB runtime. r=jdescottes
When the addon was removed/added, REQUEST_EXTENSIONS_SUCCESS action was fired.
But because current USB runtime does not support extensions debugging, we
avoid to add debug target listener for USB runtime. Likewise, we refer the
state of supporting for workers and tabs.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 11:24:31 +00:00
arthur.iakab
6b80c7eba9 Merge inbound to mozilla-central. a=merge 2018-10-24 01:18:31 +03:00
arthur.iakab
ff965569bd Merge autoland to mozilla-central a=merge 2018-10-24 01:15:18 +03:00
Ciure Andrei
09e4040e94 Merge autoland to mozilla-central. a=merge 2018-10-23 19:48:47 +03:00
Ariel Burone
5221cd7033 Bug 1500787 - Fix RDM input colors across platforms; r=fvsch,gl
Differential Revision: https://phabricator.services.mozilla.com/D9475

--HG--
extra : moz-landing-system : lando
2018-10-23 16:45:42 +00:00
Daisuke Akatsuka
f520571003 Bug 1497447: Rename "connection" to "runtimeDetails". r=jdescottes
Depends on D9068

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:14:06 +00:00
Daisuke Akatsuka
39993dba21 Bug 1497447: Add test for connection prompt preference setting. r=jdescottes
Depends on D9067

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:13:44 +00:00
Daisuke Akatsuka
b124f68dec Bug 1497447: Add toggle feature which enables/disables connection prompt. r=jdescottes
Depends on D9066

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

--HG--
extra : moz-landing-system : lando
2018-10-23 01:12:25 +00:00
Daisuke Akatsuka
49630e594a Bug 1497447: Show a button which reflects the state of "devtools.debugger.prompt-connection" preference of selected runtime. r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D9066

--HG--
extra : moz-landing-system : lando
2018-10-23 13:18:03 +00:00
David Walsh
b9e4308d69 Bug 1500998 - Update debugger frontend v94 r=jdescottes 2018-10-22 16:00:28 -05:00
Michael Ratcliffe
11a5c2ff95 Bug 1498987 - localStorage and sessionStorage display key: key instead of key: value in developer console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9397

--HG--
extra : moz-landing-system : lando
2018-10-23 15:33:29 +00:00
Julian Descottes
305dfd1207 Bug 1499096 - Update tests using ok() to is(), with minor fixes;r=Standard8
Depends on D8741
This changeset updates some calls to ok() that should actually be calls to is()
and that needed tiny fixes to match the expected value.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:21:18 +00:00
Julian Descottes
73e3a16c0d Bug 1499096 - Use ok() with 2 arguments instead of 3 when possible;r=Standard8
Depends on D8740.
This changeset replaces calls to ok with 3 arguments to calls with 2 arguments
in situations where the switch does not have a significant impact on the assert.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:35 +00:00
Julian Descottes
52b85a20e2 Bug 1499096 - Update wrong usage of ok() with todo_is();r=Standard8
Depends on D8739.
This changeset updates calls to ok() that were most likely intended
for is(), but are not working as is.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:13:02 +00:00
Julian Descottes
2fcd6cb020 Bug 1499096 - Update tests using ok() to is();r=Standard8
This changeset updates all the test that were wrongly using ok() and wanted to
use is() AND for which the assert is still passing without any modification
required.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 07:12:23 +00:00
Julian Descottes
eac312a589 Bug 1500936 - Run eslint --fix on devtools/client/inspector for comma-dangle;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9409

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:24 +00:00
Julian Descottes
078990ad01 Bug 1500936 - Remove comma-dangle override from devtools/client/inspector;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9408

--HG--
extra : moz-landing-system : lando
2018-10-23 07:08:22 +00:00
Dorel Luca
3a7cdf3ced Merge mozilla-central to autoland
--HG--
extra : rebase_source : 55b6c62caabc054e51b6794215a76068e8da3bf1
2018-10-23 07:50:37 +03:00
David Walsh
7aef56cc4e Bug 1314057 - Remove old debugger assets. r=jdescottes 2018-10-22 17:19:00 -05:00
Kristin Taylor
789c073d74 Bug 1494789 - Part 3: Use --error-color for --string-color. r=nchevobbe 2018-10-22 21:31:59 -05:00
Kristin Taylor
53911fbff8 Bug 1494789 - Part 2: Change --error-color to --red-20. r=nchevobbe 2018-10-22 21:27:52 -05:00
Kristin Taylor
67a965414d Bug 1494789 - Part 1: Add --red-20 to variables.css. r=nchevobbe 2018-10-22 21:21:32 -05:00
Jan Odvarko
1dd0c173e2 Bug 1477252 - Check whether editor is destroyed before using it; review=nchevobbe r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D9251

--HG--
extra : moz-landing-system : lando
2018-10-19 14:21:23 +00:00
Julian Descottes
bd88dcb677 Bug 1497944 - Show wifi category but with disabled message;r=daisuke
Depends on D9223

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:02:17 +00:00
Julian Descottes
84ef7175f1 Bug 1497944 - Hide wifi section in ConnectPage behind pref;r=daisuke
Depends on D9222 .

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:35:06 +00:00
Julian Descottes
cf9f2f85ba Bug 1497944 - Drop the (Recommended) from WiFi section in Connect page;r=daisuke
WiFi is not even working at the moment, so it probably should
not be tagged as recommended.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 09:33:55 +00:00
Julien Wajsberg
058047f59d Bug 1489745 - reduce overhead of the performance test that also selects the memory r=gregtatum
In this patch we use the previous change to reduce the overhead in the
specific test that fails in ccov builds, by reducing the sample
frequency.

Depends on D8548

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:45 +00:00
Julien Wajsberg
edc9fbc30b Bug 1489745 - Convert the preference sample-frequency-khz to hz r=ochameau,mstange
The int preference profiler.sample-frequency-khz didn't make it possible
to reduce the overhead in tests, because we could have intervals bigger
than 1ms. With this change we can now do it.

Depends on D8547

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:37 +00:00
Julien Wajsberg
3456122309 Bug 1489745 - Reduce the buffer size for all tests r=gregtatum
We reduce the profiler's buffer size for all tests, to reduce the memory
pressure and the overhead. This may fix some OOM intermittent crashes.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 12:09:35 +00:00
Zameer
ef51466c15 Bug 1495971 - fix network resource status code contrastby creating StatusCode.css file containing status code style rules and importing it in webconsole/index.html and netmonitor.css r=nchevobbe
Fixes contrast issue of status code in webconsole by creating and importing StatusCode.css file into webconsole/index.html  which contains the rules for styling the Status Code. Also imports the StatusCode.css file to netmonitor.css since status code styles are removed from RequestList.css.

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

--HG--
extra : moz-landing-system : lando
2018-10-23 14:28:38 +00:00
Julian Descottes
92f43aeec4 Bug 1501622 - For consistency, clear innerHTML in SwatchTooltips;r=pbro
Depends on D9648

Note that this is not strictly necessary since the set* methods are only called when
the Swatch tooltips are built, so they always operate on "new" HTML Tooltips. But
since this is not very self explanatory I think it will be less surprising to be
on the safe side and clear innerHTML in the methods directly.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 13:37:17 +00:00
Julian Descottes
566f6da124 Bug 1501622 - Cleanup CSS variable preview tooltip content when hovering new variable;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9648

--HG--
extra : moz-landing-system : lando
2018-10-24 12:50:42 +00:00
fvsch
53b58056e8 Bug 1490491 - Part 4: replace 2 png icons, remove 2 unused; r=pbro
Depends on D5954

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:47:28 +00:00
fvsch
fb77dea633 Bug 1490491 - Part 3: replace controls.png with SVG icons; r=pbro
Depends on D5953

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:47:08 +00:00
fvsch
cff9a1c615 Bug 1490491 - Part 2: update globe and folder icons to use Photon assets; r=pbro,ntim
Depends on D5952

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

--HG--
extra : moz-landing-system : lando
2018-10-22 14:46:55 +00:00
fvsch
d75783b6f0 Bug 1490491 - Part 1: replace alerticon-warning.png with console alert icon; r=pbro,ntim
Differential Revision: https://phabricator.services.mozilla.com/D5952

--HG--
rename : devtools/client/themes/images/webconsole/alert.svg => devtools/client/themes/images/alert.svg
extra : moz-landing-system : lando
2018-10-22 14:46:42 +00:00
Brad Werth
b190f11a57 Bug 1468754 Part 5: Make ChangesView respond to change events. r=rcaliman
Depends on D9176

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:18:15 +00:00
Brad Werth
8957567558 Bug 1468754 Part 2: Make client-side Inspector, on open, ensure the existence of the ChangesActor. r=pbro
Depends on D4399

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

--HG--
extra : moz-landing-system : lando
2018-10-22 19:17:47 +00:00
Dorel Luca
d58b21f026 Backed out 5 changesets (bug 1468754) for xpcshell and eslint failures. CLOSED TREE
Backed out changeset 67f969f5bdba (bug 1468754)
Backed out changeset 55ba74fa5c95 (bug 1468754)
Backed out changeset 0d44a0523525 (bug 1468754)
Backed out changeset da447a45603e (bug 1468754)
Backed out changeset 71f45c79522e (bug 1468754)
2018-10-22 22:00:49 +03:00
Brad Werth
e1efc1d301 Bug 1468754 Part 5: Make ChangesView respond to change events. r=rcaliman
Depends on D9176

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:01:41 +00:00
Brad Werth
6927652361 Bug 1468754 Part 2: Make client-side Inspector, on open, ensure the existence of the ChangesActor. r=pbro
Depends on D4399

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

--HG--
extra : moz-landing-system : lando
2018-10-22 18:00:42 +00:00
Sebastian Hengst
602fbb8422 merge mozilla-inbound to mozilla-central. a=merge 2018-10-22 20:26:16 +03:00
Eliza Balazs
80ee4c5193 Bug 1498336 - Disable browser_toolbox_rule_view_reload.js on linux and mac for frequent failures. r=jmaher
--HG--
extra : amend_source : 331c65a391f6c1305e7ce48058393518fcd32fb8
2018-10-22 01:22:00 +03:00
Nicolas Chevobbe
b3d5ff5c70 Bug 1498531 - Localize Webconsole WebReplay Jump icon; r=loganfsmyth,Honza.
This patch adds localization for the WebReplay Jump icon, and uses
the same terminology as the one used in the context menu that triggers
the same action.
The Jump button was used in-place of the existing level icons (Error, Warning, …),
and was only displayed when the message was hovered. We now ensure the
level icon is always visible and that we only show the Jump icon when the
message is hovered.
Finally, the button was styled targeting the title attribute in CSS, which
seemed a little brittle. We now use a dedicated class which should
be safer and more future proof.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 05:26:33 +00:00
Brian Hackett
51a16c9e1d Bug 1496881 - Fix test for whether we are paused at a console message.
--HG--
extra : rebase_source : 0bcf0620c744b015c27bf1af44f3918ab2fe2621
2018-10-20 07:59:49 -06:00
Brian Hackett
145128d6ee Bug 1499828 Part 6 - Avoid hiding test graphics under overlay, r=test_only.
--HG--
extra : rebase_source : 04e978aba99c03688d86234a30ec4e15e86f8cdb
2018-10-19 14:50:32 -06:00
Zibi Braniecki
56bbe2cfb3 Bug 1498960 - Update Fluent in Gecko to 0.9. r=stas
Differential Revision: https://phabricator.services.mozilla.com/D8689

--HG--
rename : intl/l10n/MessageContext.jsm => intl/l10n/Fluent.jsm
extra : moz-landing-system : lando
2018-10-20 16:35:50 +00:00
Daniel Varga
4fc7bfa931 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-20 13:10:23 +03:00
Gabriel Luong
455a83357a Bug 1500469 - Don't require /shared/css/properties-db.js in the inspector client. r=mtigley 2018-10-19 17:40:31 -04:00
Sebastian Hengst
9942dc3501 Backed out changeset 5ba65c3ad1ff (Bug 1496400) for failing devtools' browser_parsable_css.js: revert aboutdebugging.css which didn't get reverted during the backout
--HG--
extra : rebase_source : 604691b597c7d442f31a8be4d2f1c2cd22421a2e
2018-10-19 19:45:29 +03:00
Nicolas Chevobbe
3558483427 Bug 1493675 - Send JS keywords from webconsole's autocomplete service; r=julienw.
Since we do now have the list of Javascript keywords, we
import it from webconsole autocomplete service and send
the keywords matching the current expression to the client.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 16:07:22 +00:00
Florens Verschelde
bd9cc96aee Bug 1499987 - Add an active state to toolbox SVG icons; r=gl
- Update 'Pick an element' icon with bigger arrow, background in active state
- Update 'Pick an accessible element' icon with pixel-fitted design, background in active state
- Update 'RDM' icon with background in active state
- Use context-stroke to enable design changes, instead of a different URL, to avoid a visual glitch

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

--HG--
extra : moz-landing-system : lando
2018-10-19 15:31:26 +00:00
Nicolas Chevobbe
9396d88360 Bug 1500475 - Modify browser_jsterm_content_defined_helpers.js to find cause of intermittent; r=bgrins.
The log we currently receive are not really
actionable (we are using ok, so we don't know
what the received value actually is). Switching
to is should give us what the value is when the
test fails, which might help us fix the failure.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 16:12:13 +00:00
Sebastian Hengst
addcac2c93 Backed out changeset 5ba65c3ad1ff (Bug 1496400) for failing devtools' browser_parsable_css.js: add dangling comma to code added back. CLOSED TREE 2018-10-19 18:56:00 +03:00
Sebastian Hengst
1188ceecee Backed out changeset 5ba65c3ad1ff (Bug 1496400) for failing devtools' browser_parsable_css.js: fix eslint failures, part 2. CLOSED TREE 2018-10-19 18:37:39 +03:00
Julien Wajsberg
9c1ba92750 Bug 1480593 - Allow setting a different instance of perf.html for the new performance panel, using a pref r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D8869

--HG--
extra : moz-landing-system : lando
2018-10-18 20:06:57 +00:00
Nicolas Chevobbe
1201c5f8d9 Bug 1500475 - Fix browser_jsterm_content_defined_helpers.js intermittent; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D9360

--HG--
extra : moz-landing-system : lando
2018-10-22 14:23:55 +00:00
Ryan VanderMeulen
f4eb6c4e6d Bug 1496400 - Fix ESLint comma-dangle failures. r=RyanVM on a CLOSED TREE
--HG--
extra : amend_source : 83c3f68adad99d47158b6a28f1894870e9dbba09
2018-10-22 10:20:55 -04:00
Julian Descottes
71fe0484e8 Bug 1500141 - Force computed view in splitconsole test to avoid frequent failures;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9387

--HG--
extra : moz-landing-system : lando
2018-10-22 14:09:49 +00:00
Julian Descottes
8c71045f84 Bug 1499369 - Remove unreferenced event variable in browser_dbg_navigation.js (beta 64 permafail);r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9373

--HG--
extra : moz-landing-system : lando
2018-10-22 13:37:27 +00:00
Belén Albeza
1836b68392 Bug 1496400 - Remove common.css r=jdescottes,daisuke
- Removed common.css
- Re-ordered the loading of stylesheets, so components sheets are loaded _after_ the more generic rules
- Refactored some of our components into more generic ones.

Note that a few styles do not match exactly `common.css` (for instance, buttons' `min-height` and `min-width`), in favor of Photon. This might change later depending on the UX guidance we'll get eventually.

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

--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : moz-landing-system : lando
2018-10-22 13:53:31 +00:00
tanhengyeow
15ecd08ce8 Bug 1340100 - Set 'request cause' according to the original request. r=Honza
Set 'request cause' according to the original request.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 13:48:47 +00:00
Brian Hackett
3461376c17 Bug 1495910 - Add telemetry for record/replay menu items, r=lsmyth,janerik.
--HG--
extra : rebase_source : a9f69f8997f291c7f0efeeb93b316551a159d8bf
2018-10-17 09:07:46 -06:00
Sebastian Hengst
f68ce964e2 Backed out changeset 5ba65c3ad1ff (bug 1496400) for failing devtools' browser_parsable_css.js: fix eslint failures. CLOSED TREE 2018-10-19 18:02:03 +03:00
Sebastian Hengst
3bec943cf1 Backed out changeset 5ba65c3ad1ff (bug 1496400) for failing devtools' browser_parsable_css.js. CLOSED TREE
--HG--
extra : rebase_source : f4fce12617b893898023e65d528aa5d9c9b3e716
2018-10-19 17:17:05 +03:00
Mark Banner
1ffb981b68 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (manual fixes). r=mossop
Depends on D8389

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

--HG--
extra : moz-landing-system : lando
2018-10-19 08:33:17 +00:00
Mark Banner
ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Belén Albeza
779d0bb4d0 Bug 1496400 - Remove common.css r=jdescottes,daisuke
- Removed common.css
- Re-ordered the loading of stylesheets, so components sheets are loaded _after_ the more generic rules
- Refactored some of our components into more generic ones.

Note that a few styles do not match exactly `common.css` (for instance, buttons' `min-height` and `min-width`), in favor of Photon. This might change later depending on the UX guidance we'll get eventually.

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

--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : moz-landing-system : lando
2018-10-19 09:23:22 +00:00
Patrick Brosset
ed01a6a78e Bug 1497178 - Hide the flex outline for 0-sized items; r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D8969

--HG--
extra : moz-landing-system : lando
2018-10-19 10:01:21 +00:00
Alexandre Poirot
2fe147bee7 Bug 1500068 - Avoid opening Add-ons panel when a location hash is passed to select another one. r=jdescottes
Doing this avoid loading the addons panel and doing its related requests,
which may still be pending after closing about:debugging.

MozReview-Commit-ID: LJjaE5YVgXi

Depends on D8867

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

--HG--
extra : moz-landing-system : lando
2018-10-18 12:36:35 +00:00
Alexandre Poirot
11e4486644 Bug 1500070 - Avoid using about:debugging in generic about: page tests. r=jdescottes
Opening about:debugging may lead to pending listAddons requests.
Tests that open about:debugging should be careful to wait for the end
of these requests, which this test doesn't do.

MozReview-Commit-ID: 6YyfdW78kOS

Depends on D8828

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

--HG--
extra : moz-landing-system : lando
2018-10-18 13:40:48 +00:00
Nicolas Chevobbe
5a425e0c05 Bug 1499985 - Fix error in canRewind; r=miker.
hud.owner can be null in some condition, so we
need to guard the access to hud.owner.target.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 08:15:08 +00:00
Nicolas Chevobbe
961f0c1eca Bug 1493837 - Fix intermittent on browser_jsterm_await.js; r=Honza.
The test is failing because the result of the last
evaluation is received before we expect it. Since we
had a 500ms delay between each promise resolution, it
might happen than the time it takes to execute the
command execedes this delay, making our expected message
order wrong.
Increasing the delay between each Promise resolution seems
to resolve the issue, although it makes the test a lot longer too.
This is why a new test was created to only cover the concurrent
await case.

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

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_jsterm_await.js => devtools/client/webconsole/test/mochitest/browser_jsterm_await_concurrent.js
extra : moz-landing-system : lando
2018-10-19 07:06:12 +00:00
Gabriel Luong
df78cb2c49 Bug 1500717 - Parallelize the toolbox loading the inspector's iframe and initializing the inspector. r=pbro 2018-10-22 12:20:58 -04:00
Sebastian Hengst
af56e23259 merge mozilla-central to mozilla-inbound
--HG--
rename : devtools/client/aboutdebugging-new/aboutdebugging.css => devtools/client/aboutdebugging-new/src/base.css
extra : rebase_source : 017f7ca834f9e4ceba4a5a0e392a80f54f1aa54c
2018-10-22 20:37:38 +03:00
Gabriel Luong
a5bf5fa85a Bug 1500689 - Only update the frame button checked state if it is visible. r=mtigley 2018-10-22 13:29:04 -04:00
Coroiu Cristina
79e134e1de Backed out 2 changesets (bug 1500717, bug 1500701) for browser-chrome failures at browser/test-oop-extensions/browser_ext_devtools_inspectedWindow.js on a CLOSED TREE
Backed out changeset 4fbd733460be (bug 1500701)
Backed out changeset 6cd064e0fbd9 (bug 1500717)
2018-10-22 20:19:52 +03:00
David Walsh
7393016268 Bug 1502224 - Update debugger frontend v96 r=jdescottes
Test Plan: https://treeherder.mozilla.org/#/jobs?repo=try&revision=59f88434009d15d88731f658a1f0b177dbf2d008

Tags: #secure-revision

Bug #: 1502224

Differential Revision: https://phabricator.services.mozilla.com/D9936
2018-10-26 13:55:04 -05:00
Gabriel Luong
873662cc39 Bug 1500701 - Lazy load async-storage in manager.js. r=mtigley 2018-10-22 12:21:40 -04:00
Gabriel Luong
0599e746d6 Bug 1500717 - Parallelize the toolbox loading the inspector's iframe and initializing the inspector. r=pbro 2018-10-22 12:20:58 -04:00
Cosmin Sabou
d3c64e672f Merge mozilla-central to autoland. a=merge 2018-10-19 00:57:18 +03:00
Cosmin Sabou
5115d61980 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-19 00:54:29 +03:00
Julian Descottes
8193ff5493 Bug 1499357 - Move inline script out of new aboutdebugging index.html;r=ladybenko
This preparatory work will be necessary to enable CSP for the new about
debugging.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 16:10:35 +00:00
Ciure Andrei
bae4d8bacf Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-18 19:40:31 +03:00
Nicolas Chevobbe
84670f5242 Bug 1499614 - Enable top-level await support on every release channel; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D8955

--HG--
extra : moz-landing-system : lando
2018-10-18 10:10:37 +00:00
Nicolas Chevobbe
ee4dfd3370 Bug 1499070 - Fix timestamp for evaluation result; r=Honza.
When sending a command to the server, a timestamp is
computed before evaluating the string, and is then
sent back to the client in the packet.
However, if top-level await, or somme :commands, the
evaluation takes more time, which means the timestamp
is now innacurate.
For those cases, we update the timestamp before sending
the packet to the client.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 09:41:53 +00:00
Julian Descottes
41b3968ced Bug 1458194 - Add mochitest to track number of bundles loaded when loading inspector;r=ochameau,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8017

--HG--
extra : moz-landing-system : lando
2018-10-17 13:30:09 +00:00
Margareta Eliza Balazs
c41508657f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-18 13:25:55 +03:00
Margareta Eliza Balazs
c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Bogdan Tara
d2c3db4fb0 Backed out changeset 0e8706e5d2ff (bug 1473841) for browser_jsterm_completion_invalid_dot_notation.js failures CLOSED TREE 2018-10-18 10:43:58 +03:00
yulia
0e854c694a Bug 1488379 - guard for errors; r=daisuke
Depends on D7986

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

--HG--
extra : moz-landing-system : lando
2018-10-18 08:54:56 +00:00
Mantaroh Yoshinaga
9982e27fbd Bug 1488721 - Prevent closing the popup menu by clicking the space of tooltip popup menu. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D9059

--HG--
extra : moz-landing-system : lando
2018-10-18 05:48:55 +00:00
Daisuke Akatsuka
4f3b0292c4 Bug 1497099: Use common runtime PropTypes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8795

--HG--
extra : moz-landing-system : lando
2018-10-18 00:48:54 +00:00
Nicolas Chevobbe
4c897a56af Bug 1473841 - Transform property access on a dot-notation invalid name into an element access; r=bgrins.
This patch turns property access that would result in
Syntax error (e.g. `x.data-test`) into element access
(e.g. `x["data-test"]`) when accepting a completion
value in the console input.
In order to do that, we use Reflect to parse  a custom
expression where we try to define the property the user
is going to accept. If this throws, this means we need to
modify the input into an element access.
A test is added to make sure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:55:26 +00:00
Paolo Amadini
3a2f47fd3f Bug 1428869 - Use html:progress in front-end code. r=bgrins,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D9009

--HG--
extra : rebase_source : 0e2d20dc6060a4c0ee278ef05d67668aec12e64f
2018-10-18 15:41:21 +01:00
Patrick Brosset
c7a8a18e88 Bug 1497181 - Display sizing info for text nodes too; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8976

--HG--
extra : moz-landing-system : lando
2018-10-18 17:23:32 +00:00
Luca Greco
c900a958ac Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-18 11:40:02 +00:00
Patrick Brosset
d440e92be8 Bug 1499755 - Select the right inline stylesheet on rule-view source url click; r=gl
The code we had to jump to the style-editor when a rule-view source link is clicked did
not make any distinction between multiple inline stylesheets. If you had many of them,
they would all have the same url (i.e. the url of the document, because they are
inline). And we were matching stylesheets in the style-editor by url, so we would
always select the first inline stylesheet.

This change makes use of the fact that the style-editor's selectStyleSheet function
also accept a StyleSheetFront object. When passing this object, there can be no
confusion, because they're all different.

Now, I'm only doing this for inlin stylesheets because other stylesheets have unique
urls and it's important to preserve the previous logic since source-maps may also be
involved.

I'm taking this opportunity to re-enable browser_rules_style-editor-link.js which had
been disabled a long time ago, and removing a part that just doesn't work anymore at
all apparently.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 15:15:12 +00:00
yulia
635b91ba55 Bug 1499686 - Remove _supportsFrameHighlight; r=ochameau
Depends on D8988

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:10:29 +00:00
yulia
55b14ce44a Bug 1499710 - Remove autohideOnDestroy trait; r=ochameau
Depends on D8987

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:10:59 +00:00
yulia
58c1777795 Bug 1499683 - Remove Highlightable Trait; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8987

--HG--
extra : moz-landing-system : lando
2018-10-18 14:12:00 +00:00
Julian Descottes
26170d2f0d Bug 1488506 - Add mochitest for enable/disable USB debugging in Connect page;r=ladybenko,daisuke
Depends on D8556

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:34:15 +00:00
Julian Descottes
778a22f79d Bug 1488506 - Add button to enable/disable USB debugging in Connect page;r=ladybenko,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D8556

--HG--
extra : moz-landing-system : lando
2018-10-17 08:47:30 +00:00
Alexandre Poirot
358eb27dd0 Bug 1499333 - Rename all "worker client" to "worker target front". r=jdescottes
MozReview-Commit-ID: 30eOjbkYyvg

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:21:02 +00:00
yulia
c5855f6439 Bug 1488379 - Use target.getFront to instantiate animationsFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7986

--HG--
extra : moz-landing-system : lando
2018-10-15 15:54:36 +00:00
Patrick Brosset
8026cdd120 Bug 1497348 - Wait for the inspector to be ready after reload; r=yzen
Depends on D8974

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

--HG--
extra : moz-landing-system : lando
2018-10-18 07:57:02 +00:00
Patrick Brosset
a06696c36a Bug 1497348 - Remove callbacks and use async await in browser_toolbox_window_reload_target.js; r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D8974

--HG--
extra : moz-landing-system : lando
2018-10-18 07:56:14 +00:00
Razvan Caliman
4d87a7742b Bug 1497950 - Ensure CSSRuleView has immediate access to PageStyleFront from inspector; r=gl
The current iteration of the Fonts panel requires an instance of the Rules view
in order to get access to the element's rules.

In 2-pane mode, when the Fonts panel is the default (last used panel), the Rules
view is not yet instantiated. To guard against this, the Fonts panel makes a call
to ensure an instance of the Rules view is created (and with it a CSSRuleView object).

For some reason, the pageStyle wasn't immediately assigned to the CSSRuleView in
the constructor. The constructor signature shows that pageStyle can be passed in as a
param, but this never happens. There's only one usage of `new CSSRuleView()`.
The pageStyle exist on the inspector instance passed in to the CSSRuleView.

This patch ensures that the CSSRuleView makes use of the PageStyleFront instance
from the inspector and removes the unused param from the constructor.

Perhaps it's better for the Fonts panel to manage its own ElementStyle instance to
get access to the element's selected rules. But in the interest of time, since the
merge date is soon, I'd rather have this fix in quikcly now and keep the dependency
to a Rules view instance with the promise to revisit the Fonts panel architecture and
remove this dependency during the Firefox 65 Nightly cycle.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 18:10:01 +00:00
Csoregi Natalia
ad070fb0ff Backed out changeset b062b1682bbd (bug 1495855) for failures on browser_addons_debug_info.js. CLOSED TREE 2018-10-17 19:23:45 +03:00
savvysiddharth
c063aeeee7 Bug 1317076 - Making navigation marker more obvious; r=nchevobbe
Before this patch, in developer console, enabling persist log, message displayed "Navigated to" ..something was not distinguishable from console.log messages. Now specific class for navigation marker is added.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 15:11:28 +00:00
Luca Greco
10ff99f300 Bug 1495855 - Rework the about:debugging webextensions tests to do not use symlink-ed test addons. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8589

--HG--
extra : moz-landing-system : lando
2018-10-15 16:43:05 +00:00
Luca Greco
85c8794fe1 Bug 1393760 - Avoid to fire multiple new-node-front events for undefined nodeFront. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8856

--HG--
extra : moz-landing-system : lando
2018-10-16 17:54:47 +00:00
Patrick Brosset
8bc98179e9 Bug 1499322 - Support pseudo elements in the flexbox inspector; r=rcaliman
On the server, when looking for a flex container for a node, we were bailing
out if the displayType of the node was null. It was null for pseudo-elements.
This value was returned by the displayType getter in the NodeActor class.
Now, the reason for this dates to 4 years ago in bug 1139937 where trying to
get the display style of a pseudo-element was done in a way to failed. So we
just decided to return null at that point. It doesn't fail anymore, we're
able to return, say, "block" if a pseudo-element has a display:block style.
So I've removed the checks that returned null and that fixed the issue here.

The other part of the fix that was need is in the FlexItemActor class on the
server too. This class can be created for a pseudo-element too.
It accesses element.style without checking if that property exists. However it
does not exist for pseudo-elements. So we needed to add a check for that.
It's not a problem to just skip it in this case because pseudo-elements can't
have inline styles.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 14:24:57 +00:00
yulia
c22cefe4e6 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-17 10:36:33 +00:00
Julian Descottes
f5dd787e3e Bug 1494549 - Disable new aboutdebugging tests on Linux 32;r=ladybenko
Depends on D8513

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

--HG--
extra : moz-landing-system : lando
2018-10-17 10:45:49 +00:00
Julian Descottes
2959e3bfe3 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:11:53 +00:00
Julian Descottes
795c6e7708 Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:33 +00:00
Julian Descottes
2abe7cbcce Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 11:10:05 +00:00
yulia
94266886f2 Bug 1499056 - Use target.getFront for screenshot front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D8866

--HG--
extra : moz-landing-system : lando
2018-10-17 10:40:48 +00:00
Margareta Eliza Balazs
0519ad0209 Backed out 3 changesets (bug 1494549) for multiple failures e.g.: devtools/client/aboutdebugging-new/test/browser/browser_aboutdebugging_sidebar_usb_status.js CLOSED TREE
Backed out changeset 5729da1055e8 (bug 1494549)
Backed out changeset 7c62247314d7 (bug 1494549)
Backed out changeset bff7126ddd3f (bug 1494549)
2018-10-17 11:52:14 +03:00
Julian Descottes
1bf1e7cf90 Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:21:11 +00:00
Julian Descottes
53b7c866bb Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:20:08 +00:00
Julian Descottes
0538acfa7d Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-17 07:19:25 +00:00
Alexandre Poirot
0012df664b Bug 1497150 - Use BrowsingContextFront's javascriptEnabled cached value instead of calling attach. r=jdescottes
For now, the options panel was calling `attach` to know if the javascript was disabled
on the debugged document. But this property is already cached during the `attach`
request done by the toolbox.

MozReview-Commit-ID: JcDT6vxCUzN

Depends on D8851

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:20 +00:00
Alexandre Poirot
3dcf321b29 Bug 1497150 - Convert browser_toolbox_options_disable_js.js to async test. r=jdescottes
MozReview-Commit-ID: 132swUYwGZw

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

--HG--
extra : moz-landing-system : lando
2018-10-16 22:17:18 +00:00
shindli
20d8934ad2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-17 03:58:24 +03:00
shindli
2eb594138a Merge inbound to mozilla-central. a=merge 2018-10-17 03:55:26 +03:00
Alexandre Poirot
0f5e860391 Bug 1495551 - Rename all "tab client" occurences to "target front". r=jdescottes
MozReview-Commit-ID: JrEdamUz6Be

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

--HG--
extra : moz-landing-system : lando
2018-10-16 18:45:33 +00:00
Florens Verschelde
17b8e17272 Bug 1488012 - Update devtools frame picker button; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4820

--HG--
extra : moz-landing-system : lando
2018-10-16 17:42:43 +00:00
Nicolas Chevobbe
02618be077 Bug 1499378 - Fix mocha test; r=bgrins.
A function was missing in the serviceContainer stub,
and the console.trace with params test needed a
Provider wrapper to work with the latest changes made
to the ObjectInspector.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:02:17 +00:00
Nicolas Chevobbe
b093e93392 Bug 1498300 - Add top-level await support to the Browser Console; r=bgrins.
This patch moves the parserService from the toolbox,
which isn't accessible in the case of the Browser Console,
to the console itself.
A lightweight test is added to ensure top-level await is
supported in the browser console.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:57:32 +00:00
Alexandre Poirot
d5c27c6692 Bug 1499312 - Fix running devtools/client/shared/test/browser_dbg_WorkerTargetActor.attach.js individually. r=davidwalsh
MozReview-Commit-ID: 2i9NiMeOqcf

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:17 +00:00
Belén Albeza
5a45b66985 Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-16 11:57:45 +00:00
Belén Albeza
4e1ce7bb11 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:35:25 +00:00
Alexandre Poirot
6cd123eae4 Bug 1494632 - Convert WorkerClient to protocol.js front. r=jdescottes
MozReview-Commit-ID: BbtEReeG4v9

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:39:11 +00:00
Amy Chan
e4b80ceed6 Bug 1356536 - Add file type icons in network monitor. r=Honza
Added request type icons in File column of Network Monitor

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

--HG--
extra : moz-landing-system : lando
2018-10-16 10:30:23 +00:00
Cosmin Sabou
ee928c38ca Backed out 3 changesets (bug 1494549) for OSX devtools failures. CLOSED TREE
Backed out changeset e9abf60db23b (bug 1494549)
Backed out changeset 3e89e661031c (bug 1494549)
Backed out changeset 0d7e2a4ad360 (bug 1494549)
2018-10-16 12:34:38 +03:00
Julian Descottes
04e75c921a Bug 1494549 - Wait until ADB started in USB status sidebar test;r=daisuke
Depends on D8335

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

--HG--
extra : moz-landing-system : lando
2018-10-15 07:30:44 +00:00
Julian Descottes
367cd9399a Bug 1494549 - Add a mochitest test for status message;r=ladybenko
Depends on D8334.
In this changeset we also change the way we are reading the preferences
in adb-addon.js to avoid caching the value of the preference the first
time the module is loaded.

This allows the module to follow updates of said preferences without
having to restart Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 07:20:22 +00:00
Julian Descottes
26732aa0db Bug 1494549 - Show USB devices status in sidebar;r=ladybenko
Maybe we want to land the simplest solution for now and discuss
quickly how to style the message to reduce confusion in a follow up?

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

--HG--
extra : moz-landing-system : lando
2018-10-15 15:31:14 +00:00
Mantaroh Yoshinaga
856268ab66 Bug 1490358 - Hide menu popup when press the ctrl+t. r=birtles
If push the ctrl+t, browser will open the new tab. In this case,
the XUL popup panel doesn't hide automatically(autohide=false).
As the result of it, the popup menu will be displayed in the new tab
content. So this patch will hide the popup when receiving the ctr+t
shortcut in the MenuButton.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 07:13:04 +00:00
Mantaroh Yoshinaga
d5a153395f Bug 1485501 - Change the calculated viewport if anchor element is displayed at second screen. r=birtles
If we displayed the devtools across the second screen, the Screen.availLeft
might be not zero. I.e., Screen.availLeft point to second screen's left.
The HTMLTooltip does't consider this case, so this patch will change the
viewpor's left and right position if the left of anchor element is bigger than
screen.right.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 01:16:59 +00:00
Micah Tigley
58896ac3d6 Bug 1499052 - Enable both M1 and M2 milestones for the Flexbox inspector in DevEdidtion 64 (and keep it there). r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8738

--HG--
extra : moz-landing-system : lando
2018-10-15 19:58:20 +00:00
Noemi Erli
014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Nicolas Chevobbe
bcd61b77db Bug 1425542 - Move inspectObjectActor away from jsterm; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D8519

--HG--
extra : moz-landing-system : lando
2018-10-15 14:23:51 +00:00
Nicolas Chevobbe
95a682c9a9 Bug 1484989 - Prevent JsTerm to steal focus when reloading a page; r=bgrins.
JsTerm's focus function was called in clearOutput, which
we call when navigating to a new page (if Persist Logs is
not checked).
This means that we were forcing the JsTerm to be focused
each time the user navigated while having the console open.
This behavior, can be annoying, or at worst, if you're
debugging a focus issue in your content page, completely maddening.
The fix is striaghtforward: do not call focus in clearOutput.
A test is added to make sure we don't regress this.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:25:10 +00:00
Alexandre Poirot
235c66815f Bug 1485660 - Remove gcli leftover. r=jdescottes
MozReview-Commit-ID: FMuFBTseBIx

Depends on D7461

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:19 +00:00
Alexandre Poirot
5303ca93db Bug 1485660 - Convert browser_db_listtabs-03.js to async and make it use TargetFront. r=jdescottes
MozReview-Commit-ID: KLqx50gwSXS

Depends on D7460

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:17 +00:00
Alexandre Poirot
9c63f6e5ba Bug 1485660 - Special test fixes. r=jdescottes
* browser_addons_debug_webextension_popup: It looks like frame-update events are now fired earlier.
I had to move the listener to an earlier step in order to make it work.
* helper_disable_cache + toolbox.js: this test wasn't correctly listening for reconfigure request's end.
  Not clear how this test was passing before without high rate of intermittent...
* test_webextension-addon-debugging-connect.html: We can no longer listen for frame-update *before* the target object is created.
  (because we now need a TabTarget object or the TargetFront and not just the DebuggerClient)
* Fix reload request in shadereditor which may still be pending after test ends.

MozReview-Commit-ID: 49qvWSCn6nq

Depends on D8066

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:15 +00:00
Alexandre Poirot
2bab2fef72 Bug 1485660 - Adapt TabClient API to protocol one. r=jdescottes
MozReview-Commit-ID: 1dC5opkgLcQ

Depends on D7459

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:12 +00:00
Alexandre Poirot
bbd1bcdcbe Bug 1485660 - Switch from listening from DebuggerClient to TargetFront. r=jdescottes
* debugger-controller and events.js are special and require to support two cases because this is
the only production codepath that can have a TabTarget or a WorkerTarget.
Thus, leading to either TargetFront or WorkerClient on target.activeTab.
* webide.js doesn't need to listen for tabNavigated, this is redundant with tabListChanged.
* application's initializer. In case you are wondering this code can't be spawn against a WorkerTarget.
The application panel doesn't work in worker toolboxes.
* The code modified in target is in TabTarget, so we don't have to support the WorkerClient case, we always have a TargetFront here.
* I tried to update the doc file the best I can but this all feel outdated.

MozReview-Commit-ID: 2hGchebfIub

Depends on D7458

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:10 +00:00
Alexandre Poirot
e7998a50ec Bug 1485660 - Convert TabClient to a front. r=jdescottes
TabClient appears to be a client for any actor that inherits from browsing context target actor.
So let it be a front for that.

MozReview-Commit-ID: KmpClxJ53N7

Depends on D7457

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

--HG--
extra : moz-landing-system : lando
2018-10-15 08:36:07 +00:00
Dorel Luca
451b0f42f9 Backed out 2 changesets (bug 1494543) for causing Devtools failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE
Backed out changeset 744747bb295c (bug 1494543)
Backed out changeset 5a54f333b855 (bug 1494543)
2018-10-15 12:14:17 +03:00
Florens Verschelde
b355fe0cc4 Bug 1495693 - Declare devtools-textinput colors explicitly; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8677

--HG--
extra : moz-landing-system : lando
2018-10-15 08:12:12 +00:00
Belén Albeza
96c978440f Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-11 12:01:59 +00:00
Florens Verschelde
deef5c4f62 Bug 1456307 - Use more accurate flexbox icon in inspector; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8662

--HG--
extra : moz-landing-system : lando
2018-10-15 07:52:52 +00:00
Belén Albeza
b77f33a3d8 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 11:59:26 +00:00
Florens Verschelde
ccb44df343 Bug 1471163 - Remove devtools floating scrollbars and set scrollbar-color on Linux; r=jdescottes
Remove the floating scrollbar implementation used on Linux now that CSS scrollbar-color
landed for Linux. Also force scrollbar-color for the DevTools light theme on Linux, to
avoid visual conflicts with dark GTK themes.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 17:14:10 +00:00
Csoregi Natalia
adeba320b0 Merge inbound to mozilla-central. a=merge 2018-10-15 07:53:34 +03:00
Gabriel Luong
d3d023f557 Bug 1497905 - Avoid destroying the markup iframe on navigation. r=pbro 2018-10-14 22:26:05 -04:00
Mark Striemer
bfceed545a Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101

--HG--
extra : moz-landing-system : lando
2018-10-14 19:20:02 +00:00
Patrick Brosset
25bfd6366a Bug 1498487 - Flex item outline design changes; r=gl
- Made the border for the final size thicker
- Made the delta area more transparent
- Removed the arrow-head pattern for the delta area
- Added a thin horizontal arrow instead
- Removed the background circle around the lock icon
- Added a non-blurry shadow area around it instead

The mockup also called for adding a new label for "grow".
I did not implement this yet, because this will require more
work that can be done in a separate bug. We also need to
decide what happens if there isn't enough room to display
it.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:24:38 +00:00
shindli
27d0f9d0d2 Backed out 5 changesets (bug 1488730, bug 1490366, bug 1488727) for bc failures in | toolkit/mozapps/extensions/test/browser/browser_details.js and browser/components/enterprisepolicies/tests/browser/browser_policy_disable_flash_plugin.js CLOSED TREE
Backed out changeset 9cd889824b1c (bug 1488730)
Backed out changeset 4d076c865471 (bug 1488727)
Backed out changeset 0b8bcd97f254 (bug 1490366)
Backed out changeset 448672780572 (bug 1490366)
Backed out changeset 7e0abd16a50b (bug 1490366)
2018-10-14 19:23:09 +03:00
Mark Striemer
c18b17b3d3 Bug 1490366 - Part 1: Move card styles to common from about:debugging r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8101

--HG--
extra : moz-landing-system : lando
2018-10-14 15:13:31 +00:00
Gurzau Raul
e8d74109ee Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-15 01:21:36 +03:00
Gabriel Luong
40306dcbc5 Bug 1496572 - Fix intermittent devtools/client/inspector/test/browser_inspector_highlighter-eyedropper-xul.js by adding a new emitted event for the inspector toolbar update. r=pbro 2018-10-13 06:53:00 +03:00
Tiberius Oros
1956192203 Disable Bug 1453214 for frequent failures on windows and linux64 r=jmaher
--HG--
extra : rebase_source : fce55192880d48bfea1006d7f8961b6433b0f8d8
2018-10-13 03:19:00 +03:00
Olli Pettay
32f9fcc2d3 Bug 1498380 - devtools UI relies on old Gecko's <button> hit testing, r=pbro 2018-10-12 14:14:58 +03:00
Daisuke Akatsuka
4fb0e9fd75 Bug 1494847 - Part 4: Remove backward compatibility codes before version 62. r=pbro
Depends on D7687

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:33:54 +00:00
Daisuke Akatsuka
2558c76250 Bug 1494847 - Part 3: Add test for negative playback rate. r=pbro
Depends on D7686

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

--HG--
extra : moz-landing-system : lando
2018-10-12 07:01:40 +00:00
Daisuke Akatsuka
96b09f29f1 Bug 1494847 - Part 1: Show proper graph for negative playback rate. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D7685

--HG--
extra : moz-landing-system : lando
2018-10-13 05:39:18 +00:00
Tim Nguyen
53b1b96828 Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8275

--HG--
extra : moz-landing-system : lando
2018-10-12 21:56:44 +00:00
Gabriel Luong
30fe8ea044 Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
Dorel Luca
2b0bec5ab3 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : d757a37614ac9d59e154d34ede3ca871a643cdb7
2018-10-18 02:02:07 +03:00
Daniel Varga
77ea573b38 Backed out changeset 0658fbb91e05 (bug 1499483) for devtools chrome failure at devtools/client/inspector/test/browser_inspector_sidebarstate.js on a CLOSED TREE
--HG--
extra : amend_source : 6a43821d9f34fe08838256a3621a4cdbe9beeb94
2018-10-18 01:58:17 +03:00
Gabriel Luong
a289682544 Bug 1499483 - Make the Layout view the default sidebar tab. r=pbro 2018-10-17 17:00:35 -04:00
Gabriel Luong
5e9e0795a4 Bug 1317102 - Part 4: Disable grid highlighter toggles in the rules when the max highlighter is reached. r=jdescottes 2018-10-17 16:51:40 -04:00
Gabriel Luong
d6f4b6f2ba Bug 1501393 - Remove the await call to block on markuploaded. r=pbro 2018-10-23 21:20:31 -04:00
shindli
433bc569fb Backed out changeset 646f2d021c11 (bug 1499042) for X failures in devtools/client/netmonitor/test/unit/test_mdn-utils.js 2018-10-19 17:44:53 +03:00
Narcis Beleuzu
516255f90e Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : browser/components/payments/test/browser/browser_payments_onboarding_wizard.js => browser/components/payments/test/browser/browser_onboarding_wizard.js
2018-10-19 16:34:08 +03:00
bb00998598 Bug 1499042 - "Fix learn more links in the Network panel". r=Honza 2018-10-18 06:54:00 +03:00
Bogdan Tara
e1dc69e799 Backed out changeset 94ccc53c61a7 (bug 1488375) for test_memory_allocations_0x.html failures CLOSED TREE 2018-10-12 19:18:18 +03:00
Bogdan Tara
9520ad8c07 Backed out changeset 5b5ed02f86c7 (bug 1498487) for browser_all_files_referenced.js failures CLOSED TREE 2018-10-12 19:13:10 +03:00
yulia
cd546f12d8 Bug 1488375 - Use target.getFront to instantiate MemoryFront; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D7097

--HG--
extra : moz-landing-system : lando
2018-10-12 13:38:21 +00:00
Patrick Brosset
1262b85689 Bug 1498487 - Flex item outline design changes; r=gl
- Made the border for the final size thicker
- Made the delta area more transparent
- Removed the arrow-head pattern for the delta area
- Added a thin horizontal arrow instead
- Removed the background circle around the lock icon
- Added a non-blurry shadow area around it instead

The mockup also called for adding a new label for "grow".
I did not implement this yet, because this will require more
work that can be done in a separate bug. We also need to
decide what happens if there isn't enough room to display
it.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:45:14 +00:00
Csoregi Natalia
de7b5dcc69 Merge mozilla-central to autoland. CLOSED TREE 2018-10-12 13:18:41 +03:00
Csoregi Natalia
28fe656de6 Merge inbound to mozilla-central. a=merge 2018-10-12 13:14:37 +03:00
Patrick Brosset
58e1a1c0d9 Bug 1495717 - More user-friendly Flex item sizing information; r=gl
MozReview-Commit-ID: 3cSeShKP6TE

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

--HG--
extra : moz-landing-system : lando
2018-10-12 08:46:34 +00:00
Patrick Brosset
5deff44e6f Bug 1497521 - Force the new flexbox inspector ON before running its tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8089

--HG--
extra : moz-landing-system : lando
2018-10-12 05:04:39 +00:00
Narcis Beleuzu
e09f2e2622 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 06:53:11 +03:00
Narcis Beleuzu
c31a01ef52 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-12 00:57:21 +03:00
Narcis Beleuzu
d30168f45c Merge inbound to mozilla-central. a=merge 2018-10-12 00:48:03 +03:00
Brindusan Cristian
e1f4f3ac73 Backed out changeset 0ff0cb536428 (bug 1497969) for devtools failures on browser_rules_add-rule-pseudo-class.js. CLOSED TREE 2018-10-12 00:00:47 +03:00
Gabriel Luong
48144773f9 Bug 1497187 - Hide the flexbox container properties in the flex item accordion. r=pbro 2018-10-11 12:05:08 -04:00
Gabriel Luong
65571e884a Bug 1495775 - Flex items should be highlighted when hovered over in the flex item list. r=pbro 2018-10-11 12:00:37 -04:00
Gabriel Luong
5b7da2a429 Bug 1497210 - Ensure a valid flex item prop is provided to the FlexItemSelector. r=pbro 2018-10-11 11:59:08 -04:00
Patrick Brosset
ff2ee04ec2 Bug 1490101 - Avoid overflowing the layout tab when flex elements are long; r=rcaliman
Fixes the 3 places where long element Reps can appear:
- as a accordion header as "flex item of div..."
- as a flex item in the list of items for a container
- as a flex container
To fix this, I added text-overflow:ellipsis in a few places and made sure the Rep
was not pushing other things too far behind the viewport.
I also made the layout sidebar overflow-x:hidden, because it doesn't need to
scroll sideways (if the sidebar is too thin, then the box-model diagram might
overflow, but it has its own horizontal scrollbar).

Finally, I removed the inspector select icon next to the Flex Container Rep
because usually the element is already selected anyway. If it's not, then you
can use the back arrow to go back to the container.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 15:31:53 +00:00