Commit Graph

13325 Commits

Author SHA1 Message Date
Tristan Bourvon
3aef11a5bd Bug 1383000 - Fix UAF in nsJAR::GetInputStreamWithSpec. r=aklotz
MozReview-Commit-ID: 6g7wusTbLfN

--HG--
extra : rebase_source : 43e862e6c8b4948a256883695cd8ca215afaf671
2017-07-21 15:12:55 +02:00
Christoph Kerschbaumer
9c97294062 Bug 1331351: Block toplevel window data: URI navigations. r=smaug,francois 2017-07-24 18:51:21 +02:00
Benjamin Smedberg
2a757d9ae7 Bug 1382817 - Prefs shouldn't start out dirty or be written almost immediately after being read, r=milan
MozReview-Commit-ID: BFLMsMQjn9w

--HG--
extra : rebase_source : 9e9ba20270b055e8b1e3400c8926b7c4c932d752
2017-07-20 16:19:39 -04:00
Wes Kocher
d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher
051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan Hunt
6fb1299c78 Bug 1377280 - Enable keyboard APZ on nightly for all platforms except Android. r=kats
MozReview-Commit-ID: D8OvXehFUYW

--HG--
extra : rebase_source : a65f18c7672bbc3efebb50fe91de5ade3d01714d
extra : intermediate-source : 042978789b5af309a5f7fc4575122ccdb8f77264
extra : source : 7dc3238f839a8dbc7e8dffbef3f0ae6c94847f23
2017-07-19 20:58:41 -04:00
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Nicholas Nethercote
9b59e77626 Bug 1382099 - Remove MOZ_WIDGET_GONK from modules/libpref/init/all.js. r=kats. 2017-07-21 10:52:09 +10:00
JW Wang
67a23f8462 Bug 1377044 - default "media.seekToNextFrame.enabled" to true since bug 1276272 is already fixed. r=kikuo
MozReview-Commit-ID: 4DZ4Mr2lhrn

--HG--
extra : rebase_source : 6e158f7654a909cf5dbac7b3df6719d489af6674
2017-07-19 10:59:59 +08:00
Honza Bambas
8f8eed7be6 Bug 1378375 - Kill switch preference for image network request prioritization according layout position. r=tnikkel 2017-07-14 09:26:00 -04:00
Kershaw Chang
b62593bf12 Bug 1378385 - Add a pref for switching off giving more priority to active tab. r=mayhemer
This patch introduce new pref "network.http.active_tab_priority" which indicate whether or not we dispatch transactions from active tab before others from background tab.

--HG--
extra : rebase_source : 093ab372d392eec285889f307d4540012e7aac9f
2017-07-18 21:47:00 -04:00
Alastor Wu
f235c5746c Bug 1274919 - part2 : implement resume/suspend mechanism in MediaDecoder. r=jwwang
Create the new class "BackgroundVideoDecodingPermissionObserver" to handle the
suspended request sent from the front end side.

We would do registration on startup and deregistration on shutdown of MediaDecoder.

MozReview-Commit-ID: 1UwHA7YuVN3

--HG--
extra : rebase_source : a0bc22999fbf799cd25da8ec423d9f03acc9e8e2
2017-07-20 14:13:37 +08:00
Ryan VanderMeulen
366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Paul Adenot
b1551892bd Bug 1373213 - Repair cubeb logging when using env var. r=jesup
This does two things:
- Stop calling the callback when initializing cubeb prefs callback, see the
comment block for the rationale.
- Change the pref name so that the problem does not continue to be triggered
with users that have the old pref name in their profile.

MozReview-Commit-ID: 9Ty7Mt9WZpP

--HG--
extra : rebase_source : 1ed504be98c279f54a1a6c4168709b3ba78103e5
2017-06-23 14:35:45 -07:00
Chris Peterson
447592a862 Bug 1367226 - Remove unused pref "plugins.navigator_hide_disabled_flash". r=bsmedberg
MozReview-Commit-ID: Bbkh0p1e3Co

