Граф коммитов

528247 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 35bc116a65 Bug 1351946 (part 1) - Remove SigstartHandler from the profiler. r=mstange.
It was only needed for B2G.

--HG--
extra : rebase_source : 2063f1560503989d0ae0d3f2609e031bd06851a9
2017-03-30 16:27:20 +11:00
Sean Stangl ed0406e63e Bug 1352179 - Remove redundant calls to loadJSContext(). r=tcampbell 2017-03-30 12:08:00 -04:00
Ryan VanderMeulen 3dd93aa05c Bug 1352276 - Update pdf.js to version 1.7.401. r=bdahl 2017-03-30 20:52:55 -04:00
Bryce Van Dyk 3d31dcb64c Bug 1349421 - Update handling of values derived from chunk duration in OpusTrackEncoder. r=derf
This changeset updates the handling of the variables based on
chunk.GetDuration() within the OpusTrackEncoder. This changeset alters places
where overflow could have taken place previously. It also adds asserts with
the dual purpose of defense and documentation for future developers.

MozReview-Commit-ID: 28vmAfE84ik

--HG--
extra : rebase_source : ebbd5f0d55c793324aec6b095dbe5403a7bf7b4c
extra : source : 21705a96856dc54a3330de9a55f19eef31badeec
2017-03-31 07:57:37 +13:00
Bryce Van Dyk 5aabc59b13 Bug 1349421 - Adjust handling of chunk duration in opus encoder. r=jesup
For very long chunks, the opus encoder could run into issues with processing.
This changeset seeks to address that by using CheckedInt to prevent a potential
int overflow when encountering extremely long durations.

MozReview-Commit-ID: 7uLZAARLf5w

--HG--
extra : rebase_source : 9519ce2a9e171c2e56fa445699770ab84596cdad
extra : source : fdbc277dbcc49c3a6785bfefe4ba7d80e03817d2
2017-03-30 13:38:10 +13:00
Timothy Nikkel c11cd13119 Bug 1352008. Check return value of DrawableSurface::Seek because if it failed it will return the first frame when you ask for a frame. r=aosmond 2017-03-30 19:07:05 -05:00
Timothy Nikkel 0ed714966d Bug 1348941. r=n.nethercote 2017-03-30 19:07:04 -05:00
Eric Rahm 0b32fdd753 Bug 1351804 - Switch libpref over to ArenaAllocator. r=froydnj
MozReview-Commit-ID: 4GovbBFUBb9
2017-03-30 16:48:32 -07:00
Eric Rahm 478755933a Bug 1351732 - Part 2: Replace use of PLArena with ArenaAllocator in xpcom. r=froydnj
This swaps xpcom's plarena usage to ArenaAllocator. The new ArenaStrdup
extensions are used as well.

MozReview-Commit-ID: DHDfl6IkGJL
2017-03-30 16:46:58 -07:00
Eric Rahm f4d91001fe Bug 1351732 - Part 1: Add an ArenaAllocator strdup extension. r=froydnj
This adds an extension to ArenaAllocator that provides strdup-like
functionality for various string types.

MozReview-Commit-ID: 87SHTs6flHY
2017-03-30 16:46:56 -07:00
Eric Rahm 131c4c002f Bug 943156 - Add a templated ArenaAllocator. r=froydnj
This adds an arena allocator that can be used as a drop-in replacement for
NSPR's PLArena. Example usage for defining an 8-byte aligned allocator that
uses a 4K arena size:

