OLD | NEW |
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 NoModi
ficationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue':
CSSPrimitiveValue objects are read-only.. | 9 PASS left.setFloatValue(CSSPrimitiveValue.CSS_NUMBER, 25) threw exception NoModi
ficationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue':
CSSPrimitiveValue objects are read-only.. |
10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoM
odificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue
': CSSPrimitiveValue objects are read-only.. | 10 PASS left.setFloatValue(CSSPrimitiveValue.CSS_DIMENSION, 25) threw exception NoM
odificationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue
': CSSPrimitiveValue objects are read-only.. |
(...skipping 30 matching lines...) Expand all Loading... |
41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModi
ficationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue':
CSSPrimitiveValue objects are read-only.. | 41 PASS left.setFloatValue(CSSPrimitiveValue.CSS_STRING, 25) threw exception NoModi
ficationAllowedError: Failed to execute 'setFloatValue' on 'CSSPrimitiveValue':
CSSPrimitiveValue objects are read-only.. |
42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAc
cessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to o
btain a double value.. | 42 PASS left.getFloatValue(CSSPrimitiveValue.CSS_UNKNOWN) threw exception InvalidAc
cessError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to o
btain a double value.. |
43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAcc
essError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to ob
tain a double value.. | 43 PASS left.getFloatValue(CSSPrimitiveValue.CSS_STRING) threw exception InvalidAcc
essError: Failed to execute 'getFloatValue' on 'CSSPrimitiveValue': Failed to ob
tain a double value.. |
44 PASS left.getStringValue() threw exception InvalidAccessError: Failed to execute
'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represen
ted as a string.. | 44 PASS left.getStringValue() threw exception InvalidAccessError: Failed to execute
'getStringValue' on 'CSSPrimitiveValue': This object's value cannot be represen
ted as a string.. |
45 PASS left.getCounterValue() threw exception InvalidAccessError: Failed to execut
e 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value.. | 45 PASS left.getCounterValue() threw exception InvalidAccessError: Failed to execut
e 'getCounterValue' on 'CSSPrimitiveValue': This object is not a counter value.. |
46 PASS left.getRectValue() threw exception InvalidAccessError: Failed to execute '
getRectValue' on 'CSSPrimitiveValue': This object is not a rect value.. | 46 PASS left.getRectValue() threw exception InvalidAccessError: Failed to execute '
getRectValue' on 'CSSPrimitiveValue': This object is not a rect value.. |
47 PASS left.getRGBColorValue() threw exception InvalidAccessError: Failed to execu
te 'getRGBColorValue' on 'CSSPrimitiveValue': This object is not an RGB color va
lue.. | 47 PASS left.getRGBColorValue() threw exception InvalidAccessError: Failed to execu
te 'getRGBColorValue' on 'CSSPrimitiveValue': This object is not an RGB color va
lue.. |
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 read property '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 read property '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 read property '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 read property '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 read property '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 read property '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 read property
'getFloatValue' of undefined. |
58 PASS fontFamily.getCounterValue() threw exception TypeError: Cannot call method
'getCounterValue' of undefined. | 58 PASS fontFamily.getCounterValue() threw exception TypeError: Cannot read propert
y '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 read property '
getRectValue' of undefined. |
60 PASS fontFamily.getRGBColorValue() threw exception TypeError: Cannot call method
'getRGBColorValue' of undefined. | 60 PASS fontFamily.getRGBColorValue() threw exception TypeError: Cannot read proper
ty '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 read property 'getStringValue' of undefined |
62 PASS successfullyParsed is true | 62 PASS successfullyParsed is true |
63 | 63 |
64 TEST COMPLETE | 64 TEST COMPLETE |
65 | 65 |
OLD | NEW |