Commit Graph

13403 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
de892834ed Merge mozilla-central to mozilla-inbound 2017-06-20 11:31:34 +02:00
Carsten "Tomcat" Book
013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Wes Kocher
17a16ffd2f Merge m-c to inbound, a=merge
MozReview-Commit-ID: Gf5xDaCWnPi
2017-06-19 17:34:36 -07:00
Wes Kocher
57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Chris Pearce
4e48872937 Bug 1374499 - Increase number of shmems pre-allocated by PChromiumCDM to 6. r=gerald
Currently we preallocate 4 shmems for ferrying video frames between the GMP and CDM
procecss. Our telemetry indicates that 88% of PChromiumCDM instances need only 4.
So 12% are finding that insufficient, and are taking the slow path and sending frames
back to the content process via a non-shared path while they allocate more shmem.

If we increased our pre-allocation to 6 shmems, we'd guess correctly for 97%, and thus
we'd avoid the slow path more often.


MozReview-Commit-ID: 9HcrlskiCPq

--HG--
extra : rebase_source : 0b3ba593b7b8c9739221c056687f0f3f0fb3019d
2017-06-20 13:47:33 +12:00
Daniel Stenberg
7819a5be9a Bug 1328865 - Make nsJARURI::SetSpecWithBase ignore URL fragments. r=valentin
As otherwise it could wrongly find !/ delimiters with that.
2017-06-18 23:52:00 -04:00
Carsten "Tomcat" Book
d14a5a593a merge mozilla-inbound to mozilla-central a=merge 2017-06-19 13:37:20 +02:00
Dragana Damjanovic
e80186dffd Bug 1372897 - Test only the necko part of TFO, i.e. disable the nspr part. r=mcmanus 2017-06-19 09:16:38 +02:00
Milan Sreckovic
c0d37bddd9 Bug 1373250: encapsulate all of the memory management in a single structure so that we don't have to do any manual freeing. r=milan
MozReview-Commit-ID: 8hIm53rDUI3

--HG--
extra : rebase_source : 270e89dc05e378f5ae560a0beb719fe18bf671bf
2017-06-15 17:33:20 -04:00
Cameron McCormack
1849ea4995 Backout bug 1291457 and bug 1370034 for bustage. 2017-06-19 13:55:15 +08:00
Aaron Klotz
aae99d6411 Bug 1363221: Enable a11y handler by default in prefs; r=jimm
--HG--
extra : amend_source : 7245734128495ade0baf3d5edc2e267f70afa439
2017-06-19 14:23:45 -06:00
Honza Bambas
9e38f7b8fc Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
--HG--
extra : rebase_source : c9690f4b8decd39a10da676bd50ec09cb2ad8892
2017-05-30 18:07:59 +02:00
Gerald Squelart
ac5fcad310 Bug 1371882 - Avoid MemoryBlockCache when combined sizes > 'media.memory_caches_combined_limit_...' - r=cpearce
Don't go over the lowest of 'media.memory_caches_combined_limit_kb'
(kilobytes) or 'media.memory_caches_combined_limit_pc_sysmem' (percents of
system memory).

Added more logging around creation/destruction of MediaCaches.

MozReview-Commit-ID: Cdz4ycyn1RR

--HG--
extra : rebase_source : 63168234f186c3ef9c0289a189a647d67d8526a4
2017-06-12 15:42:26 +12:00
Gerald Squelart
527c7d3dee Bug 1371882 - If content length <= 'media.memory_cache_max_size', use a discrete memory-backed MediaCache - r=cpearce
MozReview-Commit-ID: HH1R6LjKkxb

--HG--
extra : rebase_source : 2ce35a504c6709624bc7d161003b8331f6f25d1e
2017-06-09 23:15:04 +12:00
Michael Layzell
cd7d12f6e7 Bug 1370971 - Enable dom.noopener.newprocess by default, r=bz
MozReview-Commit-ID: 2XNmnVkIicV
2017-06-15 15:07:44 -04:00
Milan Sreckovic
8a9d97395a Bug 789945: Part 4. Explicitly make some pref save be blocking calls. r=bsmedberg
MozReview-Commit-ID: 1MEp7o65HAV

--HG--
extra : rebase_source : b787c78253ad22b6fd4785e7a66f426af4f9b424
2017-06-14 13:38:17 -04:00
Milan Sreckovic
d43b8012f4 Bug 789945: Part 3. Flush late in the shutdown, to give a last save a chance to complete and for the flush to not be blocking. r=bsmedberg"
MozReview-Commit-ID: 7w5Y16C7mTn

--HG--
extra : rebase_source : 3aba3691e2ef889e89e9ff9d37a7332d018484e5
2017-06-14 13:38:08 -04:00
Milan Sreckovic
1176eaef58 Bug 789945: Part 2. Off main thread functionality for the save. r=bsmedberg
MozReview-Commit-ID: 2TmA59K4nSB

--HG--
extra : rebase_source : 76b9996d2762e0dbaa4849d3c652cee8d6320865
2017-06-14 13:37:28 -04:00
Ryan Hunt
db5f497c0f Bug 1351783 part 16 - Perform async scrolling for keyboard events when possible. r=kats,botond,dvander
This commit ties it all together by dispatching keyboard actions to scroll targets
in response to keyboard inputs when we have current and valid focus state.

MozReview-Commit-ID: G7rZiS3FH5e

--HG--
extra : rebase_source : 10129d417fe8ef576cac5bda3157dd8f65b5843a
extra : histedit_source : be651a33f787f68bc764988ddc073d346e854491
2017-06-05 19:46:06 -05:00
Nicholas Nethercote
86c372f589 Bug 1352575 (part 4) - Remove dom.ipc.plugins.asyncInit.enabled pref. r=jimm.
The feature is in the process of being removed.

--HG--
extra : rebase_source : 7540804ef15db7001dafc854fc35f7c1834d8815
2017-04-18 16:56:43 +10:00
Alex Chronopoulos
41737dc1af Bug 1213414 - Implement channelCount audio constraint. r=jib,padenot
MozReview-Commit-ID: K95iBYOE1nR

--HG--
extra : rebase_source : 5c73eea4902933faec75e37d90e42a2f38c51b81
2017-06-29 21:01:17 -07:00
Stone Shih
39f13a468a Bug 1352278 - [Pointer Event] Turn on PointerEvent preference on Mac and Linux nightly. r=masayuki.
MozReview-Commit-ID: JeuDOjTMkl1
2017-03-31 09:24:24 +08:00
Cervantes Yu
d52aeedecb Bug 1286802 - Part 3: Add empty set_include_context_heap() implementation to ExceptionHandler and CrashGenerationServer. r=ted
MozReview-Commit-ID: 5GBzvyvNPDa
2017-06-20 15:00:32 +08:00
Dragana Damjanovic
7ac14b47e5 hg qrefresh -m "Bug 1372897 - REVERT test of the necko part of TFO. r=mcmanus" 2017-06-20 08:39:53 +02:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Carsten "Tomcat" Book
bf5e392d4d Merge mozilla-central to autoland 2017-06-20 11:32:41 +02:00
Gerald Squelart
a48b493e46 Bug 1374148 - Block D3D11 on more crashy nvwgf2um.dll versions - r=bwu
MozReview-Commit-ID: ClpxPeDRaqp

--HG--
extra : rebase_source : 6b2296b4b5adf18978cb9f61f6fdebac96f444db
2017-06-20 16:03:32 +12:00
Markus Stange
b3f7a29732 Bug 1370034 - Allow disabling window transforms using a pref. r=spohl
MozReview-Commit-ID: T5NWKMA4qz

--HG--
extra : rebase_source : 5c76f8e08ea77aa2d330771c90f6d026f2c2cdce
2017-06-09 11:16:48 -04:00
DimiL
c301aff125 Bug 1366920 - SafeBrowinsg V4 only in 56. r=francois
MozReview-Commit-ID: KWhPC7YWzAh

--HG--
extra : rebase_source : 7fd8bea46709d2eade501b1ce781857ccdc3f189
2017-06-14 09:56:27 +08:00
Kaku Kuo
f3ae45c841 Bug 1371188 P4 - add media.decoder.skip-to-next-key-frame.enabled pref; r=jya
MozReview-Commit-ID: HUQX1IeWkEE

