Markus Stange
fcdd5dbd1f
Bug 1351920 - Remove the nsCString&& version of PROFILER_LABEL_DYNAMIC because it makes misleading promises about performance. r=njn
...
MozReview-Commit-ID: I4y5xnFyfUj
--HG--
extra : rebase_source : 8cd3d9fc90df1cb7ff6199cf0a5b1cf3319bebe0
2017-03-29 21:47:51 -04:00
Sebastian Hengst
427e8f836d
Backed out 2 changesets (bug 1314388) for timing out in dom/svg/test/test_zoom.xhtml. r=backout
...
Backed out changeset 804d8199aeca (bug 1314388)
Backed out changeset b7fab6a89c1d (bug 1314388)
2017-04-02 14:37:08 +02:00
Aryeh Gregor
4a039c1336
Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug
...
Some code in SVGSVGElement.cpp might be unnecessary now, but Robert said
to leave it for a followup.
MozReview-Commit-ID: 8PpRGeGrREJ
2017-04-02 13:51:33 +03:00
Kate McKinley
76ebee76e8
Bug 1237868 - Don't set URI_IS_LOCAL_RESOURCE on media streams. r=baku
...
This patch only sets URI_IS_LOCAL_RESOURCE if the resource is a blob or
font table entry, to avoid having media streams treated as local
objects.
MozReview-Commit-ID: GOVr8FPByQy
2017-04-01 15:11:53 -04:00
Sebastian Hengst
948595ff2f
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-04-01 13:12:04 +02:00
Sebastian Hengst
65f9bb8041
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 5E7o1qELKmN
2017-04-01 13:09:55 +02:00
Wes Kocher
3a0357deec
Merge m-c to inbound a=merge
2017-03-31 17:53:52 -07:00
Wes Kocher
483fea00ef
Merge inbound to central, a=merge
2017-03-31 17:48:18 -07:00
Kartikaya Gupta
6c77e5ee0c
Bug 1351777 - Use a BasicLayerManager in the content process if the corresponding parent-side layer manager isn't connected to the compositor. r=dvander
...
There are scenarios where we have a TabParent in the UI process hooked up to
a PuppetWidget with a BasicLayerManager. Webextensions fall into this category.
In this scenario, the parent-side layer manager is not hooked up to
the compositor (that is, there is no entry in the CompositorBridge layer tree
state map for the layers id). However, the content-side still ends up creating
a ClientLayerManager or a WebRenderLayerManager, which expects the layers id to
be registered in the compositor. This results in brokenness (in the case of the
ClientLayerManager/PLayerTransaction) or crashes (in the case of WebRenderLayerManager/
PWebRenderBridge). Instead, this patch changes this scenario to have the content
process use a BasicLayerManager which seems safer.
MozReview-Commit-ID: 3f80aZrRrmD
--HG--
extra : rebase_source : 10ec78dd7daf1c1c889929f0d79e0b75675b4b05
2017-03-31 11:43:21 -04:00
Kartikaya Gupta
ec035abf34
Bug 1351777 - Remove aSuccess argument to RenderFrame constructor. r=dvander
...
Instead we can use the otherwise-unused function to check if initialization worked.
Technically, because of the way RenderFrame construction works, whether or not
initialization succeeds is exactly dependent on whether or not the frameloader is
non-null, so we could even just use that to check success. But this feels slightly
more readable/cleaner.
MozReview-Commit-ID: CGiIAA1h6V7
--HG--
extra : rebase_source : 2d4504f7d5fde3c394edca14fe01840c1738d197
2017-03-31 11:43:21 -04:00
Kartikaya Gupta
c44b0fcca0
Bug 1351777 - Remove unnecessary cast and more tightly scope a local var. r=dvander
...
MozReview-Commit-ID: JEfQOdQ2HNJ
--HG--
extra : rebase_source : 4cd5e8df775b930b9fea487cbf447b3310a2bcbb
2017-03-31 11:43:21 -04:00
Boris Chiou
a583863fc8
Bug 1352067 - Part 1: Make sure AnimationValue::{mGecko|mServo} are mutually exclusive. r=birtles,emilio
...
We will obsolete StyleAnimationValue in the future, and can treat
AnimationValue as a wrapper of RawServoAnimationValue to hide the FFIs
at that moment. For now, we still need both types, so it's better to make sure
they are mutually exclusive in AnimationValue. Therefore, let's add some
assertions.
Besides, I think those FFIs might do many things and it seems those methods
are not critical, so let's move them into the cpp file, so we can remove
some dependencies to avoid re-compiling so many files if someone needs
revise ServoBindings.h.
MozReview-Commit-ID: FJ1uTvEQ7NT
--HG--
extra : rebase_source : 8ef99c659f2721c8425364051db19b66536bccc6
2017-03-31 17:46:37 +08:00
Carsten "Tomcat" Book
24a3095c04
Merge mozilla-central to autoland
2017-03-31 14:49:11 +02:00
Carsten "Tomcat" Book
095969b8ee
merge mozilla-inbound to mozilla-central a=merge
2017-03-31 14:45:33 +02:00
Geoff Brown
d88e730a52
Bug 1284763 - Request longer timeout for test_anchor_area_referrer.html; r=jmaher
...
This test runs 276 seconds on average on Android Debug; when it takes longer
than 300 seconds, the test times out, producing intermittent failures.
2017-03-30 21:42:02 -06:00
Edgar Chen
f76afcbcd5
Bug 1351979 - Change CustomElementRegistry::Define code to properly propagate out JS exceptions; r=wchen
2017-03-30 11:44:09 +08: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
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
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
Catalin Badea
fce9859c14
Bug 1325942 - Fix test_fetch_cors_sw_empty_reroute.html. r=ehsan
2017-03-29 01:49: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
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
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
Timothy Nikkel
1a3e66f9b9
Bug 1348972. nsImageLoadingContent::MakePendingRequestCurrent should transfer mPendingRequestRegistered flag to mCurrentRequestRegistered. r=mats
2017-04-01 00:35:32 -05:00
Olli Pettay
1689e67863
Bug 1352235, try to avoid slow hashtable lookups when getting a nodeinfo, r=bz
...
--HG--
extra : rebase_source : 853aa73e29e5f09d11b319070e7adc229fb3e98b
2017-03-31 22:57:35 -04:00
Olli Pettay
12316106ee
Bug 1352389, don't push extra script blocker on stack when setting attributes, r=bz
...
--HG--
extra : rebase_source : 2571f3d502114b84f8b95bbb50c5a0707eb14298
2017-03-31 22:54:41 -04:00
Olli Pettay
d47c995985
Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
...
--HG--
extra : rebase_source : b7d76ce3321ea0d622da74a72b7278fd0fa63310
2017-03-31 22:49:00 -04:00
Boris Zbarsky
af7a6137cc
Bug 1291397. Work around clang bug that they didn't actually manage to ship a fix for which causes it to give spurious warnings it shouldn't be giving, which are then fatal due to -Werror. r=dholbert
...
MozReview-Commit-ID: GbMEvoxGpH1
2017-03-31 17:09:48 -04:00
Olli Pettay
5706cc683b
backout Bug 1352389, r=backout
2017-03-31 16:59:06 -04:00
Olli Pettay
31b1f5cc92
Backout Bug 1351860, r=backout
2017-03-31 16:55:32 -04:00
Olli Pettay
b86d26e216
Bug 1352389, don't push extra script blocker on stack when setting attributes, r=bz
...
--HG--
extra : rebase_source : 55820b78425fe7a64e77eaeb31f5093309f2d06c
2017-03-31 13:13:52 -04:00
Olli Pettay
b84c192a09
Bug 1351860 - Move mType from HTMLInputElement to nsIFormControl and make GetType non-virtual inlined, r=jessica
...
--HG--
extra : rebase_source : 5f2cac2c4e944e2c9f2f1acf0d3064e153c40451
2017-03-31 13:13:36 -04:00
Munro Mengjue Chiang
5907cfe44d
Bug 1265755 - Implement remote vp8 encoder and enable/disable them with pref; r=jolin
...
MozReview-Commit-ID: JZ1eUZNLAKq
--HG--
extra : rebase_source : 3d0da18ab91239db56d5425889d638b184e02b82
2017-03-30 09:00:13 +08:00
Munro Mengjue Chiang
8c7e3d6e57
Bug 1265755 - Support encoder case for CodecProxy; r=jolin
...
MozReview-Commit-ID: 4cEZQs8spo7
--HG--
extra : rebase_source : 33989d576cbd15194c5d740745fd5ddf35958346
2017-03-30 08:51:12 +08:00
Munro Mengjue Chiang
0d0b538b3e
Bug 1265755 - separate JavaCallbacksSupport class declaration to a different header file; r=jolin
...
MozReview-Commit-ID: 7Vj3G47n2bu
--HG--
extra : rebase_source : 9dac50f9a4c405b2461e7f677c58beef7f634f6e
2017-03-30 08:30:23 +08:00