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

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

Issue 128043003: Improve core/css exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 11 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 471a16164a2c9aef8b0e52f3e16476063ffc313b..c9280839b8de1f0b338b2bcf523805ef74c5b02c 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 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.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS left.getStringValue() threw exception InvalidAccessError: Failed to execute 'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represented as a string..
+PASS left.getCounterValue() threw exception InvalidAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value..
+PASS left.getRectValue() threw exception InvalidAccessError: Failed to execute 'getRectValue' on 'CSSPrimitiveValue': This object is not a rect value..
+PASS left.getRGBColorValue() threw exception InvalidAccessError: Failed to execute 'getRGBColorValue' on 'CSSPrimitiveValue': This object is not an RGB color value..
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 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.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception NoModificationAllowedError: Failed to execute 'setStringValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception NoModificationAllowedError: Failed to execute 'setStringValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception NoModificationAllowedError: Failed to execute 'setStringValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception NoModificationAllowedError: Failed to execute 'setStringValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception NoModificationAllowedError: Failed to execute 'setStringValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS fontFamily.getFloatValue() threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS fontFamily.getCounterValue() threw exception InvalidAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value..
+PASS fontFamily.getRectValue() threw exception InvalidAccessError: Failed to execute 'getRectValue' on 'CSSPrimitiveValue': This object is not a rect value..
+PASS fontFamily.getRGBColorValue() threw exception InvalidAccessError: Failed to execute 'getRGBColorValue' on 'CSSPrimitiveValue': This object is not an RGB color value..
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 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.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue': CSSPrimitiveValue objects are read-only..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS left.getStringValue() threw exception InvalidAccessError: Failed to execute 'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represented as a string..
+PASS left.getCounterValue() threw exception InvalidAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value..
+PASS left.getRectValue() threw exception InvalidAccessError: Failed to execute 'getRectValue' on 'CSSPrimitiveValue': This object is not a rect value..
+PASS left.getRGBColorValue() threw exception InvalidAccessError: Failed to execute 'getRGBColorValue' on 'CSSPrimitiveValue': This object is not an RGB color value..
PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
« no previous file with comments | « LayoutTests/fast/dom/Window/custom-constructors-expected.txt ('k') | LayoutTests/fast/dom/setPrimitiveValue-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698