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

Issue 1495533002: Robustify state-transitions in HTMLMediaElement::startDeferredLoad (Closed)

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

Description

Robustify state-transitions in HTMLMediaElement::startDeferredLoad A preload=none load() followed by setting preload != none would try to transition to ExecuteOnStopDelayingLoadEventTask while in that state already. BUG=562535 Committed: https://crrev.com/53c068ead66acd3d858a1a6bb8ef66ccf61bea1d Cr-Commit-Position: refs/heads/master@{#362735}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Smaller TC. #

Patch Set 3 : Fix expectation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html View 1 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash-expected.txt View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
fs
5 years ago (2015-12-02 13:32:23 UTC) #2
philipj_slow
lgtm w/ nits https://codereview.chromium.org/1495533002/diff/1/third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html File third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html (right): https://codereview.chromium.org/1495533002/diff/1/third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html#newcode12 third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html:12: document.addEventListener('DOMContentLoaded', function() { Any particular reason ...
5 years ago (2015-12-02 13:41:14 UTC) #3
fs
Simplified the test some more. https://codereview.chromium.org/1495533002/diff/1/third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html File third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html (right): https://codereview.chromium.org/1495533002/diff/1/third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html#newcode14 third_party/WebKit/LayoutTests/media/video-preload-none-to-metadata-after-load-crash.html:14: video.load(); On 2015/12/02 at ...
5 years ago (2015-12-02 14:50:49 UTC) #4
philipj_slow
lgtm
5 years ago (2015-12-02 14:53:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1495533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1495533002/20001
5 years ago (2015-12-02 14:54:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1495533002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1495533002/40001
5 years ago (2015-12-02 16:35:08 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-02 17:12:11 UTC) #11
commit-bot: I haz the power
5 years ago (2015-12-02 17:13:39 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/53c068ead66acd3d858a1a6bb8ef66ccf61bea1d
Cr-Commit-Position: refs/heads/master@{#362735}

Powered by Google App Engine
This is Rietveld 408576698