Commit Graph

66163 Commits

Author SHA1 Message Date
Wes Kocher
366445521c Merge m-c to autoland, a=merge
MozReview-Commit-ID: DjSlrmDFfe3
2017-08-16 17:14:41 -07:00
Wes Kocher
9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Karl Tomlinson
d7e9aa7cc4 bug 1172979 use AutoTArray for AudioChunk::mChannelData to reduce allocations r=padenot
MozReview-Commit-ID: wabk0WlLv5

--HG--
extra : rebase_source : c7477c47a50c46ffdb3f3b10c9497eaec1bf02dd
2017-08-11 11:54:36 +12:00
Karl Tomlinson
107b30b800 bug 1172979 permit retrieving const channel data from const AudioChunk r=padenot
MozReview-Commit-ID: 8mP49nONMYI

--HG--
extra : rebase_source : 0d8ec2491772a0bc2710e1aa9b4adbff57958261
2017-08-10 17:03:15 +12:00
Karl Tomlinson
2cec449882 bug 1172979 correct mBufferIsDownstreamRef documentation r=padenot
MozReview-Commit-ID: B0imfszv4CA

--HG--
extra : rebase_source : d44c842c377f939f05a3ddf4153f59e90b271688
2017-08-10 16:55:05 +12:00
Jean-Yves Avenard
f247f14f15 Bug 1389844 - P3. Handle case where currentTime isn't contained in buffered range. r=gerald
When playback starts, currentTime is always 0, and even if the buffered data doesn't contain currentTime it is possible for playback to progress as we always allow up to 500ms gap in the buffered data.

As such, we must use fuzzing on the interval's start time when determining if we have future data.

MozReview-Commit-ID: Ki9QxmKhfdY

--HG--
extra : rebase_source : b7a550348b61d96f91e73b171a5dd03b16a4c152
2017-08-16 19:35:27 +02:00
Jean-Yves Avenard
a4b8d6b551 Bug 1389844 - P2. Add Intervals::ContainsWithStrictEnd method. r=gerald
MozReview-Commit-ID: JnIgYlmewUw

--HG--
extra : rebase_source : d2cf398da8f7bf33bfb763a6057670df408aa1ae
2017-08-16 19:30:45 +02:00
Jean-Yves Avenard
cf6931a74f Bug 1389844 - P1. Add mochitest. r=gerald
Similar to test_PlayEventsAutoPlaying.html, but here we load 10s of data and ensure autoplaying kicks in.

MozReview-Commit-ID: ImpjFIcBIo1

--HG--
extra : rebase_source : c7d280eebeb6b3398176423b9e723696c9543c7f
2017-08-16 19:20:45 +02:00
Masatoshi Kimura
9ab81a1042 Bug 1389723 - Remove @deprecated nsIMIMEInputStream.addContentLength. r=dragana
MozReview-Commit-ID: 9b45aozatin

--HG--
extra : rebase_source : 636da171929fe6ecd69de5c68d9ed4064a3a7b09
2017-08-12 13:34:02 +09:00
Kate McKinley
5c5de1568b Bug 1390687 - remove versioned javascript and legacy generator code r=emk
MozReview-Commit-ID: 5f3NQdjQ68v

--HG--
extra : rebase_source : 6216fa33d168fb39b885f7cd0e4f7622af8dc3df
2017-08-15 16:08:16 -07:00
Tom Ritter
8139fd025a Bug 1390617 Fix casing of d3d11.h to fix MinGW build r=jya
MozReview-Commit-ID: 8IHb4pYo77Y

--HG--
extra : rebase_source : f8c72eeaceb72f422016945001e72c551aec6e36
2017-08-15 15:14:25 -05:00
James Cheng
5f81ad1954 Bug 1390453 - Don't call VerifyCdmHost_0 in non-official builds. r=cpearce
MozReview-Commit-ID: 3eM7pBs6Jr1
2017-08-16 07:28:14 -04:00
Thomas Nguyen
33fb4a1505 Bug 1384493 - LoadStyleLink and LoadInlineStyle should use correct referrer policy. r=heycam
If the link element has referrerpolicy attribute, we should use policy in the
attribute with higher priority

