Commit Graph

651962 Commits

Author SHA1 Message Date
Gabriele Svelto
9f9c7c8211 Bug 1547698 - Refactor the code that writes the .extra file for a content process crash or hang r=froydnj
Upon a content process crash or hang crash annotations were incrementally
written into the .extra file starting with the exception handler callback and
then in a number of different places before the file was ready for submission.
This had a number of downsides: since the annotations were directly added to
the file it was impossible to tell which ones were already written at a
certain point in time, additionally some were written twice or even thrice.
The code doing the writing would also behave differently depending on the
contents of the file, the parameters passed to it and the contents of global
variables.

This change overhauls the whole process by keeping the annotations into a
temporary per-crash annotation table which is filled with all the required
annotations before being written out in a single pass when they are ready.

The annotations are gathered from the main process annotation table, the
per-process one (held by the CrashReporterHost) and exception-time specific
ones.

The resulting annotations are slightly different than before the patch: first
of all there are no more duplicate entries in the .extra file and secondly all
content/plugin process hangs annotations are properly filtered, before
annotations that were main process-only would leak into them.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 16:19:55 +00:00
Gabriele Svelto
ac81f9bda7 Bug 1547698 - Remove unused and non-public bits from the exception handler r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D31066

--HG--
extra : moz-landing-system : lando
2019-05-15 13:09:31 +00:00
Gabriele Svelto
f7b311b4a9 Bug 1547698 - Remove unused IPC methods for taking minidumps r=froydnj
This removes the XRE_TakeMinidumpForChild() which does not need to be
exposed anymore in the XUL API as well as
IToplevelProtocol::TakeMinidump() which was simply unused.

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

--HG--
extra : moz-landing-system : lando
2019-05-14 14:06:19 +00:00
Gregory Mierzwinski
d36b68fefc Bug 1552548 - Set screen brightness to 50% on reference phones for power tests. r=perftest-reviewers,stephendonner
This patch sets the screen brightness on the reference Moto G5 and Pixel 2 phones to 50% before starting power tests and resets it to its original value once the test is complete.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 14:01:05 +00:00
Rob Wu
677d6530b9 Bug 1551202 - Support dark theme for radio input at abuse reports r=jaws
- Put every color in a variable name.
- Add `label:hover` so that the radio input provides visual feedback upon hover.
- Implement "pressed" (`[type="radio"]:active`) and `:focus{border:0}`
  to match Photon's design guidelines at
  https://design.firefox.com/photon/components/radio-buttons.html
- Implement dark theme for radio inputs (using creative freedom as there
  is no Photon guideline for this).

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

--HG--
extra : moz-landing-system : lando
2019-05-18 05:47:16 +00:00
Rob Wu
069ae86050 Bug 1551202 - Update <message-bar> to fully match Photon's style r=jaws
- Update info.svg to adjust color based on the fill color.

- Use button colors as defined by Photon (without this, the background
  of the non-generic buttons are almost indistinguishable when dark
  themes are enabled).

- Small refactor of message-bar.css to put all type-specific
  declarations in one location.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 12:28:55 +00:00
Rob Wu
af19ba5704 Bug 1551202 - Support dark theme at HTML about:addons r=jaws
Most colors have been replaced with a variable that has the same color
value.

The exception is the border color at the add-on details.
`--grey-90-a20` was replaced with `--in-content-box-border-color`,
whose value is `--grey-90-a30`. This is close enough.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 05:47:15 +00:00
Rob Thijssen
0fa8d73826 Bug 1552503 - disable parallel gcp builds on m-c, m-i, autoland r=wcosta
we're looking to reduce costs on infra. as parallel gcp builds have served their purpose of demonstrating they are possible and valid, we'd now like to disable them until a later date.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 09:52:53 +00:00
Dorel Luca
b4e9b67d1d Merge mozilla-central to autoland 2019-05-18 13:30:06 +03:00
Dorel Luca
60706fc799 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-18 13:25:28 +03:00
Julian Descottes
91b38c6225 Bug 1552236 - Fix debug target info icon color in dark theme r=daisuke
The variable --theme-toolbar-icon-color is not defined in devtools. Let's use --theme-toolbar-color

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

--HG--
extra : moz-landing-system : lando
2019-05-18 09:39:32 +00:00
Stephen Donner
6d86a346d7 Bug 1551324: Hook up remaining Fennec and Fenix jobs in CI for scn-power-idle tests. r=perftest-reviewers,rwood,sparky
Differential Revision: https://phabricator.services.mozilla.com/D31025

--HG--
extra : moz-landing-system : lando
2019-05-18 00:10:05 +00:00
Jeff Gilbert
f270d4ccca Bug 1552616 - Enable webgl draft exts for webgl-conf tests. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D31701

--HG--
extra : moz-landing-system : lando
2019-05-18 05:49:07 +00:00
Jared Wein
e088d560ff Bug 1550093 - Add automated tests for CopyToClipboardButton. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D31664

--HG--
extra : source : 058d6d7a23a64ffc0051d2cc1ec6a78c3d050897
2019-05-17 21:20:54 +00:00
Jared Wein
07a199e46b Bug 1550093 - Style the Copied state to match the Lockwise addon. r=MattN,Pike
Differential Revision: https://phabricator.services.mozilla.com/D31521

--HG--
extra : source : 38cafbd4a35fc02e9c3b26f27338b7907878b6eb
2019-05-17 18:26:16 +00:00
Jared Wein
7891929ef0 Bug 1550093 - Clicking the Copy button places the related text on the clipboard. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D31520

--HG--
extra : source : 510a686041bb31f70684c29a72e8a5f1163836b2
2019-05-17 18:26:08 +00:00
Jared Wein
a444990438 Bug 1550093 - Create CustomElement for copy-to-clipboard. r=MattN,Pike
Differential Revision: https://phabricator.services.mozilla.com/D31519

--HG--
extra : source : faf4415303fb85890222c1ca3b4a975ddd33b22a
2019-05-17 18:26:01 +00:00
Dorel Luca
0319a9ce33 Backed out 3 changesets (bug 1551202) for Causing Bug 1550093 to break on browser_parsable_css.js
Backed out changeset 70b0d5a417b8 (bug 1551202)
Backed out changeset 145429781395 (bug 1551202)
Backed out changeset 5f5daca84fbe (bug 1551202)
2019-05-18 08:28:33 +03:00
Emilio Cobos Álvarez
16524e64f1 Bug 1552625 - Remove some more individual-transform dead code. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D31705

--HG--
extra : moz-landing-system : lando
2019-05-18 04:48:16 +00:00
Bogdan Tara
cb81e93f4e Backed out changeset 8e8ea33ecb3d (bug 1552602) for test_interfaces_secureContext.html failures 2019-05-18 07:06:09 +03:00
J.C. Jones
0195fbe70b Bug 1552601 - Annotate WebAuthn reflection methods as @ReflectionTarget r=nalexander
A Proguard update in Bug 1550596 optimized away the WebAuthn methods, but
there's a convenient ReflectionTarget defined to say 'hey, don't do that.'

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

--HG--
extra : moz-landing-system : lando
2019-05-18 03:18:20 +00:00
Bogdan Tara
f12a464572 Backed out 4 changesets (bug 1550093) for browser_parsable_css.js failures
Backed out changeset 058d6d7a23a6 (bug 1550093)
Backed out changeset 38cafbd4a35f (bug 1550093)
Backed out changeset 510a686041bb (bug 1550093)
Backed out changeset faf4415303fb (bug 1550093)
2019-05-18 03:56:20 +03:00
Kartikaya Gupta
e089e9f404 Bug 1550510 - Stop hoisting scrollinfo items inside filters when WR is enabled. r=botond
In bug 1527182 we made it so that APZ can directly drag-scroll scrollframes
that are inside SVG effects, because that's possible with WR on the compositor.
However the code changed in that bug was meant to be kept in sync with
a second piece of code. The second piece of code controls the generation
of ScrollInfo items for scrollframes inside SVG effects - since we can
APZ-scroll them with WR, we don't need the scrollinfo item anymore.
Producing the scrollinfo item was changing the structure of the APZ tree
in terms of where the transform ended up, and was causing badness with
untransforming the drag mouse events.