--HG--
extra : rebase_source : c2c5a5c0fc1e815273ceb552951978bc0f6f91fd
extra : source : 53e44c5538a6318588d6973ca833067e8df06042
2017-06-12 16:36:42 +08:00
Markus Stange
f8d4832d5f Bug 1370034 - Allow disabling window transforms using a pref. r=spohl
MozReview-Commit-ID: T5NWKMA4qz

--HG--
extra : rebase_source : 2959234f0c0c1368207efc17ec101cb5fc87e5b6
2017-06-09 11:16:48 -04:00
Kestrel
91cfa95229 Bug 918780 - Add new PopupControlState for permitting file/color picker popup regardless of dom_allowed_events. r=smaug
MozReview-Commit-ID: 1GbjQ6IkMsv

--HG--
extra : rebase_source : 4ea11b78007d9ab67a932536843b3e12175732b3
2016-04-24 04:49:00 +01:00
Gijs Kruitbosch
296bd92c9d Bug 789945: Part 1. Extract preference write functionality into a separate method/class and add interrupt callback functionality. Add methods to explicitly ask for main or off main thread save (inactive.) r=bsmedberg
MozReview-Commit-ID: FzI51oapEsL

--HG--
extra : rebase_source : 0e2c21f12b8cc69f4736a64e72c8500a770ed281
2016-01-01 12:39:02 +00:00
Masayuki Nakano
e3147efdde Bug 1372483 - Get rid of the hack for Easy Changjei from TSFTextStore since it isn't available on Firefox anymore r=m_kato
Easy Changjei, a Traditional Chinese IME, isn't available on Firefox because:

* The vendor has gone and nobody keeps maintaining it.
* It crashes at first key press since it was built with older Visual Studio and depends on the version's CRT.

Therefore, we don't need to support it anymore.

MozReview-Commit-ID: LjyAvWsrlJ1

--HG--
extra : rebase_source : 481c4fdd5bbd6ed9984a101226f5232da9705430
2017-06-14 14:20:27 +09:00
Randell Jesup
450c4d90a1 Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor
Includes re-importing gyp files removed from upstream in v56, and then
updating them to match the BUILD.gn file changes.

--HG--
rename : media/webrtc/trunk/webrtc/call/audio_send_stream.cc => media/webrtc/trunk/webrtc/call/audio_send_stream_call.cc
2017-06-13 01:54:13 -04:00
David Anderson
2121bb50ef Only restart the GPU process multiple times on Nightly. (bug 1369097, r=milan) 2017-06-12 10:54:23 -07:00
Olli Pettay
ce6010c7d6 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
--HG--
extra : rebase_source : 2ee14a0cc890b91f405a5b4741030dbad6989018
2017-06-10 02:38:50 +03:00
Mike Taylor
4b10337a50 Bug 1368920. Part 4 - Enable Report Site Issue button for DevEdition and Nightly builds only. r=Gijs
MozReview-Commit-ID: Fu1oGBulbLT

--HG--
extra : rebase_source : 987965cd033c682f7c1023225b74541729eda53c
2017-06-06 15:50:53 -05:00
Wes Kocher
d4af1fa9e1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: E2oiCGaL6uX
2017-06-08 18:42:21 -07:00
Wes Kocher
39dd8b763b Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE

MozReview-Commit-ID: 4of9LS9sA2I

--HG--
extra : amend_source : c399503fa642c04d256ee0ce53b099601259f90a
2017-06-08 18:10:10 -07:00
Wes Kocher
43acd1b6e6 Backed out 2 changesets (bug 1367905) for a spike in Windows reftest failures a=backout
Backed out changeset c5aaa3f7b79e (bug 1367905)
Backed out changeset 1c66da2b1e88 (bug 1367905)

MozReview-Commit-ID: IX632WoWHrO
2017-06-08 16:09:28 -07:00
Carsten "Tomcat" Book
247a47fac9 Merge mozilla-central to mozilla-inbound 2017-06-08 15:16:36 +02:00
Shawn Huang
404d298e5d Bug 1370485 - Do not return lowercased header names for getAllResponseHeaders(), r=smaug 2017-06-08 20:45:07 +08:00
Carsten "Tomcat" Book
b9d94b34d4 merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Ryan VanderMeulen
9b7a73b65a Merge m-c to autoland. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE

--HG--
extra : amend_source : a59e53ba2f8db608f613f21ad6da2b5be8814aa4
2017-06-07 22:55:56 -04:00
Masayuki Nakano
f6dd08693e Bug 1367692 - Make IMEHandler not restore default IMC unless legacy IMM-IME is active. r=m_kato
TIPs (and normal keyboard layouts) don't need IMC on focused window.  So, in most environment, it's not necessary to restore default IMC of focused window.

Therefore, this patch makes IMEHandler not restore default IMC unless legacy IMM-IME is active and disassociate IMC from focused window when IMM-IME isn't active.

However, this is risky change.  Therefore, the new behavior is disabled in default settings.  On the other hand, we need the new behavior only when MS-IME for Japanese is active on Win10.  Therefore, this patch adds a pref to enable/disable the hack and make it true in the default settings.

MozReview-Commit-ID: KAVxVT9CrsW
2017-06-07 11:42:27 +09:00
Carsten "Tomcat" Book
8fb20a5801 Backed out changeset ff33e6c6f6a5 (bug 1367905) for memory leaks 2017-06-07 15:13:37 +02:00
Kirk Steuber
0cd528ea92 Bug 1369160 - Add a Shavar list to be used to suppress the infobar, r=francois
The Flash infobar is showing up a bit too often. There are a few changes planned to address this. One of them is a list that will contain sites that should never display infobars. This patch allows the list to be downloaded from Shavar and updated via the URL classifier.

MozReview-Commit-ID: BgAaysyRzIE

--HG--
extra : rebase_source : a5f569a3bc60134938e9dc937cb5cfb84222a52b
extra : amend_source : 543e3c38b63d7b958c633c38e066ab9b47a76a01
2017-05-31 15:13:12 -07:00
Honza Bambas
e9c7254a37 Bug 1369496 - HTTP transaction read throttling algorithm improvements. r=mcmanus 2017-06-08 09:45:00 -04:00
Olli Pettay
03c8a070c4 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8
--HG--
extra : rebase_source : b7248c5b45fe43eb733d73965a49c1cd69a1c72d
2017-06-06 20:41:34 +03:00
Bob Owen
e4fdd55498 Bug 1321430: Let separate file:// URLs content process ride the trains. r=jimm 2017-06-06 20:21:03 +01:00
Paul Bignier
500ecab8d6 Bug 1354920 - Typo fixes around 'algorithm'. r=MattN
MozReview-Commit-ID: IwFb43y8Dxm
2017-06-06 17:50:25 -07:00
Wes Kocher
bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Matt Brubeck
78af557ec8 Bug 1365163 - Remove pref layout.css.display-flow-root.enabled. r=mats
MozReview-Commit-ID: AA3tKHCQ5E0

--HG--
extra : rebase_source : 9a7b16043e4aff09a4997138a9016e2f7f791f58
2017-06-05 15:59:22 -07:00
Martin Robinson
7d937678f4 Bug 1365972 - Add initial WebRender support for nsDisplayFilter. r=rhunt, r=mattwoodrow 2017-06-06 06:28:00 -04:00
Ehsan Akhgari
a8feee442a Bug 1370103 - Remove some outdated MMS related prefs; r=mystor 2017-06-05 10:06:00 -04:00
Nicolas B. Pierron
6534093b4d Bug 1368675 - Add multiple heuristics to trigger the JS bytecode cache encoding. r=mrbkap 2017-06-05 12:06:20 +00:00
Jean-Yves Avenard
a9142498ec Bug 1360006: Whitelist VP9 decoder to intel GPU only. r=mattwoodrow
We enable by default the VP9 hardware decoder on intel GPU.

MozReview-Commit-ID: FzMzbpZErjQ