MozReview-Commit-ID: GZZeRaoxPUw
2017-08-15 00:05:00 -04:00
Eden Chuang
97081209f0 Bug 1390737 - Run test_canMakePayment.html in nightly build only because it depends on nightly only UI service. r=btian 2017-08-16 12:53:25 +08:00
Gabor Krizsanits
722233fed1 Bug 1376895 - Make preloaded browser use pre-existing content process. r=mconley
We want to avoid to have several cached content processes, one for each
preloaded browser (one per window) and one for the preallocated process.
For that we force the preloaded browser to choose an existing process and
during the first navigation in that tab, that leaves about:newtab, we re-run
the process selecting algorithm
2017-08-16 13:00:22 +02:00
Gabor Krizsanits
5acd81eb72 Bug 1376895 - Disable preloaded browser in two mochitests. r=me
nsIIOService based events when used via SpecialPowers in mochitests
combined with the preloaded browser in the same process can cause
IsSafeToRun() assertion in SchedulerGroup.h:81. To avoid that we make sure that
previous tests in the suit do not create a preloaded browser. This cannot happen
in a real life scenario.
2017-08-16 13:00:04 +02:00
Carsten "Tomcat" Book
eea1986e03 merge mozilla-inbound to mozilla-central a=merge 2017-08-16 11:23:24 +02:00
Carsten "Tomcat" Book
1fc6e56a12 merge autoland to mozilla-central a=merge 2017-08-16 11:20:31 +02:00
Carsten "Tomcat" Book
786ca37886 Backed out changeset 6949fdc7f97c (bug 1376895) 2017-08-16 11:16:04 +02:00
Carsten "Tomcat" Book
a478b0ef54 Backed out changeset adf5ed713e0d (bug 1376895) 2017-08-16 11:15:50 +02:00
Jan de Mooij
9a7bf50e92 Bug 1390159 - Remove throw-on-set setProperty hooks on WrappedNatives. r=mrbkap 2017-08-16 09:01:56 +02:00
Wes Kocher
7921644d1b Merge inbound to central, a=merge
MozReview-Commit-ID: 1DadhJTLBXN
2017-08-15 19:02:51 -07:00
Sebastian Hengst
aaeaf6ba8a Backed out changeset 21619c674c86 (bug 1348361) for failing mochitest test_group_zoom.html on Android and robocop tests. r=backout 2017-08-15 21:08:14 +02:00
Nicholas Nethercote
57d3dfdc07 Bug 1390404 - Use AllChildrenIterator to traverse DOM nodes when memory reporting. r=bholley.
This gets us coverage for anonymous nodes, which are currently missed.

MozReview-Commit-ID: KBOSXloteu6

--HG--
extra : rebase_source : 0f71c027f8bbbb0abd4d9e812b5d7369109e7ebc
2017-08-15 11:12:40 +10:00
Aryeh Gregor
11e2c13fc6 Bug 1390170 - DOMException.prototype should have .message and .name r=bkelly
The spec requires that they be interface members:

  https://heycam.github.io/webidl/#idl-DOMException

This means they're on the prototype.  This change brings us in line with
Chrome, Edge, and WebKit, as tested by
<https://github.com/w3c/web-platform-tests/pull/6875>.

MozReview-Commit-ID: A1cKpmlCNCs

--HG--
extra : rebase_source : 1bce93cdb44fe6718289a86314bbe8ab4afea6ed
2017-08-14 18:52:18 +03:00
Nicholas Nethercote
a83fefd956 Bug 1390036 (part 1) - Remove most remaining uses of nsXPIDLString. r=erahm.
CompareCacheHashEntry::mCrit[] is the only case where the nsXPIDLString-ness
was important. The patch adds an explicit SetIsVoid() call to that class's
constructor and changes some null checks to IsVoid() checks.

