Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Issue 2199363002: Change play promises behaviour in the load algorithm. (Closed)

Created:
4 years, 4 months ago by mlamouri (slow - plz ping)
Modified:
4 years, 4 months ago
Reviewers:
foolip
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change play promises behaviour in the load algorithm. This is implementing the changes from the following whatwg/html PR: https://github.com/whatwg/html/pull/1621 BUG=592158, 630622 R=foolip@chromium.org Committed: https://crrev.com/e2c683031c305abcb6dab162832f95fa9b71545e Cr-Commit-Position: refs/heads/master@{#409793}

Patch Set 1 #

Total comments: 5

Patch Set 2 : review comments #

Total comments: 10

Patch Set 3 : nits + ordering tests #

Patch Set 4 : make it match the spec #

Total comments: 4

Patch Set 5 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -27 lines) Patch
M third_party/WebKit/LayoutTests/media/media-play-promise.html View 1 2 3 4 2 chunks +93 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 4 chunks +45 lines, -25 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
mlamouri (slow - plz ping)
PTAL
4 years, 4 months ago (2016-08-02 15:39:28 UTC) #3
foolip
https://codereview.chromium.org/2199363002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2199363002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode818 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:818: UseCounter::count(document(), UseCounter::HTMLMediaElementLoadNetworkEmptyNotPaused); Can you remove this counter (also from ...
4 years, 4 months ago (2016-08-03 14:32:56 UTC) #6
mlamouri (slow - plz ping)
PTAL https://codereview.chromium.org/2199363002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2199363002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode818 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:818: UseCounter::count(document(), UseCounter::HTMLMediaElementLoadNetworkEmptyNotPaused); On 2016/08/03 at 14:32:56, foolip wrote: ...
4 years, 4 months ago (2016-08-03 15:57:56 UTC) #7
foolip
lgtm % nits, feel free to land once the spec change is merged and any ...
4 years, 4 months ago (2016-08-03 16:31:51 UTC) #10
mlamouri (slow - plz ping)
I've added ordering tests. https://codereview.chromium.org/2199363002/diff/20001/third_party/WebKit/LayoutTests/media/media-play-promise.html File third_party/WebKit/LayoutTests/media/media-play-promise.html (right): https://codereview.chromium.org/2199363002/diff/20001/third_party/WebKit/LayoutTests/media/media-play-promise.html#newcode242 third_party/WebKit/LayoutTests/media/media-play-promise.html:242: assert_false(audio.paused); On 2016/08/03 at 16:31:51, ...
4 years, 4 months ago (2016-08-04 11:16:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2199363002/60001
4 years, 4 months ago (2016-08-04 13:35:29 UTC) #19
foolip
Feel free to let this continue through CQ and send a follow-up (or not, if ...
4 years, 4 months ago (2016-08-04 13:47:37 UTC) #20
mlamouri (slow - plz ping)
https://codereview.chromium.org/2199363002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2199363002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode769 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:769: // resolve or reject those promises in the order ...
4 years, 4 months ago (2016-08-04 14:25:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2199363002/80001
4 years, 4 months ago (2016-08-04 14:26:14 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-04 15:32:53 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 15:35:14 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e2c683031c305abcb6dab162832f95fa9b71545e
Cr-Commit-Position: refs/heads/master@{#409793}

Powered by Google App Engine
This is Rietveld 408576698