Commit Graph

627218 Commits

Author SHA1 Message Date
matthias
9952037be2 Bug 1512318 - Focused textboxes do not change their border on hover. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D13888

--HG--
extra : moz-landing-system : lando
2018-12-06 17:33:53 +00:00
WR Updater Bot
9f7e0d6686 Bug 1512375 - Update webrender to commit 545126069734895bcf506324542f0e716c32512e (WR PR #3388). r=kats
https://github.com/servo/webrender/pull/3388

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:08:39 +00:00
Emilio Cobos Álvarez
ab0baa730e Bug 1511138 - Fix lint and OSX-only test failure on a CLOSED TREE. 2018-12-06 11:48:29 -05:00
Andi-Bogdan Postelnicu
fbd9a10021 Bug 1511889 - Update clang-plugin LoadLibraryUsageChecker to use getBeginLoc. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D13726

--HG--
extra : moz-landing-system : lando
2018-12-06 16:34:13 +00:00
Csoregi Natalia
f5599eb934 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-12-06 17:43:26 +02:00
Csoregi Natalia
3300dba1b6 Merge autoland to mozilla-central. a=merge 2018-12-06 17:34:31 +02:00
Emilio Cobos Álvarez
242f55927a Bug 1511138 - Improve performance of LightweightThemeConsumer when setting properties, and also avoid _sanitizeCSSColor from getting fooled. r=jaws
This probably deserves a comment as of why it belongs to this bug.

This patch series caused a single, reproducible timeout on
browser_ext_themes_toolbars.js, where the transitionend event it awaits for
stops triggering.

I got fascinated by it and I decided to poke around it in rr instead of just
removing the await line, and here's what's going on.

In the previous implementation of _sanitizeCSSColor, we were not flushing style
because of the optimization bug 1363805 introduced (which wasn't supposed to
deal with out-of-document elements, but it accidentally did so).

In any case, the fact that we were not flushing style in _sanitizeCSSColor
caused us to flush style sometime later when the lwtheme attribute was already
set up, and thus the selector in here matched:

  https://searchfox.org/mozilla-central/rev/cfaa5a1d48d6bc6552199e73004ecb05d0a9c921/browser/themes/shared/browser.inc.css#40

And thus caused the transition rule to apply at a time where the
background-color change happened.

Now we were flushing on getComputedStyle on every call, and in the most
inefficient way possible (changing a custom property on the root before each
property change, which causes us to restyle the whole document to propagate it
down to all descendants).

Furthermore, we were flushing style at a time where the lwtheme attribute
change had not yet happened, and thus when the background-color changed, there
was no transition rule applicable, and the transition didn't fire.

This patch changes LightweightThemeConsumer to avoid restyling the whole
document over and over.

Also, while at it I realized that you could fool the sanitizer with !important
in an experiment stylesheet or with other !important rule in the page really.
It's not clear why you'd do that, but it may be worth to just making that
function completely sound, so I did that and added a test for it.

Differential Revision: https://phabricator.services.mozilla.com/D13716
2018-12-06 10:33:32 -05:00
Emilio Cobos Álvarez
1b9bdc09c1 Bug 1511138 - Fix LightweightThemeConsumer's use of getComputedStyle. r=jaws,mconley
See D13472 for spec quotes and such. Other browsers don't allow
getting computed styles in disconnected subtrees and we agreed to follow suit
(it does make sense because when you're not on the flat tree it's not defined
what you're supposed to inherit from, specially in presence of Shadow DOM).

Also, it allows the style system to rely on the DOM being in a sane state.

Differential Revision: https://phabricator.services.mozilla.com/D13551
2018-12-06 10:33:30 -05:00
Emilio Cobos Álvarez
8da7cb1c9b Bug 1511138 - Fix / update tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13550
2018-12-06 10:33:29 -05:00
Emilio Cobos Álvarez
6feefb9a23 Bug 1511138 - Never return styles for disconnected elements. r=smaug
https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle says:

> If elt is connected, part of the flat tree, and its shadow-including root...

WebKit and Blink already do this, and we do it already except for cross-document
situations, where we can end up with a PresShell even if GetPresShellForContent
returns null.

The style system should be able to rely on ShadowRoots having a non-null shadow
host.

Differential Revision: https://phabricator.services.mozilla.com/D13472
2018-12-06 10:33:27 -05:00
k88hudson
287d74b7cc Bug 1512325 - Turn on ASR snippets in beta r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D13885

--HG--
extra : moz-landing-system : lando
2018-12-06 14:43:25 +00:00
Csoregi Natalia
322dfaf9c2 Backed out changeset 81a6b32f2a8b (bug 1435562) for causing Bug 1512180. a=backout 2018-12-06 14:20:20 +02:00
Csoregi Natalia
adec563403 Merge inbound to mozilla-central. a=merge 2018-12-06 11:25:51 +02:00
Natalia Csoregi
4f94342ed3 Bug 1403815 - Disable browser_test_toplevel_data_navigations.js on mac and linux debug for frequent failures. r=jmaher 2018-12-06 07:13:00 +02:00
Haotian Xiang
7a1e0b73b3 Bug 1509889 - change 'Learn More' to 'Learn more' in preferences.ftl to be consistent, r=flod
--HG--
extra : amend_source : bc1b55814cfa3a607d540398a7dcc30c5a911d3b
2018-12-06 15:14:48 +00:00
Yoshi Huang
4495599540 Bug 1510607 - Implement JS::IsCCTraceKind using the JS_FOR_EACH_TRACEKIND data. r=jonco
To use the data inside JS_FOR_EACH_TRACEKIND, so we could have a unified source
of data to decide whether CC should care about this Trackind.
2018-12-06 10:04:03 -05:00
yulia
ef8f9622b4 Bug 1512086 - fix console highlighting and update test to fail if it doesnt; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D13826

--HG--
extra : moz-landing-system : lando
2018-12-05 22:02:36 +00:00
Mark Banner
47d25a826d Bug 1505411 - Add basic monitoring for partner search pages with ads and clicks. Depends on D11188 r=adw,Felipe,chutten
Differential Revision: https://phabricator.services.mozilla.com/D11656

--HG--
extra : moz-landing-system : lando
2018-12-05 20:33:01 +00:00
Mark Banner
3075d95605 Bug 1505411 - Add a basic test to check telemetry results for visits to SERP urls. r=adw
Also simplify regexps as we don't no longer need to return match details.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:31:24 +00:00
Michael Froman
02581ba817 Bug 1512341 - fix wpt failures when RDD process is pref'd on for OSX and Win. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D13890

--HG--
extra : moz-landing-system : lando
2018-12-06 15:39:40 +00:00
Csoregi Natalia
8932fea325 Merge mozilla-central to autoland. CLOSED TREE 2018-12-06 17:41:38 +02:00
Julian Descottes
b46615ab97 Bug 1492700 - Fix eslint failure in test_adb.js;r=fix 2018-12-06 10:33:02 -05:00
Gregory Szorc
d071a5abcf NO BUG - Vendor latest robustcheckout extension; r=sheehan
Corresponds to revision 53c65bf08e17bc943a52e464f72a51a8ea5809e5 from
version-control-tools repository.
2018-12-06 10:34:12 -05:00
Julian Descottes
64a210a9e1 Bug 1492700 - Add mochitest to check that ADB is stopped after closing about:debugging;r=daisuke
Depends on D13477

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:57:25 +00:00
Julian Descottes
cefef81b96 Bug 1492700 - Introduce adb singleton to register adb consumers;r=daisuke
Depends on D13476

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:57:03 +00:00
Julian Descottes
5931fd827f Bug 1492700 - Rename adb.js to adb-process.js and switch to class;r=daisuke
Depends on D13475

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

--HG--
rename : devtools/shared/adb/adb.js => devtools/shared/adb/adb-process.js
extra : moz-landing-system : lando
2018-12-05 20:51:58 +00:00
Julian Descottes
77a80c888c Bug 1492700 - Remove unused observables in commands/track-devices;r=daisuke
Depends on D13474

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:51:41 +00:00
Julian Descottes
7e3924ecbf Bug 1492700 - Migrate adb/commands/track-devices to a Class;r=daisuke
Depends on D13473

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:49:24 +00:00
Julian Descottes
b77ab873fa Bug 1492700 - Split adb.js in several files;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13473

--HG--
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/list-devices.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/prepare-tcp-connection.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/run-command.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/shell.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/track-devices.js
extra : moz-landing-system : lando
2018-12-05 20:47:34 +00:00
Sylvestre Ledru
eaf6089240 Bug 1511900 - Fix some wording r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13712

--HG--
extra : moz-landing-system : lando
2018-12-05 20:00:57 +00:00
Sylvestre Ledru
5234aab2bf Bug 1510458 - Show the diff without doing the change r=Ehsan
1) Creates a temp directory
2) Copy the files
3) Run clang-format on then
4) Diff the files

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:08:22 +00:00
Florens Verschelde
e289318fd4 Bug 1512278 - add empty alt text to ToolboxTab icon; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D13865