--HG--
extra : rebase_source : e68befcde4dd098bac2a550bc666eaf3bf1298d7
2017-08-11 18:31:22 +10:00
Bevis Tseng
4d83a58f38 Bug 1390080 - Label ImageCache. 2017-08-15 10:51:54 +08:00
Wes Kocher
be24aec8e9 Merge m-c to inbound a=merge
MozReview-Commit-ID: JqsSD85rE4W
2017-08-15 19:15:22 -07:00
Karl Tomlinson
d0d5e37ae6 bug 1389641 add 'f' to literal initializer for float const r=trivial
Address MSVC build failures.

--HG--
extra : rebase_source : 46be974a5f1afe4ee4f41ec0c2367063347516ee
2017-08-16 12:32:32 +12:00
Karl Tomlinson
80d9b272ad bug 1389641 adjust ConvolverNode buffer normalization gain calibration to match spec r=padenot
This reduces the amplitude by about 0.7%.

MozReview-Commit-ID: 7vTNg2oUXEf

--HG--
extra : rebase_source : 4cff5189665396d427c7e6c842a9a002a1734ae5
2017-08-12 08:55:05 +12:00
Karl Tomlinson
5f85b81a36 bug 1024182 remove buffer copy for short impulse responses and so correct normalization scale r=padenot
Despite the comment, this was necessary only for a direct convolver stage,
which has been removed:
https://hg.mozilla.org/mozilla-central/rev/e66105937eef190dec073f1b9859e07a0272706b#l4.29

FFT convolver stages pad the buffer to the necessary length in
FFTBlock::PadAndMakeScaledDFT().

Trailing zeros in the impulse change the scale used in normalization
and so padding the buffer before calculating the scale led to the wrong scale
being used.
https://github.com/WebAudio/web-audio-api/issues/481

MozReview-Commit-ID: LqP1x1hmLOM

--HG--
extra : rebase_source : f902190c25a7b95594d8115e43cde91f0cf00146
2017-08-09 16:52:01 +12:00
Jeff Gilbert
a5518f73d7 Bug 1388565 - Mark Mac+Intel as handling no-array draw-elements well.
MozReview-Commit-ID: A2wq3h7y4Q8
2017-08-15 16:52:45 -07:00
Jeff Gilbert
36a76f19b6 Bug 1388565 - Improve driver-info.js. - r=daoshengmu
MozReview-Commit-ID: AJRnrFW5tUk
2017-08-15 16:52:43 -07:00
Jeff Gilbert
59982493b5 Bug 1388565 - Mark tests.
MozReview-Commit-ID: AXJx9p9JCaz
2017-08-15 16:52:40 -07:00
Jeff Gilbert
cfccc12f18 Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
Jeff Gilbert
62b3bdf68b Bug 1388565 - Use GLFeature::draw_buffers for WEBGL_draw_buffers IsSupported. - r=daoshengmu
MozReview-Commit-ID: 7HU2YHtjehs
2017-08-15 16:52:32 -07:00
Jeff Gilbert
d333d35042 Bug 1388565 - Add webgl.1.allow-core-profiles, enabled for osx. - r=daoshengmu
MozReview-Commit-ID: 2PM6jkswzRU
2017-08-15 16:52:29 -07:00
Eden Chuang
d66800c204 Bug 1390018 - Build and test Payments UI code on Nightly builds only. r=MattN
--HG--
extra : source : 8df491f3dcdfa4430bccac3242ee9cfb9fa3634b
2017-08-16 07:16:25 +08:00
Ryan VanderMeulen
629d98cad7 Backed out changeset 8df491f3dcdf for landing with the wrong bug number in the commit message. 2017-08-15 19:27:16 -04:00
Eden Chuang
a86c240986 Bug 1380018 - Build and test Payments UI code on Nightly builds only. r=MattN
--HG--
extra : rebase_source : 50f99532eefea866b67c7455dab4e430a9f09dfa
2017-08-16 07:16:25 +08:00
Ehsan Akhgari
dea2e72d91 Bug 1390382 - Part 1: Inline Selection::IsCollapsed(); r=smaug 2017-08-15 18:57:14 -04:00
Ehsan Akhgari
604f6343ab Bug 1390626 - Part 2: Avoid using QueryInterface() to convert nsIDocument to nsIDOMDocument; r=smaug 2017-08-15 17:10:34 -04:00
Ehsan Akhgari
0b3dbd3a20 Bug 1390626 - Part 1: Bail out early if there are no selection listeners to notify; r=smaug 2017-08-15 17:10:34 -04:00
Michael Layzell
76fb615887 Bug 1384238 - Annotate BHR hangs which occur while there is a pending input event, r=smaug
MozReview-Commit-ID: HRPMw2IfEKB
2017-08-15 16:36:28 -04:00
Michael Layzell
5d81a3b535 Bug 1380081 - Part 9: Transmit BHR Hangs from the Content and GPU process to the parent process, r=froydnj
BHRTelemetryService only runs in the parent process (and we can only submit
pings from there), so we need to send the data which we collect in the GPU and
Content processes over IPC to the parent process.

