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

Issue 2476943002: Ensure video poster preloads use the crossorigin attribute (Closed)

Created:
4 years, 1 month ago by Charlie Harrison
Modified:
4 years, 1 month ago
Reviewers:
Yoav Weiss
CC:
chromium-reviews, Yoav Weiss, posciak+watch_chromium.org, blink-reviews-html_chromium.org, loading-reviews+parser_chromium.org, dglazkov+blink, blink-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure video poster preloads use the crossorigin attribute Previously, the preload request is sent out no-cors even if crossorigin attribute is present. BUG=658575 Committed: https://crrev.com/b5132796d548ab65d4b537f03f72969b93217833 Cr-Commit-Position: refs/heads/master@{#429988}

Patch Set 1 #

Patch Set 2 : Remove empty script block (trybots previous) #

Total comments: 4

Patch Set 3 : add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLPreloadScanner.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Charlie Harrison
Yoav, PTAL. Looks like the other preloads got this check except for posters.
4 years, 1 month ago (2016-11-04 14:58:17 UTC) #4
Yoav Weiss
Code change looks good (probably an omission when we added poster support). I don't really ...
4 years, 1 month ago (2016-11-04 16:07:37 UTC) #5
Charlie Harrison
https://codereview.chromium.org/2476943002/diff/20001/third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html File third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html (right): https://codereview.chromium.org/2476943002/diff/20001/third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html#newcode8 third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html:8: assert_equals(entries.length, 0); On 2016/11/04 16:07:37, Yoav Weiss wrote: > ...
4 years, 1 month ago (2016-11-04 16:11:32 UTC) #6
Yoav Weiss
https://codereview.chromium.org/2476943002/diff/20001/third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html File third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html (right): https://codereview.chromium.org/2476943002/diff/20001/third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html#newcode8 third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html:8: assert_equals(entries.length, 0); On 2016/11/04 16:11:32, Charlie Harrison wrote: > ...
4 years, 1 month ago (2016-11-04 16:45:30 UTC) #7
Charlie Harrison
https://codereview.chromium.org/2476943002/diff/20001/third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html File third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html (right): https://codereview.chromium.org/2476943002/diff/20001/third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html#newcode8 third_party/WebKit/LayoutTests/http/tests/preload/preload-video-cors.html:8: assert_equals(entries.length, 0); On 2016/11/04 16:45:30, Yoav Weiss wrote: > ...
4 years, 1 month ago (2016-11-04 17:20:16 UTC) #10
Yoav Weiss
LGTM!
4 years, 1 month ago (2016-11-04 19:11:10 UTC) #11
Charlie Harrison
Thanks :)
4 years, 1 month ago (2016-11-04 19:12:27 UTC) #12
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/2476943002/40001
4 years, 1 month ago (2016-11-04 19:12:47 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-04 20:04:13 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 20:05:55 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b5132796d548ab65d4b537f03f72969b93217833
Cr-Commit-Position: refs/heads/master@{#429988}

Powered by Google App Engine
This is Rietveld 408576698