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

Issue 2440163002: Cleanup WebMIMERegistry implementation and fix LinkLoader behavior (Closed)

Created:
4 years, 2 months ago by kinuko
Modified:
4 years, 1 month ago
Reviewers:
Yoav Weiss
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tyoshino+watch_chromium.org, gavinp+prerender_chromium.org, jam, loading-reviews_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, Nate Chapin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup WebMIMERegistry implementation and fix LinkLoader behavior - Now that content/child can also depend on media just implement media related mime methods in SimpleWebMIMERegistry and remove renderer-only overrides. - LinkLoader should use supportsMediaMIMEType rather than supportsMediaSourceMIMEType in as=media cases, as the latter is for MediaSource extension and always fails if empty codecs string is given (and that was what happening in the real renderer case) BUG=658628 TEST=http/tests/preload/preload_with_type.html TEST=LinkLoaderTest.Preload Committed: https://crrev.com/a7d224439f14b05798771fdf327fae51ae420664 Cr-Commit-Position: refs/heads/master@{#427037}

Patch Set 1 #

Patch Set 2 : minor fix #

Total comments: 1

Patch Set 3 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -40 lines) Patch
M content/child/simple_webmimeregistry_impl.cc View 1 2 chunks +12 lines, -6 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 2 chunks +0 lines, -29 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/preload/preload_with_type.html View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/resources/test.wav View 1 2 Binary file 0 comments Download
A + third_party/WebKit/LayoutTests/http/tests/resources/test.webm View 1 2 Binary file 0 comments Download
M third_party/WebKit/Source/core/loader/LinkLoader.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/MIMETypeRegistry.h View 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/MIMETypeRegistry.cpp View 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
kinuko
Yoav, can you take a look? https://codereview.chromium.org/2440163002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right): https://codereview.chromium.org/2440163002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode238 third_party/WebKit/Source/core/loader/LinkLoader.cpp:238: const String& mimeType) ...
4 years, 2 months ago (2016-10-21 17:32:55 UTC) #5
Yoav Weiss
On 2016/10/21 17:32:55, kinuko wrote: > Yoav, can you take a look? > > https://codereview.chromium.org/2440163002/diff/20001/third_party/WebKit/Source/core/loader/LinkLoader.cpp ...
4 years, 2 months ago (2016-10-23 14:57:49 UTC) #8
kinuko
On 2016/10/23 14:57:49, Yoav Weiss wrote: > On 2016/10/21 17:32:55, kinuko wrote: > > Yoav, ...
4 years, 1 month ago (2016-10-24 03:11:03 UTC) #12
Yoav Weiss
On 2016/10/24 03:11:03, kinuko wrote: > On 2016/10/23 14:57:49, Yoav Weiss wrote: > > On ...
4 years, 1 month ago (2016-10-24 07:10:41 UTC) #15
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/2440163002/40001
4 years, 1 month ago (2016-10-24 09:48:07 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-24 10:03:03 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-10-24 10:05:43 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a7d224439f14b05798771fdf327fae51ae420664
Cr-Commit-Position: refs/heads/master@{#427037}

Powered by Google App Engine
This is Rietveld 408576698