552400 Commits

Author SHA1 Message Date
Perry Jiang
26d227b0c3 Bug 1371230 - Split notification-icons.svg into separate files. r=dao
MozReview-Commit-ID: Iz1KPq9Sa1F
2017-07-27 10:34:18 -07: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
eaba18bebc Bug 1388565 - shader_texture_lod is core in GL3 and ES3. - r=daoshengmu
MozReview-Commit-ID: IbqRF4MdK2l
2017-08-15 16:52:38 -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
Michal Novotny
f96c866888 Bug 1388684 - RCWN breaks HTTP_CHANNEL_DISPOSITION telemetry, r=mcmanus 2017-08-16 01:11:43 +02:00
Ehsan Akhgari
5cb2b76206 Bug 1390382 - Part 5 : Only call nsLayoutUtils::GetDisplayRootFrame() once per call to nsIFrame::SchedulePaint(); r=dholbert
nsLayoutUtils::GetDisplayRootFrame() can be quite expensive to call.
By calling this function one level higher (in callers and passing the return
value to callees), we can avoid calling it twice per call to SchedulePaint().
2017-08-15 18:57:16 -04:00
Ehsan Akhgari
c3b6078856 Bug 1390382 - Part 4: Avoid recomputing the selection in nsCaret::SchedulePaint() when the caller has the information available; r=dholbert 2017-08-15 18:57:16 -04:00
Ehsan Akhgari
82df247868 Bug 1390382 - Part 3: Inline nsCaret::IsVisible(); r=dholbert 2017-08-15 18:57:15 -04:00
Ehsan Akhgari
77a5d8cdb7 Bug 1390382 - Part 2: Avoid recomputing the selection in Selection::IsVisible() when the caller has the information available; r=dholbert 2017-08-15 18:57:15 -04:00
Ehsan Akhgari
dea2e72d91 Bug 1390382 - Part 1: Inline Selection::IsCollapsed(); r=smaug 2017-08-15 18:57:14 -04:00
Jim Chen
2413c60be8 Bug 1390000 - Set prefs before loading input test page. r=esawin
Set prefs in testInputConnection itself, before we load
robocop_input.html, so the page uses new pref values.
2017-08-15 13:10:00 -04:00
Mason Chang
102696496d Bug 1390679 - Make Sync OMTP false by default. r=rhunt 2017-08-15 15:35:49 -07:00
Mason Chang
0584f92193 Bug 1390002 There are some paths to find out if dwrite is enabled, which inits gfxPlatform, which requires information from PopulateScreenInfo, which depends on the refresh driver existing. At this time however, we haven't initialized our vsync source so we crash. This moves vsync initialization earlier in the gfx pipeline. r=kats 2017-08-15 15:32:21 -07:00
Andrew Osmond
6be360ba2c Bug 1388590 - StreamingLexer::Clone should bail if SourceBufferIterator::Advance returns not ready. r=tnikkel
StreamingLexer::Clone should always succeed because we are merely
creating a new SourceBufferIterator which is at the same position as the
given iterator. However it is possible if there is no more data after,
the current position, it could return COMPLETE instead of READY.

This should not happen during the first Advance loop however. We handle
the failure gracefully now, and if someone files a report with the
invalid ICO file causing this problem, then we can investigate further.
2017-08-15 17:44:03 -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
Ted Campbell
62cfcec551 Bug 1330149 - Disable tests sensitive to host TZ on Windows. r=anba
These tests pass when our test infrastruction is in PDT, but there are
underlying issues. Disable tests on Windows for now to allow migrating
tests to TaskCluster.

MozReview-Commit-ID: 5HigFMyyaP5
2017-08-15 16:49:14 -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
776ffc2b29 Bug 1386369 - Part 2: Stop emitting bhr-thread-hang in the content process, r=froydnj
MozReview-Commit-ID: 1A7CorZepdQ
2017-08-15 16:36:26 -04:00
Michael Layzell
c8a848329d Bug 1386369 - Part 1: Change test_BHRObserver to not listen to bhr-thread-hang in content, r=froydnj
MozReview-Commit-ID: 7nFBdtiXFc2
2017-08-15 16:36:24 -04:00
Michael Layzell
4c4a03953d Bug 1380081 - Part 15: Don't try to submit bhr ping to telemetry while running tests, r=chutten 2017-08-15 16:36:22 -04:00
Michael Layzell
7f649507e9 Bug 1380081 - Part 14: Include BHRTelemetryService and xpt files in the package, r=froydnj
MozReview-Commit-ID: IH56INaSOoK
2017-08-15 16:35:52 -04:00
Michael Layzell
0262b178a8 Bug 1380081 - Part 13: Add telemetry documentation for the new ping format, r=bsmedberg, r=froydnj
MozReview-Commit-ID: G4hFZcR2EGL
2017-08-15 16:35:50 -04:00
Michael Layzell
f2ee64a153 Bug 1380081 - Part 12: Add a test for BHR observer notifications, r=froydnj
This patch just adds some tests for the new stuff which we added.

MozReview-Commit-ID: 2jG75AEUJfS
2017-08-15 16:35:48 -04:00
Michael Layzell
65ece3dba5 Bug 1380081 - Part 11: Simplify the HangAnnotations abstraction, r=froydnj
HangAnnotations was very complex, required a separate allocation, and used this
unfortunate virtual interface implementation which made it harder to do
interesting things with it (such as serialize it over IPC).

