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

58345 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 01a3eba51c Bug 1325066 - Use correct exception for `connect` calls between AudioNodes and AudioParams of different contexts. r=baku
MozReview-Commit-ID: KrG4ZAya088

--HG--
extra : rebase_source : c6d7c7c4dcc58aacdeb79ff7966050aad6170f83
2016-12-21 14:45:51 +01:00
Masatoshi Kimura 4218f827c0 Bug 1149966 - Remove enablePrivilege calls from remaining mochitest. r=jmaher
MozReview-Commit-ID: D7KglhS4PCw

--HG--
extra : rebase_source : 4d0f848ea393a3db7e82d0e07700fe626e7caa49
extra : source : d5d6a19c81306edfaaf3e836c990bb40923623f4
2016-12-05 01:23:40 +09:00
Carsten "Tomcat" Book c9889851e8 Merge mozilla-central to autoland 2017-01-09 10:45:10 +01:00
Masatoshi Kimura ae77a86895 Bug 1329570 - Restore missing error check in mozilla::dom::Location::GetPathname. r=valentin.gosu
MozReview-Commit-ID: 1g5Skn2R38c

--HG--
extra : rebase_source : fa19a17caf247472dfce77181917bbe97f70e3cd
2017-01-09 15:53:01 +09:00
Nicholas Nethercote 649a29a85f Bug 1324330 (part 5) - Remove nsDOMClassInfo::mName. r=mccr8.
It's identical to the mClass.name.

--HG--
extra : rebase_source : 5697a1d7913335b6778de038f060ea51805076a2
2016-12-23 08:30:31 +11:00
Randell Jesup 3fa45d2f9b Bug 1326311: Avoid races in destroying MediaRecorder sessions - destroy on MainThread r=jib
MozReview-Commit-ID: 3DA4HxUuzje
2017-01-08 22:08:09 -05:00
pierre.brochard.1982@m4x.org f3a18dbce1 Bug 1326311: Fix thread and Track listener leaks starting and stopping MediaRecorder r=jesup
MozReview-Commit-ID: 3q6RgA4Ehtc
2017-01-08 22:06:28 -05:00
Mats Palmgren 2d0ba23745 Bug 1327902 - Test selecting over a user-select:none node next to an <input>. 2017-01-08 21:27:00 +01:00
Mats Palmgren 8eb3b6cd3a Bug 1327902 - Set the range boundary point outside (before) the node if it HasIndependentSelection(). r=smaug 2017-01-08 21:27:00 +01:00
Ryan VanderMeulen da6a7dfab8 Merge inbound to m-c. a=merge 2017-01-07 15:32:04 -05:00
Thomas Wisniewski c6aea6cc68 Bug 1329365 - Follow-up adding 201, 202, and 205 to the list of response codes which suppress XML parsing errors. r=bz 2017-01-06 23:23:56 -05:00
Ryan VanderMeulen 1e6f972917 Merge inbound to m-c. a=merge 2017-01-07 11:22:47 -05:00
Jan de Mooij 620a16d8f8 Bug 965992 part 4 - Add tests. r=bz 2017-01-07 10:22:30 +01:00
Tobias Schneider 7bf1d2ce13 Bug 1326194 - Unlink observed targets as soon as DOMSlots gets unlinked. r=mrbkap
MozReview-Commit-ID: 4OnDvyc98S8

--HG--
extra : rebase_source : ff6336a0af81babf37f5a89a2809a515eb8430cc
2017-01-06 13:47:06 -08:00
Kaku Kuo e3f3f93c62 Bug 1299096 - Remove the event-based play() method out from nsIDOMHTMLMediaElement.idl; r=bz
MozReview-Commit-ID: 3pHsSsADPLu

--HG--
extra : rebase_source : 9e3620c4565118f0c4f016b0bbe75ec046928718
2016-12-13 16:04:45 +08:00
JW Wang 61f01c2630 Bug 1329098. Part 5 - remove unnecessary checks and temps. r=kaku
For mSentFirstFrameLoadedEvent is true in DecodingState.

MozReview-Commit-ID: 8zpsMAME8p6

--HG--
extra : rebase_source : fea2a795481628b5bd7eaf841fcf6a8bc377fbbc
extra : source : d54b4f06b497408a0225d708bc749101d778ca4f
2017-01-06 15:49:02 +08:00
JW Wang 5c3ba7d181 Bug 1329098. Part 4 - move DispatchDecodeTasksIfNeeded into DecodingState. r=kaku
MozReview-Commit-ID: LT9xNdTAtOW

--HG--
extra : rebase_source : faf2d7dac84374d47a6d2e210881d0355cbd86f5
extra : source : f681710dc58aac1053d06adaeb1865fceeabde23
2017-01-06 15:43:31 +08:00
JW Wang 75547a6b1d Bug 1329098. Part 3 - remove some temp vairables. r=kaku
MozReview-Commit-ID: 3gz79Tzidtf

