Commit Graph

605343 Commits

Author SHA1 Message Date
Nicolas Silva
6d4507f6ff Bug 1455422 - Implement the new blob image rasterization hooks. r=kats, gankro 2018-07-19 16:33:05 -04:00
Jeff Muizelaar
4e530d2f5f Bug 1476636. Update Cargo lockfiles, re-vendor rust dependencies
--HG--
rename : third_party/rust/euclid-0.17.3/LICENSE-APACHE => third_party/rust/smallvec/LICENSE-APACHE
2018-07-20 17:24:55 -04:00
Jeff Muizelaar
8ebc4e4580 Bug 1476636. Update webrender to commit 9f21ee5dba0694818a1e2e46d95734ede281447c 2018-07-20 17:24:47 -04:00
Nathan Froyd
31da9ce5d8 Bug 1451104 - follow-up - quiet clang-tidy content checking; r=me 2018-07-20 17:16:25 -04:00
Kristen Wright
c5a7b6643f Bug 1477381 - JS::ubi::TracerConcrete<Referent>::edges as a public method. r=erahm
--HG--
extra : amend_source : 5f3b27c27dbeecce604c3421c644b62fb2ff8744
extra : histedit_source : 3f2b7cc862ad1959b106bf71533b85a23d26ad98
2018-07-20 12:57:44 -07:00
Nathan Froyd
9ef8c4c9f7 Bug 1451104 -part 5 - touch CLOBBER; r=me 2018-07-20 16:24:08 -04:00
Nathan Froyd
2fdb3343a9 Bug 1451104 - part 4 - move toolchains off GCC 4.9; r=glandium
Firefox itself has moved on to GCC 6.x; we can move our toolchains along too.
2018-07-20 16:22:26 -04:00
Nathan Froyd
be8349e293 Bug 1451104 - part 3 - inform stage2/3 clang about gcc binutils; r=glandium
We do this to encourage clang to find an new-enough linker instead of
the system one.
2018-07-20 16:22:26 -04:00
Nathan Froyd
38688aaaac Bug 1451104 - part 2 - force clang to always pick up its local GCC headers and libraries; r=glandium
We want our clang bootstrap to use the GCC headers we're building with,
not whatever sysroot it happens to find on the server we're building on.

The -gcc-toolchain argument we specify when building clang will also be
picked up by llvm-config, so we need to strip it out when building the
plugin.  Otherwise, we will get peculiar failures about not being able
to find C++ header files.
2018-07-20 16:22:26 -04:00
Nathan Froyd
ace0cd0747 Bug 1451104 - part 1 - be explicit about our GCC/binutils target and build machine; r=glandium
Explicit is better than implicit, and helps ensure that GCC is always
using the binutils we built it with, rather than the system binutils.
2018-07-20 16:22:26 -04:00
Johann Hofmann
c83c0fcdc7 Bug 1476879 - Remove the privacy.trackingprotection.ui.enabled pref. r=flod,jaws
MozReview-Commit-ID: IsY8Oy8kmVQ

--HG--
extra : rebase_source : ba48654cb7e87f5d78da68c6cf9c48a963306660
2018-07-19 10:34:28 +02:00
Miko Mynttinen
c9202e2933 Bug 1477260 - Clip the rect in Matrix4x4TypedFlagged::TransformAndClipBounds, when transform is an identity matrix r=bas
MozReview-Commit-ID: 3a8vnl3K87n

--HG--
extra : rebase_source : b4bdd2b14e10becee20007e453497e9d7a204097
2018-07-20 17:28:37 +02:00
Cosmin Sabou
cb45df15a0 Backed out changeset e56a701fc960 (bug 1476934) for build bustages on moz-automation.mk. CLOSED TREE 2018-07-20 20:41:20 +03:00
Sam Foster
1830053e3f Bug 1468644 - cc-numbers are always masked in dialog content; tests to verify this and card details in the payment response. r=jaws
MozReview-Commit-ID: 34MkjyRBth7

--HG--
extra : rebase_source : 04a75ec0d87d9458fab314fe42dddd798957cb61
2018-07-18 12:45:45 -07:00
Bharat Raghunathan
cadc3d51f9 Bug 1470964 - Make confirmation hint panel blue instead of green r=jaws
MozReview-Commit-ID: J7ajg44ElUb

--HG--
extra : rebase_source : 13e35f958dc8f39229af207f6dfc734da4517df3
2018-07-20 21:50:58 +05:30
Alexandre Poirot
6a298fd038 Bug 1264873 - Ensure exposing memory actor for the browser content toolbox. r=yulia
MozReview-Commit-ID: 3duHXef13M4

