77186 Commits

Author SHA1 Message Date
Xidorn Quan
04533463d7 Bug 1489387 - Have fullscreenerror event aligned to refresh driver tick. r=smaug
Depends on D5235

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

--HG--
extra : moz-landing-system : lando
2018-09-09 23:33:40 +00:00
Narcis Beleuzu
24dd43668a Bug 1336075 - Disable browser_largeAllocation_non_win32.js on linux and mac for frequent failures. r=jmaher 2018-09-09 01:43:00 +03:00
Andrea Marchesini
f7df966db8 Bug 1489077 - Report to console when cookie permission is granted for trackers, r=ehsan 2018-09-09 20:03:09 +02:00
Cosmin Sabou
d4ef4e9747 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-09 01:00:14 +03:00
Daniel Holbert
f26874e5ee Bug 1489696: Adjust Scheduler::GetPrefs() return type to let it benefit from RVO and to address -Wreturn-std-move build warning. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5340

--HG--
extra : moz-landing-system : lando
2018-09-08 01:06:21 +00:00
Cosmin Sabou
dc72962df3 Backed out changeset 68805212630a (bug 1482752) for causing build bustages on dom/fetch. CLOSED TREE 2018-09-08 20:46:04 +03:00
Thomas Wisniewski
4d92a94c0d Bug 1482752 - Have Fetch bodies use File blobs for local files instead of regular blobs. r=baku
Have Fetch bodies use File blobs for local files instead of regular blobs.

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

--HG--
extra : moz-landing-system : lando
2018-09-08 14:34:37 +00:00
Henri Sivonen
39dc649092 Bug 1488697 - Make StringBuilder::ToString avoid repeated capacity and aliasing checks as well as terminator writes. r=smaug
* Avoid the string implementation's capacity checks, since we know they
   succeed.
 * Avoid the string implementation's aliasing checks, since we know there's no
   aliasing.
 * Avoid writing the zero terminator more than once or out of sequence.
 * Use u"" literals when appending literals to a UTF-16 string.
 * Write runs of non-escaped code units instead of writing code unit by code
   unit in order to benefit from SIMD (either via memcpy or
   ConvertLatin1toUTF16).

