6fde5f7aae5fd9fc5e692f93baa732ecff344e61: Bug 1301426 part 7 - test case 6; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Tue, 11 Oct 2016 15:25:18 +0800 - rev 446367
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 7 - test case 6; r?jwwang Case: invoke play() on an element which had its source changed (to a valid source) after suffering from an error. Expected result: resolve the promise. MozReview-Commit-ID: 9ZxT7TRVR6v
6c49bec80a4b36bc8d4e1a4fcff6a2ab1a946093: Bug 1301426 part 6 - test case 5; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Tue, 11 Oct 2016 15:25:05 +0800 - rev 446366
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 6 - test case 5; r?jwwang Case: invoke play() on an element with MEDIA_ERR_SRC_NOT_SUPPORTED has been set. Expected result: reject the promise. MozReview-Commit-ID: Bp4Ng6gKUa1
22e7988be088f04ce3cba76c0f86115744ff2e9a: Bug 1301426 part 5 - test case 4; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Tue, 11 Oct 2016 15:24:50 +0800 - rev 446365
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 5 - test case 4; r?jwwang Case: invoke play() on an element with an unsupported content. Expected result: reject the promis.e MozReview-Commit-ID: 1zZc0PhBmAD
2310f9f600d58f9788a5750f0749bea823c6952f: Bug 1301426 part 4 - test case 3; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Tue, 11 Oct 2016 15:24:36 +0800 - rev 446364
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 4 - test case 3; r?jwwang Case: invoke play() on an element that is already playing. Expected result: resolve the promise. MozReview-Commit-ID: 83IbJNF7Rzd
be9543fde006e20849774431abbc8e7d4ec1a7d7: Bug 1301426 part 3 - test case 2; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Fri, 09 Sep 2016 02:01:46 +0800 - rev 446363
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 3 - test case 2; r?jwwang Case: invoke play() on an element that has enough data Expected result: resolve the promise MozReview-Commit-ID: JAloJxN933Z
2187b854707e1a909a8d9d20fae941d04f17406b: Bug 1301426 part 2 - test case 1; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Fri, 09 Sep 2016 02:00:41 +0800 - rev 446362
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 2 - test case 1; r?jwwang Case: invoke play() on an element that doesn't have enough data Expected result: resolve the promise MozReview-Commit-ID: 7bUs8cy5Fkv
675aec0cb32f180df8b85e067584bb1b89c2f43a: Bug 1301426 part 1 - implement helper functions; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Tue, 11 Oct 2016 15:21:19 +0800 - rev 446361
Push 37778 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:25:32 +0000
Bug 1301426 part 1 - implement helper functions; r?jwwang MozReview-Commit-ID: DL16hNeT8r2
9efc3c2541d9dbdc1bd2bb212a6a7a8ecc816f22: Bug 1244768 part 10 - enable web-platform test; r?jwwang draft
Kaku Kuo <kaku@mozilla.com> - Thu, 24 Nov 2016 15:41:18 +0800 - rev 446360
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 10 - enable web-platform test; r?jwwang MozReview-Commit-ID: CQShLVRgrHb
25705af5dd38f1f5504d39896568c3eb7cd5e3f7: Bug 1244768 part 9 - modify the play() method; r?jwwang, bz, alwu draft
Kaku Kuo <kaku@mozilla.com> - Thu, 01 Dec 2016 14:54:33 +0800 - rev 446359
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 9 - modify the play() method; r?jwwang, bz, alwu 4.8.12.8 https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-play MozReview-Commit-ID: 5r4xOIQwOEr
a6266aced6f74cf3c643ab0e84816716ee8e0a16: Bug 1244768 part 8 - extract the HTMLMediaElement::CreateDOMPromise() utility; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Mon, 08 Aug 2016 16:53:20 +0800 - rev 446358
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 8 - extract the HTMLMediaElement::CreateDOMPromise() utility; r?jwwang MozReview-Commit-ID: 28NopfA8lgV
317ad6a3e65887809451cf99a3709f6b250ff5e5: Bug 1244768 part 7 - refactor the Play() and PlayInternal() methods; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Mon, 08 Aug 2016 14:52:00 +0800 - rev 446357
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 7 - refactor the Play() and PlayInternal() methods; r?jwwang MozReview-Commit-ID: CP00vERdWMv
2b6c279e594ef8d990eff958668adf3891b34920: Bug 1244768 part 6 - modify the internal pause steps; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Thu, 18 Aug 2016 20:05:13 +0800 - rev 446356
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 6 - modify the internal pause steps; r?jwwang 4.8.12.8 https://html.spec.whatwg.org/multipage/embedded-content.html#internal-pause-steps MozReview-Commit-ID: Dt0VVbXLrhw
f6a3239fdcc228c5c792691477a540b2c8f2f14d: Bug 1244768 part 5 - reject pending play promises while the playback reaching the end; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Fri, 19 Aug 2016 11:52:04 +0800 - rev 446355
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 5 - reject pending play promises while the playback reaching the end; r?jwwang 4.8.12.8 https://html.spec.whatwg.org/multipage/embedded-content.html#dom-media-ended MozReview-Commit-ID: H7Tw0XGzpW0
d45393c22d3865fb30b1d1f257f4317081995e99: Bug 1244768 part 4 - call NotifyAboutPlaying() while ready state is changed; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Fri, 05 Aug 2016 16:42:31 +0800 - rev 446354
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 4 - call NotifyAboutPlaying() while ready state is changed; r?jwwang 4.8.12.7 https://html.spec.whatwg.org/multipage/embedded-content.html#ready-states MozReview-Commit-ID: 1RUIU6Rw2SF
8408b4dc82b7a0399a6dcfe1728de398a17b4dbb: Bug 1244768 part 3 - modify the resource selection algorithm; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Thu, 18 Aug 2016 20:04:27 +0800 - rev 446353
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 3 - modify the resource selection algorithm; r?jwwang 4.8.12.5 https://html.spec.whatwg.org/multipage/embedded-content.html#concept-media-load-algorithm https://html.spec.whatwg.org/multipage/embedded-content.html#dedicated-media-source-failure-steps MozReview-Commit-ID: DKFQC4v92Vi
d7ae3aef956d70dd563d87f2138be13caf86d688: Bug 1244768 part 2 - modify media element load algorith; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Thu, 18 Aug 2016 20:03:48 +0800 - rev 446352
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 2 - modify media element load algorith; r?jwwang 4.8.12.5 https://html.spec.whatwg.org/multipage/embedded-content.html#media-element-load-algorithim The living WHATWG spec has been changed since I implemented this patch. Will update to the latest spec later. MozReview-Commit-ID: 7U1AC2Ua83Z
576a3290ad753a0d148a7676b236cb2a62282ef8: Bug 1244768 part 1 - implement utilities which are the foundation of promise-based play operation; r?jwwang draft
Kaku Kuo <tkuo@mozilla.com> - Thu, 06 Oct 2016 17:58:01 +0800 - rev 446351
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1244768 part 1 - implement utilities which are the foundation of promise-based play operation; r?jwwang In this patch, the following utilities are implemented: (1) A list to keep pending promises of a HTMLMediaElement. (2) A method to take pending promises out from the HTMLMediaElement. (3) A global function to resolve the passed promises. (4) A global function to reject the passed promises with an error code. (5) A method to asynchronously resolve all pending promises of a HTMLMediaElement. (6) A method to asynchronously reject all pending promises of a HTMLMediaElement. (7) A method to dispatch a 'playing' event and resolve all the pending play promises. All the above functionalities are defined at WHATWG 4.8.12.8: https://html.spec.whatwg.org/multipage/embedded-content.html#list-of-pending-play-promises This patch also implements two MediaEvent classes, nsResolveOrRejectPendingPlayPromisesRunner and nsNotifyAboutPlayingRunner, which help (5), (6) and (7). This patch also implements a list of already-dispatched nsResolveOrRejectPendingPlayPromisesRunner; we keep tracing these tasks because the load algorithm resolves/rejects all already-dispatched pending play promises (in patch 2). MozReview-Commit-ID: EUirNqDfttk
d5267377a9b591532623e91ff299e4b2fed3ec40: Bug 1321196 part 2 - rework the IsAllowedToPlay policy; r?jwwang, alwu draft
Kaku Kuo <kaku@mozilla.com> - Wed, 30 Nov 2016 16:01:36 +0800 - rev 446350
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1321196 part 2 - rework the IsAllowedToPlay policy; r?jwwang, alwu MozReview-Commit-ID: 8mrXoLRK42y
6cb4efd6447227ade065b1cad3bf1b206d720be8: Bug 1321196 part 1 - typo correction; r?alwu draft
Kaku Kuo <kaku@mozilla.com> - Wed, 30 Nov 2016 14:43:41 +0800 - rev 446349
Push 37777 by bmo:kaku@mozilla.com at Thu, 01 Dec 2016 09:24:28 +0000
Bug 1321196 part 1 - typo correction; r?alwu MozReview-Commit-ID: 4EodGXfjb8i
9e79c435233a108c179ae28698b84efb1dfe056f: Bug 1320364 - Correct NS_ASSERTION failure condition in GetPreEffectsVisualOverflowRect. draft
cku <cku@mozilla.com> - Mon, 28 Nov 2016 16:26:34 +0800 - rev 446348
Push 37776 by bmo:cku@mozilla.com at Thu, 01 Dec 2016 09:22:36 +0000
Bug 1320364 - Correct NS_ASSERTION failure condition in GetPreEffectsVisualOverflowRect. MozReview-Commit-ID: 4675cFLehK4
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip