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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test exceptions thrown by the CSSPrimitiveValue APIs. Primitive values are curre ntly immutable (see https://bugs.webkit.org/show_bug.cgi?id=31223) 1 Test exceptions thrown by the CSSPrimitiveValue APIs. Primitive values are curre ntly immutable (see https://bugs.webkit.org/show_bug.cgi?id=31223)
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 left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10 6 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
7 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 7 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
8 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 8 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModi ficationAllowedError: An attempt was made to modify an object where modification s are not allowed..
10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Err or: NoModificationAllowedError: DOM Exception 7. 10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoM odificationAllowedError: An attempt was made to modify an object where modificat ions are not allowed..
11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoM odificationAllowedError: DOM Exception 7. 11 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception NoModifica tionAllowedError: An attempt was made to modify an object where modifications ar e not allowed..
12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error : NoModificationAllowedError: DOM Exception 7. 12 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception NoMod ificationAllowedError: An attempt was made to modify an object where modificatio ns are not allowed..
13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 13 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModi ficationAllowedError: An attempt was made to modify an object where modification s are not allowed..
14 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: In validAccessError: DOM Exception 15. 14 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAc cessError: A parameter or an operation was not supported by the underlying objec t..
15 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: Inv alidAccessError: DOM Exception 15. 15 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAcc essError: A parameter or an operation was not supported by the underlying object ..
16 PASS left.getStringValue() threw exception Error: InvalidAccessError: DOM Except ion 15. 16 PASS left.getStringValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
17 PASS left.getCounterValue() threw exception Error: InvalidAccessError: DOM Excep tion 15. 17 PASS left.getCounterValue() threw exception InvalidAccessError: A parameter or a n operation was not supported by the underlying object..
18 PASS left.getRectValue() threw exception Error: InvalidAccessError: DOM Exceptio n 15. 18 PASS left.getRectValue() threw exception InvalidAccessError: A parameter or an o peration was not supported by the underlying object..
19 PASS left.getRGBColorValue() threw exception Error: InvalidAccessError: DOM Exce ption 15. 19 PASS left.getRGBColorValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
20 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10 20 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
21 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 21 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
22 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 22 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
23 PASS fontFamily.getStringValue() is "Times" 23 PASS fontFamily.getStringValue() is "Times"
24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 24 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception NoModificationAllowedError: An attempt was made to modify an object wh ere modifications are not allowed..
25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw excep tion Error: NoModificationAllowedError: DOM Exception 7. 25 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw excep tion NoModificationAllowedError: An attempt was made to modify an object where m odifications are not allowed..
26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception Error: NoModificationAllowedError: DOM Exception 7. 26 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception NoModificationAllowedError: An attempt was made to modify an object w here modifications are not allowed..
27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception Error: NoModificationAllowedError: DOM Exception 7. 27 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception NoModificationAllowedError: An attempt was made to modify an object wh ere modifications are not allowed..
28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') t hrew exception Error: NoModificationAllowedError: DOM Exception 7. 28 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') t hrew exception NoModificationAllowedError: An attempt was made to modify an obje ct where modifications are not allowed..
29 PASS fontFamily.getFloatValue() threw exception Error: InvalidAccessError: DOM E xception 15. 29 PASS fontFamily.getFloatValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
30 PASS fontFamily.getCounterValue() threw exception Error: InvalidAccessError: DOM Exception 15. 30 PASS fontFamily.getCounterValue() threw exception InvalidAccessError: A paramete r or an operation was not supported by the underlying object..
31 PASS fontFamily.getRectValue() threw exception Error: InvalidAccessError: DOM Ex ception 15. 31 PASS fontFamily.getRectValue() threw exception InvalidAccessError: A parameter o r an operation was not supported by the underlying object..
32 PASS fontFamily.getRGBColorValue() threw exception Error: InvalidAccessError: DO M Exception 15. 32 PASS fontFamily.getRGBColorValue() threw exception InvalidAccessError: A paramet er or an operation was not supported by the underlying object..
33 PASS fontFamily.getStringValue() is "Times" 33 PASS fontFamily.getStringValue() is "Times"
34 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10 34 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
35 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 35 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
36 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 36 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 37 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModi ficationAllowedError: An attempt was made to modify an object where modification s are not allowed..
38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception Err or: NoModificationAllowedError: DOM Exception 7. 38 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoM odificationAllowedError: An attempt was made to modify an object where modificat ions are not allowed..
39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception Error: NoM odificationAllowedError: DOM Exception 7. 39 PASS left.setFloatValue(CSSPrimitiveValue.CSS_PX, 25) threw exception NoModifica tionAllowedError: An attempt was made to modify an object where modifications ar e not allowed..
40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception Error : NoModificationAllowedError: DOM Exception 7. 40 PASS left.setFloatValue(CSSPrimitiveValue.CSS_UNKNOWN, 25) threw exception NoMod ificationAllowedError: An attempt was made to modify an object where modificatio ns are not allowed..
41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception Error: NoModificationAllowedError: DOM Exception 7. 41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModi ficationAllowedError: An attempt was made to modify an object where modification s are not allowed..
42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception Error: In validAccessError: DOM Exception 15. 42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAc cessError: A parameter or an operation was not supported by the underlying objec t..
43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception Error: Inv alidAccessError: DOM Exception 15. 43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAcc essError: A parameter or an operation was not supported by the underlying object ..
44 PASS left.getStringValue() threw exception Error: InvalidAccessError: DOM Except ion 15. 44 PASS left.getStringValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
45 PASS left.getCounterValue() threw exception Error: InvalidAccessError: DOM Excep tion 15. 45 PASS left.getCounterValue() threw exception InvalidAccessError: A parameter or a n operation was not supported by the underlying object..
46 PASS left.getRectValue() threw exception Error: InvalidAccessError: DOM Exceptio n 15. 46 PASS left.getRectValue() threw exception InvalidAccessError: A parameter or an o peration was not supported by the underlying object..
47 PASS left.getRGBColorValue() threw exception Error: InvalidAccessError: DOM Exce ption 15. 47 PASS left.getRGBColorValue() threw exception InvalidAccessError: A parameter or an operation was not supported by the underlying object..
48 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10 48 PASS left.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 10
49 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10 49 PASS left.getFloatValue(CSSPrimitiveValue.CSS_DIMENSION) is 10
50 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10 50 PASS left.getFloatValue(CSSPrimitiveValue.CSS_PX) is 10
51 FAIL fontFamily.getStringValue() should be Times. Threw exception TypeError: Can not call method 'getStringValue' of undefined 51 FAIL fontFamily.getStringValue() should be Times. Threw exception TypeError: Can not call method 'getStringValue' of undefined
52 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception TypeError: Cannot call method 'setStringValue' of undefined. 52 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception TypeError: Cannot call method 'setStringValue' of undefined.
53 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw excep tion TypeError: Cannot call method 'setStringValue' of undefined. 53 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw excep tion TypeError: Cannot call method 'setStringValue' of undefined.
54 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception TypeError: Cannot call method 'setStringValue' of undefined. 54 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception TypeError: Cannot call method 'setStringValue' of undefined.
55 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception TypeError: Cannot call method 'setStringValue' of undefined. 55 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception TypeError: Cannot call method 'setStringValue' of undefined.
56 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') t hrew exception TypeError: Cannot call method 'setStringValue' of undefined. 56 PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') t hrew exception TypeError: Cannot call method 'setStringValue' of undefined.
57 PASS fontFamily.getFloatValue() threw exception TypeError: Cannot call method 'g etFloatValue' of undefined. 57 PASS fontFamily.getFloatValue() threw exception TypeError: Cannot call method 'g etFloatValue' of undefined.
58 PASS fontFamily.getCounterValue() threw exception TypeError: Cannot call method 'getCounterValue' of undefined. 58 PASS fontFamily.getCounterValue() threw exception TypeError: Cannot call method 'getCounterValue' of undefined.
59 PASS fontFamily.getRectValue() threw exception TypeError: Cannot call method 'ge tRectValue' of undefined. 59 PASS fontFamily.getRectValue() threw exception TypeError: Cannot call method 'ge tRectValue' of undefined.
60 PASS fontFamily.getRGBColorValue() threw exception TypeError: Cannot call method 'getRGBColorValue' of undefined. 60 PASS fontFamily.getRGBColorValue() threw exception TypeError: Cannot call method 'getRGBColorValue' of undefined.
61 FAIL fontFamily.getStringValue() should be Times. Threw exception TypeError: Can not call method 'getStringValue' of undefined 61 FAIL fontFamily.getStringValue() should be Times. Threw exception TypeError: Can not call method 'getStringValue' of undefined
62 PASS successfullyParsed is true 62 PASS successfullyParsed is true
63 63
64 TEST COMPLETE 64 TEST COMPLETE
65 65
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698