Chromium Code Reviews

Unified Diff: Source/core/html/canvas/WebGLRenderingContext.cpp

Issue 80363002: Fix spelling in tainted canvas error message. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLRenderingContext.cpp
diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp
index 028055100558ca1c115991e69e459b28d6a4d8d7..21b3fe59f2c053bbaafc41abc7f096de587487fe 100644
--- a/Source/core/html/canvas/WebGLRenderingContext.cpp
+++ b/Source/core/html/canvas/WebGLRenderingContext.cpp
@@ -5162,7 +5162,7 @@ bool WebGLRenderingContext::validateHTMLCanvasElement(const char* functionName,
return false;
}
if (wouldTaintOrigin(canvas)) {
- exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "tainted canvases may not be loded."));
+ exceptionState.throwSecurityError(ExceptionMessages::failedToExecute(functionName, "WebGLRenderingContext", "tainted canvases may not be loaded."));
return false;
}
return true;
« no previous file with comments | « LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine