Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt
diff --git a/LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt b/LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt
index 186b9252834cddf529fb379271ce4350c1539551..471a16164a2c9aef8b0e52f3e16476063ffc313b 100644
--- a/LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt
+++ b/LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt
@@ -6,45 +6,45 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getStringValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getCounterValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getRectValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getRGBColorValue() threw exception Error: InvalidAccessError: DOM Exception 15.
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getStringValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getCounterValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getRectValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getRGBColorValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
PASS fontFamily.getStringValue() is "Times"
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS fontFamily.getFloatValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS fontFamily.getCounterValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS fontFamily.getRectValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS fontFamily.getRGBColorValue() threw exception Error: InvalidAccessError: DOM Exception 15.
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS fontFamily.getFloatValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS fontFamily.getCounterValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS fontFamily.getRectValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS fontFamily.getRGBColorValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
PASS fontFamily.getStringValue() is "Times"
PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7.
-PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getStringValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getCounterValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getRectValue() threw exception Error: InvalidAccessError: DOM Exception 15.
-PASS left.getRGBColorValue() threw exception Error: InvalidAccessError: DOM Exception 15.
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModificationAllowedError: An attempt was made to modify an object where modifications are not allowed..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getStringValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getCounterValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getRectValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS left.getRGBColorValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10

Powered by Google App Engine
This is Rietveld 408576698