This new implementation is much simpler and more concrete, making
HangAnnotations simply be a nsTArray<Annotation>. This also simplifies some of
the IPC code which was added in part 7.

MozReview-Commit-ID: EzaaxdHpW1t
2017-08-15 16:35:46 -04:00
Michael Layzell
871e8c097f Bug 1380081 - Part 10: Stop running BHR on beta, r=froydnj
These changes are going to increase the amount of data which we collect from BHR
a lot. It would be dangerous to run it on beta, especially considering how soon
the next merge is.

This should turn it off for 100% of beta users if I understand the logic
correctly.

MozReview-Commit-ID: 3HyEKWdXaqU
2017-08-15 16:35:44 -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
Michael Layzell
116cbfd0dc Bug 1380081 - Part 8: Report bhr-thread-hang hangs to telemetry in a custom bhr ping, r=froydnj
This patch adds the BHRTelemetryService which is a JS implemented XPCOM service
that simply listens to the bhr-thread-hang observer notification, and uses the
data it collects from it to submit telemetry pings.

MozReview-Commit-ID: 2hPXAFmHrm5
2017-08-15 16:35:41 -04:00
Michael Layzell
82b2097078 Bug 1380081 - Part 7: Add all necessary data for BHR to nsIHangDetails, r=froydnj
We're going to use HangDetails as the type containing hang information. We'll
have a JS component which reads the data out of nsIHangDetails, builds the
payload, and submits it to telemetry for us.

We'll do it in JS because telemetry has to be submitted from JS.

This patch also adds IPC serization for the relevant types so that we can send
HangDetails objects over IPDL.

MozReview-Commit-ID: CeikKabY9Vs
2017-08-15 16:35:39 -04:00
Michael Layzell
f59ead979d Bug 1380081 - Part 6: Remove test_ThreadHangStats.js, r=chutten
A new test using the new APIs is introduced in a later part. This test no longer
functions as ThreadHangStats is no longer present.

MozReview-Commit-ID: HKmoP2An4GP
2017-08-15 16:35:33 -04:00
Michael Layzell
916fbaa397 Bug 1380081 - Part 5: Add some helper methods to HangAnnotations, r=froydnj
These will be used to implement IPC serialization and deserialization of the
HangDetails object to send over IPC. This is a temporary measure as
HangAnnotations is rewritten in part 11.

MozReview-Commit-ID: 1WHNvhDrMF5
2017-08-15 16:35:06 -04:00
Michael Layzell
b7564c8ece Bug 1380081 - Part 4: Move BHR into its own component, r=froydnj
MozReview-Commit-ID: 7TOGofAYM6W


--HG--
rename : xpcom/threads/BackgroundHangMonitor.cpp => toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.cpp
rename : xpcom/threads/BackgroundHangMonitor.h => toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.h
rename : toolkit/components/telemetry/ThreadHangStats.h => toolkit/components/backgroundhangmonitor/ThreadHangStats.h
rename : xpcom/threads/ThreadStackHelper.cpp => toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp
rename : xpcom/threads/ThreadStackHelper.h => toolkit/components/backgroundhangmonitor/ThreadStackHelper.h
rename : xpcom/threads/nsIHangDetails.idl => toolkit/components/backgroundhangmonitor/nsIHangDetails.idl
2017-08-15 16:35:00 -04:00
Michael Layzell
cd973809f7 Bug 1380081 - Part 3: Remove the ThreadHangStats object and related code, r=froydnj
MozReview-Commit-ID: EtrktVmc3vP
2017-08-15 16:34:21 -04:00
Michael Layzell
00ec67d30d Bug 1380081 - Part 2: Remove ThreadHangStats from about:telemetry, r=chutten
MozReview-Commit-ID: KTOSKobhNAJ
2017-08-15 16:34:20 -04:00
Michael Layzell
2017c7016a Bug 1380081 - Part 1: Remove getChildThreadHangs, r=chutten
This is the first part of purging the existing telemetry code for
ThreadHangStats from the tree. All of these features will be replaced with new
code for BHR telemetry in the future.

MozReview-Commit-ID: BhD5zY2LwUR
2017-08-15 16:34:18 -04:00
Jason Laster
d4137437f7 Bug 1389503 - Don't fail when an SVG is not found. r=jdescottes 2017-08-15 10:01:00 -04: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
Andrew Osmond
2aac283f14 Bug 1389479 - Part 3. AnimationSurfaceProvider no longer needs to always dispatch to free its RasterImage. r=tnikkel 2017-08-15 15:02:14 -04:00
Andrew Osmond
5360de90d7 Bug 1389479 - Part 2. Make the SurfaceCache free ImageSurfaceCache objects outside of the lock. r=tnikkel 2017-08-15 15:02:14 -04:00
Andrew Osmond
42266555ed Bug 1389479 - Part 1. Add nsExpirationTracker::NotifyEndTransaction(Locked) callbacks for subclasses to know when an aging iteration is complete. r=froydnj 2017-08-15 15:02:14 -04:00
Oriol
df52d2e9c4 Bug 1380506 - Prevent the console from searching safe getters in proxy objects. r=bgrins 2017-08-15 08:29:00 -04:00