mozilla::ArenaAllocator<4096,8> a;
void* memory = a.Allocate(200);
2017-03-30 16:46:55 -07:00
Alexander Surkov 696f8370cf Bug 1351414 - shutdown a moving accessible if it has no insertion point, r=yzen 2017-03-30 15:56:22 -04:00
Dragana Damjanovic dd.mozilla@gmail.com 83c58678dc Bug 1344171 - Improve connection management. r=mcmanus 2017-03-30 11:08:00 -04:00
Ryan VanderMeulen 05037eec1a Merge m-c to inbound. a=merge 2017-03-30 15:21:27 -04:00
Ryan VanderMeulen 615c542a03 Merge inbound to m-c. a=merge
CLOSED TREE
2017-03-30 15:20:22 -04:00
Ryan VanderMeulen ee0df52b99 Merge autoland to m-c. a=merge 2017-03-30 15:18:40 -04:00
Sebastian Hengst f7bdfd47a4 Backed out changeset 23de710cae6f (bug 1322554) for breaking at least Windows 8 x64 builds (likely all Windows builds). r=backout on a CLOSED TREE 2017-03-30 18:47:15 +02:00
ffxbld 72fe012899 No bug, Automated blocklist update from host bld-linux64-spot-388 - a=blocklist-update 2017-03-30 07:59:26 -07:00
ffxbld 8aa12a88dc No bug, Automated HPKP preload list update from host bld-linux64-spot-388 - a=hpkp-update 2017-03-30 07:59:23 -07:00
ffxbld 27b59fd695 No bug, Automated HSTS preload list update from host bld-linux64-spot-388 - a=hsts-update 2017-03-30 07:59:20 -07:00
Carsten "Tomcat" Book 74e36e1adb Merge mozilla-central to autoland on a CLOSED TREE
--HG--
extra : amend_source : 5026c19958cdc458c0f0887582fd00b8038fe93e
2017-03-30 16:48:10 +02:00
Iris Hsiao 0d26c7dc74 Backed out changeset 3d0faaeb8496 (bug 1350229) for eslint failure 2017-03-30 18:07:37 +08:00
Catalin Badea fce9859c14 Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan 2017-03-29 01:49:00 +08:00
Locke Chen 151dbfed9b Bug 1350229 - Removing Preview side panel. r=rickychien. 2017-03-29 23:29:00 +08:00
JW Wang 17fd6d8cd9 Bug 1352319. P12 - let CalculateNewCurrentTime() return a TimeUnit. r=kaku
MozReview-Commit-ID: 6bQdKvw0VEN

--HG--
extra : rebase_source : 4b6486f7626d3a3a44012485d7ee5c4ddf5e0ee2
extra : source : a0cb6689491d236a6cdd1196cfdf41c35cb46c20
2017-03-28 16:44:40 +08:00
JW Wang 7e2b1dfe92 Bug 1352319. P11 - change the type of NextFrameSeekingState::mCurrentTime to TimeUnit. r=kaku
MozReview-Commit-ID: Q4u92HgGdF

--HG--
extra : rebase_source : 4a6777c0e1ed50d84fa3ccce98667b461c094cd0
extra : source : 7995043baf379ec4f20e93acfd649f0307905d64
2017-03-28 16:38:26 +08:00
JW Wang 14d7d8bec7 Bug 1352319. P10 - let GetClock() return a TimeUnit. r=kaku
MozReview-Commit-ID: Efl1FemHOmJ

--HG--
extra : rebase_source : 39862017f074d30374c05f861cd360cc4d20aeb0
extra : source : a7363eb07fbef9ecd9a30037da6c9a0f356fadb1
2017-03-28 16:35:24 +08:00
JW Wang 308286b2e3 Bug 1352319. P9 - let GetMediaTime() return a TimeUnit. r=kaku
MozReview-Commit-ID: 7vrIzeMLP4Z

--HG--
extra : rebase_source : fe59f42336ea04d573579d8c6bdb1ecb8849f592
extra : source : 1d26e04ea6f7ad969ae995025d87c8b7836925fe
2017-03-28 16:16:56 +08:00
JW Wang 149633543d Bug 1352319. P8 - use TimeUnit in UpdatePlaybackPosition(). r=kaku
MozReview-Commit-ID: JkopzDG45Bq

--HG--
extra : rebase_source : c9bf356a4b421012f7756841aae8c3ced028c579
extra : source : fb3b140d5a5ecec923e75d11e314f216a88f502a
2017-03-28 16:01:55 +08:00
JW Wang d79d1e4a87 Bug 1352319. P7 - use TimeUnit in UpdatePlaybackPositionInternal(). r=kaku
MozReview-Commit-ID: ASzjKhHlhVA