--HG--
extra : rebase_source : 8f372fedbbfe59ec7c2756bde61450e67f46345a
2018-07-18 09:00:44 -07:00
David Keeler
85865937f5 bug 1300420 - add enterprise root support for OS X r=spohl,franziskus
If the preference security.enterprise_roots.enabled is set to true, the platform will import trusted TLS certificates from the OS X keystore.

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

--HG--
extra : moz-landing-system : lando
2018-07-20 19:28:09 +00:00
Michael Kaply
96e550bb6b Bug 1477076 - Add POST support to addEngineWithDetails. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D2254

--HG--
extra : moz-landing-system : lando
2018-07-20 18:40:00 +00:00
Doug Thayer
04f1e1bc1e Bug 1476238 - Use nsresult/promise rejection in initListBuild r=Gijs
I mistranslated the boolean success value of the old initListBuild
method. Simplifying it to just use a promise rejection should be
equivalent and simpler, since this is only run from the update
method of WindowsJumpLists, and the call sites for that don't do
anything afterwards.

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

--HG--
extra : moz-landing-system : lando
2018-07-20 16:56:01 +00:00
Masayuki Nakano
3a1344255b Bug 1467802 - part 4: Create TextEditor::ComputeValueInternal() for internal use of nsIPlaintextEditor::OutputToString() r=m_kato
For reducing virtual calls of nsIPlaintextEditor::OutputToString(),
TextEditor should have new non-virtual public method, ComputeTextValue() and
shared code between it and OutputToString() as ComputeValueInternal().

MozReview-Commit-ID: KFeovQ568bf

--HG--
extra : rebase_source : a5cfb24cefe44f7c60e649959ed49350ed00d4d6
2018-07-18 21:27:30 +09:00
Masayuki Nakano
91c0a26b3f Bug 1467802 - part 3: Create EditorBase::GetDocumentCharsetInternal() for internal use of nsIEditor::GetDocumentCharacterSet() r=m_kato
This patch creates non-virtual method, EditorBase::GetDocumentCharsetInternal(),
for internal use of nsIEditor::GetDocumentCharacterSet() since the virtual
call method is redundant and the caller cannot be marked as const.

MozReview-Commit-ID: v6kDo2eKg3

--HG--
extra : rebase_source : 07f6dd8341cb6686835db2ee3ded479323cccca9
2018-07-18 21:11:32 +09:00
Masayuki Nakano
85b94e287c Bug 1467802 - part 2: Mark TextEditor::GetAndInitDocEncoder() as const r=m_kato
TextEditor::GetAndInitDocEncoder() modifies only mCachedDocumentEncoder and
mCachedDocumentEncoderType which are cache of the method to save recreation
cost of document encoder when same type document encoder is requested.

So, with marking them mutable, we can change the method to a const method.

MozReview-Commit-ID: 80W0NtQhJOR

--HG--
extra : rebase_source : 84f4b49fe3a3124c0de99b39a2141a8cee553e54
2018-07-18 20:51:55 +09:00
Masayuki Nakano
9da3ea2d22 Bug 1467802 - part 1: Create TextEditor::WrapWidth() for internal use of nsIPlaintextEditor::GetWrapWidth() r=m_kato
Let's create non-virtual and simple accessor for TextEditor::mWrapColumn.

MozReview-Commit-ID: 97LhhOgkx4A

--HG--
extra : rebase_source : bd57d7fbcc8da5e00fe71b81a6a2a9ef2f92e939
2018-07-18 20:31:17 +09:00
Petru Lingurar
cc7b268bbf Bug 1476676 - Do Gecko initialization on main thread; r=jchen
When migrating GeckoService to Oreo (Bug 1467840), the Gecko initialization was
inadvertently moved on a background thread.
This patch moves the initialization back on main thread.

MozReview-Commit-ID: Cxp7lGzPgXH

--HG--
extra : rebase_source : cf12c311dcae47cad42235587ace684788a848a1
2018-07-19 14:51:41 +03:00
Petru Lingurar
3141ebe19d Bug 1476716 - Use DownloadManager.COLUMN_LOCAL_URI to query downloads; r=jchen
After API 24 DownloadManager.COLUMN_LOCAL_FILENAME got deprecated and querying
for it would throw an error.
To get around this DownloadManager.COLUMN_LOCAL_URI can be used but which adds
the "file://" prefix.

MozReview-Commit-ID: CvkoFyRCLo6

--HG--
extra : rebase_source : 66b0eeecf40b1b1b9fa51860f29032e02ebe507b
2018-07-19 17:59:36 +03:00
James Teh
9febcf7435 Bug 1476347: Fix accessibility for HTML dt/dd with a div as its parent. r=MarcoZ
It is conforming in HTML to use a div to group dt/dd elements.
Previously, we didn't create an accessible for dt/dd elements in this case.

MozReview-Commit-ID: 8GDDxU3RbLd