--HG--
extra : rebase_source : 11a5928e41733c7cc26576ed1ce55101b1896fac
2017-07-13 23:18:19 -07:00
Wes Kocher
d041a8f1e1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: EAJy9kHnb32
2017-07-17 17:36:04 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
3d59bf74c8 Bug 1363372 - Test tfo: send only small part of tfo data. r=mcmanus 2017-07-17 23:50:57 +02:00
Benjamin Smedberg
692b32a9b1 Bug 981818 followup - initialize member variable for correctness and valgrind happiness, r=trivial 2017-07-17 15:12:13 -04:00
Kris Maglione
86877fceef Bug 1381097: Part 1 - Add default-false pref to enable APZ in remote popups. r=kats
Ideally, we definitely want APZ in remote popup browsers for the sake of
responsiveness. However, there are currently some serious painting and
checkerboarding issues that make APZ popups unsuitable for release
populations.

Once these issues are addressed, we should enable the preference by default.
But given the relative lack of testing, and the issues we've seen so far, we
should keep the preference so that we can disable it with a hotfix if further
issues arise.

MozReview-Commit-ID: GOZRdsmLNZR

--HG--
extra : rebase_source : ce0f2ca029d951a9c65ec1482e065b6695793133
2017-07-15 12:01:36 -07:00
Benjamin Smedberg
6231f9f89b Bug 981818 - Save preferences every time they are dirty on an timer for batching (only enabled when async pref writes are enabled) r=milan
MozReview-Commit-ID: 8O96jQIBsrb

--HG--
extra : rebase_source : 6f43b4b357e50b95b4b4919fb671dba000ceaf92
extra : source : 8b34a8ccdb17604b9bce0f228f8cab9710224331
2017-06-15 14:15:25 -04:00
David Anderson
4c033a0b2c Enable Advanced Layers for Nightly users on Windows 7. (bug 1379731, r=milan) 2017-07-16 23:09:03 -07:00
Kris Maglione
d60e48a1e8 Bug 1378948: Remove unused layers.popups.compositing.enabled preference. r=trivial
MozReview-Commit-ID: Css0qzakw14
2017-07-15 11:03:07 -07:00
Dragana Damjanovic
02da186004 Bug 1377004 - REVERT - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-15 19:47:47 +02:00
Brian Grinstead
a85e00005f Bug 1375280 - Allow the Browser Toolbox by default in local builds;r=jryans
MozReview-Commit-ID: tEUTEbTxiz

--HG--
extra : rebase_source : 89f06fcd544df62a2f288c48b3f3af738657f07a
2017-07-14 07:56:27 -07:00
Ryan VanderMeulen
019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Andrea Marchesini
50f9ea47a3 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Sebastian Hengst
a1d4d2d593 Backed out changeset 847f584256c8 (bug 1375280) for failing browser_webconsole_autocomplete_and_selfxss.js with 'Test for usage count getter - Got 5, expected 0' on Linux x64 asan. r=backout 2017-07-14 10:44:29 +02:00
Brian Grinstead
98a8e93fd9 Bug 1375280 - Allow the Browser Toolbox by default in local builds;r=jryans
MozReview-Commit-ID: tEUTEbTxiz

--HG--
extra : rebase_source : 71eadfb8e8d35849e429a6f0768b06429a60387a
2017-07-13 14:50:06 -07:00
Bas Schouten
52157b54ec Bug 1380142: Add a pref to enable the D3D11 debug layer and to break on errors. r=milan
MozReview-Commit-ID: 2FrQGXdgJrD

--HG--
extra : rebase_source : 74b42a35dbf8ab3851a3e441c655862f152ce482
2017-07-11 22:53:04 +02:00
Carsten "Tomcat" Book
260b5f956f merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02:00
Kearwood "Kip" Gilbert
0a5d006f8a Bug 1287944 - Improve interaction with Oculus Home r=daoshengmu
- Now destroying and re-creating Oculus sessions when switching
  between magic window and immersive WebVR (BeginPresent / ExitPresent)
- Now sending flags to Oculus ovr_initilize to specify if Firefox will
  be presenting to the VR display or just using tracking
