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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/svglist-exception-on-out-bounds-error-expected.txt

Issue 1416273002: Remove SVGPathElement.pathSegList and related interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 Tests that out of bounds accesses of SVGList correctly throw exceptions
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS svgList.getItem(index) threw exception IndexSizeError: Failed to execute 'g etItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
7 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': parameter 1 is not of type 'SVGP athSeg'..
8 PASS svgList.insertItemBefore(seg, index) is seg
9 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Failed to e xecute 'replaceItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
10 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': parameter 1 is not of type 'SVGPathSeg'..
11 PASS svgList.removeItem(index) threw exception IndexSizeError: Failed to execute 'removeItem' on 'SVGPathSegList': The index provided (0) is greater than or equ al to the maximum bound (0)..
12 PASS svgList.getItem(index) threw exception IndexSizeError: Failed to execute 'g etItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
13 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': parameter 1 is not of type 'SVGP athSeg'..
14 PASS svgList.insertItemBefore(seg, index) is seg
15 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Failed to e xecute 'replaceItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
16 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': parameter 1 is not of type 'SVGPathSeg'..
17 PASS svgList.removeItem(index) threw exception IndexSizeError: Failed to execute 'removeItem' on 'SVGPathSegList': The index provided (0) is greater than or equ al to the maximum bound (0)..
18 PASS svgList.getItem(index) threw exception IndexSizeError: Failed to execute 'g etItem' on 'SVGPathSegList': The index provided (4294967295) is greater than the maximum bound (0)..
19 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': parameter 1 is not of type 'SVGP athSeg'..
20 PASS svgList.insertItemBefore(seg, index) is seg
21 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Failed to e xecute 'replaceItem' on 'SVGPathSegList': The index provided (4294967295) is gre ater than the maximum bound (0)..
22 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': parameter 1 is not of type 'SVGPathSeg'..
23 PASS svgList.removeItem(index) threw exception IndexSizeError: Failed to execute 'removeItem' on 'SVGPathSegList': The index provided (4294967295) is greater th an the maximum bound (0)..
24 PASS svgList.getItem(index) threw exception IndexSizeError: Failed to execute 'g etItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
25 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': parameter 1 is not of type 'SVGP athSeg'..
26 PASS svgList.insertItemBefore(seg, index) is seg
27 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Failed to e xecute 'replaceItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
28 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': parameter 1 is not of type 'SVGPathSeg'..
29 PASS svgList.removeItem(index) threw exception IndexSizeError: Failed to execute 'removeItem' on 'SVGPathSegList': The index provided (0) is greater than or equ al to the maximum bound (0)..
30 PASS svgList.getItem(index) threw exception IndexSizeError: Failed to execute 'g etItem' on 'SVGPathSegList': The index provided (1) is greater than the maximum bound (0)..
31 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': parameter 1 is not of type 'SVGP athSeg'..
32 PASS svgList.insertItemBefore(seg, index) is seg
33 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Failed to e xecute 'replaceItem' on 'SVGPathSegList': The index provided (1) is greater than the maximum bound (0)..
34 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': parameter 1 is not of type 'SVGPathSeg'..
35 PASS svgList.removeItem(index) threw exception IndexSizeError: Failed to execute 'removeItem' on 'SVGPathSegList': The index provided (1) is greater than the ma ximum bound (0)..
36 PASS svgList.getItem(index) threw exception IndexSizeError: Failed to execute 'g etItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
37 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': parameter 1 is not of type 'SVGP athSeg'..
38 PASS svgList.insertItemBefore(seg, index) is seg
39 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Failed to e xecute 'replaceItem' on 'SVGPathSegList': The index provided (0) is greater than or equal to the maximum bound (0)..
40 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': parameter 1 is not of type 'SVGPathSeg'..
41 PASS svgList.removeItem(index) threw exception IndexSizeError: Failed to execute 'removeItem' on 'SVGPathSegList': The index provided (0) is greater than or equ al to the maximum bound (0)..
42 PASS successfullyParsed is true
43
44 TEST COMPLETE
45
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698