Commit Graph

14607 Commits

Author SHA1 Message Date
Csoregi Natalia
397ec728bc Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-07 01:02:21 +03:00
Boris Zbarsky
5978e8417a Bug 1467134. Use Atomic<bool> for the staticpref version of layout.css.font-variations.enabled. r=emilio
Atomic<bool> is implemented in terms of AtomicBase<uint32_t>, because that way
you don't need to depend on atomic 1-byte operations.  That means that the rust
bindgen sees it as a u32, not a bool.

It's a bit concerning that the rust code seems to be doing an unsynchronized
read here, but given this is a RelaxedAtomic, that's probably ok.
2018-06-06 11:34:30 -04:00
Boris Zbarsky
9b8b3e8b8e Bug 1465852. Enforce use of Atomic for static prefs gotten off the main thread. r=njn 2018-06-05 17:12:16 -04:00
Emilio Cobos Álvarez
f46383f8bd Bug 1466656: Make ErrorReporter a smaller Rust type. r=heycam
And use the C++ ErrorReporter only to actually output errors.

ErrorReporter was so complicated because well, it was always enabled and had to
do a bunch of caching to not be (more) slow.

But since bug 1452143 it's disabled by default, so we can simplify this setup a
lot.

Also while at it make the error reporting pref a static pref so that we don't
mutate globals from CSS parsing unless we're actually reporting errors.

MozReview-Commit-ID: AuIyvJwt7AU
2018-06-05 11:09:39 +02:00
Dorel Luca
535f1df913 Merge mozilla-central to mozilla-inbound 2018-06-04 21:48:29 +03:00
Dorel Luca
746fbfe0a7 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-04 21:11:34 +03:00
Ryan VanderMeulen
cb40810a94 Bug 1443164 - Update brotli to version 1.0.4 and update Gecko callers. r=jfkthame, r=mayhemer
--HG--
extra : rebase_source : 1d5f9fe1fac61afdbdc0209aa851ce4f7ab3d230
2018-05-31 12:49:40 -04:00
Emilio Cobos Álvarez
ef20196c9a Bug 1288572: Hide -moz- display values from content behind a pref. r=xidorn
MozReview-Commit-ID: HDQPub043H1
2018-06-04 15:55:58 +02:00
Ryan VanderMeulen
232bf51514 Bug 1465017 - Revert commit b5415b0216c7 (bug 1452604) for broken "See Details" button on the blocked site page.
--HG--
extra : amend_source : f36dc86b40f085019bf80b8700d425aee7fe9832
2018-06-04 08:48:28 -04:00
Botond Ballo
869bfa2f23 Bug 1460206 - Let the new Android fling physics ride the trains. r=kats
MozReview-Commit-ID: 9DSIDzqKnZX

--HG--
extra : rebase_source : a42e999a42620ae396d15aec787746e61390d965
2018-06-01 19:27:05 -04:00
Cosmin Sabou
835f7407b3 Backed out 10 changesets (bug 1406181) as per developers request.
Backed out changeset 06461ddb2699 (bug 1406181)
Backed out changeset fd61d9faedf0 (bug 1406181)
Backed out changeset b52c2fb70ae1 (bug 1406181)
Backed out changeset 4f387b4a76a9 (bug 1406181)
Backed out changeset db783c96c076 (bug 1406181)
Backed out changeset 62e9126ecd0d (bug 1406181)
Backed out changeset d34810cab822 (bug 1406181)
Backed out changeset 3241c2dfb296 (bug 1406181)
Backed out changeset 912a2eaf4d26 (bug 1406181)
Backed out changeset fdac47b8ef20 (bug 1406181)
2018-06-03 16:10:23 +03:00
Andreea Pavel
4ced6e8b2d Merge mozilla-central to autoland. a=merge 2018-06-03 07:27:01 +03:00
Lee Salzman
50e6372cf9 Bug 1464094 - print font variations as paths for PDF/PS output. r=jfkthame
MozReview-Commit-ID: 3sPKD4pNwdy
2018-06-01 13:08:57 -04:00
Emilio Cobos Álvarez
fffb25b74f Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
sotaro
624fefcfd6 Bug 1418202 - Serialize ProgramBinary to/from blob/disk r=nical 2018-05-31 15:07:34 +09:00
arthur.iakab
fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Kartikaya Gupta
e20d6e1da2 Bug 1452845 - Turn on async scene building by default. r=jrmuizel
MozReview-Commit-ID: 6sHKSEPzgIf

--HG--
extra : rebase_source : 201216f8892e22a4d84f5967d7d5df317d724e56
2018-05-24 16:16:01 -04:00
Ryan Hunt
6c8f4d0b0f Bug 1454980 - Let tiled parallel skia on unaccelerated windows ride the trains. r=davidb
--HG--
extra : rebase_source : df4dc5853fe92e66ac44b164695a78ac01682577
2018-05-29 10:48:46 -05:00
Gerald Squelart
49bbea11e3 Bug 1457373 - Remove text-combine-upright digits option - r=xidorn
MozReview-Commit-ID: Ehzsd2rmBER

