Commit Graph

13579 Commits

Author SHA1 Message Date
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
Alexandre Poirot
21e7072949 Bug 1513565 - Convert the last manually instantiated fronts to target.getFront. r=yulia
Depends on D14279

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:59 +00:00
Alexandre Poirot
ac13c87f42 Bug 1513565 - Get rid of all target.form usages. r=yulia,nchevobbe
Depends on D14278

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:57 +00:00
Alexandre Poirot
bd9855b903 Bug 1513565 - Always use Target's WebConsoleClient instead of trying to instantiate it manually. r=yulia,nchevobbe
This will help getting rid of another usage of Target.form.
And also helps instantiating only one WebConsole client.
Once WebConsole becomes a front, we can replace all the target.activeTab
to target.getFront("console").

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:35:55 +00:00
Alexandre Poirot
690a921d87 Bug 1514819 - Convert RootFront.getWindow to return a front instead of a form. r=yulia
This method is only used by target-from-url, it allows to return
a target got one precise top level window and instead of the whole main process.

It looks like it was the very last non-front/still-form target codepath.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 08:54:01 +00:00
Bogdan Tara
91d742d138 Merge inbound to mozilla-central. a=merge 2018-12-19 06:50:57 +02:00
Zibi Braniecki
d59b6ed7ff Bug 1513958 - Fix aboutdebugging.noftl to work with Fluent 0.10. r=jaws
Depends on D14612

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

--HG--
extra : moz-landing-system : lando
2018-12-18 23:04:42 +00:00
Boris Chiou
c35f47093e Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio
Support unprefixed min-content and max-content and treat the prefixed
version as aliases for
1. width, min-width, max-width if inline-axis is horizontal, and
2. height, min-height, max-height if inline-axis is vertical, and
3. inline-size, min-inline-size, max-inline-size, and
4. flex-basis.

Besides, update the test cases to use unprefixed max-content and
min-content.

Depends on D7535

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:47:37 +00:00
Florens Verschelde
7c5190820e Bug 1513530 - Improve doorhanger menu icons alignment; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D14422

--HG--
extra : moz-landing-system : lando
2018-12-18 19:58:39 +00:00
Alexandre Poirot
87bb1e2701 Bug 1513028 - Throw exception with stack and message when a module doesn't exists. r=jdescottes
loadSubScript throws a string, without any stack/location.
Consider all string exceptions as coming from loadSubScript and re-throw a real error
object, coming with the stack of the require call.
Also handle wrong require path with a more explicit error message.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 13:35:42 +00:00
Brindusan Cristian
228a150262 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-18 11:52:48 +02:00
yulia
4b0a97499c Bug 1508660 - migrate getOrCreateHighlighterByType to inspectorFront; r=ochameau
Depends on D12439

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

--HG--
extra : moz-landing-system : lando
2018-12-18 08:45:30 +00:00
yulia
edb57234af Bug 1508660 - make storage front and changes front async; r=ochameau
Depends on D13110

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

--HG--
extra : moz-landing-system : lando
2018-12-18 08:33:11 +00:00
yulia
cda3c1b7bc Bug 1508660 - introduce getCachedFront; r=ochameau
Depends on D12439

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

--HG--
extra : moz-landing-system : lando
2018-12-18 08:32:33 +00:00