--HG--
extra : rebase_source : f34c969f7dda1ef24224e982f31d5e43cfae7cc0
2017-06-01 22:17:56 +02:00
Honza Bambas
e98f5af878 Bug 1365307 - Throttling of HTTP transactions. r=mcmanus 2017-06-01 12:16:00 -04:00
Jean-Yves Avenard
7310f412e5 Bug 1370192: P1. Remove usage of DirectShowDecoder. r=cpearce
MozReview-Commit-ID: A3IOOIKR187

--HG--
extra : rebase_source : cf5723bebc1a11fe665b54ce7ee02b4e02ecd3c4
2017-06-05 12:59:46 +02:00
Olli Pettay
5361fd6640 Bug 1367905 - Try to run GC/CC slices, including forgetSkippable, during idle time, r=mccr8 2017-06-07 23:46:31 +03:00
Markus Stange
963eaf95ea Bug 1370977 - Rename gfx.webrender.profiler.enable to gfx.webrender.profiler.enabled and expose it on about:config. r=kats
MozReview-Commit-ID: EfeydaDx5ZC

--HG--
extra : rebase_source : 927fe456f4ed2714b9585a28ed4e4af8f379209d
2017-06-07 13:13:55 -04:00
Carsten "Tomcat" Book
87a9dfd869 Merge mozilla-central to autoland 2017-06-07 13:49:00 +02:00
Kaku Kuo
683c1b9d78 Bug 1369970 - enable the preference; r=bwu
MozReview-Commit-ID: CmymG9BcK8C

--HG--
extra : rebase_source : 0ff0db30fce0962872880e6e74cb5354e2de822b
2017-06-03 16:41:10 +08:00
Blake Kaplan
fd654e613c Bug 1369399 - Re-enable e10s for DevEdition. r=Felipe
I thought of fixing this in the e10srollout addon because DevEdition is now
built off of Beta, but it would only serve to complicate the addon even more
and expose us to more risk every time we touch it. Also, DevEdition stayed on
the Aurora update channel and who knows if we're going to change that in the
future. Special casing DevEdition (via AppConstants) is possible, but it was
going to get messy pretty quickly. This is probably the most straightforward
way to make this all work.

MozReview-Commit-ID: 6WPjBawUutz

--HG--
extra : rebase_source : 156846085e1e3db7cd4924793a1de5d9336fab1c
2017-06-06 15:35:07 -07:00
Carsten "Tomcat" Book
ec17d16219 Merge mozilla-central to mozilla-inbound 2017-06-01 13:56:11 +02:00
Jessica Jong
de2cd83cd5 Bug 1366188 - Part 2: Enable dom.forms.datetime by default on Nightly. r=mconley
MozReview-Commit-ID: GZPzprPzPwd

--HG--
extra : rebase_source : b96c609deda41e1b5f3ab8087e7c2b7410e4e0ac
2017-05-31 08:41:00 +02:00
Ryan VanderMeulen
b2f44e5181 Merge inbound to m-c. a=merge 2017-05-31 20:25:52 -04:00
Dragana Damjanovic
24bb626cb2 Bug 1367393 - Turn TFO off. r=jduell 2017-05-24 05:22:00 -04:00
Botond Ballo
0516c1004c Bug 1211610 - Let async scrollbar dragging ride the trains. r=kats
MozReview-Commit-ID: KGF4aGxAfl9

--HG--
extra : rebase_source : c7aed09ada7a84eef3a9d4d8d1aff5f2cd9529a9
2017-05-29 11:53:20 -04:00
Xidorn Quan
55a0fca230 Bug 1350521 - Turn off xml:base for style attribute by default for all channels. r=jet
MozReview-Commit-ID: 60Q7IJH59jU

--HG--
extra : source : a36cac41dae5455b73a041b245408604bbaf40f8
2017-05-31 16:41:24 +10:00
Gerald Squelart
1bb5358dcf Bug 1368837 - media.cache.resource-index controls the MediaResourceIndex cache size - r=cpearce
8KB by default, otherwise using the next power of two from the given
media.cache.resource-index (but staying within 32B-128KB).
'0' means we don't want to use caching.

MozReview-Commit-ID: 8LmS15Ft2MA

--HG--
extra : rebase_source : 992f377a07b7ab173a64fcfbfe45df1da87df31e
2017-05-30 21:43:28 +12:00
Dragana Damjanovic
616d5746f2 Bug 1367390 -Turn TFO on. r=jduell 2017-05-31 00:00:10 +02:00
Ryan VanderMeulen
af691573d4 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Landry Breuil
d4e520e470 Bug 1345899 - enable tiles by default on OpenBSD r=mattwoodrow
Otherwise, CrossProcessSemaphore crashes at startup since shared
semaphores don't work yet on OpenBSD
2017-05-23 04:22:00 +02:00
Kris Maglione
a176402b70 Bug 1365660: Part 5b - Enable compositing for popups with remote content on Windows. r=bas
MozReview-Commit-ID: GzpCBUnVkdY

--HG--
extra : rebase_source : bc2a6459e64847b0153e09e392173bac00d97b4e
2017-05-29 14:58:48 -07:00
Chris Pearce
d7d3abb576 Bug 1367950 - Only throttle download of src=url video if the download is 'fast' on desktop. r=jwwang
Our canplaythrough logic is opaque to the users, so I expect that our recent
change to throttle when we hit the readahead limit would be confusing to users;
those on a slow connection would want their media to prebuffer, and not expect
the download to stop part way through.  They would think that Firefox had
stalled at an arbitrary point for some unknown reason, i.e., they'd think
Firefox was broken. So I think we're better to instead only throttle if the
network is good enough that the user probably doesn't worry about the download
not keeping up with playback.

We should restore the previous behaviour on mobile of throttling when the
download reached the readaheadd limit regardless of canplaythrough or network
speed, as the calculus is different on mobile; the user may also be concerned
about battery life, or hitting their data cap. And often the faster the
cellular network is, the more expensive data on it is.

So this patch changes us to throttle when we reach the readahead limit only if
the network is fast, where fast is defined as being able to stream at twice the
rate estimated to be required to playback without stalling.

It also adds a pref to revert to the old behaviour of not considering the
network speed, which we enable on mobile to restore it to its previous
behaviour.

MozReview-Commit-ID: KLIGaQZV6dX

--HG--
extra : rebase_source : c2e0c6be3158fa661be49d1267d976af43aff6d7
2017-05-26 13:55:48 +12:00
Carsten "Tomcat" Book
33b44f6e98 Merge mozilla-central to mozilla-inbound 2017-05-26 12:39:21 +02:00
Valentin Gosu
e84601e7a7 Bug 1367365 - Disable RCWN r=me a=tomcat
MozReview-Commit-ID: GuIC5Gv09Z3

--HG--
extra : amend_source : 38de21ab56fc9b05109bfc96511f81c718c136d7
2017-05-26 10:59:16 +03:00
Ryan VanderMeulen
df9dd3967c Backed out changeset 437d6df1859c (bug 1345361) for ESLint failures. 2017-05-25 18:05:15 -04:00
Eden Chuang
80717194b1 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Jim Mathies
3cd0de8b39 Bug 1366756 - Let Flash async drawing rollout for 32-bit builds in 55. r=aklotz
MozReview-Commit-ID: zxmjJM1Sw7

--HG--
extra : rebase_source : 7bb21dda1198cd0ee6a7397e87223612fd736f69
2017-05-22 08:31:40 -05:00
Honza Bambas
b852ed009a Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me 2017-05-25 18:16:02 +02:00
Carsten "Tomcat" Book
d2f951ca78 Backed out changeset b3149f82342d (bug 1367365) will land directly on m-c 2017-05-26 11:08:56 +02:00
Valentin Gosu
c14921d34f Bug 1367365 - Disable RCWN r=me
MozReview-Commit-ID: GuIC5Gv09Z3
2017-05-26 10:59:16 +03:00
Eden Chuang
68cf4559f8 Bug 1345361 - PaymentRequest constructor implementation. r=baku 2017-05-26 01:50:32 +08:00
Mike Taylor
f4d49f16ca Bug 1341438. Part 1 - Enable Report Site Issue for DevEdition + Nightly. r=Gijs
MozReview-Commit-ID: 7yH39YDmL6V

