| 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..4af02fa66a3aaa094b47da3ae212f912cf8e54ee 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| @@ -92,9 +92,9 @@ PresentationRequest* PresentationRequest::create(
|
|
|
| if (MixedContentChecker::isMixedContent(
|
| executionContext->getSecurityOrigin(), parsedUrl)) {
|
| - exceptionState.throwDOMException(
|
| - SecurityError, "Presentation of an insecure document [" + urls[i] +
|
| - "] is prohibited from a secure context.");
|
| + exceptionState.throwSecurityError(
|
| + "Presentation of an insecure document [" + urls[i] +
|
| + "] is prohibited from a secure context.");
|
| return nullptr;
|
| }
|
|
|
|
|