Граф коммитов

8169 Коммитов

Автор SHA1 Сообщение Дата
Andrew Osmond 4c9b7d3ad8 Bug 1294490 - Part 3. Implement WebP decoder. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D8116
2018-10-31 15:01:08 -04:00
Florian Quèze 97a292d889 Bug 1502440 - Hide browser internals in about:performance for beta and release users, r=felipe. 2018-10-31 19:10:51 +01:00
Andrea Marchesini 71b39f6750 Bug 1503551 - Make window.external.AddSearchProvider a dummy function, r=smaug 2018-10-31 18:30:18 +01:00
Ryan VanderMeulen d782a06f0e Backed out changeset dbc6b9a20ca0 (bug 1503354) because it was already landed on autoland. 2018-10-31 10:47:16 -04:00
Honza Bambas a77760d411 Bug 1503354 - Disable background HTTP response throttling for causing visible regressions, r=dragana 2018-10-31 02:13:00 +02:00
Andreas Pehrson 16f6336ae3 Bug 1502313 - Remove concurrent audio input device limit. r=padenot
The limit only applied within a child process.

However, within a child process we already share cubeb stream when requesting
the same device multiple times, and disallow capturing from more than one device
at a time.

This limit no longer has any effect.

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

--HG--
extra : moz-landing-system : lando
2018-10-31 14:22:23 +00:00
Honza Bambas cf5528ffe5 Bug 1503354 - Disable background HTTP response throttling for causing visible regressions. r=dragana 2018-10-31 02:13:00 -04:00
Dragana Damjanovic ce4ed62178 Bug 1503573 - Disable TFO all together. r=bagder
Differential Revision: https://phabricator.services.mozilla.com/D10365

--HG--
extra : moz-landing-system : lando
2018-10-31 14:20:35 +00:00
Ciure Andrei 499182b91a Merge inbound to mozilla-central. a=merge 2018-10-31 00:06:53 +02:00
Ehsan Akhgari 5fef8e924c Bug 1501978 - Part 1: Stop honouring the browser.contentblocking.enabled pref in Gecko r=baku
Differential Revision: https://phabricator.services.mozilla.com/D10074

--HG--
extra : moz-landing-system : lando
2018-10-30 14:30:15 +00:00
Yu Yin 15192e483d Bug 1503077 - Disable spectre mitigations by default on mips(64). r=jandem
--HG--
extra : rebase_source : 36de146a39304ad998020f068432cf4e7d9b909c
2018-10-30 02:45:00 +02:00
Gurzau Raul 8f82fd493f Merge inbound to mozilla-central. a=merge 2018-10-30 00:00:56 +02:00
Valentin Gosu 3753105b42 Bug 1460537 - Connectivity Service - Add DNSv4 and DNSv6 checks r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D7844

--HG--
extra : moz-landing-system : lando
2018-10-29 11:22:40 +00:00
Emilio Cobos Álvarez 9f8636dee7 Bug 1500885 - Remove tests and other similar bits. r=mats
Also remove specified-value-only keywords, since those are handled
only in Rust code and C++ doesn't need to know about them.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 20:32:16 +00:00
Boris Chiou 3015824e8d Bug 1496619 - part 7: Implement steps(jump-*) functions r=birtles
1. Add a new preference, layout.css.step-position-jump.enabled, for
   step(_, jump-*) timing functions.
2. We still keep JumpEnd and End tags, even though there is no difference
   between them. Therefore, we could disable the preference if needed.
3. Update the calculation of StepTiming to match the algorithm in the spec.
4. For servo, we implement the correct step function algorithm except
   for the handling of before_flag. This could be fixed later.

Depends on D9313

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

--HG--
extra : moz-landing-system : lando
2018-10-26 18:03:37 +00:00
Boris Chiou adff31eff9 Bug 1496619 - Part 1: Drop frames() timing function r=birtles
frames() timing function was removed from the spec, so we drop it.
Besides, some devtool tests are removed because they use frame(). I will
add them back by using new step function later.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 18:03:24 +00:00
Coroiu Cristina feba378b98 Backed out 2 changesets (bug 1460537) for xpcshell failures at netwerk/test/unit/test_network_connectivity_service.js on a CLOSED TREE
Backed out changeset ae2b0a2cd8a7 (bug 1460537)
Backed out changeset bd3f7151c697 (bug 1460537)
2018-10-25 20:16:10 +03:00
Ehsan Akhgari 7f23c73c8a Bug 1501286 - Part 5: Remove the browser.contentblocking.ui.enabled pref r=johannh
Depends on D9522

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

--HG--
extra : moz-landing-system : lando
2018-10-25 16:46:34 +00:00
Valentin Gosu 23793b33e1 Bug 1460537 - Connectivity Service - Add DNSv4 and DNSv6 checks r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D7844

--HG--
extra : moz-landing-system : lando
2018-10-25 15:48:51 +00:00
Dorel Luca 9529a31c66 Backed out 5 changesets (bug 1501286) for browser-chrome failures in browser/components/uitour/test/browser_trackingProtection.js
Backed out changeset cac0d4aa79d1 (bug 1501286)
Backed out changeset 578d395f555e (bug 1501286)
Backed out changeset d9940451c373 (bug 1501286)
Backed out changeset ca6c3139bdd2 (bug 1501286)
Backed out changeset 93d6f4d54f78 (bug 1501286)

--HG--
extra : rebase_source : 04083c456cd0df6243861cf53e5c39c08888c5ad
2018-10-25 17:52:59 +03:00
Ehsan Akhgari 7b693072e1 Bug 1501286 - Part 5: Remove the browser.contentblocking.ui.enabled pref r=johannh
Depends on D9522

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

--HG--
extra : moz-landing-system : lando
2018-10-25 13:35:26 +00:00
Csoregi Natalia 9fbc76ace6 Merge inbound to mozilla-central. a=merge 2018-10-25 07:45:08 +03:00
Ehsan Akhgari d7bcabf70a Bug 1501657 - Move early betas to use the strict list for the default cookie restrictions r=francois
Differential Revision: https://phabricator.services.mozilla.com/D9657

--HG--
extra : moz-landing-system : lando
2018-10-24 18:52:04 +00:00
Mark Banner a26105ff45 Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661

--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00:00
arthur.iakab 0d669cb499 Merge inbound to mozilla-central a=merge 2018-10-24 07:15:44 +03:00
Ehsan Akhgari 97e91dde8e Bug 1501461 - Use the strict list for default cookie restrictions in Nightly r=francois
Differential Revision: https://phabricator.services.mozilla.com/D9594

--HG--
extra : moz-landing-system : lando
2018-10-23 23:02:18 +00:00
Andrew Osmond 0f2cb305c1 Bug 1465619 - Part 11. Add support for recycling animated image frames. r=tnikkel
This is what we have been working towards in all of the previous parts
in the series. This subclasses AnimationFrameDiscardingQueue to save the
discarded frames for recycling by the decoder, if the frame is marked as
supporting recycling.

Differential Revision: https://phabricator.services.mozilla.com/D7516
2018-10-22 13:40:35 -04:00
Ryan Hunt 1601a8bb80 Bug 1453425 - Add relative scroll offset updates using nsGkAtoms::relative. r=botond
This commit adds a scroll origin, nsGkAtoms::relative, which can be used to
mark main thread scrolling that can be combined with a concurrent APZ scroll.

The behavior of this is controlled by a pref, apz.relative-update. This pref
is initially activated and is intended as an aid to narrowing down causes
of regressions for users in bug reports.

Relative scroll updates work by tracking the last sent or accepted APZ
scroll offset. This is sent along with every FrameMetrics. Additionally,
a flag is added to FrameMetrics, mIsRelative, indicating whether the
scroll offset can be combined with a potential APZ scroll. When this
flag is set, AsyncPanZoomController will apply the delta between the sent
base scroll offset, and sent new scroll offset.

This flag is controlled by the last scroll origin on nsGfxScrollFrame. The
new origin, `relative`, is marked as being able to clobber APZ updates,
but can only be set if all scrolls since the last repaint request or
layers transaction have been relative.

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

--HG--
extra : rebase_source : 51351a84c9cda228a0975e22eda3fd3bd8d261c4
extra : histedit_source : 4b564c19b16fe2bd26adc671b62b7cb6106e8163
2018-10-09 23:24:28 -05:00
Johann Hofmann e60786d47f Bug 1500208 - Disable FastBlock, hide FastBlock UI everywhere. r=francois,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D9140

--HG--
extra : moz-landing-system : lando
2018-10-19 06:53:32 +00:00
Chris Pearce 00b47a070d Bug 1500251 - Add dummy pref with default value true, report via telemetry. r=mythmon
The Webrender Pref Experiment is reporting its pref via telemetry and that is
reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

In Bug 1499552 I added a pref and telemetry reporting in preparation for running
a dummy Pref Experiment to verify that prefs set are reported as set, but I
realised I missed a case; where there's an existing default pref set,
we're only covering the case where that default pref has value false. We're seeing
a ~25% failure rate in the pref reporting. So we should cover the other three cases
in the dummy Pref Experiment, just in case it's one of these four cases that
is failing.

