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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/fontface-properties.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This tests that the methods on CSSPrimitiveValue throw exceptions 1 This tests that the methods on CSSPrimitiveValue throw exceptions
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ UNKNOWN) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object.. 6 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ UNKNOWN) threw exception InvalidAccessError: Failed to execute 'getFloatValue' o n 'CSSPrimitiveValue': Failed to obtain a double value..
7 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ STRING) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object.. 7 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ STRING) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to obtain a double value..
8 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ HZ) threw exception InvalidAccessError: A parameter or an operation was not supp orted by the underlying object.. 8 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ HZ) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CS SPrimitiveValue': Failed to obtain a double value..
9 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ S) threw exception InvalidAccessError: A parameter or an operation was not suppo rted by the underlying object.. 9 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ S) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSS PrimitiveValue': Failed to obtain a double value..
10 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ RAD) threw exception InvalidAccessError: A parameter or an operation was not sup ported by the underlying object.. 10 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ RAD) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'C SSPrimitiveValue': Failed to obtain a double value..
11 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ PERCENTAGE) threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object.. 11 PASS div.style.getPropertyCSSValue('width').getFloatValue(CSSPrimitiveValue.CSS_ PERCENTAGE) threw exception InvalidAccessError: Failed to execute 'getFloatValue ' on 'CSSPrimitiveValue': Failed to obtain a double value..
12 PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS _PX) threw exception InvalidAccessError: A parameter or an operation was not sup ported by the underlying object.. 12 PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS _PX) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'C SSPrimitiveValue': Failed to obtain a double value..
13 PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS _DEG) threw exception InvalidAccessError: A parameter or an operation was not su pported by the underlying object.. 13 PASS div.style.getPropertyCSSValue('height').getFloatValue(CSSPrimitiveValue.CSS _DEG) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on ' CSSPrimitiveValue': Failed to obtain a double value..
14 PASS div.style.getPropertyCSSValue('clip').primitiveType is CSSPrimitiveValue.CS S_RECT 14 PASS div.style.getPropertyCSSValue('clip').primitiveType is CSSPrimitiveValue.CS S_RECT
15 PASS div.style.getPropertyCSSValue('clip').getFloatValue(CSSPrimitiveValue.CSS_P X) threw exception InvalidAccessError: A parameter or an operation was not suppo rted by the underlying object.. 15 PASS div.style.getPropertyCSSValue('clip').getFloatValue(CSSPrimitiveValue.CSS_P X) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CSS PrimitiveValue': Failed to obtain a double value..
16 PASS div.style.getPropertyCSSValue('clip').getStringValue() threw exception Inva lidAccessError: A parameter or an operation was not supported by the underlying object.. 16 PASS div.style.getPropertyCSSValue('clip').getStringValue() threw exception Inva lidAccessError: Failed to execute 'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represented as a string..
17 PASS div.style.getPropertyCSSValue('clip').getCounterValue() threw exception Inv alidAccessError: A parameter or an operation was not supported by the underlying object.. 17 PASS div.style.getPropertyCSSValue('clip').getCounterValue() threw exception Inv alidAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': Thi s object is not a counter value..
18 PASS div.style.getPropertyCSSValue('clip').getRGBColorValue() threw exception In validAccessError: A parameter or an operation was not supported by the underlyin g object.. 18 PASS div.style.getPropertyCSSValue('clip').getRGBColorValue() threw exception In validAccessError: Failed to execute 'getRGBColorValue' on 'CSSPrimitiveValue': T his object is not an RGB color value..
19 PASS div.style.getPropertyCSSValue('color').primitiveType is CSSPrimitiveValue.C SS_RGBCOLOR 19 PASS div.style.getPropertyCSSValue('color').primitiveType is CSSPrimitiveValue.C SS_RGBCOLOR
20 PASS div.style.getPropertyCSSValue('color').getFloatValue(CSSPrimitiveValue.CSS_ PX) threw exception InvalidAccessError: A parameter or an operation was not supp orted by the underlying object.. 20 PASS div.style.getPropertyCSSValue('color').getFloatValue(CSSPrimitiveValue.CSS_ PX) threw exception InvalidAccessError: Failed to execute 'getFloatValue' on 'CS SPrimitiveValue': Failed to obtain a double value..
21 PASS div.style.getPropertyCSSValue('color').getStringValue() threw exception Inv alidAccessError: A parameter or an operation was not supported by the underlying object.. 21 PASS div.style.getPropertyCSSValue('color').getStringValue() threw exception Inv alidAccessError: Failed to execute 'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represented as a string..
22 PASS div.style.getPropertyCSSValue('color').getCounterValue() threw exception In validAccessError: A parameter or an operation was not supported by the underlyin g object.. 22 PASS div.style.getPropertyCSSValue('color').getCounterValue() threw exception In validAccessError: Failed to execute 'getCounterValue' on 'CSSPrimitiveValue': Th is object is not a counter value..
23 PASS div.style.getPropertyCSSValue('color').getRectValue() threw exception Inval idAccessError: A parameter or an operation was not supported by the underlying o bject.. 23 PASS div.style.getPropertyCSSValue('color').getRectValue() threw exception Inval idAccessError: Failed to execute 'getRectValue' on 'CSSPrimitiveValue': This obj ect is not a rect value..
24 PASS successfullyParsed is true 24 PASS successfullyParsed is true
25 25
26 TEST COMPLETE 26 TEST COMPLETE
27 27
OLDNEW
« 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