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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE _ERR: DOM SVG Exception 0. 7 PASS svgList.insertItemBefore(null, index) threw exception SVG_WRONG_TYPE_ERR: A n object of the wrong type was passed to an operation..
8 PASS svgList.insertItemBefore(seg, index) is seg 8 PASS svgList.insertItemBefore(seg, index) is seg
9 PASS svgList.replaceItem(seg, index) threw exception Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 10 PASS svgList.replaceItem(null, index) threw exception SVG_WRONG_TYPE_ERR: An obj ect of the wrong type was passed to an operation..
11 PASS svgList.removeItem(index) threw exception Error: IndexSizeError: DOM Except ion 1. 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 Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE _ERR: DOM SVG Exception 0. 13 PASS svgList.insertItemBefore(null, index) threw exception SVG_WRONG_TYPE_ERR: A n object of the wrong type was passed to an operation..
14 PASS svgList.insertItemBefore(seg, index) is seg 14 PASS svgList.insertItemBefore(seg, index) is seg
15 PASS svgList.replaceItem(seg, index) threw exception Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 16 PASS svgList.replaceItem(null, index) threw exception SVG_WRONG_TYPE_ERR: An obj ect of the wrong type was passed to an operation..
17 PASS svgList.removeItem(index) threw exception Error: IndexSizeError: DOM Except ion 1. 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 Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE _ERR: DOM SVG Exception 0. 19 PASS svgList.insertItemBefore(null, index) threw exception SVG_WRONG_TYPE_ERR: A n object of the wrong type was passed to an operation..
20 PASS svgList.insertItemBefore(seg, index) is seg 20 PASS svgList.insertItemBefore(seg, index) is seg
21 PASS svgList.replaceItem(seg, index) threw exception Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 22 PASS svgList.replaceItem(null, index) threw exception SVG_WRONG_TYPE_ERR: An obj ect of the wrong type was passed to an operation..
23 PASS svgList.removeItem(index) threw exception Error: IndexSizeError: DOM Except ion 1. 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 Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE _ERR: DOM SVG Exception 0. 25 PASS svgList.insertItemBefore(null, index) threw exception SVG_WRONG_TYPE_ERR: A n object of the wrong type was passed to an operation..
26 PASS svgList.insertItemBefore(seg, index) is seg 26 PASS svgList.insertItemBefore(seg, index) is seg
27 PASS svgList.replaceItem(seg, index) threw exception Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 28 PASS svgList.replaceItem(null, index) threw exception SVG_WRONG_TYPE_ERR: An obj ect of the wrong type was passed to an operation..
29 PASS svgList.removeItem(index) threw exception Error: IndexSizeError: DOM Except ion 1. 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 Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE _ERR: DOM SVG Exception 0. 31 PASS svgList.insertItemBefore(null, index) threw exception SVG_WRONG_TYPE_ERR: A n object of the wrong type was passed to an operation..
32 PASS svgList.insertItemBefore(seg, index) is seg 32 PASS svgList.insertItemBefore(seg, index) is seg
33 PASS svgList.replaceItem(seg, index) threw exception Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 34 PASS svgList.replaceItem(null, index) threw exception SVG_WRONG_TYPE_ERR: An obj ect of the wrong type was passed to an operation..
35 PASS svgList.removeItem(index) threw exception Error: IndexSizeError: DOM Except ion 1. 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 Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE _ERR: DOM SVG Exception 0. 37 PASS svgList.insertItemBefore(null, index) threw exception SVG_WRONG_TYPE_ERR: A n object of the wrong type was passed to an operation..
38 PASS svgList.insertItemBefore(seg, index) is seg 38 PASS svgList.insertItemBefore(seg, index) is seg
39 PASS svgList.replaceItem(seg, index) threw exception Error: IndexSizeError: DOM Exception 1. 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 Error: SVG_WRONG_TYPE_ERR: DOM SVG Exception 0. 40 PASS svgList.replaceItem(null, index) threw exception SVG_WRONG_TYPE_ERR: An obj ect of the wrong type was passed to an operation..
41 PASS svgList.removeItem(index) threw exception Error: IndexSizeError: DOM Except ion 1. 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/altGlyph-dom-expected.txt ('k') | LayoutTests/svg/filters/feBlend-invalid-mode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698