So here I add another dummy pref with a default value of true, and I report that
via telemetry. I rename the pref I added yesterday to make things consistent.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 22:02:52 +00:00
Mats Palmgren 10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
Thomas Wisniewski 3c40ce1478 Bug 1499136 - Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues; r=hsivonen
Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues

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

--HG--
extra : moz-landing-system : lando
2018-10-18 02:10:25 +00:00
Chris Pearce 778fa3defa Bug 1499552 - Add dummy pref and report via telemetry to verify telemetry pref reporting. r=mythmon data-review=francois
The Webrender Pref Experiment is reporting its pref via telemetry and that
is reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

So add reporting for two dummy prefs, one with a default value, and one
without. We intend to push out Normandy rules to report these prefs to
double-check that Normandy is working as expected.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 23:48:12 +00:00
Dorel Luca 279fc54fae Backed out changeset affe4a683227 (bug 1499136) for mochitest failures in dom/xhr/tests/test_XHRSendData.htm. CLOSED TREE 2018-10-18 00:46:41 +03:00
Thomas Wisniewski 135f96918b Bug 1499136 - Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues; r=hsivonen
Disable dom.xhr.standard_content_type_normalization for now due to webcompat issues

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

--HG--
extra : moz-landing-system : lando
2018-10-17 17:04:14 +00:00
Emilio Cobos Álvarez 81d70d88d1 Bug 1499386 - Implement @supports selector() syntax. r=heycam
This implements the selector(<complex-selector>) syntax for @supports.

See https://github.com/w3c/csswg-drafts/issues/3207 for explainer and
discussion.

Probably would should wait for that to be sorted out to land this, or maybe we
should put it behind a pref to get the code landed and change our
implementation if the discussion there leads to a change.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 12:08:14 +00:00
Diego Pino Garcia 0ad023d797 Bug 1481971 - Enable PaymentRequest on Nightly for Windows/macOS for US/CA users on en-US builds r=MattN,baku,gandalf
--HG--
extra : rebase_source : afd01adfdfdd57b497dff28e674b69e2a7d9e73a
2018-10-16 16:14:12 -07:00
Cosmin Sabou 2c1c58c1e5 Merge mozilla-central to inbound 2018-10-29 06:22:13 +02:00
Chris Pearce e8a9d4d9df Bug 1502779 - Backed out changeset 1c74b82884a8 (bug 1499552). r=backout
The telemetry added in bug 1499552 is no longer needed, so should be backed out.
2018-10-29 16:24:36 +13:00
Chris Pearce f6fa3435f2 Bug 1502779 - Backed out changeset 38c1fc84fcaf (bug 1500251). r=backout
The telemetry added in bug 1500251 is no longer needed, so should be backed out.
2018-10-29 16:23:33 +13:00
Andrea Marchesini ca0ca5deb7 Bug 1500733 - Remove canvas.imagebitmap_extensions.enabled preference, r=aosmond 2018-10-23 23:35:44 +02:00
Andrea Marchesini 6eb130211c Bug 1497486 - Enable FeaturePolicy in nightly, r=ckerschb 2018-10-16 07:58:00 +02:00
Makoto Kato f6302a7ef3 Bug 1498438 - Use Microsoft JhengHei for zh-TW on all channel. r=jfkthame
--HG--
extra : rebase_source : e01310e83fea1497711666bfb5748d0c530bcddf
2018-10-15 12:38:41 +09:00
Kartikaya Gupta dc68784e43 Bug 1479757 - Switch to containerless scrolling for GeckoView+WR. r=botond
This changes the containerful scrolling pref to be an override pref
such that it is:
- always false on desktop (i.e. always use containerless there)
- always true in Fennec (i.e. never use containerless there)
- true in GeckoView if WebRender is disabled (i.e. only use
  containerless with WebRender).

The first two cases are the same as before; the last case is new.
Because we don't create layers with WR, the containerless vs
containerful distinction doesn't make much sense there, and we need to
implement a bunch of zooming glue in either case. So it makes sense to
go with the "way of the future" and keep it containerless.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 17:41:21 +00:00
vinoth 7b887cfbbc Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8683

--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00
Erica Wright 71d90e5deb bug 1498758 - Update placeholder value of DNS over HTTPS input, add default pref value r=jduell
Update placeholder value of DNS over HTTPS input to the cloudflare provider add a default pref value for network.trr.uri

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

--HG--
extra : moz-landing-system : lando
2018-10-13 02:16:31 +00:00
Daosheng Mu 48b9444a7c Bug 1476091 - Enable WebVR in release on macOS. r=qdot,kip
MozReview-Commit-ID: 5bmkpZDo9fz

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

--HG--
extra : moz-landing-system : lando
2018-10-12 23:25:54 +00:00
Cosmin Sabou 696b1680f6 Backed out changeset 74a98c04cd54 (bug 1495583) for browser chrome failures on browser_connection_dnsoverhttps. 2018-10-13 02:03:42 +03:00
Erica Wright d3826b0a61 Bug 1495583 - Add a button to restore the default value for network.trr.uri preference. r=flod,jaws
This adds a button to the preferences UI to restore the default value for network.trr.uri preference.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 21:34:50 +00:00
Kearwood "Kip" Gilbert e2ae575ca7 Bug 1473399 - Enable VR Service thread by default. r=daoshengmu
--HG--
extra : source : 81c3640eaebc47516247f546b2203ec550fdd37a
extra : amend_source : 5b3cb943e467e35c475cf147b3f7686293a03045
2018-10-11 11:17:52 -07:00
Kearwood "Kip" Gilbert 06f22ca88b Bug 1466700 - Refactor gfxVROculus.cpp to use gfxVRExternal interface, r=daoshengmu
Tags: #secure-revision

Bug #: 1466700

Differential Revision: https://phabricator.services.mozilla.com/D8177
2018-07-13 17:16:35 -07:00
Daniel Varga d51fae3043 Backed out changeset f536c1abf26e (bug 1466700) for causing build bustage at /build/build/src/gfx/vr/service/OculusSession.cpp
--HG--
extra : rebase_source : 1a2e33bbba56a6abc9806624b9944a1f1b4d81e2
2018-10-12 22:29:20 +03:00
Daniel Varga 8c72d0afd7 Backed out changeset 81c3640eaebc (bug 1473399) for causing build bustage on /build/build/src/gfx/vr/service/OculusSession.cpp
--HG--
extra : rebase_source : 502939b5087c85d851979aecf1928b1036700de4
2018-10-12 22:27:53 +03:00
Narcis Beleuzu e09f2e2622 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 06:53:11 +03:00
Kearwood "Kip" Gilbert 5412f1d0a6 Bug 1473399 - Enable VR Service thread by default,r=daoshengmu
--HG--
extra : amend_source : 5753392913601198fa8391c654a7eb52e64c2eb7
2018-10-11 11:17:52 -07:00
Jean-Yves Avenard c38d8622a3 Bug 1497294 - P8. Disable P010 surface type with nvidia adapters. r=mattwoodrow
It just doesn't work.
We add the preference media.wmf.force.allow-p010-format to force enable it.

Depends on D8136

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

--HG--
extra : moz-landing-system : lando
2018-10-11 07:32:35 +00:00
Jean-Yves Avenard 9d2f7d9c39 Bug 1497983 - Allow pref to be read of the main thread. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D8359

--HG--
extra : moz-landing-system : lando
2018-10-11 11:24:40 +00:00
Tarek Ziadé 06ff704ff3 Bug 1491816 - deal with unresponsive content processes in ChromeUtils.requestPerformanceMetrics() - r=baku
Adds a timout that will resolve the promise to return even if we did not get an answer from
all children.

MozReview-Commit-ID: FFLwAUkkYos

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

--HG--
extra : moz-landing-system : lando
2018-10-11 09:40:23 +00:00
Eric Rahm 299aa5eba5 Bug 1470280 - Part 4: Increase process count to 8 on Nightly. r=felipe
This increases the default amount of content processes on nightly to 8. It
is nightly only and will not ride the trains.

--HG--
extra : rebase_source : 54bfae28921240d985957d59bf64ca91bd6a0f19
extra : intermediate-source : 72e7ef77480d0845ceabb5d3747a5523db6bda9d
extra : source : d5375325488f449c45dd032bc8167ebebca07497
2018-10-04 14:44:22 -07:00
Miko Mynttinen 6347cf3474 Bug 1496491 - Disable parent process RDL r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D8038

--HG--
extra : moz-landing-system : lando
2018-10-08 22:22:45 +00:00
Dorel Luca 65f9687eb1 Backed out 4 changesets (bug 1470280) for browser-chrome failure in layout/xul/test/browser_bug703210.js. a=backout
Backed out changeset 72e7ef77480d (bug 1470280)
Backed out changeset 403c3d0daf6a (bug 1470280)
Backed out changeset fe7ccd9fee76 (bug 1470280)
Backed out changeset 60699c2387f6 (bug 1470280)
2018-10-10 10:00:19 +03:00
Gurzau Raul fa37566219 Merge inbound to mozilla-central. a=merge 2018-10-10 07:35:14 +03:00
Jean-Yves Avenard ab78780c77 Bug 1496529 - P8. Add media.navigator.mediadatadecoder_h264_enabled preference. r=drno
For now, the H264 decoding support is rather sturdy. It handles change of resolution and content smoothly thanks to the H264Converter.
The VP8/VP9 one however, not so much.