--HG--
extra : rebase_source : 6ccd82d23d434bde0eba095fbb4ce59d8abe2e3a
2017-04-04 17:40:50 -05:00
Valentin Gosu
b5a3848628 Bug 1366224 - Change RCWN thresholds to race more often r=mcmanus
The previous limits were chosen a bit arbitrarily, and didn't trigger racing too often. These limits are also quite arbitrary, but should cause us to race more.
These limits can be removed once we implement bug 1325331 and we can make a fair approximation regarding the cache latency.

MozReview-Commit-ID: CUssxUrs1Wu

--HG--
extra : rebase_source : 0465b921722e398d3b954ad8a5b4531fcebea371
2017-05-22 19:11:15 +02:00
Valentin Gosu
759dc0e577 Bug 1366224 - Turn on RCWN (Race cache with network) for a few days on nightly r=mcmanus
MozReview-Commit-ID: I40auzMCS9r

--HG--
extra : rebase_source : 600c55cd74bf1e7f423d39805b259f30a1271255
2017-05-22 18:54:53 +02:00
Sebastian Hengst
33f89c1c0c merge mozilla-central to autoland. r=merge a=merge 2017-05-24 11:26:09 +02:00
Sebastian Hengst
795da9ebf8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HGZE1dfSDNK
2017-05-24 11:25:03 +02:00
Daosheng Mu
a839377259 Bug 1343730 - Part 1: Support submitFrame and encode the frame as a base64 image in VRPuppet; r=kip
MozReview-Commit-ID: jHKHSoNo6X

--HG--
extra : rebase_source : df5050a488e19af81ebd240c5fb5fdfd30b46907
2017-05-23 16:55:30 +08:00
Andreas Farre
bb5b86949c Bug 1355311 - Set default values for throttling background timeouts. r=ehsan 2017-05-23 15:36:37 -07:00
Ryan VanderMeulen
27fd4cc7e2 Merge inbound to m-c. a=merge 2017-05-23 18:11:35 -04:00
Honza Bambas
2dfe5d94b8 Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz 2017-05-23 08:09:00 -04:00
Ethan Tseng
da363e8037 Bug 1358361 - Move prefs of First Party Isolation and resist fingerprinting to all.js. r=Gijs
MozReview-Commit-ID: 6dChFTcfjiI

--HG--
extra : rebase_source : d073547a7661d865e66af09d981e4e2c91101703
2017-05-19 15:45:42 +08:00
Daosheng Mu
a720df3b9d Bug 1358395 - Part 2: Enable GamepadExtensions Web API the for the release build; r=kip,qdot
MozReview-Commit-ID: BuIKJy3NEHq

--HG--
extra : rebase_source : 731a0ddd01e12c07f3eaaba491ff203527fd40d1
2017-05-19 00:11:45 +08:00
Manish Goregaokar
4f4bcfd98c Bug 1366914 - Remove pref layout.css.background-clip-text.enabled; r=dholbert
MozReview-Commit-ID: 6XibTM1f1Rh

--HG--
extra : rebase_source : 4cc99452c8e5f1811d995735f2d6139581cba0ce
2017-05-22 18:57:21 -07:00
Ryan VanderMeulen
22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Bruce Sun
30306bfc32 Bug 1358023: (2/2) Build freetype2 by using moz.build; r=glandium 2017-05-22 12:02:14 +08:00
Mats Palmgren
297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Sebastian Hengst
656f20147e Backed out changeset 6411a4abcc1a (bug 1355311) for causing crash in mozilla::dom::TimeoutManager::MaybeStartThrottleTrackingTimout (bug 1366812). r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: KS03oe0FJGl
2017-05-22 19:27:42 +02:00
Carsten "Tomcat" Book
00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Carsten "Tomcat" Book
469e512b06 merge mozilla-inbound to mozilla-central a=merge 2017-05-22 13:00:17 +02:00
Iris Hsiao
65ea740eda Merge mozilla-central to mozilla-inbound 2017-05-22 11:53:00 +08:00
Mats Palmgren
e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
btian
de5fa4f269 Bug 1299390 - part 5: Remove useless AudioChannelService code. r=alwu
Changes:
- remove code addressed by reviewer
- remove PContent.ipdl, PBrowser.ipdl, and ProcessPriorityManager code
  that relates only to removed AudioChannelService methods
- correct test case listening to event from removed code
- remove useless test case files

MozReview-Commit-ID: I96nR8zTXJt

--HG--
extra : rebase_source : 127876c672744811c025ca55839ff2e8a06b1fce
2017-05-18 09:51:53 +08:00
Francois Marier
3e30b74c36 Bug 1366394 - Bump the Safe Browsing update timeout to 15s. r=hchang
Based on the telemetry that landed as part of bug 1336904, Safe Browsing
updates are failing too often: https://mzl.la/2qGkOPS

This should enable browsers on slower networks to reach the update
servers while still putting a reasonable bound on how long the update
thread can be blocked.

MozReview-Commit-ID: 6puVtpMT87K

--HG--
extra : rebase_source : 4b68bb6778b45068bb8a2d0dbdfddfe24a6b022f
2017-05-19 14:25:11 -07:00
Xidorn Quan
f085a0060e Bug 1337655 - Turn on moz-prefixed gradient functions again.
MozReview-Commit-ID: AUDeFVbQsT3
2017-05-21 10:22:26 +10:00
Andreas Farre
df79943fc1 Bug 1355311 - Set default values for throttling background timeouts. r=ehsan 2017-05-04 05:44:00 -04:00
Wes Kocher
8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Ben Kelly
0c0a1ef46b Bug 1343912 P5 Removed the fixed limit on consecutive Timeout callbacks. r=ehsan 2017-05-19 13:45:55 -07:00
Ben Kelly
07eac0b288 Bug 1343912 P4 Only execute consecutive timeout handlers for a limit period of time. r=ehsan 2017-05-19 13:45:55 -07:00
Kartikaya Gupta
5320a75266 Merge m-c to graphics
MozReview-Commit-ID: Fq2lBUWyr0m
2017-05-19 13:19:35 -04:00
Ryan VanderMeulen
acb2f518fc Merge inbound to m-c. a=merge 2017-05-19 11:46:56 -04:00
Kartikaya Gupta
5d656fab0f Merge m-c to graphics
MozReview-Commit-ID: HvsAeMjJAIA
2017-05-19 09:30:48 -04:00
Alexis Beingessner
8545f35670 Bug 1365418 - Expose other layers.advanced configs, and add webrendest option to toggle them all on. r=kats
MozReview-Commit-ID: 9MZwrGhnzDh
2017-05-16 17:33:33 -04:00
Kartikaya Gupta
aca076b94b Merge m-c to graphics
MozReview-Commit-ID: DFNbcj14mg9

--HG--
rename : memory/mozjemalloc/jemalloc.c => memory/mozjemalloc/mozjemalloc.cpp
rename : memory/mozjemalloc/jemalloc_types.h => memory/mozjemalloc/mozjemalloc_types.h
2017-05-18 08:34:15 -04:00
Ethan Lin
501bd51b08 Bug 1363998 - Part2. Add pref "layers.advanced.background-color" to all.js and turn it on for certain reftests. r=kats 2017-05-18 17:40:18 +08:00
Morris Tseng
d4a7d996c6 Bug 1336986 - Enable layers.advanced.bullet-layers if webrender is enabled. r=kats
MozReview-Commit-ID: LNgErQCNeTq
2017-05-18 10:55:28 +08:00
Carsten "Tomcat" Book
6bd33f52d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
Andrew Swan
ac4efab30b Bug 1359203 Part 3 Add extensions.legacy.enabled preference
MozReview-Commit-ID: 3CaWhlcOgql

--HG--
extra : source : 6351a33dae65975748ddc62dbfbc6cd22218bfca
2017-05-15 22:04:55 -07:00
Xidorn Quan
cddfee06c7 Bug 1337655 part 2 - Turn off moz-prefixed gradient functions for nightly. r=dbaron
MozReview-Commit-ID: LWnHGpokLYV

