| Index: Source/core/html/canvas/WebGLRenderingContext.cpp
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp
|
| index 8414f04da664c3cf019c78651868296215a887b9..f07d13012ee573dd13cc7b07d97c9c5f8551efdc 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContext.cpp
|
| +++ b/Source/core/html/canvas/WebGLRenderingContext.cpp
|
| @@ -5146,7 +5146,7 @@ bool WebGLRenderingContext::validateHTMLImageElement(const char* functionName, H
|
| return false;
|
| }
|
| if (wouldTaintOrigin(image)) {
|
| - exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "the cross-origin image at " + url.elidedString() + " may not be loaded."));
|
| + exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "The cross-origin image at " + url.elidedString() + " may not be loaded."));
|
| return false;
|
| }
|
| return true;
|
| @@ -5159,7 +5159,7 @@ bool WebGLRenderingContext::validateHTMLCanvasElement(const char* functionName,
|
| return false;
|
| }
|
| if (wouldTaintOrigin(canvas)) {
|
| - exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "tainted canvases may not be loaded."));
|
| + exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "Tainted canvases may not be loaded."));
|
| return false;
|
| }
|
| return true;
|
| @@ -5172,7 +5172,7 @@ bool WebGLRenderingContext::validateHTMLVideoElement(const char* functionName, H
|
| return false;
|
| }
|
| if (wouldTaintOrigin(video)) {
|
| - exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "the video element contains cross-origin data, and may not be loaded."));
|
| + exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "The video element contains cross-origin data, and may not be loaded."));
|
| return false;
|
| }
|
| return true;
|
|
|