So we make a preference to only enable H264 for now.

Depends on D7895

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

--HG--
extra : moz-landing-system : lando
2018-10-09 20:36:18 +00:00
Kartikaya Gupta a3f94d89fc Bug 1497676 - Drop defunct MOZ_B2G ifdef. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D8148

--HG--
extra : moz-landing-system : lando
2018-10-09 21:11:56 +00:00
Gurzau Raul 2ab30dfc12 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-10 01:04:25 +03:00
Gurzau Raul 63f0c51158 Merge autoland to mozilla-central. a=merge 2018-10-10 00:58:04 +03:00
Masayuki Nakano c38a77ce26 Bug 1497546 - Disable new behavior of keyCode and charCode of keypress event r=smaug a=Aryx
Summary:
The fix of bug 1479964 breaks some web apps using Google Closure including
Google's apps.  So, for Nightly testers, we should disable the new behavior
until Google Closure fixes it or we can disable the new behavior per web apps.

Reviewers: smaug

Reviewed By: smaug

Bug #: 1497546

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

--HG--
extra : histedit_source : 03f59268c220297040c1c5186e62a05710d468b9
2018-10-09 21:04:37 +03:00
Masayuki Nakano 06267cb849 Bug 1479964 - Set KeyboardEvent.keyCode and KeyboardEvent.charCode to same value if the event is "keypress" event r=smaug
Chrome sets both KeyboardEvent.keyCode and KeyboardEvent.charCode of "keypress"
event to same value.  On the other hand, our traditional behavior is, sets
one of them to 0.

Therefore, we need to set keyCode value to charCode value if the keypress
event is caused by a non-function key, i.e., it may be a printable key with
specific modifier state and/or different keyboard layout for compatibility
with Chrome.  Similarly, we need to set charCode value to keyCode value if
the keypress event is caused by a function key which is not mapped to producing
a character.

Note that this hack is for compatibility with Chrome.  So, for now, it's enough
to change the behavior only for "keypress" event handlers in web content.  If
we completely change the behavior, we need to fix a lot of default handlers
and mochitests too.  However, it's really difficult because default handlers
check whether keypress events are printable or not with following code:

