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

Unified Diff: LayoutTests/fast/css/CSSPrimitiveValue-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
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontface-properties.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/CSSPrimitiveValue-exceptions-expected.txt
diff --git a/LayoutTests/fast/css/CSSPrimitiveValue-exceptions-expected.txt b/LayoutTests/fast/css/CSSPrimitiveValue-exceptions-expected.txt
index dc948fe1abe0b394e23ca0d1187223a9afadd5f6..57a6ff2342f35891ca6b2f9e153ea5a45b249c94 100644
--- a/LayoutTests/fast/css/CSSPrimitiveValue-exceptions-expected.txt
+++ b/LayoutTests/fast/css/CSSPrimitiveValue-exceptions-expected.txt
@@ -3,24 +3,24 @@ This tests that the methods on CSSPrimitiveValue throw exceptions
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_HZ) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_S) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_RAD) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS_PX) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS_DEG) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_HZ) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_S) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_RAD) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_PERCENTAGE) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS_PX) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS_DEG) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
PASS div.style.getPropertyCSSValue('clip').primitiveType is CSSPrimitiveValue.CSS_RECT
-PASS div.style.getPropertyCSSValue('clip').getFloatValue(CSSPrimitiveValue.CSS_PX) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('clip').getStringValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('clip').getCounterValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('clip').getRGBColorValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS div.style.getPropertyCSSValue('clip').getFloatValue(CSSPrimitiveValue.CSS_PX) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('clip').getStringValue() threw exception InvalidAccessError: Failed to execute 'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represented as a string..
+PASS div.style.getPropertyCSSValue('clip').getCounterValue() threw exception InvalidAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value..
+PASS div.style.getPropertyCSSValue('clip').getRGBColorValue() threw exception InvalidAccessError: Failed to execute 'getRGBColorValue' on 'CSSPrimitiveValue': This object is not an RGB color value..
PASS div.style.getPropertyCSSValue('color').primitiveType is CSSPrimitiveValue.CSS_RGBCOLOR
-PASS div.style.getPropertyCSSValue('color').getFloatValue(CSSPrimitiveValue.CSS_PX) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('color').getStringValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('color').getCounterValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
-PASS div.style.getPropertyCSSValue('color').getRectValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
+PASS div.style.getPropertyCSSValue('color').getFloatValue(CSSPrimitiveValue.CSS_PX) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
+PASS div.style.getPropertyCSSValue('color').getStringValue() threw exception InvalidAccessError: Failed to execute 'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represented as a string..
+PASS div.style.getPropertyCSSValue('color').getCounterValue() threw exception InvalidAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value..
+PASS div.style.getPropertyCSSValue('color').getRectValue() threw exception InvalidAccessError: Failed to execute 'getRectValue' on 'CSSPrimitiveValue': This object is not a rect value..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontface-properties.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698