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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/SVGLengthList-removeItem-expected.txt

Issue 2344403002: Convert LayoutTests/svg/dom/SVGLengthList*.html js-tests.js to testharness.js based tests (Closed)
Patch Set: Align with review comments Created 4 years, 3 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
OLDNEW
(Empty)
1 ABC
2 ABC
3 This is a test of the SVGLengthList::removeItem() API.
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8
9 Check initial list state of text1
10 PASS text.x.baseVal.numberOfItems is 5
11 PASS text.x.baseVal.getItem(0).value is 500
12 PASS text.x.baseVal.getItem(1).value is 50
13 PASS text.x.baseVal.getItem(2).value is 100
14 PASS text.x.baseVal.getItem(3).value is 900
15 PASS text.x.baseVal.getItem(4).value is 150
16 PASS text.x.baseVal.getItem(5) threw exception IndexSizeError: Failed to execute 'getItem' on 'SVGLengthList': The index provided (5) is greater than or equal t o the maximum bound (5)..
17
18 Remove fourth item of text1
19 PASS text.x.baseVal.removeItem(0).value is 500
20
21 Remove third item of text1
22 PASS text.x.baseVal.removeItem(2).value is 900
23
24 The test passes if you only see 'PASS' messages, and both text elements on top l ook the same
25
26 PASS successfullyParsed is true
27
28 TEST COMPLETE
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698