- Now coordinating oculus session shutdown and restart between the
  VR controllers and the VR display with reference counting.
- Now able to return to Oculus home after using WebVR
- Magic window / non-exclusive sessions no longer take over the VR headset
  causing it to display a message that Firefox.exe is not responding.


MozReview-Commit-ID: EnRsxt6ZSzg

--HG--
extra : rebase_source : 10ba1b76bf75774b8842d99b555319fb5dd7f736
2017-07-04 13:28:27 -07:00
Samuel Vargas
9140fdd298 Bug 1378571 - Avoid unnecessary MakeCurrentImpl calls when GL context is already current - r=jgilbert 2017-07-07 16:16:00 +02:00
Honza Bambas
481893c64a Bug 1378370 - Kill switch preference for HTTP urgent-start prioritization. r=valentin 2017-07-05 08:37:00 -04:00
Valentin Gosu
44c53bc0b4 Bug 945240 - Temporarily set the network.standard-url.punycode-host pref to false r=mcmanus,smaug
This is so we can land these changes, followed by setting the pref to true, landing the test changes, and fixing all of the places where this would break the UI. See bug 945240 comment 100

MozReview-Commit-ID: ItEhfavx57s

--HG--
extra : rebase_source : 6b31aa73592794aba7f31e64a19708b59beeae56
2017-07-11 19:10:32 +02:00
Valentin Gosu
aef4546a8f Bug 945240 - Add a pref to be able to restore previous behaviour where nsIURI.host/.spec returned unicode instead of punycode r=mcmanus
This is to deal with possible bugs or web-compat issues that may arrise.
Also fixes GetDisplayHostPort which would not return the correct brackets for IPv6 addresses

MozReview-Commit-ID: 3OfiBDND5Cs
* * *
[mq]: fix_ipv6_hostport.patch

MozReview-Commit-ID: 3VYCwlt7IGT

--HG--
extra : rebase_source : a1e97b426de2ed7f5e00023407d1fcd81eb0df0e
2017-07-11 19:10:10 +02:00
Valentin Gosu
f957fd9eef Bug 945240 - Make nsIURI.host & variants return ASCII strings r=mcmanus
* nsStandardURL::GetHost/GetHostPort/GetSpec contain an punycode encoded hostname.
* Added nsIURI::GetDisplayHost/GetDisplayHostPort/GetDisplaySpec which have unicode hostnames, depending on the hostname, character blacklist and the network.IDN_show_punycode pref
* remove mHostEncoding since it's not needed anymore (the hostname is always ASCII encoded)
* Add mCheckedIfHostA to know when GetDisplayHost can return the regular host, or when we need to use the cached mDisplayHost

MozReview-Commit-ID: 4qV9Ynhr2Jl
* * *
Bug 945240 - Make sure nsIURI.specIgnoringRef/.getSensitiveInfoHiddenSpec/.prePath contain unicode hosts when network.standard-url.punycode-host is set to false r=mcmanus

MozReview-Commit-ID: F6bZuHOWEsj

--HG--
extra : rebase_source : d8ae8bf774eb22b549370ca96565bafc930faf51
2017-07-11 19:09:10 +02:00
Carsten "Tomcat" Book
0edfa97e38 merge mozilla-inbound to mozilla-central a=merge 2017-07-12 11:07:09 +02:00
Brian Birtles
1fe4c641fc Bug 1379582 - Disable frames() timing function using a pref on release/beta channels; r=hiro
MozReview-Commit-ID: 4B8NwMAfyrS

--HG--
extra : rebase_source : 08becf963a57eda8e335b1c43672b25a25dbd81d
2017-07-12 08:41:58 +09:00
Bruce Sun
a260cb8422 Bug 1378608 - Use UNIFIED_SOURCES to make PDFium compilation faster. r=glandium
MozReview-Commit-ID: IpNY6EVZtxV
2017-07-11 15:01:30 +08:00
Perry Jiang
211a8becfd Bug 1377251 - Expose TIME_TO_NON_BLANK_PAINT as Performance Entry behind pref. r=qDot 2017-07-05 16:51:50 -07:00
Nicholas Nethercote
c86dc10505 Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk.
Most of the names passed to nsIStringBundle::{Get,Format}StringFromUTF8Name
have one of the two following forms:

