Index: third_party/WebKit/Source/core/dom/DOMException.h |
diff --git a/third_party/WebKit/Source/core/dom/DOMException.h b/third_party/WebKit/Source/core/dom/DOMException.h |
index 95048672720e526805be0e9c8a0e069f7dd126a3..28aa709a430fcf5d42cbb67a5548f35e346acbd3 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMException.h |
+++ b/third_party/WebKit/Source/core/dom/DOMException.h |
@@ -55,11 +55,13 @@ class CORE_EXPORT DOMException final |
unsigned short code() const { return m_code; } |
String name() const { return m_name; } |
- // This is the message that's exposed to JavaScript: never return unsanitized data. |
+ // This is the message that's exposed to JavaScript: never return unsanitized |
+ // data. |
String message() const { return m_sanitizedMessage; } |
String toString() const; |
- // This is the message that's exposed to the console: if an unsanitized message is present, we prefer it. |
+ // This is the message that's exposed to the console: if an unsanitized |
+ // message is present, we prefer it. |
String messageForConsole() const { |
return !m_unsanitizedMessage.isEmpty() ? m_unsanitizedMessage |
: m_sanitizedMessage; |