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

Unified Diff: LayoutTests/svg/dom/SVGLengthList-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
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-basics.xhtml ('k') | LayoutTests/svg/dom/SVGNumberList-basics.xhtml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
diff --git a/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt b/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
index e68ecad75c6486dc774d0564f891925de38764e5..4f1516ff520cc2fd67885696cda55a9ba2de10bb 100644
--- a/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
+++ b/LayoutTests/svg/dom/SVGLengthList-basics-expected.txt
@@ -86,6 +86,12 @@ PASS text1.x.baseVal.replaceItem(30, 0) threw exception TypeError: Failed to exe
PASS text1.x.baseVal.replaceItem('aString', 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'..
PASS text1.x.baseVal.replaceItem(text1, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'..
PASS text1.x.baseVal.replaceItem(null, 0) threw exception TypeError: Failed to execute 'replaceItem' on 'SVGLengthList': parameter 1 is not of type 'SVGLength'..
+
+Test uncommon values for indexed setter
+PASS text1.x.baseVal[0] = 30 threw exception TypeError: Failed to set an indexed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
+PASS text1.x.baseVal[0] = 'aString' threw exception TypeError: Failed to set an indexed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
+PASS text1.x.baseVal[0] = text1 threw exception TypeError: Failed to set an indexed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
+PASS text1.x.baseVal[0] = null threw exception TypeError: Failed to set an indexed property on 'SVGLengthList': The provided value is not of type 'SVGLength'..
PASS text1.x.baseVal.replaceItem(text1.x.baseVal.getItem(0), 0) is text1.x.baseVal.getItem(0)
PASS text1.x.baseVal.numberOfItems is 4
PASS text1.x.baseVal.getItem(0).value is 1
« no previous file with comments | « LayoutTests/svg/dom/SVGLengthList-basics.xhtml ('k') | LayoutTests/svg/dom/SVGNumberList-basics.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698