--HG--
extra : rebase_source : 15e109be686e2b849a4676ad89a1b06bc4fe9687
2018-05-17 15:29:17 +10:00
Olli Pettay
1577002b50 Bug 1460069 - enable Shadow DOM in Nightly, r=emilio
--HG--
extra : rebase_source : 6feacbd0d1a808da4c1aa032d1305a91f9586c77
2018-05-27 17:25:55 +03:00
Masayuki Nakano
77eb53f7fd Bug 1464329 - Remove "www.rememberthemilk.com" from "dom.keyboardevent.keypress.hack.dispatch_non_printable_keys" r=smaug
remember the milk has fixed the bug of Closure with updating their Closure
version.  Therefore, we don't need to avoid using strict keypress event
behavior on it.

MozReview-Commit-ID: 4YfMXY7Zf6g

--HG--
extra : rebase_source : 363bcacf06c09931e266cef44584e40de0be8f40
2018-05-25 17:01:59 +09:00
Bogdan Tara
3ea22263c0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-25 13:05:16 +03:00
Nicholas Nethercote
daeb7d6ea3 Bug 1461982 - Tidy up pref replacement. r=glandium
MozReview-Commit-ID: DYSxB3aqxIG

--HG--
extra : rebase_source : f5c1a1d466b21bdb837768297facce8c27cab3f9
2018-05-21 11:56:05 +10:00
Nicholas Nethercote
326416473a Bug 1461982 - Factor out some repeated code. r=glandium.
MozReview-Commit-ID: 10MmfP5hmvn

--HG--
extra : rebase_source : d33e12642a88ab57b8f7217a476e239219a9f705
2018-05-21 11:54:18 +10:00
Jean-Yves Avenard
7f9231e215 Bug 1461268 - P1. Disable AMD VP9 decoder. r=bryce
It has greatly regressed with recent AMD drivers, providing worse performance than the software decoder under most circumstances.

MozReview-Commit-ID: Jtabi1qhoYF

--HG--
extra : rebase_source : 555e3bfdad18753079ccdcdd10261d68bbdaaad1
2018-05-24 15:19:23 +02:00
Mathieu Leplatre
73b8a3fba1 Bug 1460321 - Change addons/plugins/gfx blocklist content-signature certificate r=mgoodwin
MozReview-Commit-ID: G90na7kHaC9

--HG--
extra : rebase_source : 1226f6a5f021cbceae18e38f23e650df8e359b1b
2018-05-09 23:02:36 +02:00
Michal Novotny
574a724d01 Bug 1457084 - Increase max chunk memory usage limit, r=mayhemer
We can hit the limit very easily when writing javascript bytecode as alternative data to the cache entry because all data is written at once but CacheFileOutputStream splits it into chunks which are then written on a backgound thread. 40MB was chosen because bytecode is usually 4x-10x larger than the original data, so it can occupy most of the cache entry which is limited to 50MB.
2018-05-23 05:03:00 +03:00
Andreea Pavel
0dada2bb52 Merge inbound to mozilla-central. a=merge 2018-05-24 01:00:23 +03:00
Jonathan Kew
ec10b3f21a Bug 1392147 - Use Roboto instead of Clear Sans as default sans-serif font on Android, for better webcompat. r=xidorn 2018-05-23 13:51:59 +01:00
Xidorn Quan
2b53237243 Bug 1460295 - Don't dispatch mutation event for style attribute change from CSSOM. r=bz
MozReview-Commit-ID: JWDpyg7czXI

--HG--
extra : rebase_source : 1bf116ff3c016da126dae7ba89282cf31f16660a
2018-05-22 16:34:23 +10:00
Csoregi Natalia
acd92af57e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-23 01:02:30 +03:00
Kris Maglione
8340513b0c Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.

This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.

MozReview-Commit-ID: HaTGF7MN5Cv

--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
Kris Maglione
6b12d08f7d Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
MozReview-Commit-ID: Iv4T1MVAF5

--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
Kris Maglione
a21fc0dffb Bug 1461216: Remove minCompatible*Version preferences. r=aswan
MozReview-Commit-ID: 4W9MV20rDt9

--HG--
extra : rebase_source : 58bd193687de1db2c0f03d0233cf574efe7609d2
2018-05-13 13:24:09 -07:00
Xidorn Quan
4c114dbee6 Bug 1460456 part 3 - Add scrollbar-{face,track}-color properties. r=heycam
MozReview-Commit-ID: ImNfHHfzRdM

--HG--
extra : rebase_source : 58caf9fff4ad62d4413de688ad115e89a5929ea6
2018-05-10 10:40:17 +10:00
Honza Bambas
8a9d38fe70 Bug 1442178 - Do a busy wait of socket poll() shortly after network change detection, r=dragana 2018-05-30 17:36:42 +03:00
Honza Bambas
dab22ca3b9 Bug 1442178 - Repair broken socket polling wakeup mechanism after a network change to prevent long load hangs, r=dragana 2018-05-30 17:31:09 +03:00
Luca Greco
f0b87740f5 Bug 1406181 - Add ExtensionStorageIDB JSM module. r=aswan
This patch defined a new ExtensionStorageIDB module, which provides the
same "internal" API currently provided by ExtensionStorage and uses
IndexedDB as its backend (instead of the JSONFile used as the backend
provided by ExtensionStorage).

