Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / storage / domstorage / clear-expected.txt
blob8526b97c5d8fcd61597377147ca743fd980b94af
1 Test basic dom storage .clear() functionality.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Testing sessionStorage
7 storage.clear()
8 PASS storage.length is 0
9 storage['FOO'] = 'MyFOO'
10 storage['BAR'] = 'MyBar'
11 PASS storage.length is 2
12 PASS storage['FOO'] is "MyFOO"
13 PASS storage['BAR'] is "MyBar"
14 storage.clear()
15 PASS storage.length is 0
16 PASS storage['FOO'] is undefined
17 PASS storage['BAR'] is undefined
20 Testing localStorage
21 storage.clear()
22 PASS storage.length is 0
23 storage['FOO'] = 'MyFOO'
24 storage['BAR'] = 'MyBar'
25 PASS storage.length is 2
26 PASS storage['FOO'] is "MyFOO"
27 PASS storage['BAR'] is "MyBar"
28 storage.clear()
29 PASS storage.length is 0
30 PASS storage['FOO'] is undefined
31 PASS storage['BAR'] is undefined
32 PASS successfullyParsed is true
34 TEST COMPLETE
35 PASS successfullyParsed is true
37 TEST COMPLETE