blob: 36600635bc28b43bf86f2a327d545fbae869ce95 [file] [log] [blame]
Tests that out of bounds accesses of SVGList correctly throw exceptions
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS svgList.getItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.insertItemBefore(null, i) is null
PASS svgList.replaceItem(null, i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.removeItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.getItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.insertItemBefore(null, i) is null
PASS svgList.replaceItem(null, i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.removeItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.getItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.insertItemBefore(null, i) is null
PASS svgList.replaceItem(null, i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.removeItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.getItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.insertItemBefore(null, i) is null
PASS svgList.replaceItem(null, i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.removeItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.getItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.insertItemBefore(null, i) is null
PASS svgList.replaceItem(null, i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.removeItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.getItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.insertItemBefore(null, i) is null
PASS svgList.replaceItem(null, i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS svgList.removeItem(i) threw exception Error: INDEX_SIZE_ERR: DOM Exception 1.
PASS successfullyParsed is true
TEST COMPLETE