--HG--
extra : rebase_source : a2fed6debead5ba37574dcc79b8ac7a5e2701064
extra : source : 678b5117a8b9d778e6f785b53cab3c0007061cfe
2017-03-28 15:57:38 +08:00
JW Wang 1b98a1aef1 Bug 1352319. P6 - let AudioEndTime/VideoEndTime return a TimeUnit. r=kaku
MozReview-Commit-ID: 6yyVl2RDrPm

--HG--
extra : rebase_source : c62f1972acb4c4f376fe2a1d689246a02ffb0fd8
extra : source : 9a7b19b5a668270cd9af875dd8b33791f69b542b
2017-03-28 15:50:53 +08:00
JW Wang f47a7d4631 Bug 1352319. P5 - rename AudioPrerollUsecs and let it return a TimeUnit. r=kaku
MozReview-Commit-ID: C3IdeNksQjn

--HG--
extra : rebase_source : f1dcc25e33dc0b8d3b09252509bf738088cc16ae
extra : source : 1b4d5af3409768bf3e2373e6627e2d72a6e290ab
2017-03-28 15:42:09 +08:00
JW Wang 747b792884 Bug 1352319. P4 - move AudioPrerollUsecs/VideoPrerollFrames into DecodingState. r=kaku
MozReview-Commit-ID: 3VuDj1TXZV2

--HG--
extra : rebase_source : 53471b886ee48e845e31b70e9e13d82b0620a6a7
extra : source : 383119c9b722b892d300cb56b92116af3285b60a
2017-03-28 15:38:34 +08:00
JW Wang 428f953b53 Bug 1352319. P3 - use TimeUnit in HasLowBufferedData(). r=kaku
MozReview-Commit-ID: HP7M78yKpww

--HG--
extra : rebase_source : 84069608ad345ea248b5584e8847df99d9d030a1
extra : source : 6a5be23e8d7ed332bfbd99717db24f22b0ad4824
2017-03-28 15:09:30 +08:00
JW Wang c2313c1dc6 Bug 1352319. P2 - rename variables and fix comments. r=kaku
MozReview-Commit-ID: G7II28F00Qp

--HG--
extra : rebase_source : 080df9f9c88d47b22f3aee24c66a342c2591861d
extra : source : e62c3c8524fe41601dcb5fa92b2b156906ad9234
2017-03-28 14:58:03 +08:00
JW Wang dafc031d93 Bug 1352319. P1 - add LOW_BUFFER_THRESHOLD and replace the use of LOW_DATA_THRESHOLD_USECS with it. r=kaku
MozReview-Commit-ID: HNQR7Y93pAz

--HG--
extra : rebase_source : 9ee8f45df132901345922255bda4f634b22be6c3
extra : source : fae6434fdc3a76aa29197ccb43a501cee713f173
2017-03-28 14:56:35 +08:00
Johann Hofmann a01a4f8ec3 Bug 1334842 - Fix intermittent browser_temporary_permissions.js. r=Nihanth
This intermittent was likely occurring because we set the expiry timeout
for temporary permissions to a really low value in the previous test.
The failing test was only failing on slow machines, leading me to believe
that the time between setting and checking was larger than the 500ms timeout
defined in the previous test. Thus, the permission was reset on checking it.
The expiry pref was set using pushPrefEnv, which restores prefs only after
the entire test was run. To just eradicate this category of problems in
the future I moved the test that manipulates the expiry into its own file.

MozReview-Commit-ID: 3mc5xHY4XLn