> if (event.charCode &&
>     !event.altKey && !event.ctrlKey && !event.metaKey) {

or

> if (!event.keyCode &&
>     !event.altKey && !event.ctrlKey && !event.metaKey) {

So, until we stop dispatching "keypress" events for non-printable keys,
we need complicated check in each of them.

And also note that this patch changes the behavior of KeyboardEvent::KeyCode()
when spoofing is enabled and the instance is initialized by initKeyEvent() or
initKeyboardEvent().  That was changed by bug 1222285 unexpectedly and keeping
the behavior makes patched code really ugly.  Therefore, this takes back the
old behavior even if spoofing is enabled.

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

--HG--
extra : moz-landing-system : lando
2018-10-09 04:43:37 +00:00
Eric Rahm 1d4ad9b0fb Bug 1470280 - Part 4: Increase process count to 8 on Nightly. r=felipe
This increases the default amount of content processes on nightly to 8. It
is nightly only and will not ride the trains.

--HG--
extra : rebase_source : a39b9aa36e10e18b8c8e050d69d639178b6f1a5a
extra : source : d5375325488f449c45dd032bc8167ebebca07497
2018-10-04 14:44:22 -07:00
Paul Adenot b84d8a778e Bug 1496714 - Enable AGC by default for getUserMedia. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D7871

--HG--
extra : moz-landing-system : lando
2018-10-08 12:15:32 +00:00
Emilio Cobos Álvarez 40d4cc80ad Bug 1496961 - Unship ::-moz-tree pseudos and -moz-box display values on release channels. r=mats
These have been been on nightly / beta for a couple months without any single
regression filed against them.

Let the prefs ride the trains, but keep them, so we can toggle them easily if
needed.

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

--HG--
extra : moz-landing-system : lando
2018-10-06 12:17:01 +00:00
Tiberius Oros b4990a0cc1 Merge inbound to mozilla-central. a=merge 2018-10-06 00:44:03 +03:00
Jason Laster 23c04604af Revert "Backed out changeset edc506b37439 (bug 1495300) for failing at /browser_toolbox_options_disable_buttons.js on a CLOSED TREE"
This reverts commit f42585540c95dd9a2874a75f0a10125a313979f9.
2018-10-05 10:28:46 -04:00
Tarek Ziadé ac5abf5c61 Bug 1496506 - Flip the pref for the new about:performance r=florian,baku
This activates by default the new about:performance page and its underlying
counters in Firefox

MozReview-Commit-ID: LccL6zBHUHm

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

--HG--
extra : moz-landing-system : lando
2018-10-05 15:54:03 +00:00
Johann Hofmann 8794f35242 Bug 1496671 - Final pref changes for Content Blocking in Firefox 63. r=Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D8068

--HG--
extra : moz-landing-system : lando
2018-10-09 13:26:24 +00:00
Narcis Beleuzu b9b1c8ff17 Merge inbound to mozilla-central. a=merge 2018-10-04 18:48:04 +03:00
Andrew Creskey 00474fc9c9 Bug 1495431 Expose baseline and ion JIT warm up threshold options to preferences, about:config r=nbp
JIT warmup options were exposed to preferences to facilitate experimentation/optimization.

The baseline and ion warm up thresholds had already been exposed through JSAPI, just needed to read from Preferences.

The ion JitOption, frequentBailoutThreshold, was also exposed to JSAPI and Preferences.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 19:23:54 +00:00
Masayuki Nakano b75228c776 Bug 1496284 - Drop Etherpad instances from "dom.keyboardevent.keypress.hack.dispatch_non_printable_keys" r=smaug
Etherpad fixed the bug with new Gecko behavior and has already released
it in this August.  So, even if some instances still use older versions,
we can request them to update the version.

This patch removes all Etherpad instances we know from the blacklist
of strict keypress dispatching.  So, Nightly testers can find old
instances easier.

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

--HG--
extra : moz-landing-system : lando
2018-10-04 09:19:49 +00:00
Christoph Kerschbaumer 4c9dc7e143 Bug 1495983: Assert system privileged about: pages have CSP. r=smaug 2018-10-03 09:47:08 +02:00
Andrea Marchesini da30b53c07 Bug 1496114 - PaymentRequest CTOR is controlled by pref, r=marcosc 2018-10-04 07:17:33 +02:00
Timothy Guan-tin Chien bdfea4d8cd Bug 1483656 - Part III, Enable UA Widget on Fennec and Reftest by moving UAWidgetsChild.jsm to toolkit r=jaws
This moves UAWidgetsChild.jsm from browser to toolkit so that
Fennec and Reftest could pick it up.

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

--HG--
rename : browser/actors/UAWidgetsChild.jsm => toolkit/actors/UAWidgetsChild.jsm
extra : moz-landing-system : lando
2018-10-03 15:49:33 +00:00
Daniel Stenberg 53b0bdce59 bug 1495523 - disable TRR after max-fails number of failed requests r=valentin
MozReview-Commit-ID: 2dSEY6DuP2A

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

--HG--
extra : moz-landing-system : lando
2018-10-03 11:53:46 +00:00
Perry Jiang fd4ce6d9d5 Bug 1487463 - implement StructuredCloneTester to be used in testing r=baku
StructuredCloneTester objects can configured to be serializable (or not) and
deserializable (or not) by the structured clone algorithm. They can be used to
test, for example, onmessageerror event handlers, where the messageerror event
is fired when a message fails to be deserialized (but was successfully serialized).
The class is pref'ed with "dom.testing.structuredclonetester.enabled".

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

--HG--
extra : moz-landing-system : lando
2018-10-02 16:43:57 +00:00
Daniel Stenberg 61f9378669 bug 1495537 - lower the default trr request-timeout to 1500 ms r=dragana
99.15% of all TRR requests are done within 1.56 seconds (in beta 63) and
1500 milliseconds is already a very long time to wait for a resolve to
fail... The median is 44 ms and 95th percentile is at 471 ms.

MozReview-Commit-ID: CICBAA0cEBd

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

--HG--
extra : moz-landing-system : lando
2018-10-02 16:44:12 +00:00
Masayuki Nakano 32d2fd89d1 Bug 1495627 - Add "medium.com/p/" into dom.keyboardevent.keypress.hack.dispatch_non_printable_keys r=smaug
Medium's editor listens to keypress event to handle Ctrl+Z and Ctrl+Y on Gecko.
Therefore, if we don't dispatch keypress events for non-printable keys (by
default on Nightly), users cannot use undo/redo in medium.com.

This patch makes the editor of medium.com into the blacklist of strict
keypress dispatching for avoiding inconvenience of Nightly testers.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 09:04:03 +00:00
Andrea Marchesini 4be054a731 Bug 1390801 - FeaturePolicy - part 2 - WebIDL + DOM integration, r=ckerschb 2018-10-01 08:09:44 +02:00
arthur.iakab 6d5ae40a02 Merge inbound to mozilla-central a=merge 2018-09-29 07:16:35 +03:00
Gabriele Svelto 7089fe7369 Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn
Differential Revision: https://phabricator.services.mozilla.com/D6796

--HG--
extra : moz-landing-system : lando
2018-09-28 20:54:09 +00:00
Ehsan Akhgari 76e8de4967 Bug 1493563 - Part 7: Store the log more compactly, and cap the size of the origin log at a maximum limit adjustable by a pref; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6597
2018-09-28 14:46:02 -04:00
Noemi Erli 4419e20e14 Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
Ehsan Akhgari d275be2948 Bug 1493563 - Part 7: Store the log more compactly, and cap the size of the origin log at a maximum limit adjustable by a pref; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6597
2018-09-28 13:24:42 -04:00
Benjamin Bouvier 4c5347b2ed Bug 1490251: Add a pref switch to use Cranelift for wasm compilation; r=luke
--HG--
extra : rebase_source : 9814fd3836b7c06d84b5c8ae08f61a052f076215
extra : histedit_source : 31a2933472deb17e61e02432a69a86048227efde
2018-09-13 12:32:17 +02:00
Bogdan Tara 8449b1c489 Backed out changeset ba1fef7b14eb (bug 1493955) for GTest failures CLOSED TREE 2018-09-28 02:42:20 +03:00
Gabriele Svelto 4d700e555a Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn
Differential Revision: https://phabricator.services.mozilla.com/D6796

--HG--
extra : moz-landing-system : lando
2018-09-27 20:41:39 +00:00
Emilio Cobos Álvarez d8c0080a10 Bug 1493222 - Expose InspectorUtils to fuzzers. r=bzbarsky
I can be more granular if we want, by adding more ChromeOnly annotations for the
functions that we don't want to expose.

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

--HG--
extra : moz-landing-system : lando
2018-09-27 19:00:33 +00:00
Xidorn Quan cb87cec282 Bug 1494501 - Rename pref "layout.css.scrollbar-colors.enabled" to "layout.css.scrollbar-color.enabled". r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7030

--HG--
extra : moz-landing-system : lando
2018-09-27 00:38:16 +00:00
Thomas Wisniewski 26cd4e5649 Bug 1398718 - change default pref to on for lowercase header names in XHR.getAllResponseHeaders; r=hsivonen
change default pref to on for lowercase header names in XHR.getAllResponseHeaders

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

--HG--
extra : moz-landing-system : lando
2018-09-26 20:33:16 +00:00
Xidorn Quan c46ef183e2 Bug 1492012 - Enable scrollbar-color and scrollbar-width by default. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D6872

--HG--
extra : moz-landing-system : lando
2018-09-26 03:30:32 +00:00
Xidorn Quan 913d0147f3 Bug 1493869 - Put window.event behind a pref and disable it by default for release versions. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D6752

--HG--
extra : moz-landing-system : lando
2018-09-25 15:55:09 +00:00
Ciure Andrei 7426f19d64 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-26 00:51:44 +03:00
Ciure Andrei ce57be88b8 Merge inbound to mozilla-central. a=merge 2018-09-26 00:49:06 +03:00
Shane Caraveo 68385e02b4 Bug 1492421 remove duplicate value in restrictedDomains pref, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6826

--HG--
extra : moz-landing-system : lando
2018-09-25 18:32:17 +00:00
Jason Orendorff e6ab602a75 Bug 1491939 - Part 4: Enable streams on a per-realm basis. Drop dom.streams.enabled and dom.workers.options.streams; use only javascript.options.streams. r=baku
Depends on D6555

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

--HG--
extra : moz-landing-system : lando
2018-09-25 14:11:41 +00:00
Andrew Osmond d70925f00b Bug 1492930 - Part 4. Add ImageMemoryReporter to support extra shared surfaces reporting. r=tnikkel
By delegating responsibility for shared surfaces reporting to imagelib,
we can cross reference the GPU shared surfaces cache with the local
surface cache in a content process (or the main process). This will
allow us to identify entries that are in the GPU cache but not in the
content/main process cache, and aid in debugging memory leaks. This
functionality is pref'd off by default behind image.mem.debug-reporting.

Additionally, we want to report every entry that was mapped into the
compositor process, in the compositor process memory report. This will
give us a sense of how much of our resident memory is consumed by mapped
images in absence of the more detailed cross referencing above.
2018-09-25 09:13:51 -04:00
Paul Adenot cc3d47676e Bug 1481152 - Restrict to a single input stream per process on Linux, when using PulseAudio and audio remoting is enabled. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5543

--HG--
extra : moz-landing-system : lando
2018-09-25 10:04:44 +00:00
Ehsan Akhgari 4ad659ac56 Bug 1493682 - Part 1: Introduce two new prefs for controlling whether the content blocking allow list would be honoured r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6747

--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:12 +00:00
Andrea Marchesini 25f9ad890f Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 4 - update permissions after X seconds, r=ehsan 2018-09-24 12:54:54 +02:00
Andrea Marchesini 9968406ccc Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 2 - storing user-interaction, r=ehsan 2018-09-24 12:54:54 +02:00
Dragana Damjanovic 9cadc84486 Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
--HG--
extra : rebase_source : be79870960953ef9535ccb6a440515ec4a8232d5
extra : histedit_source : 8096ab2eaf246cbbeb97bace0531b86b8c69ff66
2018-09-22 23:54:11 +03:00
Brian Hackett 5c86561d00 Bug 1493187 - Enable Web Replay menu items by default, r=jlast.
--HG--
extra : rebase_source : b48a5379fe1f039ee5a6ddf0881e3b1cadb38b88
2018-09-21 14:03:51 -10:00
Andreea Pavel 62ce7b988d Merge mozilla-inbound to mozilla-central. a=merge 2018-09-22 12:34:50 +03:00
Diego Pino Garcia 0f11b0a3d3 Bug 1483986 - Remove sync versions of document.cookie getter/setter; r=ehsan,froydnj 2018-09-21 23:01:32 -04:00
Ting-Yu Lin b5d9e05828 Bug 1485063 Part 4 - Move preferences used in AccessibleCaretManager to StaticPrefList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5474

--HG--
extra : moz-landing-system : lando
2018-09-21 21:59:52 +00:00
Ting-Yu Lin 4a7b7e1a11 Bug 1485063 Part 3 - Move preferences which enable AccessibleCaret to StaticPrefList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5472

--HG--
extra : moz-landing-system : lando
2018-09-21 22:01:29 +00:00
Ting-Yu Lin 1a5f8a9601 Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h r=mats
"layers.async-pan-zoom.enabled" has been enabled for all platforms for a
long time. I reword the comment to avoid confusion.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 22:01:31 +00:00
Ting-Yu Lin 787b6292f5 Bug 1485063 Part 1 - Move preferences used in AccessibleCaret to StaticPrefsList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5470

--HG--
extra : moz-landing-system : lando
2018-09-21 21:48:27 +00:00
Gurzau Raul b1522a7bf0 Merge inbound to mozilla-central. a=merge 2018-09-21 07:13:51 +03:00
Gurzau Raul 07d30b811f Backed out changeset dc225279994a (bug 1473736) for web platform leaks 2018-09-21 04:30:10 +03:00
Andrew Osmond 5f4c3fc4b2 Bug 1456558 - Part 2. Implement factor of 2 scaling support for SVGs in the surface cache. r=tnikkel
There is one main difference between raster images and vector images
with respect to factor of 2 scaling. Vector images may be scaled
infinitely and so we need to extend factor of 2 scaling to permit
growing instead of just shrinking. Also, we don't want to scale
infinitely, so we should configure a maximum size limit. This size limit
will apply even outside of factor of 2 scaling, and so the caller
(VectorImage) will need to be careful to take this into account.
2018-09-20 20:22:03 -04:00
Andreea Pavel 3805f6a285 Backed out 3 changesets (bug 1456558) for crashtest assertion failures on a CLOSED TREE
Backed out changeset 70d8f11cf6e8 (bug 1456558)
Backed out changeset af9fc3daf97c (bug 1456558)
Backed out changeset f209a9d848f4 (bug 1456558)
2018-09-21 02:13:41 +03:00
Andrew Osmond f799e4bd72 Bug 1456558 - Part 2. Implement factor of 2 scaling support for SVGs in the surface cache. r=tnikkel
There is one main difference between raster images and vector images
with respect to factor of 2 scaling. Vector images may be scaled
infinitely and so we need to extend factor of 2 scaling to permit
growing instead of just shrinking. Also, we don't want to scale
infinitely, so we should configure a maximum size limit. This size limit
will apply even outside of factor of 2 scaling, and so the caller
(VectorImage) will need to be careful to take this into account.
2018-09-20 18:15:32 -04:00
Andreea Pavel f5f6c0b588 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-21 00:54:47 +03:00
Dorel Luca aeb29fbd62 Backed out 4 changesets (bug 1491061) for browser chrome failures on browser/components/preferences/in-content/tests/browser_contentblocking.js. CLOSED TREE
Backed out changeset e2c6afb1ce06 (bug 1491061)
Backed out changeset f6caae3590e3 (bug 1491061)
Backed out changeset 1497b1426062 (bug 1491061)
Backed out changeset 7066f941ce99 (bug 1491061)

--HG--
extra : rebase_source : 8866e8dd666d5469880a37a7c5f1bd6b260e01c9
2018-09-20 19:41:13 +03:00
Ehsan Akhgari 21c6ead793 Bug 1491061 - Part 4: Synchronize the default values of the essential prefs that content blocking depends on for all platforms r=baku
Depends on D6356

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

--HG--
extra : moz-landing-system : lando
2018-09-20 15:45:48 +00:00
Ehsan Akhgari 3093f23e7b Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5887

--HG--
extra : moz-landing-system : lando
2018-09-20 15:45:50 +00:00
Ehsan Akhgari 7228a06636 Bug 1491061 - Part 4: Synchronize the default values of the essential prefs that content blocking depends on for all platforms; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6357
2018-09-20 13:43:05 -04:00
Ehsan Akhgari a7981b7ace Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-20 13:43:05 -04:00
Nathan Froyd e7b3b3140d Bug 1415980 - make hash keys movable and not copyable; r=erahm
Everything that goes in a PLDHashtable (and its derivatives, like
nsTHashtable) needs to inherit from PLDHashEntryHdr. But through a lack
of enforcement, copy constructors for these derived classes didn't
explicitly invoke the copy constructor for PLDHashEntryHdr (and the
compiler didn't invoke the copy constructor for us). Instead,
PLDHashTable explicitly copied around the bits that the copy constructor
would have.

The current setup has two problems:

1) Derived classes should be using move construction, not copy
   construction, since anything that's shuffling hash table keys/entries
   around will be using move construction.

2) Derived classes should take responsibility for transferring bits of
   superclass state around, and not rely on something else to handle that.

