Commit Graph

17331 Commits

Author SHA1 Message Date
Mike Shal
39492660f4 Bug 1616630 - Use py3_action for GENERATED_FILES that already support it; r=firefox-build-system-reviewers,kvark,rstewart
Depends on D63437

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

--HG--
extra : moz-landing-system : lando
2020-02-20 16:21:55 +00:00
Emilio Cobos Álvarez
0bc209c210 Bug 1614921 - Ignore background-image on canvas in high-contrast mode. r=morgan
Let's give this a shot.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 15:55:58 +00:00
John Elliot V
d062cab989 Bug 1610402 - static prefs for view_source.{wrap_long_lines,syntax_highlight,tab_size} r=emilio
***
Bug 1610402 - Use static prefs for view_source.{wrap_long_lines,syntax_highlight,tab_size} r=emilio

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

--HG--
extra : moz-landing-system : lando
2020-02-20 15:31:37 +00:00
Razvan Maries
ae9503e243 Backed out changeset 2050d4e3c7e0 (bug 1610402) for Lint failures. CLOSED TREE 2020-02-20 16:28:11 +02:00
John Elliot V
ac48f9b971 Bug 1610402 - Use static prefs for view_source.{wrap_long_lines,syntax_highlight,tab_size} r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D63470

--HG--
extra : moz-landing-system : lando
2020-02-20 14:16:50 +00:00
Simon Giesecke
9350e6b741 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-20 11:40:14 +00:00
Nicolas Silva
8d2152543a Bug 1616592 - Control the batching lookback count via a pref. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D63336

--HG--
extra : moz-landing-system : lando
2020-02-20 03:45:17 +00:00
Daniel Varga
8ae244478e Backed out 2 changesets (bug 1614921) for causing reftest failures at layout/reftests/high-contrast/backplate-bg-image-001.html
Backed out changeset 1221e1369f08 (bug 1614921)
Backed out changeset 0551e1798d61 (bug 1614921)

--HG--
extra : rebase_source : 0781cc7d28bbc49af8a2a111a4449e71e1484bce
2020-02-20 06:32:00 +02:00
Daniel Varga
2246aa1650 Backed out changeset 53b2c37566d3 (bug 1614958) for causing wpt failure /media-source/mediasource-changetype-play-implicit.html
CLOSED TREE
2020-02-20 06:05:50 +02:00
Jean-Yves Avenard
30faf8ce24 Bug 1614958 - Disable VP9 codec in MSE on Android device with no VP9 hardware decoder. r=jolin
We remove the old behaviour that if webm was disabled it would be overridden under some circumstances.
Instead we replace if with a new specialised preference (media.mediasource.vp9.enabled) that is only disabled on Android.

If this pref is disabled, vp9 will only be enabled under some conditions:
 - h264 HW decoding is not supported
 - mp4 is not enabled
 - Device was deemed fast enough to decode VP9 via the P9Benchmark utility
 - On Android, A VP9 HW decoder is present.

The primary observable result is that YouTube will serve H264 content on devices with no hardware VP9 decoder

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

--HG--
extra : moz-landing-system : lando
2020-02-18 18:37:44 +00:00
Jeff Muizelaar
e92a572f3b Bug 1616676 - Reenable compositor on Windows.
We got the answer we wanted from telemetry.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 21:02:22 +00:00
Emilio Cobos Álvarez
ca52954456 Bug 1614921 - Ignore background-image on canvas in high-contrast mode. r=morgan
Let's give this a shot.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 20:17:03 +00:00
Dorel Luca
d5f9df8ee1 Backed out 2 changesets (bug 1613985) for Build bustage on Windows2012. CLOSED TREE
Backed out changeset fd177b40b561 (bug 1613985)
Backed out changeset fb6d62b7f28d (bug 1613985)
2020-02-19 22:22:41 +02:00
Simon Giesecke
59b23375c0 Bug 1613985 - Use MOZ_COUNTED_DEFAULT_CTOR_*/MOZ_COUNTED_DTOR_* macros. r=froydnj
This removes the need for explicit #ifdef NS_BUILD_REFCNT_LOGGING without
introducing user-defined destructors when it is not defined.

Also, some uses of virtual for declaring destructors are replaced by the
appropriate override declaration through these changes.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 18:05:38 +00:00
Tim Nguyen
91e68d88c0 Bug 1614202 - Implement parsing for CSS conic-gradient syntax. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62148

--HG--
extra : moz-landing-system : lando
2020-02-19 17:43:04 +00:00
Andrea Marchesini
d9a4c8b19f Bug 1608384 - Implement sameSite lax-by-default 2 minutes tolerance for unsafe methods, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D62885