--HG--
extra : rebase_source : 33988acc2a1fa67106587185e6c98ed7c4fe6bd7
2017-05-19 13:41:51 +10:00
Nicolas B. Pierron
9df25fcb32 Bug 1364118 - List JS bytecode cache preferences in all.js. r=mrbkap 2017-05-18 14:12:15 +00:00
Bob Owen
f4b667085d Bug 1351358 Part 5: Enable pref allowLinkedWebInFileUriProcess to allow related http(s) content to top level load in file content process. r=Gijs 2017-05-18 12:08:57 +01:00
Felipe Gomes
661ee07d3c Bug 1317856 - Make the Flash plugin Click-to-Activate by default on Nightly. r=bsmedberg
This also activates the Favor fallback mode to give preference for HTML <video> content over Flash objects, and to not load Flash when the page has not speficied a src url (as the data attribute).

MozReview-Commit-ID: Lo4eWGbWyOt
2017-05-16 22:56:23 -03:00
Phil Ringnalda
c62e9f1e9d Merge m-c to autoland
MozReview-Commit-ID: 4PrtfU4e6kL
2017-05-21 13:17:22 -07:00
Andrew McCreight
05d8bb3c65 Bug 989373, part 1 - Remove pref for reusing globals with JSMs. r=kmag
Removing support for this preference means that mReuseLoaderGlobal
will always be false, which lets us eliminate that field, and remove a
lot of code.

This also means that false is always passed to
PrepareObjectForLocation for aReuseLoaderGlobal.

ReadCachedFunction is no longer used, so it is deleted.

MozReview-Commit-ID: 5JD24EYVcQf

--HG--
extra : rebase_source : 3b23b4b8d2b1a2f6a53223477afb4cb13b8a671c
2017-05-15 14:33:21 -07:00
Wes Kocher
54a256d920 Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij

--HG--
extra : rebase_source : 8b581702a4534fb9394f8d3f4e85f65d6f4ff293
2017-05-15 17:02:08 -07:00
Jim Mathies
d8e762963b Bug 1363876 - Enable Flash async drawing for 64-bit release builds, starting with 54. r=bsmedberg
MozReview-Commit-ID: HIqeOqKpDKJ
2017-05-15 08:57:28 -05:00
DimiL
0170f8b6dc Bug 1333328 - Remove mTableFreshness and gFreshnessGuarantee. r=francois
Functions and Preference related to mTableFreshness and gFreshnessGuarantee
could be removed since we will no longer require them.

MozReview-Commit-ID: IAa0UHLSQ56

--HG--
extra : rebase_source : daa959340c92cfcb751fe8d0548d30762db3783e
2017-05-04 11:13:21 +08:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Botond Ballo
2c52e58651 Bug 1349750 - Put async initiation of scrollbar drags behind a pref. r=kats
This allows the feature to ride the trains later than async scrollbar
dragging itself, if desired.

MozReview-Commit-ID: 73ZlCqM5hMN

--HG--
extra : rebase_source : dabc4a4b72210133d8b62256510213183312f18f
2017-05-10 17:57:54 -04:00
Wes Kocher
8b0611bd37 Backed out changeset 57bb4f9df629 (bug 1363221) for various accessibility failures a=backout
MozReview-Commit-ID: IGGTF84bGiL
2017-05-12 17:54:31 -07:00
Jonathan Guillotte-Blouin
08c1af9cc5 Bug 1270740 - Remove requestAutocomplete DOM code. r=smaug
MozReview-Commit-ID: FPHXkOlLbKF

--HG--
extra : rebase_source : 144570d1a6428e761e11ad2cd94a3ba7a4a0b711
extra : amend_source : fe5b2ca83f18d648e71ebbcfab57ffaaa3b49fb8
2017-05-11 15:03:57 -07:00
Carsten "Tomcat" Book
845d4f803d Merge mozilla-central to mozilla-inbound 2017-05-17 12:27:56 +02:00
David Anderson
44543b92f1 Bug 1356448: Allow software backed compositor process in nightly. r=dvander
--HG--
extra : rebase_source : f3fff5060b5bcc16c35fa10d5aec249f67cb0657
2017-05-17 00:41:17 -07:00
Shawn Huang
cc72c6e913 Bug 1348390 - Sort and lowercase response's header lists for getAllResponseHeaders(), r=baku
Sort and lowercase response's header lists for getAllResponseHeaders().
Per XHR 4.6.5, make response’s header list sorted and lowercased.
2017-05-17 15:18:46 +08:00
DimiL
d9614f5086 Bug 1365027 - Add $httpMethod=POST to the query string of Safe Browsing pver4 requests. r=francois
MozReview-Commit-ID: FvFFTcPzTn8

--HG--
extra : rebase_source : 835056a5db58700465a3d5c6bc1f83d0807debac
2017-05-16 16:50:55 +08:00
Milan Sreckovic
62671480ab Bug 1364146: Only reset the prefs dirty flag when we save to the default prefs file, not on a save to another file. r=bsmedberg
MozReview-Commit-ID: ITskObzuTTb

--HG--
extra : rebase_source : 20ae4d707b6a517ee7741dd5dcb7867bc2059db2
2017-05-16 13:10:40 -04:00
Kartikaya Gupta
643cd662e4 Bug 1364987 - Remove the pref to allow APZ with webrender. r=rhunt
People seem to be turning on this pref in the wild and generating crash reports
which are wasting time and energy of people who have better things to do.

MozReview-Commit-ID: 5VfjKaDluYJ

--HG--
extra : rebase_source : fa2237835d842ddb118c6ba6096f6b703aef9d81
2017-05-16 09:43:36 -04:00
Benjamin Smedberg
5560100540 Bug 1335475 - Deny plugins from non-HTTP/HTTPS origins. r=bytesized,qdot
MozReview-Commit-ID: 3kPeycfMWVw

--HG--
extra : rebase_source : dc062997ac3a51cd27589c9b0cb29e850676cefc
2017-03-07 09:34:03 -05:00
Aaron Klotz
cc2c66b59e Bug 1363221: Enable a11y handler by default in prefs; r=jimm
MozReview-Commit-ID: 7pwLglf8dYY

--HG--
extra : rebase_source : 2e52f7277f55ee51e029d17b276f0503a85d41f6
2017-02-21 11:58:51 -07:00
Jonathan Guillotte-Blouin
1c665e5690 Bug 1361220 - Remove browser.formfill.saveHttpsForms support. r=MattN
MozReview-Commit-ID: 3c1oDYnz3KC

--HG--
extra : rebase_source : c7149bea93fa55824a0a944fa749c8110d20b977
2017-05-10 13:48:33 -07:00
Dragana Damjanovic
cd8c561106 Bug 1364046 - Turn off TCP Fast Open. r=bagder, a=RyanVM 2017-05-11 05:16:00 -04:00
Carsten "Tomcat" Book
76ca853e3e Merge mozilla-central to mozilla-inbound 2017-05-09 14:40:11 +02:00
Dragana Damjanovic dd.mozilla@gmail.com
62b9fc4ab8 Bug 1357835 - Extend telemetry for http autentication dialog prompt to show the subresource cross-origin auth dialog prompt per suresource type. Also add a pre to putentially disable auth propts for the cross-origin images. r=mayhemer r=ckerschb r=francois 2017-05-09 12:36:21 +02:00
Wes Kocher
cbfdaf8fb2 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 5kxOZZxjMEl
2017-05-08 16:07:25 -07:00
Ehsan Akhgari
5de2ecd325 Bug 1361745 - Part 1: Improve the nsClassHashtable::LookupForAdd() API; r=froydnj
The OrInsert() method adds the new entry to the hashtable if needed, and
returns the newly added entry or the pre-existing one.  It allows for a
more concise syntax at the call site.
2017-05-08 10:02:04 -04:00
Johann Hofmann
43e38cffa3 Bug 1348791 - Add a timeout to master password prompt when searching logins. r=MattN
The login manager searching logins for autofill may trap the user
in an infinite loop of master password prompts until the user enters
the correct master password. To prevent that, we're adding a timeout
to showing the master password prompt for autofill after it was last
cancelled.