--HG--
extra : rebase_source : 76ebb3752e71883cbdc7df916453792bff6a0bb0
extra : source : a63557c857d9ca8cfd1280c986a5d2f99f4e7668
2017-01-06 15:36:38 +08:00
JW Wang d683161210 Bug 1329098. Part 2 - remove unnecessary checks. r=kaku
1. mSentFirstFrameLoadedEvent is true in BufferingState.
2. mMinimizePreroll is false in BufferingState for buffering happens after playback starts and we reset mMinimizePreroll once playback starts.

MozReview-Commit-ID: ABE7TvNEetD

--HG--
extra : rebase_source : 53c507ff9cd8ea028c5ff7f8b5b8c049cb8a7ebf
extra : source : e87a70953f6eb8d4a9e31ab06ac73afcc90da923
2017-01-06 15:22:52 +08:00
JW Wang 664dfb82d2 Bug 1329098. Part 1 - copy DispatchDecodeTasksIfNeeded() into BufferingState. r=kaku
MozReview-Commit-ID: 2q8FhTFTJ6g

--HG--
extra : rebase_source : 989fb40a86b0358c8843082abc9ef2dea20e3a2d
extra : source : 13d0e5e6e1ddf5fff6a0b8a0da7a85e5694c5be7
2017-01-06 15:00:36 +08:00
JW Wang 1f9deb245d Bug 1329554. Part 2 - remove |mMaster->mMinimizePreroll| checks from BufferingState::Step(). r=kikuo
mMinimizePreroll is false in BufferingState because we enter buffering only
after playback starts.

MozReview-Commit-ID: 9vRuogzvV7x

--HG--
extra : rebase_source : f43eb5af15d6ae969a6269c7adf68780d9b3b659
extra : intermediate-source : 0dd36842a3ae6ad9b5421bbd277e9ee05ec2e110
extra : source : eae56fe516563a2675f0492c56c6a01b6f38149f
2017-01-05 18:13:54 +08:00
JW Wang 84f38029d4 Bug 1329554. Part 1 - let DecodingState decide whether to dispatch decoding tasks when mMinimizePreroll changes. r=kikuo
MozReview-Commit-ID: 6QnH2vOHid1

--HG--
extra : rebase_source : 2b5485539a22a8157fc826761199092ab099d0b8
extra : intermediate-source : 329b13f1aa7025f35450417c658bcacd2b42996a
extra : source : 160616eaabf48efac98868c767f704b98415d3b9
2017-01-05 18:12:06 +08:00
JW Wang f4605f76d9 Bug 1328836 - Remove MDSM::DispatchMinimizePrerollUntilPlaybackStarts. r=kaku
MozReview-Commit-ID: 1EGHVhZqUTA

--HG--
extra : rebase_source : c90c245683c50364d869566540f47927e0f64d04
extra : intermediate-source : ceb0660e9f35a0dbbd361a4dc4eb6bcef8add385
extra : source : e1dfbdac70feedc99a950c00aeda683e38919247
2017-01-05 17:59:19 +08:00
Gerald Squelart b3e89a3af9 Bug 1322964 - MozPromise.Then() taking only one resolve+reject function - r=jwwang
Then and ThenPromise can now be given only one function object, which takes a
`const MozPromise::ResolveOrRejectValue&`.

MozReview-Commit-ID: BEtc3spK9Yh

--HG--
extra : rebase_source : 1b16ad15ebfcdfb653d8d98073adee0f8b27b46e
2017-01-03 16:15:14 +11:00
Daniel Holbert 71b36d73b5 Bug 1329045 part 2: Convert some global variables to local variables, in test_use_with_hsts.html. r=xidorn
(Before we introduced async/await in this test, some of these needed to be
global, because they were used in several callbacks.)

MozReview-Commit-ID: 7mDzmUx1jQ

--HG--
extra : rebase_source : 6f3a2f58c8abc643b09258b54141d93658183519
2017-01-06 13:03:22 -08:00
Daniel Holbert 09339cd3aa Bug 1329045 part 1: Use async/await to simplify callbacks in mochitest test_use_with_hsts.html. r=xidorn
MozReview-Commit-ID: 3qMTOl3fQzg

--HG--
extra : rebase_source : 6492fe98a9888a3123fa902a14462ddbfeca1d1b
2017-01-06 13:03:21 -08:00
Iris Hsiao 7e248d8cc9 Merge mozilla-central to autoland 2017-01-06 11:13:22 -05:00
JW Wang a2f0f971ab Bug 1328782. part 3 - remove the |VideoQueue().GetSize() > 0| check. r=kikuo
Since |GetAmpleVideoFrames() * mPlaybackRate + 1| is positive,
|VideoQueue().GetSize() >= GetAmpleVideoFrames() * mPlaybackRate + 1| must imply
|VideoQueue().GetSize() > 0|

