Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: html/templates/test-bad-index.html

Issue 29331713: TEST ONLY -- Verify behavior of DISP_E_BADINDEX in the IE JavaScript runtime (Closed)
Patch Set: Created Dec. 1, 2015, 5:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | html/templates/test-bad-index.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <title>Test for return value of DISP_E_BADINDEX</title>
5 <script src="test-bad-index.js"></script>
6 </head>
7
8 <body onload="init()">
9 <h1>Test for return value of DISP_E_BADINDEX</h1>
10 <ul>
11 <li>
12 Call <code>UserSettings().TestBadIndex(0)</code>.
13 Should return normally.
14 Result = <span id="result1"></span>
15 </li>
16 <li>
17 Call <code>UserSettings().TestBadIndex(1)</code>.
18 Should throw an exception.
19 Result = <span id="result2"></span>
20 </li>
21 </ul>
22 <h1 id="errorMessage" style="background-color:red;"></h1>
23 <h1 id="indexException" style="background-color:green;"></h1>
24 </body>
25 </html>
OLDNEW
« no previous file with comments | « no previous file | html/templates/test-bad-index.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld