|
1 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
2 <head> |
|
3 <title>incomplete UTF-16 test</title> |
|
4 <meta http-equiv="Content-type" content="text/html; charset=UTF-8" /> |
|
5 |
|
6 <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
|
7 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> |
|
8 |
|
9 <script type="text/javascript"> |
|
10 |
|
11 function startTest() |
|
12 { |
|
13 localStorage.clear(); |
|
14 localStorage.setItem("test1", "value1"); |
|
15 localStorage.setItem("test2", "value2"); |
|
16 localStorage.setItem("test3", "value3"); |
|
17 |
|
18 is(localStorage.length, 3, "expected number of items"); |
|
19 |
|
20 SimpleTest.finish(); |
|
21 } |
|
22 |
|
23 SimpleTest.waitForExplicitFinish(); |
|
24 |
|
25 </script> |
|
26 |
|
27 </head> |
|
28 |
|
29 <body onload="startTest();"> |
|
30 |
|
31 </body> |
|
32 </html> |