MozReview-Commit-ID: 6cZ2XfUrmj

--HG--
extra : rebase_source : fc77e2cdebc4621fa68f94c6c3db81d4d921b851
2017-01-05 12:09:55 +08:00
JW Wang e6bb1d40a3 Bug 1328782. part 2 - some more tweaks to the expression. r=kikuo
MozReview-Commit-ID: I1IcV88amob

--HG--
extra : rebase_source : a1be8f5496582c2117b3e30cd8010b769d970db7
2017-01-05 12:07:15 +08:00
JW Wang dbaf1d1389 Bug 1328782. part 1 - some tweaks to the expression. r=kikuo
MozReview-Commit-ID: 3Mt1c7TrSYy

--HG--
extra : rebase_source : 75cc57e6b0fec9698e874846ad1670f31124685f
2017-01-04 17:37:34 +08:00
Markus Stange 4bdc4ca0fb Bug 1323100 - Register most of the remaining threadfunc threads with the profiler. r=froydnj
As far as I can tell, this covers all the remaining threads which we start
using PR_CreateThread, except the ones that are created inside NSPR or NSS,
and except for the Shutdown Watchdog thread in nsTerminator.cpp and the
CacheIO thread. The Shutdown Watchdog thread stays alive past leak detection
during shutdown (by design), so we'd report leaks if we profiled it. The
CacheIO thread seems to stay alive past shutdown leak detection sometimes as
well.

This adds a AutoProfilerRegister stack class for easy registering and
unregistering. There are a few places where we still call
profiler_register_thread() and profiler_unregister_thread() manually, either
because registration happens conditionally, or because there is a variable that
gets put on the stack before the AutoProfilerRegister (e.g. a dynamically
generated thread name). AutoProfilerRegister needs to be the first object on
the stack because it uses its own `this` pointer as the stack top address.

MozReview-Commit-ID: 3vwhS55Yzt

--HG--
extra : rebase_source : 56dd27282e7bd09a7e7dc7ca09ccfe3a0198e7af
2017-01-05 16:34:26 +01:00
Markus Stange 927eee33e9 Bug 1323100 - Stop double-registering the Media_Encoder thread with the profiler. r=froydnj
MozReview-Commit-ID: 8TQMVhbw13s

--HG--
extra : rebase_source : b2a55afe65d9a68d1d20d08806cb016ce040d044
2016-12-21 23:06:56 +01:00
Markus Stange 942cdc08a8 Bug 1323100 - Stop double-registering the MediaStreamGraph thread with the profiler. r=froydnj
MozReview-Commit-ID: 7WxNLZpBWL4

--HG--
extra : rebase_source : 6dee759440f94e63a82c43ec295b9a6e9c020d21
2016-12-21 23:06:45 +01:00
Markus Stange 692210bd80 Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
MozReview-Commit-ID: 7W1dt2BBKJZ

--HG--
extra : rebase_source : c7e335dac2e0f02782f0eb229a7181c8d01317a2
2016-12-21 11:43:50 +01:00
Markus Stange 7a7e689099 Bug 1323100 - Use NS_NewNamedThread for the Android Audio thread. r=froydnj
MozReview-Commit-ID: IcKsOZCZVwB

--HG--
extra : rebase_source : 960388da77a8ab508f7ccf7d35289cb7ebe20606
2016-12-21 11:31:15 +01:00
Markus Stange d2dbdff4a9 Bug 1323100 - Use NS_NewNamedThread for IndexedDB threads. r=froydnj
MozReview-Commit-ID: Do4l5QL2qSG

--HG--
extra : rebase_source : ae45941a84ec25a45b796bd01d6bac48f3be6886
2016-12-21 11:26:48 +01:00
JW Wang a9218bbb8e Bug 1328811. Part 4 - remove the |mState != DECODER_STATE_SEEKING| check. r=kaku
When mState is SEEKING, DispatchDecodeTasksIfNeeded() is a no-op.

MozReview-Commit-ID: 3sV6RdUwFBV

--HG--
extra : rebase_source : 12f01ab491b5f4326b08b44dd0789139db174d99
extra : source : 89cccddea7603912e264405040071ba0a98bf8de
2017-01-05 14:48:42 +08:00
JW Wang 0a36f808bc Bug 1328811. Part 3 - inline NeedToDecode{Audio,Video} for DispatchDecodeTasksIfNeeded is the only caller. r=kaku
MozReview-Commit-ID: H1K6LJCjk4B

--HG--
extra : rebase_source : 382293f2aa91a134b895458866cc590798d36edd
extra : source : c0971794c58515b498d93caeccf8d8932f48614f
2017-01-05 14:44:45 +08:00
JW Wang 38ceee4499 Bug 1328811. Part 2 - remove the comment that is not valid anymore. r=kaku
MozReview-Commit-ID: JxrBRtKPAau

