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

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

Issue 689323002: Remove tests which are only testing getPropertyCSSValue, etc. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
deleted file mode 100644
index 6ce8b79c0ecbf475a991c1968a8a505d61298762..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/setPrimitiveValue-exceptions-expected.txt
+++ /dev/null
@@ -1,65 +0,0 @@
-Test exceptions thrown by the CSSPrimitiveValue APIs. Primitive values are currently immutable (see https://bugs.webkit.org/show_bug.cgi?id=31223)
-
-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: 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: 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: 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
-FAIL fontFamily.getStringValue() should be Times. Threw exception TypeError: Cannot read property 'getStringValue' of undefined
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_STRING, 'Hi there!') threw exception TypeError: Cannot read property 'setStringValue' of undefined.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_ATTR, "G'day!") threw exception TypeError: Cannot read property 'setStringValue' of undefined.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_UNKNOWN, 'Hi there!') threw exception TypeError: Cannot read property 'setStringValue' of undefined.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_DIMENSION, "G'day!") threw exception TypeError: Cannot read property 'setStringValue' of undefined.
-PASS fontFamily.setStringValue(CSSPrimitiveValue.CSS_COUNTER, 'Hello, world!') threw exception TypeError: Cannot read property 'setStringValue' of undefined.
-PASS fontFamily.getFloatValue() threw exception TypeError: Cannot read property 'getFloatValue' of undefined.
-PASS fontFamily.getCounterValue() threw exception TypeError: Cannot read property 'getCounterValue' of undefined.
-PASS fontFamily.getRectValue() threw exception TypeError: Cannot read property 'getRectValue' of undefined.
-PASS fontFamily.getRGBColorValue() threw exception TypeError: Cannot read property 'getRGBColorValue' of undefined.
-FAIL fontFamily.getStringValue() should be Times. Threw exception TypeError: Cannot read property 'getStringValue' of undefined
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
« no previous file with comments | « LayoutTests/fast/dom/setPrimitiveValue-exceptions.html ('k') | LayoutTests/fast/dom/setPrimitiveValue-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698