Implement Window.sessionStorage: Storage Task, Storage Methods (excluding Storage event, QuotaExceededError)

This commit is contained in:
nkdalmia 2014-11-19 16:34:58 -05:00
parent 68c90e2797
commit f6fb9f862d
31 changed files with 347 additions and 109 deletions

View file

@ -8184,9 +8184,6 @@
[Window interface: operation createImageBitmap(ImageBitmapSource,long,long,long,long)]
expected: FAIL
[Window interface: attribute sessionStorage]
expected: FAIL
[Window interface: attribute localStorage]
expected: FAIL
@ -8526,9 +8523,6 @@
[Window interface: calling createImageBitmap(ImageBitmapSource,long,long,long,long) on window with too few arguments must throw TypeError]
expected: FAIL
[Window interface: window must inherit property "sessionStorage" with the proper type (123)]
expected: FAIL
[Window interface: window must inherit property "localStorage" with the proper type (124)]
expected: FAIL
@ -9477,12 +9471,6 @@
[Storage interface object length]
expected: FAIL
[Storage interface: operation setItem(DOMString,DOMString)]
expected: FAIL
[Storage interface: operation removeItem(DOMString)]
expected: FAIL
[StorageEvent interface: existence and properties of interface object]
expected: FAIL

View file

@ -1,5 +1,3 @@
[event_session_key.html]
type: testharness
[Web Storage]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +1,3 @@
[event_session_newvalue.html]
type: testharness
[Web Storage]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +1,3 @@
[event_session_oldvalue.html]
type: testharness
[Web Storage]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +1,3 @@
[event_session_url.html]
type: testharness
[Web Storage]
expected: FAIL
expected: TIMEOUT

View file

@ -1,20 +1,11 @@
[idlharness.html]
type: testharness
[Window interface: attribute sessionStorage]
expected: FAIL
[Window interface: attribute localStorage]
expected: FAIL
[Storage interface object length]
expected: FAIL
[Storage interface: operation setItem(DOMString,DOMString)]
expected: FAIL
[Storage interface: operation removeItem(DOMString)]
expected: FAIL
[Storage must be primary interface of window.localStorage]
expected: FAIL

View file

@ -15,21 +15,6 @@
[Should throw TypeError for function "function () { localStorage.removeItem(); }".]
expected: FAIL
[Should throw TypeError for function "function () { sessionStorage.key(); }".]
expected: FAIL
[Should throw TypeError for function "function () { sessionStorage.getItem(); }".]
expected: FAIL
[Should throw TypeError for function "function () { sessionStorage.setItem(); }".]
expected: FAIL
[Should throw TypeError for function "function () { sessionStorage.setItem("a"); }".]
expected: FAIL
[Should throw TypeError for function "function () { sessionStorage.removeItem(); }".]
expected: FAIL
[Should throw TypeError for function "function () { new StorageEvent(); }".]
expected: FAIL

View file

@ -1,3 +1,5 @@
[storage_session_builtins.html]
type: testharness
expected: TIMEOUT
[Web Storage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_clear.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_getitem.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +1,5 @@
[storage_session_getitem_js.html]
type: testharness
[Web Storage]
[array access should be correct]
expected: FAIL

View file

@ -1,8 +1,5 @@
[storage_session_in_js.html]
type: testharness
[Web Storage]
expected: FAIL
[Web Storage 1]
expected: FAIL

View file

@ -1,5 +1,5 @@
[storage_session_index_js.html]
type: testharness
[Web Storage]
[Web Storage 3]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_key.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_length.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_removeitem.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +1,5 @@
[storage_session_removeitem_js.html]
type: testharness
[Web Storage]
[Web Storage 1]
expected: FAIL

View file

@ -1,5 +0,0 @@
[storage_session_setitem.html]
type: testharness
[Web Storage]
expected: FAIL

View file

@ -1,5 +1,41 @@
[storage_session_setitem_js.html]
type: testharness
[Web Storage]
[Web Storage 2]
expected: FAIL
[Web Storage 3]
expected: FAIL
[Web Storage 4]
expected: FAIL
[Web Storage 5]
expected: FAIL
[Web Storage 6]
expected: FAIL
[Web Storage 7]
expected: FAIL
[Web Storage 8]
expected: FAIL
[Web Storage 9]
expected: FAIL
[Web Storage 10]
expected: FAIL
[Web Storage 11]
expected: FAIL
[Web Storage 12]
expected: FAIL
[Web Storage 13]
expected: FAIL
[Web Storage 14]
expected: FAIL