--HG--
extra : rebase_source : d62438f5546a67bac9004c9dea74580e23b4dd62
extra : source : d0e189f19de690e1244ab22b922ff0b70fd55e60
2017-01-05 14:39:35 +08:00
JW Wang ba927c6dfe Bug 1328811. Part 1 - remove the assertion. r=kaku
http://searchfox.org/mozilla-central/rev/82ebc0c5ea45477ef4a4bfb3bbff35069bd18cee/dom/media/MediaDecoderStateMachine.cpp#2980
The if statement ensures |mState != DECODER_STATE_COMPLETED|.

MozReview-Commit-ID: CyvfXj94E8s

--HG--
extra : rebase_source : 10007fda9e4c09647a7142b77415c332a69001b3
extra : source : 5936c72d33e155a2a942602b610e6d6407f9bef6
2017-01-05 14:38:52 +08:00
JW Wang da1657f4f3 Bug 1328810 - Remove the call to DispatchDecodeTasksIfNeeded() from MDSM::StopPlayback(). r=kaku
MozReview-Commit-ID: mZL1FJmea3

--HG--
extra : rebase_source : f1c22d86d60c4078e8c9bef389d0c6f3247154f0
extra : source : ab2eb5c6f2ba7de8be8e21b1a09a2c43efeffc62
2017-01-05 14:32:53 +08:00
Sebastian Hengst 5581aa23b1 Backed out changeset 1c2a7e11fe97 (bug 1328255) for failing test_session_scroll_position.html on Android. r=backout 2017-01-06 09:47:52 +01:00
Hiroyuki Ikezoe 67f3a5ff19 Bug 1328255 - Run test_animation_performance_warning.html in a new window with enabling requestIdleCallaback pref. r=birtles
window.requestIdleCallback can not be used right after enabling its pref in the
same window object. We need to open a new window after enabling the pref.

This patch moves waitForIdleCallback from testcommon.js for preventing from
being used in other tests unintentionally.

MozReview-Commit-ID: Erm2BPnikvB

--HG--
rename : dom/animation/test/chrome/test_animation_performance_warning.html => dom/animation/test/chrome/file_animation_performance_warning.html
extra : rebase_source : 19160631c3cd7a067ac47e02bc69c7b08f0169f2
2017-01-06 07:42:58 +09:00
Wes Kocher 0f254a30d6 Merge inbound to central, a=merge
MozReview-Commit-ID: 1ij6nLf8f8s
2017-01-05 17:30:35 -08:00
Iris Hsiao 8ca3b2dc24 Backed out changeset 724fdfe8f396 (bug 1324870) 2017-01-05 12:21:31 -05:00
Geoff Brown 4fdfff0c12 Bug 1324870 - Skip test_bug803225.html and test_ext_downloads_misc.js on linux32 only, to enable taskcluster migration; r=jmaher
--HG--
extra : rebase_source : eb4c1e94381f46d54619f0a3ba65e3f5beed2221
2017-01-05 09:15:11 -07:00
JW Wang f6c88fe5f9 Bug 1328831 - Remove MDSM::DispatchAudioOffloading. r=jolin
MozReview-Commit-ID: JVJOpmUHNp6

--HG--
extra : rebase_source : 7bcca5c52938b9e429c1e1833500bd85b64dc229
2017-01-05 17:38:17 +08:00
JW Wang 12437440a3 Bug 1328547. part 3 - inline NeedToDecode{Audio,Video} and remove some checks. r=kaku
1. |mState != DECODER_STATE_SEEKING| is true in DecodingState.
2. mSentFirstFrameLoadedEvent is true in DecodingState.
3. mMinimizePreroll is false because pop events fire only after MDSM starts playing.

MozReview-Commit-ID: FTkXmtEnzY5

--HG--
extra : rebase_source : 30392be881ebdb96469189a584a57b89d60cc2b4
2017-01-04 17:23:28 +08:00
JW Wang 55f78f10f6 Bug 1328547. part 2 - remove checks for IsShutdown() which is false in DecodingState. r=kaku
MozReview-Commit-ID: CmU79bt4XoR

--HG--
extra : rebase_source : 4580449f41a23924d887ff4f1d28cecf0ed77ee9
2017-01-04 17:13:49 +08:00
JW Wang 7bbc498596 Bug 1328547. part 1 - Move MDSM::Dispatch{Audio,Video}DecodeTaskIfNeeded into DecodingState. r=kaku
MozReview-Commit-ID: I2gT77VHutm

--HG--
extra : rebase_source : 39daa2eb03b780cd44e8e461d90ea38c5f163394
2017-01-04 17:10:37 +08:00