Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index 93c5e2bfc4f567a70b5f452c1cb989ca0138f863..57b7fc25cd685ac6f5153f6eda76892fdfd2705f 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -373,7 +373,7 @@ String HTMLCanvasElement::toEncodingMimeType(const String& mimeType) |
String HTMLCanvasElement::toDataURL(const String& mimeType, const double* quality, ExceptionState& exceptionState) |
{ |
if (!m_originClean) { |
- exceptionState.throwSecurityError(ExceptionMessages::failedToExecute("toDataURL", "HTMLCanvasElement", "tainted canvases may not be exported.")); |
+ exceptionState.throwSecurityError("tainted canvases may not be exported."); |
Mike West
2013/11/29 08:26:45
Nit: If you're changing this anyway, can you capit
sof
2013/11/29 08:58:03
Done, and same for the other taint-related error m
|
return String(); |
} |