Alastor Wu
a6a6078915
Bug 1415478 - part2 : allow autoplay for non-audible media content and video without audio content. r=jwwang
...
Per UX spec, we would allow non-audible media (volume 0, muted, video without audio track)
to autoplay.
MozReview-Commit-ID: HKUyt5Jt4sH
--HG--
extra : rebase_source : 97315d90fa46a16289135ac7490bd0dab651d682
2017-11-27 19:20:15 +08:00
Alastor Wu
10ef8e706f
Bug 1415478 - part1 : turn on the pref on Nightly build. r=jwwang
...
MozReview-Commit-ID: AJva2ypm7BJ
--HG--
extra : rebase_source : 00b7a831a685dee21a13a786e93e9a3a388f4be3
2017-11-27 19:18:45 +08:00
Ciure Andrei
ce43f5fe52
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-11-27 11:51:40 +02:00
Mantaroh Yoshinaga
10c019403e
Bug 1419226 - Part 3.Wait for MozAfterPaint instead of waiting for frames on file_deferred_start.html . r=hiro
...
This patch will :
* Create test div element after waiting for document load, then wait for
painting after it.
* Change to waiting for MozAfterPaint event without workaround of waiting for
excessive frames.
MozReview-Commit-ID: 6Ytxln3tJi4
--HG--
extra : rebase_source : 53b5f038ec95dd47b76d4a0bcf8dfd964bff451d
2017-11-27 12:54:49 +09:00
Alastor Wu
58a20d70d3
Bug 1416519 - Use async event dispatcher. r=smaug
...
--HG--
extra : rebase_source : e67c691d8782682ef571e5dcb4d21b9c77614a7b
2017-11-21 13:17:44 +08:00
Daosheng Mu
e3f511fffd
Bug 1413269 - Apply REQUIRE_COMPAT_PROFILE flag for WebGL 1 on Intel HD Grahpics 3000 on OSX. - r=jgilbert
...
MozReview-Commit-ID: FZzZpaU9uiv
--HG--
extra : rebase_source : 83dbb20a1106c6280793abedfa7520c198d3cafa
2017-11-24 16:51:37 +08:00
Hiroyuki Ikezoe
23677e6410
Bug 1420774 - Drop unnecessary virtual from Animation methods. r=boris
...
MozReview-Commit-ID: wRrKFbjsTx
--HG--
extra : rebase_source : 0e29a425d94c9cac01a5ba1f149f48301bcf5cde
2017-11-27 07:44:53 +09:00
JW Wang
ce20f92811
Bug 1420016 - remove ChannelMediaResource::IsSuspendedByCache(). r=bechen,gerald
...
For it is used internally by CacheClientNotifySuspendedStatusChanged() only.
MozReview-Commit-ID: 8XVUHhdERYR
--HG--
extra : rebase_source : 60b97821b3e1c13bf1ba706ad1431b9e323df319
extra : intermediate-source : 6891fae737691efcf0885ff90fc7af777f9493d8
extra : source : 8c49a2fbc12f59c83809d233c9c0e9fa404cdd21
2017-11-23 11:30:07 +08:00
JW Wang
eb912e4057
Bug 1418918. P2 - add thread/monitor assertions. r=bechen,gerald
...
MozReview-Commit-ID: 3J8pRFnpm77
--HG--
extra : rebase_source : 722b2f5df7d2b6f95d806b334a9382f80ac4ea07
extra : intermediate-source : cb6319d0c879e9d57a46ff261bb9e1d5a16e2ad9
extra : source : 5b99626480b1c190f03a61635b7a2174b38c87b1
2017-11-20 16:30:05 +08:00
JW Wang
106e488634
Bug 1418918. P1 - remove unused FlushPartialBlock(). r=bechen,gerald
...
MozReview-Commit-ID: GSda1KfPWXE
--HG--
extra : rebase_source : 8bb0b962e6fec586dd68587d6e43b542d37f6a2d
extra : intermediate-source : d58472fa128100ed3bbc8e07d4e72ac7cc5bfe09
extra : source : e3925d43d873e20ad95a48550f271b832f852b7d
2017-11-20 16:00:22 +08:00
Hiroyuki Ikezoe
4937b30bdd
Bug 1413370 - Skip the test case that checks transform animation on scrolled-out element is unthrottled periodically on Android. r=boris
...
It causes intermittent failure.
MozReview-Commit-ID: HDitQV4Yn3P
--HG--
extra : rebase_source : f3a874df1575f903bac3331c9e5cd3454f1f187b
2017-11-27 06:20:06 +09:00
James Cheng
a6426a74c0
Bug 1416686 - Reduce the uses of IPC_FAIL_NO_REASON in GMPChild.cpp. r=cpearce,dmajor
...
Originally, we use IPC_FAIL_NO_REASON to make IPC call return error and then it invokes MOZ_CRASH to kill the process itself.
By using IPC_FAIL, we can pass a descriptive reason to GMPChild::ProcessingError and Bug 1416667 will use MOZ_CRASH_UNSAFE_PRINTF
to print the reason to the crash report. In addition, we use CrashReporter::AnnotateCrashReport to record the lib path without exposing the data publicly.
MozReview-Commit-ID: 15n1PItLgAp
--HG--
extra : rebase_source : 011f02155b290f95fcde807264f3e1ffb9a09e80
2017-11-13 09:35:03 +00:00
James Cheng
c3103719c2
Bug 1416667 - Use MOZ_CRASH_UNSAFE_PRINTF in GMPChild::ProcessingError r=cpearce
...
We passed the crash reason to GMPChild::ProcessingError but we didn't use it anymore.
We can simply use MOZ_CRASH_UNSAFE_PRINTF instead of MOZ_CRASH to make the crash more descriptive.
MozReview-Commit-ID: D7mU3Dsg9V9
--HG--
extra : rebase_source : 467974fbcc81792850b6c4b1a6faa3e90cfabb41
2017-11-13 08:24:00 +00:00
Alastor Wu
62e836ef58
Bug 1420192 - when disable autoplay, allow script calls play() once user triggered load() or seek(). r=jwwang
...
This patch is mainly reverting the changing of bug1382574 part3, but not all the same.
Since youtube would call load() when user clicks to play, and then call play()
later. For the old pref (checking user-input-play), we should still allow the
following play() even it's not triggered via user input. It's also same for
seeking, Youtube would call play() after seeking completed.
In this patch, we would allow the script-calling once play() if user has called load()
or seek() before that.
MozReview-Commit-ID: 1UcxRCVfhnR
--HG--
extra : rebase_source : c72212ebf29ea624128a8190dab67e1197f1f198
2017-11-27 10:55:02 +08:00
James Cheng
fa5a14b81f
Bug 1417297 - Part2 - Convert fake-cdm to use Chromium ContentDecryptionModule_9 interface. r=cpearce
...
MozReview-Commit-ID: L0sF2lO3lDX
--HG--
extra : rebase_source : e8caab5f4c0c485ee47cd342962b47cfa01a9b6e
2017-11-23 16:51:23 +08:00
Chun-Min Chang
727fa182fd
Bug 654787 - part8: Fire seeking and seeked events when looping back to the beginning; r=jwwang
...
MozReview-Commit-ID: 2hYJfcCmvam
--HG--
extra : rebase_source : 261299b07ff9eafe3354e46c96b1aafe9e841e2e
2017-11-21 18:10:19 +08:00
Chun-Min Chang
f7ef7354b3
Bug 654787 - part7: Stop playing and decoding when looping is cancelled; r=jwwang
...
MozReview-Commit-ID: BQKVsmDSqpJ
--HG--
extra : rebase_source : 64377f37dd6d1fd2a7a550843ffc805688a4d488
2017-11-21 18:15:08 +08:00
Chun-Min Chang
1a75cd91ef
Bug 654787 - part6: Correct the playback position while looping; r=jwwang
...
MozReview-Commit-ID: 4h2zgtbVBVq
--HG--
extra : rebase_source : 9a91cefd6f081cbdbae6b5ffc7035446f7192ff1
2017-11-24 10:28:42 +08:00
Chun-Min Chang
a585c36a18
Bug 654787 - part5: Add the looping-offset time to audio data; r=jwwang
...
MozReview-Commit-ID: LUNF9x6foEA
--HG--
extra : rebase_source : f8603f9c502f5d3a9ab87d392d29d69059aab8d1
2017-11-10 13:50:38 +08:00
Chun-Min Chang
9fc6572690
Bug 654787 - part4: Keep decoding to MDSM in ReaderProxy when looping is on; r=jwwang
...
MozReview-Commit-ID: 4oVaUmDUeFJ
--HG--
extra : rebase_source : fc6e9b945f3730424b3722c4f7f35f59b8867a7e
2017-11-22 11:17:09 +08:00
Chun-Min Chang
7f6de174cb
Bug 654787 - part3: Use OnAudioDataRequest{Completed, Failed} in ReaderProxy; r=jwwang
...
MozReview-Commit-ID: A4vUGJ64QrB
--HG--
extra : rebase_source : bb73633d0f1583fcf30ac75d917113dce7f88301
2017-11-10 11:19:04 +08:00
Chun-Min Chang
f999f07ca8
Bug 654787 - part2: Teach ReaderProxy about audio looping; r=jwwang
...
MozReview-Commit-ID: FK0FRffDzjJ
--HG--
extra : rebase_source : 9d2f93edb80c84fbbf451361fdb2887d91a10789
2017-11-10 12:06:12 +08:00
Chun-Min Chang
447c6c888f
Bug 654787 - part1: Add pref for audio seamless looping; r=jwwang
...
MozReview-Commit-ID: 1md5AxHG8NA
--HG--
extra : rebase_source : c13002de65c523a508f01564cc2730aff4a36086
2017-11-08 13:43:08 +08:00
dluca
85d0512151
Backed out 3 changesets (bug 1415478) for frequently asserting at dom/media/MediaDecoderStateMachine.cpp:1009 on a CLOSED TREE
...
Backed out changeset 447d895b350d (bug 1415478)
Backed out changeset d855c032c823 (bug 1415478)
Backed out changeset 6739012c4bdf (bug 1415478)
2017-11-24 18:50:53 +02:00
Edgar Chen
374cfaa39e
Bug 1419643 - Don't need to lookup custom element definition for a non-custom element; r=smaug
...
MozReview-Commit-ID: 5zWna7LLJOd
--HG--
extra : rebase_source : 08ad093b3020d24223c951c331fe0a3af240bbfc
2017-11-24 00:16:00 +08:00
Edgar Chen
e8e6e85590
Bug 1419305 - Part 2: Keep processing remaining elements in ElementQueue even if some of elements are already unlinked; r=smaug
...
MozReview-Commit-ID: BAoBGoYtiJr
--HG--
extra : rebase_source : 5df57004ec6756cbf584180efa95d5bde049b234
2017-11-03 17:57:46 +08:00
Edgar Chen
7cfc82e138
Bug 1419305 - Part 1: Use MicroTask on CustomElements correctly; r=smaug
...
MozReview-Commit-ID: EPMfr6hr5fS
--HG--
extra : rebase_source : 51784f7d8b74978847901f57f23730fb0f547ce5
2017-11-03 17:38:46 +08:00
arthur.iakab
61b76d3643
Merge mozilla central to autoland r=merge a=merge on a CLOSED TREE
2017-11-24 12:05:22 +02:00
arthur.iakab
dfc104159a
Merge inbound to central r=merge a=merge
2017-11-24 12:00:30 +02:00
Brian Birtles
06e53a1793
Bug 1412765 - Update more tests to reflect changes to Animation.playState's r=hiro
...
return value; r?hiro
MozReview-Commit-ID: KvZa7EyzAKj
--HG--
extra : rebase_source : b7721bc34f246c36a22eb4f9acc3fba854dcdec8
2017-11-24 10:53:58 +09:00
Alastor Wu
79ad800f6f
Bug 1415478 - part3 : add tests. r=jwwang
...
MozReview-Commit-ID: ALFQcKRKk7c
--HG--
extra : rebase_source : 4d9aebf3ed627fbb42ec20b32bc608f0360a7182
2017-11-24 16:42:47 +08:00
Alastor Wu
35a99cd8d3
Bug 1415478 - part2 : allow autoplay for non-audible media content and video without audio content. r=jwwang
...
Per UX spec, we would allow non-audible media (volume 0, muted, video without audio track)
to autoplay.
MozReview-Commit-ID: HKUyt5Jt4sH
--HG--
extra : rebase_source : fa8d1bfd2fb667e974dbe499d7f8215273d4fa10
2017-11-24 11:14:26 +08:00
Alastor Wu
d5341011c9
Bug 1415478 - part1 : turn on the pref on Nightly build. r=jwwang
...
MozReview-Commit-ID: AJva2ypm7BJ
--HG--
extra : rebase_source : 5bfd8d46aa8b928bd7b6a6e12c31f0c7e2c4ebee
2017-11-24 11:12:23 +08:00
Brian Birtles
7ebdac8455
Bug 1412765 - Update tests in dom/animation/tests to use new pending member; r=hiro
...
MozReview-Commit-ID: 2PDm9NaXChg
--HG--
extra : rebase_source : 6a159137b7fd65a456f799b2323667de8f636542
2017-11-22 14:13:36 +09:00
Brian Birtles
e83e1a5e71
Bug 1412765 - Add Animation.pending member; r=bz,hiro
...
This reflects the change made to the Web Animations specification in:
9e2053f553
1c3415f4cc
(I got it wrong the first time. The second commit fixes the first.)
And discussed in:
https://github.com/w3c/web-animations/issues/196
In summary, we are splitting the "pending" play state out into a separate
boolean member so that it is possible to distinguish between "play-pending" and
"pause-pending" and because most of the time when you check for
animation.playState === 'running' you also really want to include play-pending
animations.
MozReview-Commit-ID: IJSNoZTKW2I
--HG--
extra : rebase_source : 5d17239fd087cfe3cce1c9697eff97d062b6dd4b
2017-11-21 17:10:59 +09:00
Brian Birtles
bad7dc839d
Bug 1412765 - Add dom.animations-api.pending-member.enabled, defaulting to false; r=hiro
...
MozReview-Commit-ID: 7P34nAI7apB
--HG--
extra : rebase_source : 94cf46522b995c40b1649a4d8ce44cd868026869
2017-11-21 09:43:40 +09:00
JW Wang
ff8c3ed9fd
Bug 1418917. P2 - NotifyClientSuspended() should check mClosed. r=bechen,gerald
...
MozReview-Commit-ID: 9mBPwfyfWCV
--HG--
extra : rebase_source : 7fc6194a99d656f8e9a80430e41486c2ab7f117c
extra : intermediate-source : a601c40d46b2db64372345a3c5e39a1eeab7e326
extra : source : b5d520b8ddbf9926fe6e3a87d667a6c10c9dde5f
2017-11-20 14:21:22 +08:00
JW Wang
e672887f6f
Bug 1418917. P1 - run some functions off the main thread. r=bechen,gerald
...
MozReview-Commit-ID: Fn9OveV69hX
--HG--
extra : rebase_source : 36ed72bea695f07694d83c418ba45d89cf1f03be
extra : intermediate-source : e25c80e8ea6991b4f06bc4305b602c792a5b1e8a
extra : source : d20765cfa8575943c62b933563e36ee9ffa4e765
2017-11-16 15:41:36 +08:00
Tom Tung
7dd219f393
Bug 1416629: Add a telemetry to get how many precentage of synthesized cors response for same-origin mode request. r=bkelly, data-r=francois
...
--HG--
extra : rebase_source : af6c7186f7b4c08fd94f5613d8bfe67666903c6e
2017-11-16 09:45:39 +08:00
Gurzau Raul
21905d169e
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-11-24 00:38:13 +02:00
Tiberius Oros
da0a72a9d7
Merge inbound to mozilla-central r=merge a=merge
2017-11-24 00:28:29 +02:00
Nika Layzell
8886a24cd7
Bug 1419597 - Part 19: Remove accidental version control marker on a CLOSED TREE, a=bustage
...
MozReview-Commit-ID: LuztkGycks1
2017-11-23 13:44:11 -05:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
7273ec9699
Bug 1419597 - Part 17: Avoid implementing *OpenerForInitialContentBrowser on the inner, r=smaug
...
MozReview-Commit-ID: HBRWzlBqnCT
2017-11-23 13:12:11 -05:00
Nika Layzell
c96f34d91b
Bug 1419597 - Part 16: Clarify crash message in some outer window unsupported methods, r=smaug
...
MozReview-Commit-ID: 8yLkJE4cGra
2017-11-23 13:12:10 -05:00
Nika Layzell
7675c88400
Bug 1419597 - Part 15: Build nsGlobalWindow{Inner,Outer}.cpp separately, r=smaug
...
MozReview-Commit-ID: 7a1jiE7FKcs
2017-11-23 13:12:08 -05:00
Nika Layzell
a4f4d616b9
Bug 1419597 - Part 14: Clean up some out of date documentation, r=smaug
...
MozReview-Commit-ID: Jk6BDE3PzF
2017-11-23 13:12:06 -05:00
Nika Layzell
48b95b6db0
Bug 1419597 - Part 13: Move gDragServiceDisabled and gMouseDown to be statics on nsGlobalWindowInner, r=smaug
...
MozReview-Commit-ID: DjXlbLJclzh
2017-11-23 13:12:05 -05:00
Nika Layzell
9a28c8db2e
Bug 1419597 - Part 12: Move storage pref enabled check into a static method on dom::Storage, r=asuth
...
MozReview-Commit-ID: 7qES6MrIxK9
2017-11-23 13:12:03 -05:00
Nika Layzell
c89dc4dbb4
Bug 1419597 - Part 11: Move gRefCnt/gSerialCounter into nsContentUtils, r=smaug
...
MozReview-Commit-ID: KkG6hQentSH
2017-11-23 13:12:01 -05:00
Nika Layzell
492842f10a
Bug 1419597 - Part 10: Move includes into nsGlobalWindow{Inner,Outer}.cpp, r=smaug
...
MozReview-Commit-ID: A5xJcTnicyb
2017-11-23 13:12:00 -05:00
Nika Layzell
c9248cfb52
Bug 1419597 - Part 9: Move the remaining defines out of nsGlobalWindow.h, r=smaug
...
MozReview-Commit-ID: CQRRyTImnUG
2017-11-23 13:11:58 -05:00
Nika Layzell
454baaeaca
Bug 1419597 - Part 8: Completely remove unused DialogValueHolder, r=smaug,bz
...
MozReview-Commit-ID: 8VaBoUj9nOj
2017-11-23 13:11:56 -05:00
Nika Layzell
2625b0ca22
Bug 1419597 - Part 7: Remove unused data members from nsGlobalWindowOuter, r=smaug
...
MozReview-Commit-ID: 5fj3pBMmR8E
2017-11-23 13:11:55 -05:00
Nika Layzell
c7371d5cc9
Bug 1419597 - Part 6: Remove unused data members from nsGlobalWindowInner, r=smaug
...
MozReview-Commit-ID: KeZR0knQcbl
2017-11-23 13:11:53 -05:00
Nika Layzell
9ac65ea533
Bug 1419597 - Part 5: Remove mFocusedNode from the outer window, r=enndeakin
...
MozReview-Commit-ID: 62pgCjfIsvu
2017-11-23 13:11:51 -05:00
Nika Layzell
38b6455183
Bug 1419597 - Part 4: Remove unused fields from nsPIDOMWindowOuter, r=smaug
...
MozReview-Commit-ID: 4VXKn6dnYKH
2017-11-23 13:11:50 -05:00
Nika Layzell
6bd2d6f16d
Bug 1419597 - Part 3: Remove unused fields from nsPIDOMWindowInner, r=smaug
...
MozReview-Commit-ID: FJQ6GmxE5gq
2017-11-23 13:11:48 -05:00
Nika Layzell
14a3bf4116
Bug 1419597 - Part 2: Remove nsPIDOMWindow, r=smaug
...
MozReview-Commit-ID: 9TUURbj9s7N
2017-11-23 13:11:46 -05:00
Nika Layzell
39d4d66910
Bug 1419597 - Part 1: Split the methods on nsPIDOMWindow<T>, r=smaug
...
MozReview-Commit-ID: KXsnYLYtICV
2017-11-23 13:11:44 -05:00
Nika Layzell
ee9635d6aa
Bug 1419144 - Part 20: Remove nsGlobalWindowOuter::RiskyUnlink, r=mccr8
...
MozReview-Commit-ID: 3BZIKFc5noK
2017-11-23 13:11:43 -05:00
Nika Layzell
98a780f55d
Bug 1419144 - Part 19: Move IsRootOuterWindow to nsPIDOMWindowOuter, r=smaug
...
MozReview-Commit-ID: Cgh1Cbb60Zk
2017-11-23 13:11:41 -05:00
Nika Layzell
b1a42230f1
Bug 1419144 - Part 18: Move AsInner() and AsOuter() off of nsPIDOMWindow<T>, r=smaug
...
MozReview-Commit-ID: IA29zmacrJ4
2017-11-23 13:11:39 -05:00
Nika Layzell
cc1a61fcdc
Bug 1419144 - Part 17: Split gDOMLeakPRLog into Inner/Outer variants, r=smaug
...
MozReview-Commit-ID: HxjJ43UyecW
2017-11-23 13:11:38 -05:00
Nika Layzell
9b40de114c
Bug 1419144 - Part 16: Move gDumpFile into nsGlobalWindowInner, r=smaug
...
MozReview-Commit-ID: 1ATfmoN0oue
2017-11-23 13:11:36 -05:00
Nika Layzell
920ec9caac
Bug 1419144 - Part 15: Move PopupControlState into nsContentUtils, r=smaug
...
MozReview-Commit-ID: Kt2moF5nsDg
2017-11-23 13:11:34 -05:00
Nika Layzell
ef26b1acf5
Bug 1419144 - Part 14: Move some debug defines to the places where they are used, r=smaug
...
MozReview-Commit-ID: 5SuLQZqtzJf
2017-11-23 13:11:33 -05:00
Nika Layzell
fd4ef95bd2
Bug 1419144 - Part 13: Move some defines into nsGlobalWindowInner.cpp, r=smaug
...
MozReview-Commit-ID: C3lK4TORumy
2017-11-23 13:11:31 -05:00
Nika Layzell
7e6e4b79bc
Bug 1419144 - Part 12: Move kXULControllersCID into nsGlobalWindowOuter.cpp, r=smaug
...
MozReview-Commit-ID: 6PNWjgE8vgq
2017-11-23 13:11:30 -05:00
Nika Layzell
99a4ce5d90
Bug 1419144 - Part 11: Remove some unused defines, r=smaug
...
MozReview-Commit-ID: CQI6eWIHzsT
2017-11-23 13:11:28 -05:00
Nika Layzell
f59f095e67
Bug 1419144 - Part 10: Move PushPopupControlState and PopPopupControlState into nsGlobalWindowOuter.cpp, r=smaug
...
MozReview-Commit-ID: 7AhgZLIvcZ5
2017-11-23 13:11:26 -05:00
Nika Layzell
d9b703bb40
Bug 1419144 - Part 9: Move CreateNativeGlobalForInner into nsGlobalWindowOuter.cpp, r=smaug
...
MozReview-Commit-ID: 9KwK7GyXZN3
2017-11-23 13:11:25 -05:00
Nika Layzell
e005db891d
Bug 1419144 - Part 8: Move TryGetTabChildGlobalAsEventTarget into nsContentUtils, r=smaug
...
MozReview-Commit-ID: 8vi1mAzmQUU
2017-11-23 13:11:23 -05:00
Nika Layzell
38a7e13386
Bug 1419144 - Part 7: Move WindowDestroyedEvent into its own file, r=smaug
...
MozReview-Commit-ID: HZDX84ktgiy
2017-11-23 13:11:21 -05:00
Nika Layzell
4e843da907
Bug 1419144 - Part 6: Move IsInterval into nsGlobalWindowInner.cpp, r=smaug
...
MozReview-Commit-ID: LRhNfAdljYJ
2017-11-23 13:11:20 -05:00
Nika Layzell
1682377162
Bug 1419144 - Part 5: Move CommandDispatcher and ChildCommandDispatcher into nsGlobalWindowOuter.cpp, r=smaug
...
MozReview-Commit-ID: L41gwz19vBq
2017-11-23 13:11:18 -05:00
Nika Layzell
e8ccb0faa7
Bug 1419144 - Part 4: Remove RemoveIdleCallback from outer window, r=farre
...
MozReview-Commit-ID: KxJgYeOQPyH
2017-11-23 13:11:17 -05:00
Nika Layzell
486f00a8af
Bug 1419144 - Part 3: Move pref caches into nsGlobalWindowInner where they are used, r=smaug
...
MozReview-Commit-ID: 1yftLoS3eo2
2017-11-23 13:11:15 -05:00
Nika Layzell
93c45cb3ef
Bug 1419144 - Part 2: Remove unused gThrottledIdlePeriodLength, r=farre
...
MozReview-Commit-ID: GGMJC6HuCLa
2017-11-23 13:11:14 -05:00
Nika Layzell
153cad2eb5
Bug 1419144 - Part 1: Move ShouldShowFocusRingIfFocusedByMouse into nsGlobalWindowInner.cpp, r=smaug
...
MozReview-Commit-ID: 7m5ZJ52bkRs
2017-11-23 13:11:12 -05:00
Brindusan Cristian
b710626d94
Backed out changeset f7b7bdd7b05c (bug 1413256) for web-platform-tests on constant-source-basic.html. r=backout on a CLOSED TREE
2017-11-23 19:53:53 +02:00
Théo Rabut
979150140a
Bug 1413256 - ConstantSourceNode.offset min/max values. Most-negative and most-positive single-float instead of -infinity/+infinity. r=padenot
...
MozReview-Commit-ID: USUW4tjgSD
--HG--
extra : rebase_source : 3764da03d5e879a3a36e907d8c8de0d1c1fe89fd
2017-11-20 16:53:43 +01:00
Edgar Chen
f6cde405ab
Bug 1419310 - Part 2: Enqueue an attributeChanged reaction when mutating the value of an observed attribute to the same value; r=smaug
...
MozReview-Commit-ID: GyRL6Xt8HWt
--HG--
extra : rebase_source : 657cdf6dcad0f886f99a2e466a19cfb45c9195dc
2017-11-22 23:48:34 +08:00
Edgar Chen
b3ea0a20d4
Bug 1419310 - Part 1: Remove nsContentUtils::GetElementDefinitionIfObservingAttr; r=smaug
...
MozReview-Commit-ID: 9yMrwDC0kYr
--HG--
extra : rebase_source : 9fb1da4986eb2af50746ae432088d3788b99570c
2017-11-23 00:09:03 +08:00
JW Wang
d7f80c5aa7
Bug 1419666
- MemoryBlockCacheTelemetry::NotifyCombinedSizeGrown() should assert the main thread only for the first call. r=bechen,gerald
...
For the 2nd call might happen off the main thread.
MozReview-Commit-ID: 701p2GGuiEo
--HG--
extra : rebase_source : 049d91e3ecc86d3776ad6809e5e22678bd713a27
2017-11-22 15:06:53 +08:00
JW Wang
799dbc5e79
Bug 1419668 - set mMaxBlocks according to MediaPrefs::MediaMemoryCacheMaxSize(). r=bechen,gerald
...
Since MemoryBlockCache is used only when the content length is smaller than
MediaPrefs::MediaMemoryCacheMaxSize() * 1024, we should set mMaxBlocks according
to the pref value to prevent blocks from being evicted unexpectedly.
MozReview-Commit-ID: BaI0A0VUbkv
--HG--
extra : rebase_source : 252d469c101cafe3fed51a759c3fac63db5f161a
extra : source : 8aa941397a3d2a354689c1e9d0a5a18bb659366a
2017-11-22 16:00:36 +08:00
Brindusan Cristian
e61c64950f
Backed out 4 changesets (bug 1415805)for mochitest failures on dom/tests/mochitest/general/test_interfaces.html. r=backout a=backout on a CLOSED TREE
...
Backed out changeset edede99fa1c9 (bug 1415805)
Backed out changeset 67a5bc2dcdc7 (bug 1415805)
Backed out changeset ddfad494a323 (bug 1415805)
Backed out changeset fa895478ed71 (bug 1415805)
2017-11-23 14:02:03 +02:00
bechen@mozilla.com
70bd4b61da
Bug 1415805 - region.scroll setter should not throw. r=smaug
...
MozReview-Commit-ID: FU9YBBeLT5B
--HG--
extra : rebase_source : f0b0ff7b8c1ac44c9f4c9d6058bb6027178d44c6
2017-11-22 16:10:11 +08:00
bechen@mozilla.com
cedf178ade
Bug 1415805 - throw exception at region.lines setter if value is negative. r=smaug
...
MozReview-Commit-ID: 2SMJGQBFpgJ
--HG--
extra : rebase_source : a8a640636be0394d410bf4ba57f094525a4c92c4
2017-11-22 15:12:03 +08:00
Cosmin Sabou
a8c3a54f72
Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
2017-11-23 11:45:29 +02:00
Cosmin Sabou
a5d613086a
Merge mozilla-inbound to mozilla-central r=merge a=merge
2017-11-23 11:42:46 +02:00
Phil Ringnalda
f12ca11346
Backed out 3 changesets (bug 1407423) for Android permaorange in test_vrDisplay_getFrameData.html
...
Backed out changeset b9dbe5af9a06 (bug 1407423)
Backed out changeset 16d247b8091d (bug 1407423)
Backed out changeset 2b625d265761 (bug 1407423)
MozReview-Commit-ID: 6clRbH1Hodr
2017-11-22 18:15:10 -08:00
JW Wang
f874190157
Bug 1418430. P2 - simplify the if statement of "reopen on error". r=bechen,gerald
...
A truth table is listed to illustrate all conditions of length/offset/reopen.
The original code doesn't handle the following cases correctly:
1. length == offset == 0, shouldn't reopen the channel for there is no data to download.
2. length == -1 && offset > 0, should reopen the channel if seekable.
MozReview-Commit-ID: IisnrA8hK4M
--HG--
extra : rebase_source : c5826f314b09b2ae9c3e7f2cc1f6ce285fc612df
2017-11-22 11:21:57 +08:00
JW Wang
df2b00d7a6
Bug 1418430. P1 - always check "reopen on error" when a connection is closed. r=bechen,gerald
...
The server might send us fewer bytes than requested. So we also need
"reopen on error" in this case as well.
MozReview-Commit-ID: Fi82x4h1TZ0
--HG--
extra : rebase_source : 3a19838de9c11545f00778623735c7e9a5cb1439
2017-11-22 10:35:48 +08:00
Emilio Cobos Álvarez
72a1d3ff81
Bug 1419554: Teach the restyle root code about elements outside of the flattened tree. r=heycam
...
The textarea is inserted under a Shadow host, with no matching insertion point,
so its flattened tree parent node is null.
We're treating this case in the restyle root code as "the parent is the
document", but that's very wrong.
MozReview-Commit-ID: JlzUMRIYaYZ
--HG--
extra : rebase_source : feeaf7a7333097aa87b35358172472790f6c74a7
2017-11-22 14:15:34 +01:00
Matthew Gregan
169b8f6906
Bug 1419627 - Update mp4parse-rust callers in cheddar->cbindgen migration. r=rillian
...
MozReview-Commit-ID: AbyXNRrqr4X
--HG--
extra : rebase_source : be40cd12b6155a50528c3806049d3d1f47dda522
2017-11-22 15:15:51 +13:00
shindli
a0b20fcb81
Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE
2017-11-22 23:42:02 +02:00
shindli
82254ca1cf
Merge inbound to mozilla-central r=merge a=merge
2017-11-22 23:29:44 +02:00
James Willcox
e1181af857
Bug 1409113 - Add nsIPresShell::HasHandledUserInput() status to InputContext r=masayuki
...
MozReview-Commit-ID: 60x35NKEzhA
2017-11-22 10:09:06 -06:00
Jean-Yves Avenard
d1985718a4
Bug 1387127 - Correctly set AudioInfo.mProfile. r=kamidphish
...
AudioInfo::mProfile is used to detect the type of AAC content we have stored from 1 to 4 as would be stored in an ADTS packet.
1: AAC Main
2: AAC LC (Low Complexity)
3: AAC SSR (Scalable Sample Rate)
4: AAC LTP (Long Term Prediction)
It is not used to store the profile level indication.
This caused the ADTS conversion needed by the Apple AudioToolbox decoder to fail, interrupting the detection of the inband SBR.
MozReview-Commit-ID: 1gf4HIMyCPo
--HG--
extra : rebase_source : 7ddb98e88d5516bd01f8f39156d8ee71fb32cc2e
2017-11-22 20:39:27 +01:00