- a 16-bit C string literal, which is then converted to an 8-bit string in
  order for the lookup to occur;

- an 8-bit C string literal converted to a 16-bit string, which is then
  converted back to an 8-bit string in order for the lookup to occur.

This patch introduces and uses alternative methods that can take an 8-bit C
string literal, which requires changing some signatures in other methods and
functions. It replaces all C++ uses of the old methods.

The patch also changes the existing {Get,Format}StringFromName() methods so
they take an AUTF8String argument for the name instead of a wstring, because
that's nicer for JS code.

Even though there is a method for C++ code and a different one for JS code,
|binaryname| is used so that the existing method names can be used for the
common case in both languages.

The change reduces the number of NS_ConvertUTF8toUTF16 and
NS_ConvertUTF16toUTF8 conversions while running Speedometer v2 from ~270,000 to
~160,000. (Most of these conversions involved the string
"deprecatedReferrerDirective" in nsCSPParser.cpp.)

--HG--
extra : rebase_source : 3bee57a501035f76a81230d95186f8c3f460ff8e
2017-07-12 15:13:37 +10:00
Samuel Vargas
f36d75726e Bug 1367919 - Add tracking for data allocation calls in WebGL. r=jgilbert 2017-06-22 14:32:00 -04:00
Zibi Braniecki
46bd8f3dec Bug 1379420 - Introduce LocaleService::GetRegionalPrefsLocales. r=jfkthame
In scenarios where users use OS in one locale set and the App in another,
users should be able to chose which locale set to follow for regional
preferences. This method should be used over getAppLocales for all cases
where the locales are used to format regional preferences related
items like calendars, dates, units etc.

MozReview-Commit-ID: OOBYIZCKXE

--HG--
extra : rebase_source : be1b96728ff85b6c3e96a2a08db737c3e247cbbc
2017-07-08 13:54:04 -07:00
Jean-Yves Avenard
ede50177a8 Bug 1355048: P1. Have WebrtcMediaDataDecoder placeholder. r=jesup
The code currently does nothing.

MozReview-Commit-ID: 6C0sLKIoJEV

--HG--
extra : rebase_source : d297494cdb3589e45bcf28b3ee9d5fac9601b200
2017-04-10 20:40:31 +02:00
Stone Shih
9573b6e439 Bug 1351148 Part2: Add a priority queue for input events. r=smaug.
MozReview-Commit-ID: 5ud1Ex9UNVo
2017-03-21 15:44:12 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
0bd7a2c931 Bug 1222633 - Add rel=preload - dom part. r=smaug 2017-07-10 15:05:56 +02:00
Sebastian Hengst
6408570fd1 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-09 11:21:38 +02:00
Kartikaya Gupta
540da41b2f Bug 1379394 - Add a pref to allow disabling the one-handed-zoom gesture in APZ. r=botond
MozReview-Commit-ID: LUB83oLyVkm

--HG--
extra : rebase_source : 4fd4b1c4a2069f4dcf8084be33aac1f64e7bd636
2017-07-08 23:04:33 -04:00
Botond Ballo
a01f110229 Bug 1375949 - Delay application of async scroll offset by one composite, to give content a chance to remain in sync. r=kats
With this in place, scroll-linked effects will remain in sync with async
scrolling if they can be processed and painted within the frame budget.

This change is currently behind a pref that's off by default.

MozReview-Commit-ID: 6GEJTKZh6ON

--HG--
extra : rebase_source : 534bf15ef1c5ca26e1dc0d7eb298063b80aa9dd3
2017-07-05 19:17:14 -04:00
David Anderson
a3fb4a78a8 Enable Advanced Layers on Nightly Windows 8+ builds. (bug 1375743, r=milan)
--HG--
extra : rebase_source : e1ec2b22cdff589db3ec642d50fe7d888245517e
2017-07-08 13:23:40 -07:00