The second point is not a huge problem for PLDHashTable (PLDHashTable
only has to copy PLDHashEntryHdr's bits in a single place), but future
hash table implementations that might move entries around more
aggressively would have to insert compensation code all over the
place. Additionally, if moving entries is implemented via memcpy (which
is quite common), PLDHashTable copying around bits *again* is
inefficient.

Let's fix all these problems in one go, by:

1) Explicitly declaring the set of constructors that PLDHashEntryHdr
   implements (and does not implement). In particular, the copy
   constructor is deleted, so any derived classes that attempt to make
   themselves copyable will be detected at compile time: the compiler
   will complain that the superclass type is not copyable.

This change on its own will result in many compiler errors, so...

2) Change any derived classes to implement move constructors instead of
   copy constructors. Note that some of these move constructors are,
   strictly speaking, unnecessary, since the relevant classes are moved
   via memcpy in nsTHashtable and its derivatives.
2018-09-20 11:20:36 -04:00
Dragana Damjanovic 70e0646d75 Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
Implement necko part of ESNI

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

--HG--
extra : moz-landing-system : lando
2018-09-20 20:53:28 +00:00
Andreea Pavel c8f8e2da0d Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-09-21 01:00:46 +03:00
Luca Greco 28fc8336c0 Bug 1491272 - Lock experimental userScripts API behind a pref and make it enabled by default on Nightly. r=mixedpuppy
Depends on D6146

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

--HG--
extra : moz-landing-system : lando
2018-09-20 17:10:37 +00:00
Dimi Lee 08b5cd489f Bug 1479898 - P3. Increase the application reputation remote lookup timeout to 15sec. r=francois
3% download protection remote lookup failures are from timeout.
Increase the timeout from 10sec to 15sec to see if this help.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 18:28:35 +00:00
Thomas Wisniewski b4751b61e6 Bug 1454325 - have XHRs adjust content type of uploads per spec using the MIME Sniffing standard; r=hsivonen
have XHRs adjust content type of uploads per spec using the MIME Sniffing standard

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

--HG--
extra : moz-landing-system : lando
2018-09-20 01:04:51 +00:00
Matthew Noorenberghe 5cc8014d08 Bug 1491996 - Add a pref to disable the user activation/gesture requirement for PaymentRequest.show(). r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6092

--HG--
extra : moz-landing-system : lando
2018-09-19 15:32:22 +00:00
Timothy Guan-tin Chien dea8a7e3af Bug 1484048 - Part V, Re-enable UA Widget on Desktop Nightly r=smaug
Backed out changeset fd0d6079d0d2

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

--HG--
extra : moz-landing-system : lando
2018-09-17 20:49:15 +00:00
Narcis Beleuzu 756c9d5a26 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-19 13:03:12 +03:00
Christoph Kerschbaumer 18859e6634 Bug 1490977: Assert content privileged about page has CSP. r=smaug 2018-09-19 06:50:23 +02:00
Masayuki Nakano 44c7d029b0 Bug 1490641 - Disable all Gecko specific UIs by default in release build r=m_kato
Currently, we have some Gecko specific editing UI:
- Resizers to resize <img>s, <table>s, absolutely positioned elements.
- Inline-table-editing UI to add/remove rows/columns.
- Grabber to move absolutely positioned element.

They are now disabled by default in Nightly and early-Beta. Starting from 64,
this patch makes them disabled by default even on release channel.

Note that the other browsers do not have those UIs and web apps can enable
them with document.execCommand() on Gecko anyway. Those UI usage is enough
low according to the telemetry, but a few users use them aggressively (see
bug 1452538 comment 19).

This is a request from W3C Editing API WG:
https://github.com/w3c/editing/issues/171

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

--HG--
extra : moz-landing-system : lando
2018-09-19 06:40:03 +00:00
Xidorn Quan 52b4572e49 Bug 1269276 - Enable unprefixed Fullscreen API by default for all channels. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D6094

--HG--
extra : moz-landing-system : lando
2018-09-18 09:17:12 +00:00
Noemi Erli efdd6a208a Backed out changeset 7aa742bff8fb (bug 1473736) for xpcshell failures and bc failures in browser_urlbarSearchSingleWordNotification.js 2018-09-18 22:07:58 +03:00
Dragana Damjanovic f000a5b4b0 Bug 1473736 - Implement necko part of ESNI r=mcmanus
Implement necko part of ESNI

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

--HG--
extra : moz-landing-system : lando
2018-09-17 23:08:14 +00:00
Andrew Osmond 8be55f0165 Bug 1337111 - Part 5. Add pref to force decoding of full frames, disabled by default. r=tnikkel 2018-09-17 15:06:29 -04:00
Coroiu Cristina de5411772c Backed out 6 changesets (bug 1337111) for build bustages at builds/worker/workspace/build/src/image/SurfaceFilters.h on a CLOSED TREE
Backed out changeset ca0caa556dc9 (bug 1337111)
Backed out changeset d7d7fa868d0d (bug 1337111)
Backed out changeset 93e956e89a21 (bug 1337111)
Backed out changeset f36337c1309b (bug 1337111)
Backed out changeset 1b1e25b0b345 (bug 1337111)
Backed out changeset 3785cdebe6a3 (bug 1337111)
2018-09-17 20:42:30 +03:00
Andrew Osmond f823b924c8 Bug 1337111 - Part 5. Add pref to force decoding of full frames, disabled by default. r=tnikkel 2018-09-17 13:21:38 -04:00
Martin Stransky 15f23785df Bug 1489097 - [Linux/Gtk] Enable default ARGB visual for toplevel windows on GNOME, r=jhorak
Some Gtk+ themes use non-rectangular toplevel windows. To fully support
such themes we need to make toplevel window transparent with ARGB visual.

It may cause performanance issue so make it configurable
and enable it by default for GNOME right now as it already uses ARGB visual
for widgets.

Also use mozilla.widget.use-argb-visuals to override this.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 09:56:05 +00:00
Tarek Ziadé c955693f09 Bug 1479740 - Track Web API calls made in the child - r=florian,mixedpuppy
The performance counter is now also used in the children, and
the ParentAPIManager.retrievePerformanceCounters() can be used
to aggregate all counters into a promise.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 14:29:08 +00:00
Ehsan Akhgari 2012a895a1 Bug 1489252 - Part 1: Move browser.fastblock.enabled to StaticPrefList.h; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5295
2018-09-14 16:06:07 -04:00
Noemi Erli abe2f49a95 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-14 01:17:10 +03:00
Christoph Kerschbaumer c52fe4b959 Bug 1459544: Only assert that about page has CSP if nothing stopped the load of the doc. r=smaug 2018-09-13 14:47:24 +02:00
Ryan VanderMeulen 649c54f993 Backed out 4 changesets (bug 1485063) for breaking text selection on Android (bug 1490818).
Backed out changeset 8ad3af468d26 (bug 1485063)
Backed out changeset 8f53e771094d (bug 1485063)
Backed out changeset 99456cff7313 (bug 1485063)
Backed out changeset d43869851540 (bug 1485063)
2018-09-13 10:21:46 -04:00
Jeff Muizelaar 9bcfb295a7 Bug 1490891. Support toggling paint flashing in blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5730