--HG--
extra : rebase_source : 558a67e1b21583c6fac766ee1d1a24606976177f
2018-07-18 20:13:01 +10:00
Paul Bone
81bdf394fb Bug 1476500 - Add a comment explaining why we need this value r=sfink
It was unclear why we need addressOfStringNurseryCurrentEnd but not
addressOfStringNurseryPosition.  Add a comment explaining this in this
context.

--HG--
extra : rebase_source : 4fb1907c6fe133223c9d323f8062470e716df4a5
2018-07-18 16:01:51 +10:00
Paul Bone
1a917abbc8 Bug 1476500 - Add extra assignments and make some types more specific r=nbp
--HG--
extra : rebase_source : af6c06d44b181095c15fe34d8529aae72c486ec8
2018-07-20 12:42:33 +10:00
Paul Bone
856781b0bb Bug 1476500 - Fix some prose in the MacroAssembler class comment r=tcampbell,nbp
Also fix an out-of-date reference to check-masm

--HG--
extra : rebase_source : f7a23870d844eabd8af82aa87a49895e0443e3c6
2018-07-19 13:16:29 +10:00
Johannes Willbold
5084e841a5 Bug 1437169: Improved error checking in the the fingerprint parsing, r=bwc
Improved the error checking in the fingerprint parsing
Changed the way the fingeerprint stores the hash algorihtm to an enum.
Extended the rust unit test for fingerprint
Fixed C++ unit tests

MozReview-Commit-ID: AS2FroZxDNv

--HG--
extra : rebase_source : be0b6d5c390ffaa90c9371436ece717e5e4e002c
2018-07-17 15:35:34 -07:00
Bogdan Tara
3c4603080d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-20 04:16:56 +03:00
Bogdan Tara
fad7fdf6cc Backed out changeset 76540384ad3d (bug 1471339) by marco's request a=backout 2018-07-20 04:05:23 +03:00
Bogdan Tara
b6e2939995 Merge inbound to mozilla-central. a=merge 2018-07-20 00:49:06 +03:00
Stephen A Pohl
fc76194aea Bug 1472629: Handle native exceptions when reading accessibility attribute values to avoid crashing. r=mstange 2018-07-19 14:39:52 -04:00
Coroiu Cristina
5d80f520f1 Backed out changeset c04c0005e485 (bug 1476383) for SpiderMonkey failures at non262/regress/regress-1476383-calloc-exc.js on a CLOSED TREE 2018-07-19 21:15:52 +03:00
Jim Blandy
557b8e3e01 NO BUG: Clarify documentation for Debugger.prototype.onNewScript hook. DONTBUILD r=jorendorff 2018-07-19 10:45:49 -07:00
Steve Fink
585b6ddeba Bug 1476383 - cx->pod_callocCanGC can set an exception when succeeding, r=pbone
--HG--
extra : topic : nursery.strings
extra : rebase_source : 0dafa4356e1f6226a97335838841f600e65b7202
extra : histedit_source : 87cf87164c85abba6ccc42113524e72753d59cb3
2018-07-18 15:22:21 -07:00
Jeff Walden
d243be25b1 Bug 1426909 - Abstract out mozilla::DecodeOneUtf8CodePoint for decoding a UTF-8 code point after having consumed a non-ASCII lead unit, with configurable error notification through optional user-provided functors. r=froydnj
--HG--
extra : rebase_source : 25836018b00b545a60969abccf40ce313d4da1af
2018-07-12 17:41:31 -07:00
Gerald Squelart
a9f6702044 Bug 1459937 - In DEBUG mode, verify that reparenting direction is correct - r=dbaron
MozReview-Commit-ID: JPfg9YtBm6M

--HG--
extra : rebase_source : f56a9a4a666fc61e69ba537a69e3161b58083d02
2018-07-10 15:35:48 +10:00
Gerald Squelart
4b4619bb45 Bug 1459937 - Mark pulled floats (from pulled lines) dirty - r=dbaron
Similar to lines (see previous patch), floats from next-in-flow or overflow
frames have probably not been marked dirty (as ReflowInput hasn't dealt with
them when it was constructed), so we need to mark them dirty for proper reflow.

If we don't do that, and they don't fit in the current column, the next column
will only mark its current children dirty, so when pulling back its first
floats from the previous column they will not be reflowed as needed.

MozReview-Commit-ID: KKrwtzeQMrI

