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

Issue 2047433003: Update autoplay settings when moving media elements between documents (Closed)

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

Description

Update autoplay settings when moving media elements between documents BUG=617098 Committed: https://crrev.com/21d18f7782b3105e0b3efe16ae5e07f450cf2d33 Cr-Commit-Position: refs/heads/master@{#398852}

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed comments, added layout tests #

Total comments: 6

Patch Set 3 : fixed layout tests #

Total comments: 4

Patch Set 4 : fixed nits in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/media/autoplay-document-move.html View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Zhiqiang Zhang (Slow)
4 years, 6 months ago (2016-06-06 17:36:07 UTC) #2
mlamouri (slow - plz ping)
https://codereview.chromium.org/2047433003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2047433003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode493 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:493: || m_autoplayHelper->isExperimentEnabled()) { I think you should do something ...
4 years, 6 months ago (2016-06-07 15:40:28 UTC) #3
Zhiqiang Zhang (Slow)
PTAL. Addressed comments and added layout tests. https://codereview.chromium.org/2047433003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2047433003/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode493 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:493: || m_autoplayHelper->isExperimentEnabled()) ...
4 years, 6 months ago (2016-06-07 17:02:40 UTC) #4
mlamouri (slow - plz ping)
Thanks! look good with a couple of changes to the test. Nice idea to have ...
4 years, 6 months ago (2016-06-07 19:59:02 UTC) #5
Zhiqiang Zhang (Slow)
PTAL. Fixed tests. https://codereview.chromium.org/2047433003/diff/20001/third_party/WebKit/LayoutTests/media/autoplay/autoplay-document-move.html File third_party/WebKit/LayoutTests/media/autoplay/autoplay-document-move.html (right): https://codereview.chromium.org/2047433003/diff/20001/third_party/WebKit/LayoutTests/media/autoplay/autoplay-document-move.html#newcode10 third_party/WebKit/LayoutTests/media/autoplay/autoplay-document-move.html:10: test(function() { On 2016/06/07 19:59:01, Mounir ...
4 years, 6 months ago (2016-06-08 16:11:57 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2047433003/60001
4 years, 6 months ago (2016-06-08 16:12:09 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-08 20:41:23 UTC) #11
mlamouri (slow - plz ping)
lgtm with change to test file https://codereview.chromium.org/2047433003/diff/60001/third_party/WebKit/LayoutTests/media/autoplay-document-move.html File third_party/WebKit/LayoutTests/media/autoplay-document-move.html (right): https://codereview.chromium.org/2047433003/diff/60001/third_party/WebKit/LayoutTests/media/autoplay-document-move.html#newcode25 third_party/WebKit/LayoutTests/media/autoplay-document-move.html:25: function(e) { v.play().then( ...
4 years, 6 months ago (2016-06-09 10:57:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2047433003/80001
4 years, 6 months ago (2016-06-09 11:20:00 UTC) #15
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2047433003/diff/60001/third_party/WebKit/LayoutTests/media/autoplay-document-move.html File third_party/WebKit/LayoutTests/media/autoplay-document-move.html (right): https://codereview.chromium.org/2047433003/diff/60001/third_party/WebKit/LayoutTests/media/autoplay-document-move.html#newcode25 third_party/WebKit/LayoutTests/media/autoplay-document-move.html:25: function(e) { On 2016/06/09 10:57:58, Mounir Lamouri (slow) wrote: ...
4 years, 6 months ago (2016-06-09 11:20:18 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 6 months ago (2016-06-09 12:42:34 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 12:45:00 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/21d18f7782b3105e0b3efe16ae5e07f450cf2d33
Cr-Commit-Position: refs/heads/master@{#398852}

Powered by Google App Engine
This is Rietveld 408576698