Commit Graph

605567 Commits

Author SHA1 Message Date
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
Haik Aftandilian
d1db66767f Bug 1474375 - [Mac] Let Sandboxing for the Flash NPAPI plugin process ride the trains r=Alex_Gaynor
MozReview-Commit-ID: Jlvjulbvo7S

--HG--
extra : rebase_source : dbb93e3e69de671184b4e7c4eadb408697d6f9e0
2018-07-18 11:49:02 -07:00
Haik Aftandilian
946187d684 Bug 1475722 - Mac Flash sandbox causes empty file upload dialogs on OS X 10.9, 10.10 r=Alex_Gaynor
On 10.9 and 10.10, grant global read access to the Flash sandbox.

Change Flash sandbox levels by adding a new level 1 that includes
global read access which will be the default on 10.9/10.10.
Level 2 is the new default for 10.11 and above with file read
access enabled by file dialog activity.

MozReview-Commit-ID: LvXhd6Vf7mo

--HG--
extra : rebase_source : 946f89937e5bb4506fd6bc8b2c050c86a8b29cc8
2018-07-17 17:30:44 -07:00
Mike Hommey
0f5d8527e2 Bug 1476874 - Only link object once in static libraries. r=froydnj
--HG--
extra : rebase_source : d4654d226b4bebf75b65eccff254d26a6880082c
2018-07-19 16:30:19 +09:00
Alex Chronopoulos
3c85ad38ce Bug 1152401 - Expect the new MediaDevice types in GeckoView. r=jchen
This patchset changes the MediaDevice type names from "audio" and "video" to "audioinput" and "videoinput". GeckoSession has been updated to expect the new string names. In parallel a new type "audiooutput" has been added but it is not important for this patch.

MozReview-Commit-ID: FUdG5QtD9re

--HG--
extra : rebase_source : 2a4bec49ef12898ef7aea7747ff7407577521916
2018-07-19 16:20:35 +02:00
Paul Adenot
2f416390fe Bug 1152401 - Augment AudioDeviceInfo with a cubeb device id. r=padenot
MozReview-Commit-ID: 7QOcM5ITrxv

--HG--
extra : rebase_source : 41071cfbccfc22b0c8a3b2d6a5405d4fbf23c16d
2018-07-18 10:38:34 +02:00
Alex Chronopoulos
300cdedf50 Bug 1152401 - Rename SourceSet to MediaDeviceSet to help readability. r=jib
MozReview-Commit-ID: KLXeicyEBFG

--HG--
extra : rebase_source : 02b70606e708d414cfeb3e38a2569c1d85c1d853
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
cf8c19c806 Bug 1152401 - Create pref to enable enumeration of output devices. r=jib
MozReview-Commit-ID: G1oB6hlBcsl

--HG--
extra : rebase_source : f966c58496394947094ca66de0079a79b33a745d
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
f19a154624 Bug 1152401 - Use mKind member of MediaDevice in MediaDeviceInfo to avoid string comparisons. r=jib
MozReview-Commit-ID: Kfqb7DZlwO2

--HG--
extra : rebase_source : 9e3ec1b4df4d90a20ff270f0e83a789631890cbe
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
075ead24ea Bug 1152401 - Implement enumeration of speaker devices. r=jib
MozReview-Commit-ID: CppImscUcz4

--HG--
extra : rebase_source : aed0355743d547bd7b405a6b834cf9ab50edc4ee
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
9e8bb0c379 Bug 1152401 - Update enumerate methods of MediaManager and MediaEngine to accept audio sink type. r=jib
MozReview-Commit-ID: 1RClh9UNQck

--HG--
extra : rebase_source : 23e3f1b9e4ad42f0cff86d3903e2b0c7e5bc6a01
2018-07-16 11:30:46 +02:00
Alex Chronopoulos
367ccc1325 Bug 1152401 - Add MediaDeviceKind member in MediaDevice to differentiate sink devices. r=jib
MozReview-Commit-ID: E6SGabjpqIA

--HG--
extra : rebase_source : ec79f2f8d949334209c0346e624fa4b16c8732a5
2018-07-16 11:29:12 +02:00
Alex Chronopoulos
5d13851360 Bug 1152401 - Use MediaDevice in MediaEngine to allow enumeration of both sinks and sources. r=jib
MozReview-Commit-ID: 6ntA5YUFSnN

--HG--
extra : rebase_source : d90bc121bc8e4152d76429e2a49f4d4cc1cf439e
2018-07-11 08:59:13 +02:00
Alex Chronopoulos
96fb94d4ab Bug 1152401 - Create MediaSinkEnum for speakers. r=jib
MozReview-Commit-ID: 2FUrm3ZI05S

--HG--
extra : rebase_source : 02552f5ab399f075d5128037a0743b3a7dbb350d
2018-07-11 08:59:13 +02:00
Jean-Yves Avenard
1b724d418f Bug 1476729 - Wrap object in RefPtr. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D2243

--HG--
extra : moz-landing-system : lando
2018-07-19 19:23:16 +00:00
Robert Bartlensky
ced7192e2f Bug 1476603: Fix DEAD_STORE error in dom/indexedDB/ActorsParent.cpp. r=janv
MozReview-Commit-ID: B6oqb3tp3ND

--HG--
extra : rebase_source : 02c5363991986babad56c55b9f80e187b91d0dad
2018-07-19 13:36:33 +01:00
Aaron Klotz
ae68a9de15 Bug 1467798: Fix problems with inlining and paths in TestDllInterceptorCrossProcess; r=handyman 2018-07-04 14:12:36 -06:00
Brindusan Cristian
a8f529a43e Backed out changeset c635e583eeb3 (bug 1441059) for ESlint failure. CLOSED TREE 2018-07-23 21:31:48 +03:00
Nathan Froyd
f4ed80c22c Bug 1469399 - remove virtual qualifiers from MediaRawData methods; r=jya
MediaRawData is never subclassed, so it's pointless to have these
methods be virtual.