--HG--
extra : rebase_source : ec99f380c978c6d28135490401beb0bb54c8e2b3
2018-07-10 11:36:33 +10:00
Gerald Squelart
52440e9648 Bug 1459937 - Mark pulled lines (from n-i-f or overflow) dirty - r=dbaron
Lines pulled from next-in-flow or overflow frames have probably not been marked
dirty (as ReflowInput hasn't dealt with them when it was constructed), so we
need to mark them dirty for proper reflow.

If we don't do that, and they don't fit in the current column, the next column
will only mark its current children dirty, so when pulling back its first lines
from the previous column they will not be reflowed as needed, which causes this
bug.

MozReview-Commit-ID: 8GFO1ZWuZ1b

--HG--
extra : rebase_source : ee55a9ae7408e1f2603c1b2bc80ddcd8dbc837f0
2018-07-09 11:42:47 +10:00
Jan Beich
7d61fe74ac Bug 1475970 - Disable e10s on FreeBSD by default due to kernel bug. r=froydnj
MozReview-Commit-ID: UqaO9sZWr

--HG--
extra : rebase_source : eab027f9fa60d7c6ad65f14c5793b2025cba9ef3
2018-07-19 18:43:40 +00:00
Chris Pearce
65071eb549 Bug 1476853 - Remove obsolete use of media.autoplay.enabled. r=rbarker
In Bug 1188240 we disabled autoplay on Android < API version 16 because of a
vulnerability in old libstagefright, but as of Firefox 55 our minimum supported
Android version is 4.1, or API verion 16.

We've renamed the media.autoplay.enabled pref, so we can just remove the
check on media.autoplay.enabled added in bug 1188240 as it's testing for a
version of Android we no longer support anyway..

MozReview-Commit-ID: Gc8ZnlOiiMn

--HG--
extra : rebase_source : 12817b6e782331f3e4f26be0b97181418ec3287f
2018-07-19 15:40:35 +12:00
Chris Pearce
c45c8746d8 Bug 1476853 - Enable block autoplay v2 on Nightly only on Fennec by default. r=jchen
We're planning on enabling block autoplay on desktop by default, so in order to
be consistent across platforms, we think we should also enable it on mobile by
default.

The change here makes us allow autoplay in tabs which have had user
interaction, rather than the legacy block autoplay implementation which
"blessed" media elements which had certain functions called in a user generated
event handler.

Current plan is to enable this on Nightly only (desktop & mobile) and solicit
feedback and then decide on whether to let it ride the trains.

MozReview-Commit-ID: IkusfUOrcgO

--HG--
extra : rebase_source : 0c0a8f80d3670fffe66540f66954eaa980a42e74
2018-07-19 15:43:18 +12:00
Chris Pearce
45b80a65d1 Bug 1476853 - Set autoplay to allowed for testing purposes. r=jmaher
We're going to enable block autoplay of HTMLMediaElements by default in Nightly,
but lots of our tests assume they are allowed to playback media without requiring
user interaction. After we've enabled block autoplay that assumption won't be valid.

So configure the prefs that control block autoplay so that we allow media to
autoplay.

This means the existing tests we have don't need to be rewritten to work when
we enable block autoplay by default.

MozReview-Commit-ID: 50yydubQjkS

--HG--
extra : rebase_source : a19e6c5b60d3b89e754be786281ca3242baa3830
2018-07-19 15:46:38 +12:00
Chris Pearce
92f02c8c51 Bug 1476853 - Enable block autoplay on Nightly only on desktop. r=jya
We want to solicit feedback on our doorhanger implementation, so enable block
autoplay by default on Nightly only.

MozReview-Commit-ID: Kq5T8BS5Esm

--HG--
extra : rebase_source : b55a3fa34c4687a4ad4a74f38d4e46fe194aee30
2018-07-19 15:11:33 +12:00
Chris Pearce
33cfb93398 Bug 1476853 - Don't block WebAudio autoplay by default. r=padenot
Pending figuring out how we want to block autoplay of WebAudio content, we
should just not block it by default for the initial release of block autoplay,
and follow up once we've figured out how to not break the web.

MozReview-Commit-ID: ClfdrHcugLs

--HG--
extra : rebase_source : 54f61b0765f1d0ed9c754c90da9c2809a7de8676
2018-07-16 16:08:49 +12:00
Xidorn Quan
25e715a5f1 Bug 1476476 - Remove some unused const variables in JumpListBuilder. r=jimm
MozReview-Commit-ID: 4UPr0lWd4iQ

--HG--
extra : rebase_source : 43bcec23f460ab004073cea7e4891aea011674be
2018-07-18 10:24:04 +10:00
Bogdan Tara
217447d26d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-20 00:53:24 +03:00
Jan Henning
acbd308034 Bug 1476681 - Starting from Nougat, install updates via content:// URIs. r=jchen
We download the update APK into the public downloads directory and normally the
only relevant app consuming that URI should be the system package installer, but
just to be safe we only switch usage from Nougat onward, too.

This patch had already landed as part of bug 1450449, but subsequently got
overwritten during the refactoring in bug 1407046.

MozReview-Commit-ID: Ipmmlpm91zK

--HG--
extra : rebase_source : 426d98084fd26d5312e1aa5809256a5f29cd7b4d
2018-07-18 20:43:21 +02:00