MozReview-Commit-ID: JcmTDU6CKKA

--HG--
extra : rebase_source : 6f4d2c59360963f53972b812d999756637434415
2017-05-08 06:32:09 -04:00
btian
4a15743eb6 Bug 1338059 - Part 2: Implement PromiseRejectionEvent, r=bz
MozReview-Commit-ID: 6BZBL9BjO03

--HG--
extra : rebase_source : 1f7aece35191a23b6db9f574fdfdc3a634c9a634
2017-05-05 11:30:19 +08:00
Carsten "Tomcat" Book
fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Michal Novotny
133308dd0d Bug 1361435 - Remove references to unused pref network.http.bypass-cachelock-threshold, r=mcmanus
Removes references to now unused pref that was added in bug 868441 and removed in bugs 913807 and 1054572. It also removes some leftovers from http channel which have not been removed in those 2 bugs.
2017-05-04 17:37:42 +02:00
Dragana Damjanovic
accc6e95b1 Bug 1188435 - Implement fast open necko part. r=mcmanus 2017-05-04 12:14:04 +02:00
Ehsan Akhgari
35235d7ca2 Bug 1361842 - Add a profiler pseudo label to detect writes to the prefs DB more easily for BHR; r=froydnj 2017-05-03 18:32:08 -04:00
Swapnesh Kumar Sahoo
c11cf34901 Bug 1354331 - Remove network.http.enablePerElementReferrer usages. r=valentin r=baku 2017-05-01 00:12:34 +05:30
Ehsan Akhgari
7f9af03e0b Bug 1359848 - Part 2: Avoid two hashtable lookups when registering a new preference observer; r=froydnj 2017-05-03 08:59:48 -04:00
Patrick McManus
d1c557fcfe Bug 1361099 - provide a way to map all dns to constant r=valentin
// When non empty all non-localhost DNS queries (including IP addresses)
// resolve to this value. The value can be a name or an IP address.
// domains mapped to localhost with localDomains stay localhost.
pref("network.dns.forceResolve", "");

Testing is the primary use case here - replay captive data on a 'fake
server' by directing all traffic to it at the DNS level. Chrome has
something similar.

MozReview-Commit-ID: 7AOgQZpZKec

--HG--
extra : rebase_source : ad2648a701fffecaae47cbfae17e7aa6badd50ee
2017-05-01 13:51:55 -04:00
Carsten "Tomcat" Book
2a74ba4261 Merge mozilla-central to autoland 2017-05-02 11:23:38 +02:00
Boris Zbarsky
be4450a996 Bug 1357206 followup: fix the Windows key issues in devtools tests and reenable the new behavior. 2017-05-02 01:55:30 -04:00
Thomas Nguyen
701f2e65fa Bug 1336904 - Add timeouts for Safe Browsing updates r=francois
These timeouts will ensure that we don't block the Safe Browsing update thread
for too long when we encounter slow or bad network conditions.

MozReview-Commit-ID: AJfR193cTf8

--HG--
extra : rebase_source : 5ae14f204ed88691fac4e9ba8c8202b8aa79b657
2017-04-24 17:51:06 +08:00
Sebastian Hengst
7ba7789b1e Bug 1357206 part 6. Disable new behavior until devtools tests are fixed. r=bustage-fix CLOSED TREE 2017-05-01 21:35:49 +02:00
Boris Zbarsky
29d5ae0bfd Bug 1357206 part 4. Don't move the cursor even if eSetValue_MoveCursorToEndIfValueChanged is set, if the value did not change. r=ehsan 2017-05-01 13:28:54 -04:00
Wes Kocher
a463bb4c4c Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6CUQEJghjzU
2017-04-27 13:37:47 -07:00
Wes Kocher
be34ade6b6 Merge autoland to central, a=merge
MozReview-Commit-ID: 2pgVZdnDKno
2017-04-27 12:44:03 -07:00
Kartikaya Gupta
c77714e7cd Merge m-c to graphics
MozReview-Commit-ID: EdvTPLc8PCy
2017-04-27 13:03:06 -04:00
Kartikaya Gupta
e37b4e9289 Merge m-c to graphics
MozReview-Commit-ID: 6UBB4TW6an5
2017-04-27 09:31:17 -04:00
Tobias Schneider
c9fe88b8b0 Bug 1321865 - Enable IntersectionObserver. r=jet
MozReview-Commit-ID: JUq9Hk7jars
2017-04-27 00:17:16 -07:00
Jamie Nicol
5f1bd7050d Bug 1352034 - Part 1 Turn on layers.advanced.solid-color-layers r=mchang 2017-04-24 15:35:17 -04:00
Jonathan Kew
23d97b6f9d Bug 1253919 - Enable support for the logical values of CSS 'float' and 'clear' properties for all channels. r=dbaron 2017-04-21 16:01:04 +01:00
Carsten "Tomcat" Book
248cf7f04f Merge mozilla-central to mozilla-inbound 2017-04-21 11:43:14 +02:00
Carsten "Tomcat" Book
e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Alexandre Poirot
9c1aa4308f Bug 1356231 - Import DevTools event-emitter module to toolkit as a JSM. r=mossop
MozReview-Commit-ID: 7sgCLkQczet

--HG--
extra : rebase_source : e44696d1932d85eff365727e3d1bf25f6104e01c
2017-04-25 18:54:35 +02:00
Francois Marier
de63d72150 Bug 1352618 - Enable network de-prioritization based on tracking annotations. r=cpeterson
MozReview-Commit-ID: 7YJSatboA0

--HG--
extra : rebase_source : db8483260f321bb6a26b2eaf52d70045a753165c
2017-04-11 13:21:26 -07:00
Ehsan Akhgari
c303c8121a Bug 1358004 - Remove the REMOTE_JAR_PROTOCOL_USED telemetry; r=jduell
In bug 1353123 it was decided to not extend this telemetry, so it will
expire in this release.  Given that, and the fact that bug 1329336 has
disabled the feature already, it's time to remove the probe.
2017-04-21 02:44:03 -04:00
Daosheng Mu
b4fb3b9c83 Bug 1353523 - Add adjustable threshold value for VR controller trigger inputs; r=kip
MozReview-Commit-ID: KQMccZeE2IK

--HG--
extra : rebase_source : b8c60e59c7f9678fdb15f3dcc6770198ec35b82a
2017-04-19 13:14:13 +08:00
Wes Kocher
5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Chris Peterson
870028fdbf Bug 1356843 - Fix -Wcomma warning in modules/libjar/nsZipArchive.cpp. r=aklotz
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements or to call a function for side effects within an expression.

modules/libjar/nsZipArchive.cpp:651:25 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: 9PjB915D81f

--HG--
extra : rebase_source : c494c2f4a8291d6c08f02765e988c1fd14079e54
extra : source : 3643e37b615c4461b6a9359856731252acc36465
2017-03-27 21:39:36 -07:00
Arthur Edelstein
07b1d25b5a Bug 1357247 - Fix comment for network.http.referer.hideOnionSource. r=mcmanus
DONTBUILD
2017-04-19 17:08:00 -04:00
Carsten "Tomcat" Book
87edaf78ee Merge mozilla-central to autoland
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
Valentin Gosu
0a4d506e21 Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
MozReview-Commit-ID: K28Opd9JTr2

--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
Jim Porter
3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Aryeh Gregor
247ef5209d Bug 1357482 - Disable editor.use_div_for_default_newlines for beta and later; r=masayuki
Per discussion on dev.platform, this is risk-prone, and we want more
time baking on nightlies and early betas to see if it causes problems.

MozReview-Commit-ID: CaprjWxYfbC

--HG--
extra : rebase_source : d8adf27d78ea258af88d4f05d87cd0caf9c5bdb9
2017-04-18 20:25:50 +03:00
Gerald Squelart
58096b0b9e Bug 1357297 - Restrict media decode issues that show user notification - r=jwwang
The media prefs "media.decoder-doctor.decode-{errors,warnings}-allowed" list
which decode issue codes will show the "Report Site Issue" notification.