This patch adds a test that covers the scenario and also corrects the defect
by bringing the two bits of code back in sync.

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

--HG--
extra : moz-landing-system : lando
2019-05-18 00:17:50 +00:00
Ed Lee
2e94578a1b Bug 1552599 - Add accessible links, focus refinements and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D31691

--HG--
extra : moz-landing-system : lando
2019-05-17 22:55:09 +00:00
J.C. Jones
ebadc19bdf Bug 1552602 - Disable FIDO U2F API for Android r=keeler
Per https://bugzilla.mozilla.org/show_bug.cgi?id=1550625#c5 there is no
mechanism available for FIDO U2F JS API operations on Android. The exposed API
is FIDO2/WebAuthn-only. As such, Firefox cannot support FIDO U2F JS API
operations on Android, and we should disable the u2f preference so that
window.u2f is not set inappropriately.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 23:45:47 +00:00
Timothy Nikkel
3e6fb67de2 Bug 1552077. Use medium high runnables for a few more imagelib runnables. r=smaug
speedindex runs show this to be a nice win.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 23:09:38 +00:00
Chris Manchester
5fa8ca19bf Bug 1552021 - Add an option to turn off rust incremental compilation. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D31341

--HG--
extra : moz-landing-system : lando
2019-05-17 23:00:30 +00:00
Alastor Wu
d65a4e80c9 Bug 1548446 - disable 'test_webvtt_seeking.html' on Android r=jolin
According to the comment [1], there are some seeking issue on Android which causes the intermittent failure, so we are going to disable this test on Android.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1548446#c17

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

--HG--
extra : moz-landing-system : lando
2019-05-17 22:40:33 +00:00
Henrik Skupin
25e8969644 Bug 1548845 - [raptor] Don't filter-out tests which are white-listed for "use_live_sites". r=perftest-reviewers,stephendonner,rwood
Depends on D31681

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

--HG--
extra : moz-landing-system : lando
2019-05-17 20:58:12 +00:00
Henrik Skupin
53ac5b9613 Bug 1548845 - [raptor] Log discarded tests in filter_live_sites. r=perftest-reviewers,rwood
Depends on D30532

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

--HG--
extra : moz-landing-system : lando
2019-05-17 20:45:13 +00:00
Henrik Skupin
bc20797022 Bug 1548845 - [raptor] Fix local import of filter module. r=perftest-reviewers,rwood
To not collide with the built-in "filter" method, the local
filter module should be named as filters.

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

--HG--
rename : testing/raptor/raptor/filter.py => testing/raptor/raptor/filters.py
extra : moz-landing-system : lando
2019-05-17 20:16:12 +00:00
Henrik Skupin
4e8e65b9a9 Bug 1548845 - [raptor] Allow tests to specify the alertChangeType. r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D30531

--HG--
extra : moz-landing-system : lando
2019-05-17 20:14:25 +00:00
Henrik Skupin
a092be21b1 Bug 1548845 - [raptor] Use a multiplier for page timeout when using live sites. r=perftest-reviewers,rwood
Differential Revision: https://phabricator.services.mozilla.com/D30530

--HG--
extra : moz-landing-system : lando
2019-05-17 20:14:23 +00:00
Mark Striemer
aa95e5912c Bug 1544824 - Redirect to list view when an extension is removed r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D30738

--HG--
extra : moz-landing-system : lando
2019-05-17 20:21:25 +00:00
Nick Alexander
ec2255472a Bug 1521996 - Part 3: Make mach run for Android bring Fennec forward by default. r=gbrown
`mach run` as it is doesn't really parallel `mach run` on Desktop;
this makes it a little closer more fully featured.  The underlying
functionality is all there in layers of mozharness; let's make it
easier to get to.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 22:21:20 +00:00
Nick Alexander
3dd3a36ec4 Bug 1521996 - Part 2: Specialize mach {run,install} for Android. r=ahal,gbrown
This just separates out the Android definitions into
mobile/android/mach_commands.py.  There was vestigial support for
running on Android with debuggers, but it was for wiring up JimDB,
which is no longer supported and in fact hasn't worked on actual
devices for a very long time.  (The new flow for running on Android
under a debugger goes through the Android Studio hybrid debugger.)

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