MozReview-Commit-ID: DsvPudExcyr

--HG--
extra : rebase_source : c1046955a3aaf226bba9d1cd7aacd86808c536a7
2017-10-17 04:12:15 +02:00
Luca Greco
d3c09d3243 Bug 1406181 - Add ExtensionStorageIDB JSM module. r=aswan
This patch defined a new ExtensionStorageIDB module, which provides the
same "internal" API currently provided by ExtensionStorage and uses
IndexedDB as its backend (instead of the JSONFile used as the backend
provided by ExtensionStorage).

MozReview-Commit-ID: DsvPudExcyr

--HG--
extra : rebase_source : f67691b7775cd8961f3152f1fa8becee7eaddb2e
2017-10-17 04:12:15 +02:00
Csoregi Natalia
2f779be8d9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-02 01:03:45 +03:00
Jim Chen
81118778f8 Bug 1463576 - 1. Add layout.accessiblecaret.script_change_update_mode pref; r=bz
Currently, if the "layout.accessiblecaret.allow_script_change_updates"
pref is false, we always hide accessible carets when the selection
changes due to JS calls (e.g. setSelectionRange(0, 1)). If the pref is
true, instead, we update the accessible carets if they are already
visible. In either case, we never show the carets if they're invisible.

However for testing purposes, it's useful to make it so we do try to
show the carets if they're invisible. This patch replaces that pref with
the new integer pref "layout.accessiblecaret.script_change_update_mode",
which can be 0 or 1, which correspond to the old pref, or the value 2,
which introduces this new behavior of always showing the carets.

MozReview-Commit-ID: Bf1gPpIzcyb

--HG--
extra : rebase_source : 5eaba6c18d800da425d5e21f61af880678d7fe3c
2018-06-01 13:39:20 -04:00
Jonathan Kingston
b437b76642 Bug 1462308 - Disable all Device Sensor events except orientation by default for stable. r=bkelly
MozReview-Commit-ID: 1PTWYpUP14

--HG--
extra : rebase_source : cb7754c824297cf7fa407056a833c0755c4450fb
2018-05-17 12:12:03 +01:00
Jon Coppeard
8d493df52b Bug 1444956 - Support BinAST decoding in the script loader r=baku 2018-05-16 15:58:13 +01:00
Chris Peterson
a952ac2911 Bug 1461243 - Part 5: Stub out obsolete DOM API navigator.javaEnabled(). r=jimm r=bz
We can't remove navigator.javaEnabled() entirely because that would break any web content that tries to call the function.

MozReview-Commit-ID: KIOBrZuMu9r

--HG--
extra : rebase_source : 112ec5308d59e8d12a8ea540784ea157e575d09c
extra : intermediate-source : e9b145757c2f27440749408d9de31df7b5d60ff8
extra : source : 5fe4a7a8723bbd9cd954905cbf3937f45706d660
extra : histedit_source : a62c9571a53a834ef15778a01cb993d7e8dc3daa
2017-04-28 18:54:33 -07:00
Olli Pettay
20c34cefa0 Bug 1461278 - Print a note to the web console when a web site is using shadow DOM (v1), preffed off by default, r=emilio 2018-05-15 02:04:32 +03:00
Brian Grinstead
41a9c35cf2 Bug 1460685 - Backed out changeset 09ee763947c3 (bug 1352513);r=Gijs
The security.allow_chrome_frames_inside_content pref was added to support
XUL extension compat after the hiddenWindow special case was removed in
Bug 1145470. Since we don't need to support that use-case anymore, this
changeset backs out the change that relanded the special case with the pref.
MozReview-Commit-ID: 4keMEIQvt1Y

--HG--
extra : rebase_source : 642464c622414017861dced9fbeb0c3500d43430
2018-05-11 16:26:07 -07:00
Noemi Erli
33b05cd8e9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-14 12:21:26 +03:00
vinoth
4c8a45010a Bug 1459561 - Apply Meta CSP to Content Privileged about:studies. r=ckerschb, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1146

--HG--
extra : amend_source : 4e0a9dbf405e8d8ec135336e5149797fad8f348e
2018-05-13 14:47:36 -04:00
Jonathan Kingston
eede4892ee Bug 1460506 - Restrict registerProtocolHandler over insecure connections in stable releases. r=dao
MozReview-Commit-ID: EynyFRIMEaq

--HG--
extra : rebase_source : a67423e8150f1b26b0bfd6a86d1339e099778bc6
2018-05-10 08:09:37 +01:00
Jonathan Kingston
d506e2d0c2 Bug 1460481 - Disable registerContentHandler from stable releases. r=dao
MozReview-Commit-ID: HvOjoQshLL4

--HG--
extra : rebase_source : ba270fb607a23ddaeb97afb13ca43b3b7961db2c
2018-05-10 03:17:17 +01:00