--HG--
extra : moz-landing-system : lando
2018-12-06 07:58:15 +00:00
Martin Stransky
0fa47e39e5 Bug 1511973 - [Wayland] Listen for keyboard layout changes on wl_seat again, r=jhorak
We can't listen on GdkDeviceManager as we need to track device changes here. Rvert back
the old working setup based on wl_seat listeners. Also check if the keyboard is already present
(before it's created here) to avoid memory leaks.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 19:57:04 +00:00
Nicolas Chevobbe
e9ad1155fa Bug 1512257 - Enable reverse search on every channel; r=bgrins.
This patch only removes condition for the preference,
since removing the preference would require more important
code changes that might not be good to land during the
soft freeze.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:40:29 +00:00
Johann Hofmann
fdf4659de3 Bug 1511954 - Remove the "Allowed" label of content blocking categories and put it behind a pref. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13723

--HG--
extra : moz-landing-system : lando
2018-12-05 22:32:38 +00:00
Martin Stransky
0329d23770 Bug 1511951 - [Wayland/EGL] HiDPI - Set scale to EGL window, r=jhorak
- Wayland - Set proper scale to wl_egl_window when it's created and resized
- Wayland - Remove unused gtk_widget_set_app_paintable()

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

--HG--
extra : moz-landing-system : lando
2018-12-05 19:53:33 +00:00
Martin Stransky
45555dc042 Bug 1489902 - [Wayland/OpenGL] Don't draw to wl_surface owned by GtkWidget (mozcontainer) until it's commited, r=jhorak
Use frame callback to determine if we can draw to wl_surface owned by GtkWidget and use it as a base for EGL Window.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 11:02:46 +00:00
Csoregi Natalia
3c70e0c917 Merge mozilla-central to autoland. CLOSED TREE 2018-12-06 11:28:36 +02:00
WR Updater Bot
2492dcf6e6 Bug 1512156 - Update webrender to commit 8a6a53883bc6fe9522730e09b916f4023ee10d51 (WR PR #3387). r=kats
https://github.com/servo/webrender/pull/3387

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

--HG--
extra : moz-landing-system : lando
2018-12-06 08:43:13 +00:00
Patrick Brosset
3b848da5e6 Bug 1284852 - Part 3 - Re-format/factor browser_rules_cycle-color.js so it's easier to read; r=miker
Depends on D13808

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:16:36 +00:00
Patrick Brosset
e46e005962 Bug 1284852 - Part 2 - Augment the color cycling test to also check cycling after a diffent type as chosen; r=miker
Depends on D13806

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:38:02 +00:00
Patrick Brosset
9d70931958 Bug 1284852 - Part 1 - Set the used unit when appending a color to the rule-view; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D13806

--HG--
extra : moz-landing-system : lando
2018-12-05 16:49:29 +00:00
Justin Wood
7d5d9316d4 Bug 1511924 - Fix bouncer submission for beta/releases by using the proper location. r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D13776

--HG--
extra : moz-landing-system : lando
2018-12-05 15:29:08 +00:00
Gian-Carlo Pascutto
ec7b320b38 Bug 1359905 - Enable fstack-protector-strong on js/. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D13570

--HG--
extra : moz-landing-system : lando
2018-12-05 14:33:07 +00:00
ffxbld
d9acd33076 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D13896

--HG--
extra : moz-landing-system : lando
2018-12-06 15:06:29 +00:00
Martin Stransky
c1940ae522 Bug 1512415 - Always get a new wl_surface when mozcontainer is mapped, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D13912

--HG--
extra : moz-landing-system : lando
2018-12-06 14:49:00 +00:00
Marco Castelluccio
a2850b812e Bug 1512146 - Update expected results for some tests using mach try fuzzy. r=ahal
--HG--
extra : rebase_source : 4cf706b219126f90b11c2e17f0401d82fe228aa5
2018-12-04 22:54:36 -05:00
shindli
42d8404c18 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-06 06:02:52 +02:00
shindli
d1e42e895d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-05 23:38:42 +02:00
shindli
077738eeba Merge inbound to mozilla-central. a=merge 2018-12-05 23:33:31 +02:00