--HG--
extra : moz-landing-system : lando
2019-05-17 21:40:15 +00:00
Nick Alexander
aaeaaec3dc Bug 1521996 - Part 1: Add conditional_name to mach @Command definition. r=ahal
We want `mach run` for Android to be wildly different than `mach run`
for Desktop.  But right now, mach really doesn't support two different
implementations of the same underlying named command.  The avenues
that might support different implementations, mostly run through
`conditions`.

`conditions` were added to mach commands in Bug 901972, and never
really anticipated this use case: commands are keyed by name condition
evaluation is delayed until dispatch-time.  In order to have different
commands with the same name, and have full support for `--help`,
command matching, suggestions, etc, we really need conditions to
evaluate at parse-time.  Indeed, since Bug 901972 landed, we've moved
context creation earlier in the dispatch flow and hacked in things
that look like parse-time conditions (see Bug 1291335 and Bug
1305695).

This approach is not the prettiest, but it handles this narrow
use-case -- making `mach run` and `mach install` different on Android
-- without much code churn.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 21:39:31 +00:00
Bogdan Tara
0378171d4f Backed out changeset 8d14aa373383 (bug 1522113) for Bugzilla lint failures CLOSED TREE 2019-05-18 01:23:13 +03:00
Gurzau Raul
bc953c3503 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-18 00:46:18 +03:00
Gurzau Raul
80a3d06820 Merge inbound to mozilla-central. a=merge 2019-05-18 00:42:21 +03:00
Gurzau Raul
5a74fb42d3 Merge autoland to mozilla-central. a=merge 2019-05-18 00:40:13 +03:00
Jared Wein
e5365ad42c Bug 1550093 - Add automated tests for CopyToClipboardButton. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D31664

--HG--
extra : moz-landing-system : lando
2019-05-17 21:20:54 +00:00
Emilio Cobos Álvarez
cdc584619e Bug 1552344 - Add a test that tests computed style diffing using the property database. r=jwatt
Depends on D31569

Differential Revision: https://phabricator.services.mozilla.com/D31570
2019-05-17 20:36:49 +02:00
Emilio Cobos Álvarez
c9ac5a72e1 Bug 1552344 - Diff overflow-anchor values. r=jwatt
Even if we do nothing, we need to know if the value actually changed to see if
we need to propagate it to descendants that explicitly inherit it.

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

Depends on D31568
2019-05-17 20:36:47 +02:00
Emilio Cobos Álvarez
26c5dfdd18 Bug 1552344 - Fix image layer diffing. r=jwatt
It was missing the cases where you changed values, but not count, and the image
was not visible, like:

  mask-image: none;
  mask-mode: match-source, match-source;

Then change mask-mode to `match-source, alpha`, for example.

Differential Revision: https://phabricator.services.mozilla.com//D31568
2019-05-17 20:36:45 +02:00
Jared Wein
75eedf0a87 Bug 1550093 - Style the Copied state to match the Lockwise addon. r=MattN,Pike
Differential Revision: https://phabricator.services.mozilla.com/D31521

--HG--
extra : moz-landing-system : lando
2019-05-17 18:26:16 +00:00
Jared Wein
0319aafd31 Bug 1550093 - Clicking the Copy button places the related text on the clipboard. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D31520

--HG--
extra : moz-landing-system : lando
2019-05-17 18:26:08 +00:00
Jared Wein
7144a26e81 Bug 1550093 - Create CustomElement for copy-to-clipboard. r=MattN,Pike
Differential Revision: https://phabricator.services.mozilla.com/D31519

--HG--
extra : moz-landing-system : lando
2019-05-17 18:26:01 +00:00
Julian Descottes
79650a7e03 Bug 1552495 - Bump debugger and reps to use launchpad 0.0.153 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D31618

--HG--
extra : moz-landing-system : lando
2019-05-17 16:55:07 +00:00
Matthew Finkel
15773980e5 Bug 1478438 - Delete unused confvars entries on Android r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D31421

--HG--
extra : moz-landing-system : lando
2019-05-17 16:37:35 +00:00