MozReview-Commit-ID: 8B5uZKbjNbU
2017-08-15 16:35:42 -04:00
Masayuki Nakano
1bbc0d5920 Bug 1387317 - part4: Make editor flag setters use new AddFlags() or RemoveFlags() if useful r=m_kato
MozReview-Commit-ID: EMDeGfK37Lx

--HG--
extra : rebase_source : 8a2b4e809c608649fbb41edd32d2165db7e77516
2017-08-08 12:36:29 +09:00
Masayuki Nakano
7c54bc878b Bug 1387317 - part2: EditorEventListener should stop using interface methods as far as possible r=m_kato
MozReview-Commit-ID: EPQeBez2tJh

--HG--
extra : rebase_source : b18b3399f703d3cdcb6f26cec3fcb8f707fb9519
2017-08-08 11:25:36 +09:00
Wes Kocher
3945278423 Merge m-c to autoland, a=merge
MozReview-Commit-ID: D96bIJACwZe
2017-08-15 19:16:12 -07:00
Bobby Holley
d42f0733ac Bug 1389300 - Inherit style backend into NS_NewDOMDocument. r=smaug,r=heycam
Our current machinery for enabling stylo requires a docshell - if there isn't
one, we default to the Gecko style system.

When getComputedStyle operates on an element without a presshell, it uses the
caller's presshell instead. If the element has previously been styled with
one style system (but no longer has a presshell), and the caller uses a
different style backend, using the caller's style system can cause crashes when
we pull bits of cached data off the DOM (like cached style attributes).

So we want to throw when window.getComputedStyle(element) is called for a
(window, element) pair with different style backends (which is what the next
patch in this bug does).

However, that causes a few failures where stylo-backed documents try to do
getComputedStyle on an XHR document (which, without a docshell, will use the
gecko style system).

So this patch does some work to propagate the creator's style backend into
various docshell-less documents. This should allow both chrome (which uses gecko)
and content (which uses stylo) to use getComputedStyle on the response document
for XHRs they create.

Note that the second patch in this bug will make
chromeWin.getComputedStyle(contentObj) throw. If we discover code that does
that, we can just make it invoke the content's getComputedStyle method over Xrays.

MozReview-Commit-ID: 5OsmHJKq5Ui
2017-08-15 19:10:43 -07:00
Mantaroh Yoshinaga
5fa9ec9b19 Bug 1390357 - Switch test result for clamping RGBA on stylo and gecko by using preference. r=birtles
MozReview-Commit-ID: I12SQwmqtr0

--HG--
extra : rebase_source : 63eba3dcdbe6b507047cc97828bdb4afbfda965d
2017-08-16 08:56:59 +09:00