--HG--
extra : moz-landing-system : lando
2020-02-19 17:43:52 +00:00
Emilio Cobos Álvarez
f63532cf6d Bug 1615056 - Remove layout.css.webkit-appearance.enabled. r=jwatt
I don't think we want to keep the ugly widget hacks forever. Let me know if
you'd rather keep the property behind a pref but I don't think there's a point
in doing that.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 14:48:43 +00:00
Ciure Andrei
28fcfbb1ca Backed out changeset 912204a32651 (bug 1614202) for causing xpcshell and mochitests failures CLOSED TREE 2020-02-19 17:21:54 +02:00
Bogdan Tara
d9d7ba1ba9 Backed out changeset 222723ab0b5b (bug 1615056) for bustages complaining about nsNativeThemeWin.cpp CLOSED TREE 2020-02-19 16:10:56 +02:00
Tim Nguyen
a7a60ebe29 Bug 1614202 - Implement parsing for CSS conic-gradient syntax. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62148

--HG--
extra : moz-landing-system : lando
2020-02-19 13:55:36 +00:00
Emilio Cobos Álvarez
4675433ccc Bug 1615056 - Remove layout.css.webkit-appearance.enabled. r=jwatt
I don't think we want to keep the ugly widget hacks forever. Let me know if
you'd rather keep the property behind a pref but I don't think there's a point
in doing that.

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

--HG--
extra : moz-landing-system : lando
2020-02-19 11:27:27 +00:00
Richard Pospesel
c49c7f3b65 Bug 1532486 - Ensure media cache is memory-only when in Private Browsing Mode r=jya,xeonchen
When in private browsing mode and the
'browser.privatebrowsing.forceMediaMemoryCache' pref is set to 'true'
MediaCache::GetMediaCache will only return an in-memory cache to avoid
disk leakage.

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

--HG--
extra : moz-landing-system : lando
2020-01-22 00:19:28 +00:00
Makoto Kato
8664cca4cc Bug 1609407 - Turn on intl.ime.hack.on_any_apps.fire_key_events_for_composition for release build. r=masayuki
Some IMEs such as GBoard use IME composition for prediction even if en-us
language. And it won't generate KeyEvent via InputConnection object.
Actually, we can emulate key event for this situation via
intl.ime.hack.on_any_apps.fire_key_events_for_composition, so let's turn on
this preference for release build.

Also, Chrome/Android dispatch key event on prediction, so GeckoView should
dispatch it too.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:50:56 +00:00
Boris Chiou
51dc66023d Bug 1610981 - Add a separate pref for CSSPseudoElement. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D63014

--HG--
extra : moz-landing-system : lando
2020-02-18 20:44:17 +00:00
Mike Shal
d8e4653d19 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 13:22:46 +00:00
Masayuki Nakano
a5deb4a2c5 Bug 1611374 - Disallow nested Document.execCommand() calls in Nightly and early Beta r=smaug
Chrome does not allow nested `Document.execCommand()` calls:
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/editing/commands/document_exec_command.cc;l=75;drc=301e5d079a1b4c29c5b17574d0470e6db7370acc

On the other hand, Safari (and Firefox) allows it.  However, it's worthwhile to
follow Chrome's behavior.

This patch makes `Document::ExecCommand()` return `false` when it's called
while running another `Document::ExecCommand()` call on Nightly and early Beta.
This is exactly same behavior, and we should watch broken web apps reports
for a while before riding this on the train.

And this patch sets the pref to `true` when all crash tests under
`editor/libeditor/crashtests` which depend on nested calls of `execCommand` run
since same things may be reproducible with other DOM APIs.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 19:17:00 +00:00
Tom Schuster
5e374e825d Bug 1569123 - Re-enable strict MIME type checking for Worker/SharedWorker everywhere. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D63056

--HG--
extra : moz-landing-system : lando
2020-02-17 13:50:55 +00:00
Jonathan Kew
424578601f Bug 1615652 - Append Microsoft JhengHei to the end of zh-HK font prefs as a fallback, because MingLiU may not be present on Windows installations where Chinese/HK language support is not specifically installed. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D62946

--HG--
extra : moz-landing-system : lando
2020-02-17 02:40:11 +00:00
Maja Frydrychowicz
2536ddcb74 Bug 1614108 - Truncate Remote Agent log messages; r=remote-protocol-reviewers,whimboo
Copy format module from Marionette.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 08:22:56 +00:00
Nils Ohlmeier [:drno]
aeddd7970d Bug 1615445: set webrtc DTLS min version to 1.2. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D62828

--HG--
extra : moz-landing-system : lando
2020-02-13 22:13:53 +00:00
Doug Thayer
e922294324 Bug 1613733 - Enable fast shutdown at last cycle collection r=froydnj
I think this is ready. We see no late write checks coming in from this
period in telemetry, and it's early in the cycle, so I think the best
time to enable this is now.

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