Default: NS_ERROR_DOM_MEDIA_DEMUXER_ERR and NS_ERROR_DOM_MEDIA_METADATA_ERR,
which are the kinds of errors we currently care most about, and have more
chance to fix.

MozReview-Commit-ID: JbY2pwv4TXP

--HG--
extra : rebase_source : 65809f5eb3ace85e25b01c0d1cdfdd068c467ca0
2017-04-19 09:42:45 +12:00
Mike Hommey
360f6a5284 Bug 1355671 - Build the brotli command line tool as a host program. r=gps
--HG--
extra : rebase_source : eab3f25b3052a12debf4fbd2adc3d05940afbc6a
2017-04-07 17:02:54 +09:00
Mike Hommey
202ee4cc41 Bug 1355671 - Import brotli encoder and command line tool code. r=gps
--HG--
extra : rebase_source : 1f8536a985a33fc8bbce0f8df93c3d4ca282e05c
2017-04-07 15:57:31 +09:00
Sebastian Hengst
ecfcb4d087 Backed out changeset 820a15b7a5dd (bug 1355671) for Windows static failures. r=backout 2017-04-19 00:03:35 +02:00
Sebastian Hengst
7d76905046 Backed out changeset 5dd97d010a17 (bug 1355671) 2017-04-19 00:03:01 +02:00
Mike Hommey
d45031b1f1 Bug 1355671 - Build the brotli command line tool as a host program. r=gps
--HG--
extra : rebase_source : 5d8712966146986fce343bb6fa2886fb84e92ee0
2017-04-07 17:02:54 +09:00
Mike Hommey
057318a71f Bug 1355671 - Import brotli encoder and command line tool code. r=gps
--HG--
extra : rebase_source : f7a1326a7d39a34828b596140da8482718828352
2017-04-07 15:57:31 +09:00
Mike Hommey
8f667a0d22 Bug 1355661 - Add support for brotli streams in Jar archives. r=aklotz
Modern compression algorithms are better than zlib both in terms of
space and time. The jar format, used for e.g. omni.ja, addons, etc.
could benefit from using such modern algorithms, but the format only
allows a limited set of compression algorithms.