This results in a 13% execution time reduction on desktop Haswell i7 when
getting the innerHTML of the body of the Selectors spec. (The WebKit
optimization target from https://bugs.webkit.org/show_bug.cgi?id=81214 .)

MozReview-Commit-ID: LAg3gkGJnpQ

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

--HG--
extra : moz-landing-system : lando
2018-09-08 07:47:28 +00:00
Csoregi Natalia
ef2ff61afa Backed out changeset 4ed98e49718c (bug 1489387) for element-request-fullscreen-active-document.html failures. CLOSED TREE 2018-09-08 04:37:09 +03:00
Csoregi Natalia
0400fe7b57 Backed out changeset bd8baf88f373 (bug 1468222) for test_security-info-parser.js failures. CLOSED TREE 2018-09-08 03:16:25 +03:00
Boris Chiou
58b7c8f2bd Bug 1486094 - Part 5: Use the standalone struct and enum for the flags in SVG path. r=emilio,birtles
We define the standalone types for using derive macro easily and overriding
the behaviors of this traits. This could avoid defining the general
behavior of booleans.

Depends on D4788

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:25:59 +00:00
Boris Chiou
a969445b87 Bug 1486094 - Part 4: Write tests for ComputeSquaredDistance on SVGPathData. r=birtles
Add tests for ComputeSquaredDistance on |offset-path:path()|.

Depends on D4791

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:18:29 +00:00
Xidorn Quan
38f40d8252 Bug 1489387 - Have fullscreenerror event aligned to refresh driver tick. r=smaug
Depends on D5235

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

--HG--
extra : moz-landing-system : lando
2018-09-07 19:00:03 +00:00
Dipen Patel
0679e09a9a Bug 1468222 Consolidate nsISSLStatus info nsITransportSecurityInfo r=snorp,ato,sfraser,keeler,baku,mcmanus,Gijs
Move all fields of nsISSLStatus to nsITransportSecurityProvider
Remove nsISSLStatus interface and definition
Update all code and test references to nsISSLStatus
Maintain ability to read in older version of serialized nsISSLStatus.  This
is verified with psm_DeserializeCert gtest.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:50:17 +00:00
Xidorn Quan
afd201db11 Bug 1489385 part 2 - Make the refresh driver event dispatching specific to fullscreen events. r=smaug
The mechanism was added in bug 1168705 for fullscreen, and is only used
for this since then. The spec now has a specific step for this in the
event loop, so specialize this mechanism to match the spec closer.

This patch also changes the caller type of the fullscreenchange event
from non-system to system (via using DispatchTrustedEvent rather than
EventTarget::DispatchEvent(Event&)).

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

--HG--
extra : source : 179f5fbd9db08518804b613f5e3fefa659c1e0a2
2018-09-08 08:53:33 +10:00
Xidorn Quan
b99f2af048 Bug 1489385 part 1 - Have MozDOMFullscreen::NewOrigin event de-aligned with refresh driver. r=smaug
In following patches, we are changing how fullscreen events dispatches,
and this patch removes the only dependency of the original mechanism
outside content-exposed fullscreen events.

Listeners of NewOrigin event nowadays just send a message to the chrome,
so it doesn't really matter a lot when is it dispatched.

This event was made that way as part of bug 1168705. I cannot recall
the exact reason for doing so, but maybe that time we still care about
non-e10s, and syncing this event with flush can help merging the browser
chrome UI change into the same flush on non-e10s.

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

--HG--
extra : source : 9ee1f744c213db0d89d48e6764ade0e0a13af103
2018-09-08 08:53:33 +10:00
Mike Hommey
32627430f6 Bug 1489363 - Replace some string.Append* with AppendLiteral. r=froydnj
Depends on D5224

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

--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:04 +00:00
Mike Hommey
117e48720c Bug 1489363 - Replace some string.Assign* with AssignLiteral. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5224

--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:01 +00:00
Daniel Varga
001e1c7fce Merge mozilla-central to autoland 2018-09-08 01:11:28 +03:00
Daniel Varga
bdd611d2ef Merge mozilla-inbound to mozilla-central a=merge 2018-09-08 01:04:10 +03:00
Dorel Luca
0354a42f2b Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : c88bbe367754bf9270200139dbfd58d70ae1f203
2018-09-07 19:38:58 +03:00
Dorel Luca
37663bb870 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-07 19:35:34 +03:00
Sylvestre Ledru
aa37bde79b Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
This also includes moving some files to the regular format.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Jean-Yves Avenard
ebe177f75e Bug 1489102 - P5. Ensure the Opus decoder never returns an empty sample. r=bryce
This leads to audio content having negative start time

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

--HG--
extra : moz-landing-system : lando
2018-09-07 18:38:34 +00:00
Jean-Yves Avenard
d5fd103cae Bug 1489102 - P4. Add flac in mp4 plain file test. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5242

--HG--
extra : moz-landing-system : lando
2018-09-07 14:18:15 +00:00
Jean-Yves Avenard
24b6f53940 Bug 1489102 - P3. Allow flac and opus in mp4 for EME. r=bryce
Depends on D5205

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

--HG--
extra : moz-landing-system : lando
2018-09-07 14:18:12 +00:00
Jean-Yves Avenard
d746aff88d Bug 1489102 - P2. Add mochitests. r=bryce
Depends on D5198

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

--HG--
extra : moz-landing-system : lando
2018-09-07 18:41:00 +00:00
Coroiu Cristina
1c56c46237 Merge mozilla-central to inbound a=merge 2018-09-08 16:22:27 +03:00
Olli Pettay
d359c13691 Bug 1489622 - Remove unused code from nsJSEnvironment, r=mccr8 2018-09-08 15:03:02 +03:00
Jan Varga
422e07e11f Bug 1324836 - Part 2: Add a gtest for OriginScope testing; r=asuth
Original patch by Tom Tung [:tt].
2018-09-07 18:23:02 +02:00
Jan Varga
d138057009 Bug 1324836 - Part 1: Make OriginScope use mozilla::Variant; r=asuth
Original patch by Tom Tung [:tt].
2018-09-07 18:22:50 +02:00
Ehsan Akhgari
3c5c9fc06f Bug 1489362 - Part 1: Remove the XPCOM registration for AudioChannelAgent; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D5226
2018-09-07 12:05:40 -04:00
Valentin Gosu
b39f149d13 Bug 908413 - Use dom::CMimeType::Parse to extract content type for data URIs r=hsivonen
Depends on D5094

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

--HG--
extra : moz-landing-system : lando
2018-09-07 05:44:49 +00:00
Valentin Gosu
c4da49a35f Bug 908413 - Make dom::MimeType a template to make it usable with nsCString r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D5094

--HG--
extra : moz-landing-system : lando
2018-09-07 05:41:29 +00:00
Daosheng Mu
40b783b88f Bug 1489022 - Avoid be overwritten when WEBGL_MSAA is in the blacklist. r=jgilbert
MozReview-Commit-ID: 3HVTu2UQcFX

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

--HG--
extra : moz-landing-system : lando
2018-09-06 20:17:26 +00:00
Bogdan Tara
30c8b1bee3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-07 00:59:25 +03:00
Jean-Yves Avenard
91cbaa9357 Bug 1488520 - Continue searching for a moof until a valid one is found. r=alwu
It is possible for audio and videos moofs to be interleaved in the stream. If we were to stop on an invalid moof or a moof whose track ID doesn't match, the track would end up not playing.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 18:32:37 +00:00
Nico Grunbaum
3a4a5d27d6 Bug 1489033 - Add ICE candidates to test_peerConnection_stats mochitest r=mjf
Adding local-candidate and remote-candidate tests to the test_peerConnection_stats

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

--HG--
extra : moz-landing-system : lando
2018-09-06 12:55:33 +00:00
Nico Grunbaum
7a75f56678 Bug 1479632 - Increase accecptable PLI threshold in WebRTC Stats mochitest r=mjf
Increasing the threshold for 'sane' for the pliCount stat to account for mochi tests running on a burdened machine

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

--HG--
extra : moz-landing-system : lando
2018-09-06 12:51:58 +00:00
Haik Aftandilian
ca8ba234b7 Bug 1487204 - Add platform support for calling authorizationStatusForMediaType and requestAccessForMediaType from JS r=spohl
Add a new interface nsIOSPermissionRequest for querying the
staus of access permissions for audio/video media capture and
requesting access to audio/video capture devices. Provides an
implementation for macOS 10.14 and a default implementation
(nsOSPermissionRequestBase) for earlier macOS versions and other
platforms. The default implementation always returns status
indicating access is allowed.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 16:06:15 +00:00
Jean-Yves Avenard
032d3b87d7 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 13:18:00 +00:00
Doug Thayer
e80e0faf26 Bug 1489546 - Don't drop process priority of webext process r=mconley
Turned out to be fairly trivial. Not much to explain here - as far
as I can tell this looks clean on try now (no web extension failures
like there were before).

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

--HG--
extra : moz-landing-system : lando
2018-09-07 16:46:42 +00:00
Dorel Luca
6eaad9277b Merge mozilla-central to autoland 2018-09-07 19:37:17 +03:00
Brian Grinstead
150199f6f8 Bug 1488938 - Round two: migrate mochitest-browser tests to use element variations of firstChild, etc;r=Gijs
This is a follow up to Bug 1482667. The list of callers was gathered by instrumenting
the webidl calls to these methods and dumping JS stack when they are called in browser.xul.

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

--HG--
extra : moz-landing-system : lando
2018-09-07 15:31:38 +00:00
Jean-Yves Avenard
43c1f52a3b Bug 1487792 - Do not drain the FFmpeg parsers. r=bryce
In FFmpeg 4.0 and later, draining the parser will cause later decoding error as the decoder expects to only be fed a null packet.
It was also unnecessary for earlier version of FFmpeg

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

--HG--
extra : moz-landing-system : lando
2018-09-06 11:18:28 +00:00
Coroiu Cristina
79c7b523f8 Backed out changeset 29daa22239e9 (bug 1488065) for mda failures at dom/media/test/test_videoPlaybackQuality_totalFrames.html 2018-09-06 14:06:11 +03:00
Margareta Eliza Balazs
0a1635ffbd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-06 13:00:37 +03:00
Margareta Eliza Balazs
baa535d4e0 Merge inbound to mozilla-central. a=merge 2018-09-06 12:53:57 +03:00
Jean-Yves Avenard
38a3bd2e77 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 08:42:52 +00:00
Andrea Marchesini
9290eb7909 Bug 1488165 - Remove security.csp.enable_violation_events pref, r=dveditz 2018-09-06 09:05:10 +02:00