--HG--
extra : rebase_source : ef55196831f5ff96e75b46f304541e1cb8fafada
extra : source : ccef9e2643a19668dc06426aa0e55ed5d61ae535
2018-07-23 11:19:59 -04:00
Marco Castelluccio
9e4a436b47 Bug 1477202 - Avoid shipping PerTestCoverageUtils.jsm to users by only adding it to Marionette when MOZ_CODE_COVERAGE is defined. r=florian
--HG--
extra : rebase_source : 18fe9086546fa328dddfe35f307f383f832c9a75
2018-07-20 11:37:52 +02:00
Brindusan Cristian
0e26947580 Backed out changeset 9a8f58cb7315 (bug 1441059) for geckoview failures on multiple files. 2018-07-23 21:03:26 +03:00
Nicolas B. Pierron
3e570c1197 Bug 1470115 - Disable LifoAlloc memory protection on release builds. r=tcampbell 2018-07-23 17:55:57 +00:00
Anny Gakhokidze
05520e664b Bug 1461465 - Implement async Clipboard APIs, r=nika,enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-23 13:41:07 -04:00
Robert Longson
da1ac338dc Bug 1474284 - cope with degenerate bezier curves r=baz 2018-07-23 18:36:09 +01:00
Thomas Nguyen
eddde0891e Bug 1475849 - Refactor worker tests within test_CSP.html r=ckerschb
Summary: MozReview-Commit-ID: 8ACGbm2htCF

Reviewers: ckerschb

Reviewed By: ckerschb

Bug #: 1475849

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

--HG--
extra : rebase_source : 3697cc7c5e73add52936b5ee08c07512e0612511
2018-07-23 18:55:56 +03:00
Cosmin Sabou
aa6a55f066 Backed out changeset ccef9e2643a1 (bug 1469399) for geckoview failures on multiple files. CLOSED TREE 2018-07-23 19:46:01 +03:00
Cosmin Sabou
3144e04a98 Backed out changeset 86bce8df5152 (bug 1461465) for build bustages on dom/Clipboard.h. CLOSED TREE 2018-07-23 19:16:37 +03:00
Paolo Amadini
8adbeb4164 Bug 1475916 - Use em instead of px for list heights to keep font scaling into account. r=bgrins
MozReview-Commit-ID: FDMwrHg27ad

--HG--
extra : rebase_source : 66c957f2516e4cded7c6e73da5ea30080ab2d37b
2018-07-23 10:07:38 +01:00
Anny Gakhokidze
2e0358b999 Bug 1461465 - Part 1: Implement async Clipboard APIs, r=nika,enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-23 11:59:13 -04:00
Cosmin Sabou
c42ea64d0b Merge mozilla-central to mozilla-inbound. a=merge
--HG--
rename : devtools/client/inspector/fonts/test/browser_fontinspector.html => devtools/client/inspector/fonts/test/doc_browser_fontinspector.html
extra : rebase_source : 176b90278222fa0e5334b71bd898396651e061f7
2018-07-23 18:55:14 +03:00
Jean-Yves Avenard
d7eb320e7a Bug 1476975 - P3. Fix canPlayType/isTypeSupported for AV1 content. r=dminor
AV1 support is behind a pref, as such, the result of canPlayType should depends on the value of that pref.

Additionally to this change we remove AOMDecoder::IsSupportedCodec as it implied confusion on what a codec mimetype is. There are two type of codec mimetype: the one describing the container content ("av1") and the one describing the codec itself "video/av1")
AOMDecoder shouldn't know anything about containers (e.g. mp4 or webm)

--HG--
extra : rebase_source : 72ebe662f76fb6c9d8be1f753890601aac440061
2018-07-20 10:24:56 +02:00
Jean-Yves Avenard
5fca92f302 Bug 1476975 - P2. Add mochitests. r=dminor
--HG--
extra : rebase_source : a24191c0bc355b69d425291a0ebdea21d962866a
2018-07-20 10:59:20 +02:00
Jean-Yves Avenard
c219e50b81 Bug 1476975 - P1. Make media.av1.enabled pref public. r=dminor
Makes it easier to toggle for tests.

--HG--
extra : rebase_source : 4e2090178e6b4da8ae495c50d43f26f26ed73449
2018-07-20 10:39:01 +02:00
Dylan Roeh
fc914649bb Bug 1441059 - Fix eslint failure. r=me on CLOSED TREE 2018-07-23 10:50:40 -05:00
Nathan Froyd
0c5c5f4d2f Bug 1468514 - make resizing PLDHashTable smarter; r=erahm
The current code for resizing PLDHashTable modifies the cached hash for
all entries in the old hash table.  This is unnecessary, because we're
going to throw away the old hash table shortly, and inefficient, because
writing to memory we're never going to use again just wastes time and
memory bandwidth.  Instead, let's avoid the write by pulling out the
cached key and doing the necessary manipulation on local variables,
which is probably slightly faster.
2018-07-23 10:30:57 -05:00
Emilio Cobos Álvarez
0c01140e18 Bug 1477553: Hide display: -moz-box|-moz-inline-box from content on Nightly and early beta. r=xidorn
Differential Revision: https://phabricator.services.mozilla.com/D2288

MozReview-Commit-ID: F9BeAneKY6e
2018-07-23 17:27:17 +02:00