However, the format in itself is flexible, in that it can be extended
with arbitrary compression algorithms. This breaks compatibility with
programs like unzip, obviously, but we've never promised the files
shipped with Firefox will always remain "valid" zips (which they already
aren't, but they currently work with most zip readers).

With this change, we allow those archives to contain brotli streams,
using an arbitrary large value for the compression type in the Zip local
file header. This only allows to read such archives, but not to produce
them, and, for now, support for brotli streams is kept Nightly-only,
until everything is pieced together and we're happy to ship it.

--HG--
extra : rebase_source : fa637251f460ad0d91d5f5bec392c6e59555e80d
2017-04-07 14:48:25 +09:00
Mike Hommey
af3b61e59a Bug 1355661 - Continue inflating even when the Fd was closed, as long as there is still output pending. r=aklotz
This appears to have been "broken" since bug 510844, for some value of
broken where it doesn't actually cause any problem in practice because
of how zlib behaves.

That is, in practice, we always still have input to process when there's
pending output. But while that's true with zlib, that's not necessarily
true for other decompressors (e.g. brotli).

--HG--
extra : rebase_source : 7572139f8e2b3df8c6b68123c0a14524dddb3faf
2017-04-07 14:05:23 +09:00
Francois Marier
6321486d37 Bug 1354713 - Make use of the application reputation allow list on OSX and Linux. r=gcp
Since the allow list contains both hostnames and certificate hashes, it makes sense
to use it on all platforms.

MozReview-Commit-ID: 1icRFYhhnAY

--HG--
extra : rebase_source : bcb6113090546cdca2b4f2dd120db98ffb511b0d
2017-04-07 16:07:41 -07:00
Aryeh Gregor
bf0619d365 Bug 1354060 - Put defaultParagraphSeparator default change behind pref; r=masayuki
This is regression-prone, so dev.platform discussion concluded we want
it behind a pref.  We might turn the pref off for beta and/or release
for now as well.

MozReview-Commit-ID: 2H2et3RElZx

--HG--
extra : rebase_source : baf7e679ca1ee16016666d7697990c4f64ecf83e
2017-04-06 15:02:42 +03:00
Carsten "Tomcat" Book
7ba1b88f0b Backed out changeset ec9fb39f7133 (bug 1354349) for bustage 2017-04-18 08:52:14 +02:00
Valentin Gosu
8f33abcc56 Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
MozReview-Commit-ID: K28Opd9JTr2

--HG--
extra : rebase_source : 226ef1e6685a9608aa7c07d3c83b048d6e1e7278
2017-04-18 11:25:47 +08:00
DimiL
a1e69433d3 Bug 1329817 - Enable V4 lookups. r=francois
After this patch is introduced, url-classifier will return merged classify result
from V2 and V4.

--HG--
extra : rebase_source : 1940f8617547878b87a5808479ef9d46e6722a92
2017-04-17 08:51:16 +08:00
Markus Stange
43a18179f1 Bug 1356751 - Remove unused pref layout.frame_rate.precise. r=mchang
MozReview-Commit-ID: 2QjinjJHzUh

--HG--
extra : rebase_source : ab4514e5354b77f3a80ef8f1bdf5e6ba73cc4739
2017-04-15 00:23:08 -04:00
Chris Pearce
ce7bb69227 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 92870f1adc7ae68e58b15443e4223012bdf0e39a
2017-04-26 15:46:09 +12:00
Iris Hsiao
c43c229375 Backed out changeset 0b8bf5cb743f (bug 1358373) for build bustage. a=backout
CLOSED TREE

--HG--
extra : amend_source : f6fd0c93b8b1ff9cc111cc4bc7776dd8e2a383d0
2017-04-27 10:10:47 +08:00
Chris Pearce
ecfe3c34c4 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 4beba0212411a0f5867feb506bbf732f5a934fa9
2017-04-26 15:46:09 +12:00
Andrew Swan
ab7396c05a Bug 1356027 Add pref to disable non-MPC extensions r=mossop
MozReview-Commit-ID: 9TdZf3hnLZl

--HG--
extra : rebase_source : bebe88b10ff9afe7b4fda93025cd85435ad16913
2017-04-12 22:13:49 -07:00
Jeff Muizelaar
67e82cd2a7 Bug 1356689. Add pref to highlight painted layers. r=mchang
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Shawn Huang
3ee2d007ef Bug 1286717 - Part 2: Add mochitests for persist/persisted functions, r=janv 2017-04-17 15:06:39 +08:00
JW Wang
7c42af4b6f Bug 1347174 - per comment 10, limit the readahead size to prevent cache thrashing. r=cpearce
MozReview-Commit-ID: Ellinh8JIYE

--HG--
extra : rebase_source : 8f63ba1fd29e631cdafd5e56dbab958e7b044f0f
extra : intermediate-source : 0fe99aa9945fa33925a7885643af92bc007c338b
extra : source : f729d3953b822b5ecc208b46ac9fc0505aa69332
2017-04-27 10:35:08 +08:00
Wes Kocher
75c2b7a481 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Johann Hofmann
b7bb50ba55 Bug 1337246 - Part 2 - Detect local IP addresses to ignore for insecure password warnings. r=MattN
MozReview-Commit-ID: 2IWvOJNTnNB

--HG--
extra : rebase_source : db9a82f764fddbd9cbd8fd625fa8e4caf6b77577
2017-05-08 14:58:53 -04:00
Bobby Holley
f9bb028811 Bug 1364428 - Add a separate define for enabling stylo; r=rillian
This completes the separation between "build stylo" and "enable stylo"
that we started in the build system a few commits ago.
2017-05-18 18:39:39 -04:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Phil Ringnalda
8f80a596ae Backed out changeset 25b64d100bda (bug 1321865) for test_intersectionobservers.html failures
CLOSED TREE
2017-04-13 19:25:35 -07:00
Tobias Schneider
3479fc4282 Bug 1321865 - Enable IntersectionObserver and tests. r=smaug, r=jet
--HG--
extra : source : cd23e1fc730bb549e4a227e3616a730aab1907f3
extra : intermediate-source : 83041db77fcfc47c97f6fa2142ad0538940349b2
2017-01-11 13:07:18 -08:00
Sebastian Hengst
30174eeecb Backed out changeset 83041db77fcf (bug 1321865) for frequently failing test_intersectionobservers.html. r=backout 2017-04-13 23:53:12 +02:00
Masatoshi Kimura
81f44024c4 Bug 1353936 - Use PREF_RegisterPriorityCallback from Add*VarCache. r=froydnj
MozReview-Commit-ID: LOxPTBqol9X

--HG--
extra : rebase_source : a91abf88ac69c4b402d04795ed8bbadadcbea3e9
2017-04-12 00:17:52 +09:00
Masatoshi Kimura
8bac3aec08 Bug 1353936 - Implement PREF_RegisterPriorityCallback. r=froydnj
MozReview-Commit-ID: 1tdE6boBUVO

--HG--
extra : rebase_source : 904bc4b8700fa89bf3e3f638a8a5a09d0c6955ac
2017-04-12 21:10:57 +09:00
Masatoshi Kimura
c23a3b0c04 Bug 1353936 - Test to ensure var caches are updated before any other ExactMatch callbacks. r=froydnj
MozReview-Commit-ID: KWNxdpFwsjq

--HG--
extra : rebase_source : f64f97af0d5fd0eddb974b186a7a5adfd468645f
extra : source : c8d89377e1842d584889c926e8dfa47d2bd6b12d
2017-04-08 23:45:10 +09:00
Kearwood Gilbert
0a3160aef4 Bug 1343368 - [webvr] Enable WebVR 1.1 By Default on Windows in Release r=daoshengmu
MozReview-Commit-ID: 21qcbKyNfNY

--HG--
extra : rebase_source : 79cf8174363d4c90f7a5381a47d6e01f92ec53fb
2017-04-13 01:05:11 -07:00
Honza Bambas
c195f6ee04 Bug 1348061 - When an HTTP channel is throttled, stop reading from the socket when using HTTP/1. r=mcmanus 2017-04-13 05:26:00 -04:00
Tobias Schneider
b57619bbdc Bug 1321865 - Enable IntersectionObserver and tests. r=smaug, r=jet
--HG--
extra : source : cd23e1fc730bb549e4a227e3616a730aab1907f3
extra : intermediate-source : 718fb66559f71d1838b3bc6b187e050d44e3f566
2017-01-11 13:07:18 -08:00
Patrick McManus
b4f95d2524 Bug 1355875 - tweak network.http.spdy.timeout to align with google.com r=nwgh
MozReview-Commit-ID: VibLlH8wXW

--HG--
extra : rebase_source : 95abd6dc55217c57879e0baf2d279f706197e51a
2017-04-13 10:50:13 -04:00
Wes Kocher
2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Wes Kocher
25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Iris Hsiao
d13a81eccb Merge mozilla-central to mozilla-inbound 2017-04-12 11:24:24 +08:00
Iris Hsiao
944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
Petr Sumbera
19ea5cacf5 Bug 1350355 - fdlibm should provide definition for u_int32_t and u_int64_t. r=arai
--HG--
extra : rebase_source : ef6ae7b88fd98d8e6e7d37f5ebbb1b56f3c669ac
2017-03-27 03:33:34 -07:00
Nathan Froyd
d337918230 Bug 1355097 - adjust asserts in Preferences::InitStaticMembers to account for Stylo; r=Manishearth 2017-04-11 09:39:32 -04:00
Jim Mathies
0c32abc1ad Bug 1340934 - Enable flash async drawing on release channels. r=bsmedberg
MozReview-Commit-ID: 6SmdWRrGmEI
2017-03-15 09:28:55 -05:00
Florian Queze
b5916a37c7 Bug 1355216 - Mark last parameters that are almost always falsy as optional, r=froydnj. 2017-04-12 00:07:30 +02:00
Eric Rahm
200e538796 Bug 1354613 - Part 3: Stop mutating the pref branch name when retrieving it. r=froydnj
This adds a PrefName wrapper that allows use to avoid copying the pref name
string in the fast root pref branch case, but also allows to create a new
string in the slower non-root pref branch case. By creating a new string we
avoid the odd behavior of mutating the pref branch name with each retrieval.

MozReview-Commit-ID: HGCLbpGmKrr
2017-04-11 14:00:19 -07:00
Eric Rahm
7ab6120424 Bug 1354613 - Part 2: Fix GetFloatPref on non-root branches. r=bsmedberg
MozReview-Commit-ID: 1NLBQQ40sae
2017-04-11 14:00:17 -07:00
Eric Rahm
591d767fd9 Bug 1354613 - Part 1: Fix the observer portion of test_libPrefs.js. r=bsmedberg
This updates test_libPrefs.js so that it actually runs all the observer
portion of it's tests. Previously the observer callback would get hit before
the next do_test_pending call could be run, thus causing the test to end.

An additional test was added to confirm that registering for multiple prefs on
a non-root pref branch works as intended.
2017-04-11 14:00:16 -07:00
Kearwood Gilbert
9b5d5e89c3 Bug 1343374 - Enable OpenVR by default on Windows r=daoshengmu
MozReview-Commit-ID: F3ShbndkAHb

--HG--
extra : rebase_source : 1a22a32ad850383e40c0f8d8c325db900c9cef3e
2017-04-11 16:02:59 -07:00
Fischer.json
2f7b2ff390 Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME

--HG--
extra : rebase_source : 486c5ed353d048c832baf3d6ec81e74c617b5761
2017-04-11 12:07:29 +08:00
Kearwood Gilbert
8cedccb89e Bug 1341423 - Integrate OpenVR binding library r=daoshengmu
MozReview-Commit-ID: GaUnfbXgh9L

--HG--
rename : gfx/vr/openvr/openvr.h => gfx/vr/openvr/headers/openvr.h
extra : rebase_source : e7a0983371c1ed381ddf431e2d5a814c510d4967
2017-02-27 16:59:30 -08:00
Iris Hsiao
05ad633169 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Gerald Squelart
4101482ad6 Bug 1343437 - 'media.playback.warnings-as-errors' pref - r=jya
If 'media.playback.warnings-as-errors' is true, demuxing and decoding warnings
(i.e., non-fatal errors) will be treated as errors, causing playback to fail.

Currently set to false by default.

This could be later changed to catch and diagnose more issues.

MozReview-Commit-ID: BTaZ6TbIbNG

--HG--
extra : rebase_source : bacc24a46f588dd344e6d46178ae2d2c58882fcb
2017-03-03 16:10:48 +11:00
Valentin Gosu
223b5464d4 Bug 1325341 - Query the cache index to get if the entry has alt data and its fileSize r=michal
MozReview-Commit-ID: 6wqsexqJq3u
2017-04-10 14:22:23 +03:00
Valentin Gosu
8460873144 Bug 1325341 - Racing cache with network should be disabled by default r=michal
MozReview-Commit-ID: CjidldaaJvQ
2017-04-10 14:22:21 +03:00
Valentin Gosu
484c99c581 Bug 1325341 - Add code that triggers racing the network and cache requests r=michal
The racing algorithm is quite simple at this point:
If racing is enabled, the request is allowed to hit the network, and the cache queue size is bigger than a certain threshold, then we trigger the network right before we query the cache.

MozReview-Commit-ID: JklG4P1eRyO
2017-04-10 14:22:20 +03:00
Manish Goregaokar
7bb5610731 Bug 1351200 - Part 1: stylo: Allow fetching prefs on servo traversal threads; r=froydnj
MozReview-Commit-ID: 7MMWyX1t5CR
2017-04-10 09:17:40 +08:00
Sebastian Hengst
ed655b907f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-08 22:56:39 +02:00
Sebastian Hengst
6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Timothy Nikkel
d8324680ad Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-04-07 01:53:36 -05:00
Phil Ringnalda
7f3c345b30 Backed out changeset 50aee6c86901 (bug 686905) for not getting its test failure dependency fixed
CLOSED TREE
2017-04-07 21:34:00 -07:00