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

Unified Diff: third_party/WebKit/Source/modules/mediasession/MediaMetadataSanitizer.cpp

Issue 2552283003: Allow Blob image src to be used as MediaNotification artwork (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/media/session/media_metadata_sanitizer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/mediasession/MediaMetadataSanitizer.cpp
diff --git a/third_party/WebKit/Source/modules/mediasession/MediaMetadataSanitizer.cpp b/third_party/WebKit/Source/modules/mediasession/MediaMetadataSanitizer.cpp
index b2fc7480364797f2cbe1b6146015d07e79b742bd..d079eee2b1ddafbcfd7352b4ba301eb445d67e11 100644
--- a/third_party/WebKit/Source/modules/mediasession/MediaMetadataSanitizer.cpp
+++ b/third_party/WebKit/Source/modules/mediasession/MediaMetadataSanitizer.cpp
@@ -39,10 +39,10 @@ bool checkMediaImageSrcSanity(const KURL& src, ExecutionContext* context) {
return false;
if (!src.protocolIs(url::kHttpScheme) && !src.protocolIs(url::kHttpsScheme) &&
- !src.protocolIs(url::kDataScheme)) {
+ !src.protocolIs(url::kDataScheme) && !src.protocolIs(url::kBlobScheme)) {
context->addConsoleMessage(ConsoleMessage::create(
JSMessageSource, WarningMessageLevel,
- "MediaImage src can only be of http/https/data scheme: " +
+ "MediaImage src can only be of http/https/data/blob scheme: " +
src.getString()));
return false;
}
« no previous file with comments | « content/browser/media/session/media_metadata_sanitizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698