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

7907 Коммитов

Автор SHA1 Сообщение Дата
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