--HG--
extra : moz-landing-system : lando
2018-09-13 20:34:38 +00:00
Cosmin Sabou 5b41e41329 Backed out changeset 2f15d5f434d8 (bug 1490891) for reftests and crashtest failures. CLOSED TREE 2018-09-13 22:29:45 +03:00
Jeff Muizelaar 66aa4d36c4 Bug 1490891. Support toggling paint flashing in blob images r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D5730

--HG--
extra : moz-landing-system : lando
2018-09-13 17:08:43 +00:00
Brian Grinstead 8f3f22daf1 Bug 1490412 - Revert the part of Bug 1489844 that removed browser.dom.window.dump.enabled from all.js;r=Ehsan
Moving this to C++ caused browser.dom.window.dump.enabled to become false in artifact
builds, since MOZILLA_OFFICIAL is true for the binaries used in that case. Restoring
the preference in all.js fixes this, since that file is built locally with artifact builds.

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

--HG--
extra : moz-landing-system : lando
2018-09-12 16:20:27 +00:00
Bogdan Tara a23c3959b6 Merge inbound to mozilla-central. a=merge 2018-09-12 06:22:14 +03:00
Ting-Yu Lin 6ab0f8df35 Bug 1485063 Part 4 - Move preferences used in AccessibleCaretManager to StaticPrefList.h. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5474
2018-09-11 14:21:42 -07:00
Ting-Yu Lin 1bf805395e Bug 1485063 Part 3 - Move preferences which enable AccessibleCaret to StaticPrefList.h. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5472
2018-09-11 14:21:35 -07:00
Ting-Yu Lin 628c820df6 Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h. r=mats
"layers.async-pan-zoom.enabled" has been enabled for all platforms for a
long time. I reword the comment to avoid confusion.

Differential Revision: https://phabricator.services.mozilla.com/D5471
2018-09-11 14:21:28 -07:00
Ting-Yu Lin 5d3dc041de Bug 1485063 Part 1 - Move preferences used in AccessibleCaret to StaticPrefsList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5470
2018-09-11 14:21:21 -07:00
Francois Marier 947b258b04 Bug 1488951 - Put a limit on how long FastBlock runs. r=mayhemer,Ehsan. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D5098

