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

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

Issue 141523002: Add null-correctness checking to [StrictTypeChecking] methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Last test Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests that out of bounds accesses of SVGList correctly throw exceptions 1 Tests that out of bounds accesses of SVGList correctly throw exceptions
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value.. 6 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value..
7 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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 8 PASS svgList.insertItemBefore(seg, index) is seg
9 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value.. 9 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
10 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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: Index or size was negative, or greater than the allowed value.. 11 PASS svgList.removeItem(index) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
12 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value.. 12 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value..
13 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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 14 PASS svgList.insertItemBefore(seg, index) is seg
15 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value.. 15 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
16 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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: Index or size was negative, or greater than the allowed value.. 17 PASS svgList.removeItem(index) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
18 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value.. 18 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value..
19 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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 20 PASS svgList.insertItemBefore(seg, index) is seg
21 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value.. 21 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
22 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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: Index or size was negative, or greater than the allowed value.. 23 PASS svgList.removeItem(index) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
24 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value.. 24 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value..
25 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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 26 PASS svgList.insertItemBefore(seg, index) is seg
27 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value.. 27 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
28 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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: Index or size was negative, or greater than the allowed value.. 29 PASS svgList.removeItem(index) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
30 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value.. 30 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value..
31 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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 32 PASS svgList.insertItemBefore(seg, index) is seg
33 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value.. 33 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
34 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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: Index or size was negative, or greater than the allowed value.. 35 PASS svgList.removeItem(index) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
36 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value.. 36 PASS svgList.getItem(index) threw exception IndexSizeError: Index or size was ne gative, or greater than the allowed value..
37 PASS svgList.insertItemBefore(null, index) threw exception TypeError: Failed to execute 'insertItemBefore' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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 38 PASS svgList.insertItemBefore(seg, index) is seg
39 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value.. 39 PASS svgList.replaceItem(seg, index) threw exception IndexSizeError: Index or si ze was negative, or greater than the allowed value..
40 PASS svgList.replaceItem(null, index) threw exception TypeError: Failed to execu te 'replaceItem' on 'SVGPathSegList': The PassListItemType provided is invalid.. 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: Index or size was negative, or greater than the allowed value.. 41 PASS svgList.removeItem(index) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
42 PASS successfullyParsed is true 42 PASS successfullyParsed is true
43 43
44 TEST COMPLETE 44 TEST COMPLETE
45 45
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGTransformList-expected.txt ('k') | Source/bindings/scripts/code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698