--HG--
extra : rebase_source : 40f78258a975da9dca9a47beddcaaeea83649de3
2017-03-29 16:15:56 +02:00
Iris Hsiao 98b769cf18 Backed out the accidental backout of the backout of 3 changesets (bug 1311802). r=backout/reland
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 10:11:19 +02:00
Sebastian Hengst 2374426ebe Backed out changeset 7e3f9a865413 (bug 1311802) for failing browser/base/content/test/static/browser_parsable_css.js. r=backout 2017-03-31 10:08:21 +02:00
Sebastian Hengst cb6b27aed8 Backed out changeset ffbf6849c41f (bug 1019483) 2017-03-31 10:07:50 +02:00
Sebastian Hengst 91095472dc Backed out changeset f3ccca098f5e (bug 1019483) 2017-03-31 10:07:45 +02:00
Zibi Braniecki ad3956d0f1 Bug 1351873 - Bind OSPreferences::GetSystemLocale to use `intl.locale.os` pref. r=rnewman
This patch fixes a regression that we hit on Fennec when we handed over control
over language negotiation to LocaleService in bug 1347306.

The problem is that we currently do not have good Android bindings for
OSPreferences::GetSystemLocale and in result we could not negotiate
languages between user-selected OS locales and available locales.

The temporary solution implemented here binds android OS preferences to
`intl.locale.os` pref which is set on Locale:OS event in browser.js.
In LocaleService we add a listener on the pref to renegotiate languages
when OS locale changes.

MozReview-Commit-ID: KTqjYSzLNNO

--HG--
extra : rebase_source : 61b692e81ce67cdb15a7962e41ebe78164dbe1aa
2017-03-31 01:30:54 +02:00
bechen d75825c747 Bug 1350821 - Notify the mediaElement to render subtitle when the mCaption was created or re-created. r=rillian
MozReview-Commit-ID: 3RM7u8jumT9

--HG--
extra : rebase_source : 2a3ed8f304ac8fdf9c0cc897e2f70bd2d23e8101
2017-03-28 16:48:40 +08:00
JW Wang 83749eaa68 Bug 1351203. P2 - rename the variable and fix comments. r=kaku
MozReview-Commit-ID: Bs2uanapqR9

--HG--
extra : rebase_source : 431bcddbb23d60298a39cf4bb6c6fc8d5990a215
extra : source : 58f8153869933f3de7272b7058017acf60a82ec6
2017-03-28 14:46:34 +08:00
JW Wang 2c75e6cb53 Bug 1351203. P1 - change the type of LOW_VIDEO_THRESHOLD_USECS to TimeUnit. r=kaku
MozReview-Commit-ID: 47uMuLTPFPt

--HG--
extra : rebase_source : 4e6a9ac7e7c4b631cc880bafc4fa7bb86fb9d455
extra : source : 27b5c45872f2595e109a8c87df1365a9bd9d6f8d
2017-03-28 14:43:56 +08:00
Manish Goregaokar 1a52807756 Bug 1341102 - Update stylo test expectations
MozReview-Commit-ID: YQ4bixZsfo
2017-03-31 00:22:55 -07:00
Scott Wu 0e8a46bf3b Bug 1019483 - (Part 2) Add mochitest-browser-chrome tests for manage profiles dialog. r=MattN
MozReview-Commit-ID: AHhLuy5ZXRv

--HG--
extra : rebase_source : 661dc49e59066f983a802d5f4ebedc6cceb359ac
2017-03-30 14:34:38 +08:00
Ted Mielczarek 68002ffc75 bug 1275780 - capture Rust panic message in crash reports. r=froydnj
MozReview-Commit-ID: IUlYqPEtkgg

--HG--
extra : rebase_source : 4ff228f90fe9114720f7f7a91df77a6899806a89
2017-03-27 14:40:22 -04:00
Peter Van der Beken b8d4cf7f71 Bug 1349717 - Propagate errors from matching in XSLT. r=erahm.
--HG--
extra : rebase_source : 927c0f20e92f5a678a3bd57406da33395d207cba
extra : intermediate-source : c346067e0d8ab204cd3e640fa8390d1728f0161e
extra : source : 5669c2511dec853fecd42dbdc8b1fdfea64c362d
2017-03-22 21:05:11 +01:00
Henri Sivonen c514501f1a Bug 1295611 - Add mozilla::Span. r=froydnj,gerv.
MozReview-Commit-ID: HGNDClVctbE
2017-03-31 13:32:18 +03:00