--HG--
extra : source : e97cfb1a3f88d0e76e4dfd665aa5f7713881558a
extra : amend_source : 905f3af0cf7a94014d41734f66eea4bfc2c5e15e
2018-09-11 18:17:12 +00:00
Narcis Beleuzu 3c3da81ebc Backed out changeset e97cfb1a3f88 (bug 1488951) by bhearsum`s request. 2018-09-11 22:01:36 +03:00
Francois Marier e1f72beb97 Bug 1488951 - Put a limit on how long FastBlock runs. r=mayhemer,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D5098

--HG--
extra : moz-landing-system : lando
2018-09-11 18:17:12 +00:00
Cosmin Sabou de7676288a Merge mozilla-inbound to mozilla-central. a=merge 2018-09-11 13:06:37 +03:00
Ciure Andrei 3af7e2cbe0 Backed out 4 changesets (bug 1485063) for failing test-oop-extensions/test_ext_webrequest_frameId.html CLOSED TREE
Backed out changeset fdd2f4fc6d5a (bug 1485063)
Backed out changeset 1edf90819cb2 (bug 1485063)
Backed out changeset f42f853c8aa7 (bug 1485063)
Backed out changeset b4e402e76ba6 (bug 1485063)
2018-09-11 04:49:55 +03:00
Ting-Yu Lin afef0bf612 Bug 1485063 Part 4 - Move preferences used in AccessibleCaretManager to StaticPrefList.h. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5474

--HG--
extra : moz-landing-system : lando
2018-09-10 22:38:41 +00:00
Ting-Yu Lin b91559ddb2 Bug 1485063 Part 3 - Move preferences which enable AccessibleCaret to StaticPrefList.h. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5472

--HG--
extra : moz-landing-system : lando
2018-09-10 22:24:21 +00:00
Ting-Yu Lin 1ff0aabd92 Bug 1485063 Part 2 - Move preferences used in AccessibleCaretEventHub to StaticPrefList.h. r=mats
"layers.async-pan-zoom.enabled" has been enabled for all platforms for a
long time. I reword the comment to avoid confusion.

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

--HG--
extra : moz-landing-system : lando
2018-09-10 22:22:24 +00:00
Ting-Yu Lin b1effb9c51 Bug 1485063 Part 1 - Move preferences used in AccessibleCaret to StaticPrefsList.h r=mats
Differential Revision: https://phabricator.services.mozilla.com/D5470

--HG--
extra : moz-landing-system : lando
2018-09-10 22:20:06 +00:00
Ting-Yu Lin 513be2f9d5 Bug 1408841 - Remove preference "layout.css.filters.enabled". r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D5467

--HG--
extra : moz-landing-system : lando
2018-09-10 22:45:20 +00:00
Andreea Pavel 2b539c7b7e Merge autoland to mozilla-central. a=merge 2018-09-11 00:58:48 +03:00
Andrea Marchesini 774bf5cc26 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 27 - dom.worker.canceling.timeoutMilliseconds, r=ehsan 2018-09-10 20:36:18 +02:00
Andrea Marchesini 7f5b4be48c Bug 1489844 - Port DOMPrefs to StaticPrefs - part 26 - browser_dom_window_dump_enabled, r=ehsan 2018-09-10 20:36:18 +02:00
Andrea Marchesini 53323036ee Bug 1489844 - Port DOMPrefs to StaticPrefs - part 23 - dom.script_loader.binast_encoding.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini 194f006ba9 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 22 - dom.indexedDB.storageOption.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini a08ebce8d8 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 21 - dom.enable_performance_observer, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini 841dd1282e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 20 - devtools.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini 7de64f2060 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 19 - privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini f7d3352ce2 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 18 - privacy.resistFingerprinting, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini fda9223d0e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 17 - dom.fetchObserver.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini 82b6a8da30 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 16 - dom.netinfo.enabled, r=ehsan 2018-09-10 20:36:17 +02:00
Andrea Marchesini c47168b4b7 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 15 - dom.webkitBlink.dirPicker.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini 7a7da121dc Bug 1489844 - Port DOMPrefs to StaticPrefs - part 14 - gfx.offscreencanvas.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini 54cc64fa25 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 13 - dom.streams.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini 50429ea3ae Bug 1489844 - Port DOMPrefs to StaticPrefs - part 12 - dom.push.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini eb04a59fb8 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 11 - dom.promise_rejection_events.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini deaf03b28e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 10 - dom.storageManager.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini 7cef10ddb5 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 9 - dom.serviceWorkers.testing.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
Andrea Marchesini 70d8e635cf Bug 1489844 - Port DOMPrefs to StaticPrefs - part 8 - dom.serviceWorkers.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini ddda8d451e Bug 1489844 - Port DOMPrefs to StaticPrefs - part 7 - dom.webnotifications.requireinteraction.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini e3c7a44eb3 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 6 - dom.webnotifications.serviceworker.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini 857ed47a4a Bug 1489844 - Port DOMPrefs to StaticPrefs - part 5 - dom.webnotifications.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini 74d358af13 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 4 - dom.performance.enable_user_timing_logging, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini 8288bddafb Bug 1489844 - Port DOMPrefs to StaticPrefs - part 3 - dom.caches.testing.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini d26d5425d9 Bug 1489844 - Port DOMPrefs to StaticPrefs - part 2 - dom.caches.enabled, r=ehsan 2018-09-10 20:36:15 +02:00
Andrea Marchesini 84efbc6ccd Bug 1489844 - Port DOMPrefs to StaticPrefs - part 1 - canvas_imagebitmap_extensions_enabled, r=ehsan 2018-09-10 20:36:14 +02:00
Robert Helmer 7d4c15f217 Bug 1465251 - use PrioEncoder to encode Telemetry values for pilot project r=kmag
Use PrioEncoder to encode a few already-included histograms, so we can compare results on the Telemetry server side.

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

--HG--
extra : moz-landing-system : lando
2018-09-09 00:23:52 +00:00
Sylvestre Ledru aa37bde79b Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
This also includes moving some files to the regular format.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Francois Marier 1a9a0f0817 Bug 1489590 - Teach the URL classifier about the FastBlock lists. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D5297

--HG--
extra : moz-landing-system : lando
2018-09-07 20:31:18 +00:00
Nicholas Nethercote ea6e6b7d15 Bug 1488649 - Convert the prefs table from PLDHashTable to mozilla::HashSet. r=glandium
Because it's hot, and mozilla::HashSet is much faster than PLDHashTable.

--HG--
extra : rebase_source : 65efb5c25a01d03201eb31845f627b503efe7c9b
2018-09-07 09:51:22 +10:00
Martin Stransky eec457b056 Bug 1408360 - Make toplevel window transparent under mozilla.widget.titlebar-theme-round-corners pref, r=jhorak
Some Gtk+ themes use non-rectangular toplevel windows. To fully support
such themes we need to make toplevel window transparent with ARGB visual.
It may cause performance issue so let's put it under a preference
and allow distros to enable it per default theme.

Depends on D4664

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:52:46 +00:00
Andrea Marchesini 9290eb7909 Bug 1488165 - Remove security.csp.enable_violation_events pref, r=dveditz 2018-09-06 09:05:10 +02:00
Jonathan Watt e65c479846 Bug 1368555. Let -webkit-appearance ride the trains in v63. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D6765

--HG--
extra : rebase_source : 5fd575a64823079bc61f8f953bb871a282c6a1b7
2018-08-25 13:19:48 +01:00
Xidorn Quan 9bee3c7fdc Bug 1486325 - Enable webkit-prefixed unknown pseudo-element by default. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D5010

--HG--
extra : moz-landing-system : lando
2018-09-05 11:44:57 +00:00
Boris Chiou 8e384ca9b3 Bug 1487838 - Add a pref for |clip-path:path()|. r=xidorn
Add a preference, layout.css.clip-path-path.enabled, for |clip-path:path()|.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 04:50:33 +00:00
Miko Mynttinen 4938049810 Bug 1413546 - Fix e10s logic in nsLayoutUtils::AreRetainedDisplayListsEnabled() and set layout.display-list.retain.chrome to true r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D2953

--HG--
extra : moz-landing-system : lando
2018-09-04 14:53:18 +00:00
Kershaw Chang 766fce11a1 Bug 1357676 - Implement batch eviction r=jdm
1. Add network.cookie.QuotaPerHost, which has the default value 150.
2. When the cookies exceed more than 180, evict cookies to 150.
3. The concept of eviction is to sort all cookies by whether the cookie is expired and the cookie's last access time. Then, evict cookies by the given count.
4. Details of evict algorithm:
   4.1 Create a priority queue and push all cookies in it.
   4.2 Use custom comparator to compare the cookie by expiry and last access.
   4.3 Pop 30(180 - 150) cookies from the queue and append them to an output array.

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

--HG--
extra : moz-landing-system : lando
2018-09-03 14:49:58 +00:00
Ting-Yu Lin 6f4a25f896 Bug 1347048 - Remove AccessibleCaret's selection bar support. r=mats
This UI feature was used by B2G only.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 13:51:51 +00:00
Narcis Beleuzu 3a8485e6e6 Backed out 6 changesets (bug 1492930) for build bustages on ImageMemoryReporter.cpp. CLOSED TREE
Backed out changeset 9d1ff0d0af47 (bug 1492930)
Backed out changeset bdb1bf2d8062 (bug 1492930)
Backed out changeset 2959314ecf7c (bug 1492930)
Backed out changeset 587e01daa080 (bug 1492930)
Backed out changeset 1a6b422c5a90 (bug 1492930)
Backed out changeset a3b3f4cdc9fa (bug 1492930)
2018-09-25 13:33:17 +03:00
Andrew Osmond 5d483b60ce Bug 1492930 - Part 4. Add ImageMemoryReporter to support extra shared surfaces reporting. r=tnikkel
By delegating responsibility for shared surfaces reporting to imagelib,
we can cross reference the GPU shared surfaces cache with the local
surface cache in a content process (or the main process). This will
allow us to identify entries that are in the GPU cache but not in the
content/main process cache, and aid in debugging memory leaks. This
functionality is pref'd off by default behind image.mem.debug-reporting.

Additionally, we want to report every entry that was mapped into the
compositor process, in the compositor process memory report. This will
give us a sense of how much of our resident memory is consumed by mapped
images in absence of the more detailed cross referencing above.
2018-09-25 06:18:06 -04:00
Ehsan Akhgari 414b60a6ca Bug 1487178 - Ensure that the Firefox configuration is up to date for the Content Blocking project; r=johannh 2018-08-31 10:20:17 +02:00
Xidorn Quan 63a8649721 Bug 1486297 - Add a pref for Pointer Lock API so that user can disable it. r=smaug!
Differential Revision: https://phabricator.services.mozilla.com/D4637

--HG--
extra : moz-landing-system : lando
2018-08-30 22:55:31 +00:00
Masayuki Nakano be86e183fd Bug 1486370 - Change nsAutoCopyListener to a static class r=smaug
nsAutoCopyListener is a singleton class but refcountable and a selection
listener.  nsFrameSelection adds it to only normal Selection when it's on
macOS or it's enabled by the pref.  Additionally, it's always first selection
listener since it's added immediately after Selection instance is created.

So, we can make it a static class, and normal Selection instance should have
a bool to decide whether it should notify nsAutoCopyListener of its changes.
Then, we can save the cost of grabbing it with local RefPtr and the virtual
call.

Additionally, this patch renames nsAutoCopyListener to mozilla::AutoCopyListener
and optimizes constructor of nsFrameSelection (using bool var cache to retrieve
the pref, avoid retrieving the pref on macOS).

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

--HG--
rename : layout/generic/nsAutoCopyListener.h => layout/generic/AutoCopyListener.h
extra : moz-landing-system : lando
2018-08-30 07:36:23 +00:00
Nicholas Nethercote fe34f19459 Bug 1486690 - Rename nsMemory::Clone() and remove unnecessary checks after it. r=glandium
The 'x' in the new name makes it clearer that it's infallible.

--HG--
extra : rebase_source : 51fd946c482befe8a8ca5bd88ecc967971f455da
2018-08-28 15:59:19 +10:00
Ciure Andrei d716a04e20 Merge inbound to mozilla-central. a=merge 2018-08-29 00:58:21 +03:00
Ting-Yu Lin 2c847c1eb9 Bug 1485495 - Move column-span preference to StaticPrefList.h. r=dholbert
We can access the bool pref in C++ by writing

  if (StaticPrefs::layout_css_column_span_enabled()) {
     // do something
  }

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

--HG--
extra : moz-landing-system : lando
2018-08-27 18:38:58 +00:00
Xidorn Quan 7e1e060971 Bug 1424106 - Accept unknown webkit pseudo-element. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D4186

--HG--
extra : source : 9537cee04b53aa60d3f40a1b9d05ab8f739a92f8
2018-08-24 22:17:37 +10:00
Patrick Walton b8b76ab4fe Bug 1485538 - Expose WebRender's "show overdraw" debug mode behind a pref. r=jrmuizel 2018-08-10 20:17:01 -07:00
Kearwood "Kip" Gilbert 382df23968 Bug 1466700 - Refactor gfxVROculus.cpp to use gfxVRExternal interface, r=daoshengmu
Tags: #secure-revision

Bug #: 1466700

Differential Revision: https://phabricator.services.mozilla.com/D8177
2018-07-13 17:16:35 -07:00
Narcis Beleuzu 3b0f157728 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 00:59:25 +03:00
Randell Jesup 1e918164f2 Bug 1299118: Measure TTI (or TTFI at the moment) in Raptor TP6 r=rwood 2018-10-11 13:23:38 -04:00
Randell Jesup 92bdcfd0ad Bug 1299118: non-spec TimeToFirstInteractive implementation behind a pref r=mstange,bholley 2018-10-11 13:23:28 -04:00
shindli 0f211616dc Backed out 3 changesets (bug 1299118) for ES lint failures
Backed out changeset 14451eb9a2b8 (bug 1299118)
Backed out changeset e5adc30bdf7f (bug 1299118)
Backed out changeset 8f7bb583fbb5 (bug 1299118)
2018-10-11 20:47:58 +03:00
Randell Jesup 94b05e1202 Bug 1299118: Measure TTI (or TTFI at the moment) in Raptor TP6 r=rwood 2018-10-11 13:23:38 -04:00
Randell Jesup 2271cd99ed Bug 1299118: non-spec TimeToFirstInteractive implementation behind a pref r=mstange,bholley 2018-10-11 13:23:28 -04:00
Nicholas Nethercote fb4191fda8 Bug 1490115 - Add extra tests for comment-only inputs. r=glandium
--HG--
extra : rebase_source : 5ef9accd9c6d7501ff2e54a4a81b3360f0bbc040
2018-09-11 09:41:40 +10:00
Nicholas Nethercote 46c70d27ee Bug 1490115 - Handle unaccompanied low surrogate pairs in the prefs parser. r=glandium
Currently they cause the `String::from_utf16()` call to return an error result,
and then the subsequent `unwrap()` on that result aborts.

--HG--
extra : rebase_source : 6be81d4d1e618444f762a1ba4e93b5ce648dd45b
2018-09-11 09:41:37 +10:00
Nicholas Nethercote 2e13ef79fb Bug 1489744 - Fix a bounds violation crash in the prefs parser. r=glandium
Currently, if a get_char() call returns EOF, the index moves beyond the
buffer's bounds and get_char() cannot be called again without triggering a
panic. As a result, everywhere that encounters an EOF and then does subsequent
parsing ungets the EOF... except there was one place that failed to do that:
the match case for CharKind::Slash in get_token(). This meant that a single '/'
at the end of the input could trigger a bounds violation (but only if it is the
start of a new token).

This EOF-unget requirement is subtle and easy to get wrong, so this patch
eliminates it. get_char() now can be called repeatedly after an EOF, and will
return EOF on each subsequent call. This means that some of the existing
unget_char() calls can be removed. Some others are still necessary to get line
numbers correct in error messages, but the outcome of mishandled cases is now
much less drastic -- an incorrect line number in an error message instead of a
panic.

The patch also clarifies a couple of related comments.

--HG--
extra : rebase_source : 62a3f07bb83b95495b2975724876b619a33b5c9d
2018-09-11 09:36:07 +10:00
Emilio Cobos Álvarez 7f1f4ab7f0 Bug 1425700 - Hook the use counters into StyleSheet parsing. r=heycam
Still not hooked into telemetry, I talked with :janerik and :gfritzsche about
that, but test incoming!

This intentionally doesn't handle CSSOM and such for now, will file followups
for those, though should be trivial.

I want to unify / clean up how we do the use counters and the error reporting
stuff for CSSOM, since the current function call still shows up in profiles,
but that should be a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D3828
2018-08-28 15:58:19 +02:00
Ehsan Akhgari 1022d7475b Bug 1485839 - Remove the obsolete privacy.restrict3rdpartystorage.ui.enabled pref; r=nika 2018-08-28 08:29:33 -04:00
Ehsan Akhgari 2d62042b5c Bug 1486092 - Part 1: Move the browser.contentblocking.enabled pref to StaticPrefs; r=baku 2018-08-27 09:22:01 -04:00
Makoto Kato 7f9a17328d Bug 1155505 - Part 3. Use native Windows Toast backend on Nightly only. r=jaws
For feedback, I would like to turn on native Windows Toast backend on
Nightly only.

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

--HG--
extra : rebase_source : 342ab889043bfacd495366ebf73e2b4eedd6a1c2
2018-08-09 20:37:08 +09:00
Anny Gakhokidze edf3cdbd07 Bug 1453153 - Initial removal of moz* APIs in DataTransfer, r=enndeakin,r=nika
In DataTransfer, change mozItemCount, mozTypesAt, mozClearDataAt, mozSetDataAt,
mozGetDataAt APIs to be ChromeOnly.

MozReview-Commit-ID: 9uJ9ncrcBL2
2018-08-22 15:10:31 -04:00
Ryan Hunt 76325b1cff Bug 1485371 - Re-enable tiling for OpenBSD. r=nical
--HG--
extra : rebase_source : 83a8e6533312cf8db9aee9e70dfdbfa21ab13bb0
extra : histedit_source : 6ec64a8cb17d4e4b10a487c5c676d63edbfa9dc4
2018-08-22 09:34:22 -05:00
Noemi Erli a3eb003ecf Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html
2018-08-22 12:49:02 +03:00
Xidorn Quan 7119449f79 Bug 1484587 - Put the behavior that overflow-wrap: break-word affecting intrinsic size behind a pref and disable it by default. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D3749

--HG--
extra : moz-landing-system : lando
2018-08-22 06:55:13 +00:00
Ciure Andrei 40b18c41b7 Backed out 7 changesets (bug 1429298) for xpcshell failures properties-db.js CLOSED TREE
Backed out changeset 48214a8e1b6b (bug 1429298)
Backed out changeset cc2785ab879e (bug 1429298)
Backed out changeset c217209a3b04 (bug 1429298)
Backed out changeset 196fc7b48b84 (bug 1429298)
Backed out changeset 761e9bb54adb (bug 1429298)
Backed out changeset 0b9ec0d707b5 (bug 1429298)
Backed out changeset 38ad1cc1b0c8 (bug 1429298)

--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string-002.html => testing/web-platform/tests/css/motion/offset-path-string.html
2018-08-22 08:01:49 +03:00
Boris Chiou ef9ee2f37d Bug 1429298 - Part 7: Tests. r=emilio
In wpt, now we support "offset-path: none | path()", so parsing none or
path function should be correct. Animations which animate "from none"
or "to none" will pass because we could serialize "none", even if we
don't support animations on offset-path.

Depends on D2968

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

--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-002.html
extra : moz-landing-system : lando
2018-08-22 01:23:14 +00:00
Boris Chiou 471ca0041a Bug 1429298 - Part 1: Define the preference for motion-path. r=emilio
Define the preference. I will enable it only for debug usage and test
coverage in a different patch.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 01:18:59 +00:00
Boris Chiou dbe6b4f2db Bug 1429298 - Part 7: Tests. r=emilio
In wpt, now we support "offset-path: none | path()", so parsing none or
path function should be correct. Animations which animate "from none"
or "to none" will pass because we could serialize "none", even if we
don't support animations on offset-path.

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


--HG--
rename : testing/web-platform/tests/css/motion/offset-path-string.html => testing/web-platform/tests/css/motion/offset-path-string-001.html
2018-08-21 22:41:46 -07:00
Boris Chiou a3bac78905 Bug 1429298 - Part 1: Define the preference for motion-path. r=emilio
Define the preference. I will enable it only for debug usage and test
coverage in a different patch.

Differential Revision: https://phabricator.services.mozilla.com/D2962
2018-08-21 22:41:25 -07:00
Jorg K cd598f0aaa Bug 1484809 - Put class nsRelativeFilePref into its own include file. r=njn
--HG--
extra : rebase_source : c775cdde24c8aa7134a7dd121abaf9233c8e2729
2018-08-21 00:28:00 +03:00
Tanushree Podder efd8c4f4fb Bug 1357785 - Expose the Visual Viewport API to web content. r=botond, r=nika
--HG--
extra : amend_source : 8e5fe3e3195dd82aef19a4c79df31e2048024c99
2018-08-20 16:28:42 -04:00
Daosheng Mu 8ac5934ce1 Bug 1430038 - Part 1: Add VR process to the process list; r=kip, jimm
Summary: MozReview-Commit-ID: AWyFur2gLCQ

Tags: #secure-revision

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

MozReview-Commit-ID: HHGDiXyaqnB

--HG--
extra : rebase_source : cbb94eb1aaca4ca385559c0e997b508a80121105
2018-06-22 16:30:14 -07:00
Masayuki Nakano d70e55af73 Bug 1449564 - part 4: Make users can show Gecko specific editing UIs with new prefs r=m_kato
Even after we disable Gecko specific editing UIs by default, web apps can
enable them with execCommand.  However, until such web apps change their
behavior, users cannot use Gecko specific UIs.  At least for now, we should
make users can enable them by default.

MozReview-Commit-ID: AuAdw4FQ4He

--HG--
extra : rebase_source : a1f88f2928df0d7afb4361c425d75c74872ac9d5
2018-08-16 13:51:36 +09:00
spillner ae484ea026 Bug 260562 - Remove obsolete accessibility.typeaheadfind.enabletimeout preference. r=kmag
Summary:
Mike DeBoer correctly noted in a comment at https://bugzilla.mozilla.org/show_bug.cgi?id=254592 that enabletimeout is no longer used and should be removed.  I updated the timeout logic to treat a zero or negative value as effectively "no automatic timeout" for the quick-find dialog (otherwise, setting the timeout value to a small or negative value makes the feature unusable).

This is a corollary to the bugfix at https://phabricator.services.mozilla.com/D3404 ; I've split it out into a separate patch to avoid confusing that issue.

Update: this specific issue already had its own bug at https://bugzilla.mozilla.org/show_bug.cgi?id=260562, and another mention at https://bugzilla.mozilla.org/show_bug.cgi?id=265915 .

Reviewers: kmag

Reviewed By: kmag

Bug #: 260562

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

--HG--
extra : rebase_source : 1c2b73d6af1343d536a2380dee784f8ea2339b61
extra : amend_source : cc00a2398b2c478003e842b4dc9b99bf53af6824
2018-08-19 08:47:57 +03:00
Ehsan Akhgari e2e95ab324 Bug 1484109 - Part 3: Make nsRelativeFilePref final; r=njn 2018-08-17 10:27:24 -04:00
Ehsan Akhgari 2eb3a8ef76 Bug 1484109 - Part 2: Make nsIRelativeFilePref non-scriptable, since there are no script consumers; r=njn 2018-08-17 10:26:50 -04:00
Ehsan Akhgari 3debcecb46 Bug 1484109 - Part 1: Remove the XPCOM component registration for nsRelativeFilePref; r=njn 2018-08-17 10:26:25 -04:00
Margareta Eliza Balazs 6c198262de Merge inbound to mozilla-central. a=merge 2018-08-17 12:46:14 +03:00
Olli Pettay 9fb8ccf44c Bug 1471947, bug 1471948 - Enable Shadow DOM and Custom Elements in release builds, r=ehsan, emilio 2018-08-17 03:39:02 +03:00