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

Unified Diff: LayoutTests/svg/dom/SVGTransformList-basics-expected.txt

Issue 827373003: Drop redundant null checks in SVGListPropertyTearOffHelper (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests and expectations Created 5 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
Index: LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt b/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
index ce0bbb6d46249c52cc6ee16a77d70dfad039e107..38387947fad6a82fb6843c10b5b32322d17326f1 100644
--- a/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGTransformList-basics-expected.txt
@@ -69,6 +69,12 @@ PASS circle1.transform.baseVal.replaceItem(30, 0) threw exception TypeError: Fai
PASS circle1.transform.baseVal.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
PASS circle1.transform.baseVal.replaceItem(circle1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
PASS circle1.transform.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGTransformList': parameter 1 is not of type 'SVGTransform'..
+
+Test uncommon values for indexed setter
+PASS circle1.transform.baseVal[0] = 30 threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of type 'SVGTransform'..
+PASS circle1.transform.baseVal[0] = 'aString' threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of type 'SVGTransform'..
+PASS circle1.transform.baseVal[0] = circle1 threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of type 'SVGTransform'..
+PASS circle1.transform.baseVal[0] = null threw exception TypeError: Failed to set an indexed property on 'SVGTransformList': The provided value is not of type 'SVGTransform'..
PASS circle1.transform.baseVal.replaceItem(circle1.transform.baseVal.getItem(0), 0) is circle1.transform.baseVal.getItem(0)
PASS circle1.transform.baseVal.numberOfItems is 4
PASS dumpTransform(circle1.transform.baseVal.getItem(0)) is "type=SVG_TRANSFORM_ROTATE matrix=[0.0 1.0 -1.0 0.0 0.0 0.0]"
« no previous file with comments | « LayoutTests/svg/dom/SVGTransformList-basics.xhtml ('k') | Source/core/svg/properties/SVGListPropertyTearOffHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698