--HG--
extra : moz-landing-system : lando
2020-02-15 20:26:26 +00:00
Jeff Muizelaar
687a7e8a7e Bug 1615683. Disable DirectComposition temporarily for telemetry purposes. r=mstange
We want to see how the newly added COMPOSITE_SWAP_TIME metric moves.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 18:58:38 +00:00
Cosmin Sabou
8b4eabd7c2 Merge mozilla-central to autoland. 2020-02-14 15:17:39 +02:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Jonathan Watt
9bed859779 Bug 855889. Remove the print.use_global_printsettings pref. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D62754

--HG--
extra : moz-landing-system : lando
2020-02-14 02:59:45 +00:00
Brindusan Cristian
09a49910fa Backed out changeset 19c9be9294f4 (bug 1613733) for Android Bpgo build bustages. CLOSED TREE 2020-02-14 04:33:17 +02:00
Hiroyuki Ikezoe
38a45b7de4 Bug 1613611 - Enable lazy load images by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62709

--HG--
extra : moz-landing-system : lando
2020-02-14 00:14:46 +00:00
Haik Aftandilian
6395b475b8 Bug 1612006 - getDisplayMedia NotFoundError in firefox after upgrade to MacOS 10.15.3 r=spohl
Update the heuristic-based screen recording permission check to be more
reliable but still imperfect.

Add pref "media.macos.screenrecording.oscheck.enabled" (true by default) to
allow bypassing the permission check as a workaround and for testing.
i.e., when the pref is set,
nsIOSPermissionRequest::getScreenCapturePermissionState() always returns
PERMISSION_STATE_AUTHORIZED on macOS.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:36:23 +00:00
Mike Shal
ad0c283ab2 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 23:07:04 +00:00
Sam Foster
0dc699bcb0 Bug 1536728 - Show dismissed save/update doorhanger when password value is changed. r=MattN
* Behavior is behind a false-by-default pref signon.passwordEditCapture.enabled
* Responds to change events on the field (not input)
* New browser-chrome tests for doorhanger behavior when editing (non-generated) password field values

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:11:01 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Mike Shal
e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Doug Thayer
6f92e32415 Bug 1613733 - Enable fast shutdown at last cycle collection r=froydnj
I think this is ready. We see no late write checks coming in from this
period in telemetry, and it's early in the cycle, so I think the best
time to enable this is now.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:00:55 +00:00
Simon Giesecke
b50347f917 Bug 1611415 - Prefer using std::move over forget. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60980

--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
Julien Cristau
147ec7bc5e Backed out changeset 099d6c72046d (bug 1592016) as it depends on bug 1592739. a=backout
Differential Revision: https://phabricator.services.mozilla.com/D62752

--HG--
extra : moz-landing-system : lando
2020-02-13 14:26:46 +00:00
Julien Cristau
9b0202aa30 Bug 1614274 - turn off Toast Notifications on nightly. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D62199

--HG--
extra : moz-landing-system : lando
2020-02-13 10:29:58 +00:00
Andreea Pavel
94249cc894 Backed out 5 changesets (bug 1536728) for failing browser_context_menu_iframe.js on a CLOSED TREE
Backed out changeset 3c6419676ae1 (bug 1536728)
Backed out changeset dc86932a5454 (bug 1536728)
Backed out changeset 155ff3fe94c7 (bug 1536728)
Backed out changeset fe18718bfeb3 (bug 1536728)
Backed out changeset 80ffc576da4a (bug 1536728)

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_LoginManagerContent_passwordEditedOrGenerated.html => toolkit/components/passwordmgr/test/mochitest/test_LoginManagerContent_generatedPasswordFilledOrEdited.html
rename : toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js => toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onGeneratedPasswordFilledOrEdited.js
2020-02-13 07:13:50 +02:00
Paul Bone
983fef7556 Bug 1603006 - Ignore allowLinkedWebInFile when documentChannel is enabled r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D56832

--HG--
extra : moz-landing-system : lando
2020-02-12 23:56:01 +00:00
Sam Foster
f71785d0a8 Bug 1536728 - Show dismissed save/update doorhanger when password value is changed. r=MattN
* Behavior is behind a false-by-default pref signon.passwordEditCapture.enabled
* Responds to change events on the field (not input)
* New browser-chrome tests for doorhanger behavior when editing (non-generated) password field values

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

--HG--
extra : moz-landing-system : lando
2020-02-13 00:20:36 +00:00
Hiroyuki Ikezoe
157511a8d7 Bug 1542784 - Stop speculative image load for lazy load images. r=hsivonen
Depends on D61434

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

--HG--
extra : moz-landing-system : lando
2020-02-12 21:29:10 +00:00