| Index: third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| index 4da9bf0140fbdf5c812882a35fdf014531c36a8d..724455e23a63664b1d375eef5eb4f698e27093e5 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| @@ -84,7 +84,7 @@ PresentationRequest* PresentationRequest::create(
|
| for (size_t i = 0; i < urls.size(); ++i) {
|
| const KURL& parsedUrl = KURL(executionContext->url(), urls[i]);
|
|
|
| - if (!parsedUrl.isValid() || parsedUrl.protocolIsAbout()) {
|
| + if (!parsedUrl.isValid() || !parsedUrl.protocolIsInHTTPFamily()) {
|
| exceptionState.throwDOMException(
|
| SyntaxError, "'" + urls[i] + "' can't be resolved to a valid URL.");
|
| return nullptr;
|
|
|