Commit Graph

13592 Commits

Author SHA1 Message Date
Jason Laster
7008ec7816 Bug 1515644 - [release 110] [sources] don't make newSources (a)wait on source maps to be loaded (#7302). r=davidwalsh 2018-12-20 22:41:49 -05:00
Jason Laster
39f03906f2 Bug 1515644 - [release 110] Avoid odd scrollbar positioning in sources pane (#7529). r=davidwalsh 2018-12-20 22:41:49 -05:00
Jason Laster
d7ff6085af Bug 1515644 - [release 110] [breakpoints] speed up pause point mapping (#7496). r=davidwalsh 2018-12-20 22:41:48 -05:00
Jason Laster
952874038f Bug 1515644 - [release 110] Fix lint issues (#7524). r=davidwalsh 2018-12-20 22:41:48 -05:00
Jason Laster
4fd09302bf Bug 1515644 - [release 110] Remove white background for source icon images in tree, also remove border on Windows (#7519). r=davidwalsh 2018-12-20 22:41:48 -05:00
Jason Laster
77535a6ec4 Bug 1515644 - [release 110] Fix circle CSS linting (#7518). r=davidwalsh 2018-12-20 22:41:48 -05:00
Jason Laster
788c146536 Bug 1515644 - [release 110] Prevent horizontal scrollbar from displaying when end panel is collapsed (#7513). r=davidwalsh 2018-12-20 22:41:47 -05:00
Jason Laster
8723e37362 Bug 1515644 - [release 110] Turn off column breakpoints in dev (#7515). r=davidwalsh 2018-12-20 22:41:47 -05:00
Jason Laster
2eb4950de3 Bug 1515644 - [release 110] Show a spinner while search is in progress (#7508). r=davidwalsh 2018-12-20 22:41:47 -05:00
Jason Laster
a5e9e35809 Bug 1515644 - [release 110] align the bundles for release 110. r=davidwalsh 2018-12-20 22:41:46 -05:00
Jason Laster
0b43e66c79 Bug 1515644 - [release 110] move next-circle.svg to devtools/client/themes. r=davidwalsh
--HG--
rename : devtools/client/debugger/new/images/next-circle.svg => devtools/client/themes/images/next-circle.svg
rename : devtools/client/debugger/new/images/next.svg => devtools/client/themes/images/next.svg
2018-12-20 22:41:46 -05:00
Nicolas Chevobbe
9afd273d39 Bug 1514815 - Keep console scrolled to bottom when rendering SmartTrace; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D15010

--HG--
extra : moz-landing-system : lando
2018-12-20 14:37:41 +00:00
Nicolas Chevobbe
abae103d6b Bug 1514815 - Add an onReady prop to the SmartTrace component; r=bgrins.
Since the component renders asynchronously, consumers might
want to hook up to the actual first rendering.
We provide an `onRender` prop that will be called once, when
the component is ready.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 14:37:41 +00:00
Daisuke Akatsuka
6ad38d7c57 Bug 1513706 - Part 3: Remove duplicated test. r=pbro
Depends on D14839

We moved all negative delay path related tests to
`browser_animation_summary-graph_negative-delay-path.js`.
Thus, "delay-negative" test in
`browser_animation_summary-graph_computed-timing-path.js` duplicates.

In this patch, remove the duplicated test.
However, if we remove this test, the drawing area of the graph will be reduced
by that negative delay. So, we remove the test area which reduced at the same
time.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 12:42:06 +00:00
Daisuke Akatsuka
6d07d13586 Bug 1513706 - Part 2: Add a test for negative delay. r=pbro
Depends on D14838

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

--HG--
extra : moz-landing-system : lando
2018-12-20 12:41:38 +00:00
Daisuke Akatsuka
298665aaa9 Bug 1513706 - Part 1: Avoid to render computed timing path for negative delay area. r=pbro
The calculation for firstSectionCount was wrong. In here, the firstSectionCount
should be min value of either fraction of iterationStart or iterationCount.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 05:44:05 +00:00
arthur.iakab
1501f85b81 Backed out 2 changesets (bug 1514815) for failing devtools on browser_console_consolejsm_output.js CLOSED TREE
Backed out changeset d822219ea9bc (bug 1514815)
Backed out changeset 209bdfcecdc9 (bug 1514815)
2018-12-20 16:00:32 +02:00
Bel?n Albeza
01635e6675 Bug 1488502 - Disable service workers debugging when in multi e10s. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D14540

--HG--
extra : moz-landing-system : lando
2018-12-19 13:14:51 +00:00
Nicolas Chevobbe
ece2924f8d Bug 1514815 - Keep console scrolled to bottom when rendering SmartTrace; r=bgrins.
Depends on D14999

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

--HG--
extra : moz-landing-system : lando
2018-12-19 21:06:40 +00:00
Nicolas Chevobbe
e753e09155 Bug 1514815 - Add an onReady prop to the SmartTrace component; r=bgrins.
Since the component renders asynchronously, consumers might
want to hook up to the actual first rendering.
We provide an `onRender` prop that will be called once, when
the component is ready.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 21:01:25 +00:00
Julian Descottes
12c3c11f23 Bug 1508956 - Check for ADB runtimes updates periodically;r=daisuke,ladybenko
Depends on D14318. This patch introduces a setInterval to check if
new runtimes have appeared on monitored devices, directly from ADB. This is
one of the scenarios where we don't get an update from ADB. ADB is able to
track devices appearing or disappearing but here we are looking for a new
process, containing a specific string. Out of the box I don't think we can
do anything for this.

Maybe we could ask the devtools server to "broadcast" its presence when it
starts, but at the moment I am not sure how we should implement that.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 09:25:41 +00:00
Julian Descottes
5d6e4d397c Bug 1505997 - Add mochitest to check behavior when USB debugger server is closed;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D14977

--HG--
extra : moz-landing-system : lando
2018-12-20 06:52:41 +00:00
Razvan Maries
ab4c24da1d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-12-20 07:07:45 +02:00
Razvan Maries
f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Daisuke Akatsuka
12904948b7 Bug 1506770: Get and use iconDataURL as icon of addon from the debugger server. r=jdescottes,ochameau
Depends on D14368

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

--HG--
extra : moz-landing-system : lando
2018-12-20 02:20:04 +00:00
Daisuke Akatsuka
f379e6739b Bug 1506770: Extract data url from icon of addon. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D14368

--HG--
extra : moz-landing-system : lando
2018-12-20 02:11:56 +00:00
Jeff Walden
ed23151bd7 Bug 1492937 - Make the JS subscript loader load scripts exclusively as UTF-8, with no way to specify any other encoding, and adjust a bunch of existing tests to use UTF-8 directly, rather than Unicode escape sequences or similar. (This also changes the encoding of .sjs scripts and all mochitest-browser tests in the tree from Latin-1 to UTF-8.) r=yzen, r=MattN, r=jimb, r=kmag 2018-12-19 13:46:20 -08:00
Daisuke Akatsuka
f893226207 Bug 1504602: Add tests for jump-* keyword of step function. r=pbro
Depends on D14943

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

--HG--
extra : moz-landing-system : lando
2018-12-19 15:49:07 +00:00
Daisuke Akatsuka
346b735df6 Bug 1504602: Remove frames timing related codes. r=pbro
The `frames()` timing function was removed from CSS Easing Functions spec[1].
Likewise, already had dropped this feature from our platform as well[2].
Thus, removes `frames()` related code from animation inspector.

[1] https://drafts.csswg.org/css-easing-1/#timing-function
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1496619

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

--HG--
extra : moz-landing-system : lando
2018-12-20 02:44:13 +00:00
Logan Smyth
437d7e5db3 Bug 1515438 - Part 2: Create an API endpoint to query available breakpoint locations. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D15014

--HG--
extra : moz-landing-system : lando
2018-12-19 22:18:53 +00:00
Logan Smyth
dd2304da6a Bug 1515438 - Part 1: Centralize source actor findScripts calls. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D15013

--HG--
extra : moz-landing-system : lando
2018-12-19 22:12:19 +00:00
Julian Descottes
801f699fff Bug 1483663 - Support element picker for UA widgets with NAC;r=ladybenko
Depends on D14700

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

--HG--
extra : moz-landing-system : lando
2018-12-19 21:40:41 +00:00
Julian Descottes
9ce4f055e9 Bug 1483663 - Show native anonymous nodes under UA widgets;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D14700

--HG--
extra : moz-landing-system : lando
2018-12-19 21:40:13 +00:00
Andreea Pavel
35d9be3087 Backed out 2 changesets (bug 1483663) for failing dt at devtools/client/inspector/markup/test/browser_markup_shadowdom_ua_widgets_with_nac.js on a CLOSED TREE
Backed out changeset 6e9f11aeac28 (bug 1483663)
Backed out changeset 2ffa90b738a1 (bug 1483663)
2018-12-19 23:24:33 +02:00
Micah Tigley
240dca9d3c Bug 1511506 - Fix dropdown list button image issue where it overlaps the flex item label for RTL. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D14479

--HG--
extra : moz-landing-system : lando
2018-12-19 19:10:17 +00:00
Julian Descottes
9d930b5368 Bug 1483663 - Support element picker for UA widgets with NAC;r=ladybenko
Depends on D14700

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

--HG--
extra : moz-landing-system : lando
2018-12-19 20:12:02 +00:00
Julian Descottes
2c7c95fa56 Bug 1483663 - Show native anonymous nodes under UA widgets;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D14700

--HG--
extra : moz-landing-system : lando
2018-12-19 20:09:47 +00:00
Daisuke Akatsuka
60bab71cdf Bug 1507126: Corresponds to USB device disconnection. r=jdescottes
Depends on D14709

So far, because we supported only single device, we could correspond to
disconnection by following code. From now, because we will support multi
devices, fix the code that changes the status.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 09:02:23 +00:00
Daisuke Akatsuka
c020bd12dc Bug 1507126: Prepare port forwarding for specified device. r=jdescottes
Depends on D14708

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

--HG--
extra : moz-landing-system : lando
2018-12-18 04:38:51 +00:00
Daisuke Akatsuka
4f3436e304 Bug 1507126: Execute adb shell command to specified device. r=jdescottes
Depends on D14313

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

--HG--
extra : moz-landing-system : lando
2018-12-18 01:44:15 +00:00
Julian Descottes
618278197a Bug 1508956 - Add test for unknown USB runtimes;r=daisuke,ladybenko,Ola
Depends on D14313

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

--HG--
extra : moz-landing-system : lando
2018-12-19 18:07:52 +00:00
Julian Descottes
36c7065b18 Bug 1508956 - Display unknown runtimes in about:debugging;r=daisuke,ladybenko,Ola
Depends on D14310. This patch enables displaying devices on which the debuggable
runtime is not started yet. To test it, simply use an android phone with USB debugging enabled
but don't start Firefox yet. You should see the Unknown Runtime item in the sidebar.

Not that once you start Firefox on the device, you need to click refresh runtimes here to get
the sidebar to refresh (more on that in the last patch of the series).

Two things I am not completely happy with:
- calling this a runtime, when really it's just a device that has no runtime.
  but I don't want to start renaming all our state for that. Hope we can treat it as
  placeholder runtime, and forget about it.
- localization for the runtime item name can be done in many ways. Not using getString
  at all makes things really complicated, but I'm open to suggestions if you have any

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

--HG--
extra : moz-landing-system : lando
2018-12-19 18:08:22 +00:00
Julian Descottes
c34f54849f Bug 1508956 - Migrate sidebar_usb_runtime to use head_mocks;r=daisuke
Depends on D14309. Relying on head_mocks will make it easier to
update the mocks when we start calling isUnknown() on our USB runtimes.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 18:07:41 +00:00
Julian Descottes
eff4be5306 Bug 1508956 - Add unknown runtime entries for devices with no runtime detected;r=daisuke
Depends on D14307. Introduce a placeholder UnknownAdbRuntime extending AdbRuntime.
AdbRuntime implements isUnknown(). This method is used to filter out the unknown runtimes in
webide and about:debugging. (filter will be removed in about:debugging in a patch in the same
queue)

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

--HG--
extra : moz-landing-system : lando
2018-12-19 18:07:37 +00:00
Julian Descottes
3c74b5f444 Bug 1508956 - Refactor AdbDevice to have an async initialize step;r=daisuke
The model information is duplicated between adb runtime and adb device.
This allows to keep the information in a single place.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 18:06:28 +00:00
Julian Descottes
4588523316 Bug 1500393 - Add test for serviceworker push service in new aboutdebugging;r=ladybenko,Ola
Depends on D14590

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

--HG--
extra : moz-landing-system : lando
2018-12-19 17:56:03 +00:00
Julian Descottes
a981f8eaf3 Bug 1500393 - Cleanup existing serviceworker test;r=ladybenko,Ola
Depends on D14589. I did a first cleanup when migrating the first
service worker test, but I think we can go a bit further, and this is not
strictly related to the new test I am about to add.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 17:55:53 +00:00
Julian Descottes
b87c7d40b1 Bug 1500393 - Add support for push service URL in new about:debugging;r=ladybenko,Ola
Looks like we missed this feature when doing the initial service worker support
so implementing here. UI-wise, I reused the same wording/positioning etc as in the current
about:debugging.

Note that this is another spot that uses client.request, so we will need to clean this up
when we finally add a front to represent service worker registrations.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 17:55:51 +00:00
Florens Verschelde
77cbc33fd2 Bug 1513501 - Use open-inspector.svg in Rules view for sharper rendering; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D14293

--HG--
extra : moz-landing-system : lando
2018-12-19 12:02:31 +00:00
Alexandre Poirot
5cddbab43d Bug 1513565 - Remove now-unused form argument from Target. r=yulia
Depends on D14280

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:36:06 +00:00