[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

jorlow at chromium.org jorlow at chromium.org
Thu Oct 29 20:49:49 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 98a6e83aaaf710dbbe6a044bcf9e5626d68bef68
Author: jorlow at chromium.org <jorlow at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Oct 21 23:47:20 2009 +0000

    Combine local and session storage tests into one and use script-tests properly
    https://bugs.webkit.org/show_bug.cgi?id=30640
    
    Patch by Jeremy Orlow <jorlow at chromium.org> on 2009-10-21
    Reviewed by Darin Adler.
    
    I was apparently misusing the script-tests stuff.  I changed all the tests to
    test both local storage and session storage so that we can use the
    make-test-script-wrappers stuff as is.
    
    * storage/domstorage/clear-expected.txt: Added.
    * storage/domstorage/clear.html: Added.
    * storage/domstorage/complex-keys-expected.txt: Added.
    * storage/domstorage/complex-keys.html: Added.
    * storage/domstorage/complex-values-expected.txt: Added.
    * storage/domstorage/complex-values.html: Added.
    * storage/domstorage/localstorage/clear-expected.txt: Removed.
    * storage/domstorage/localstorage/clear.html: Removed.
    * storage/domstorage/localstorage/complex-keys-expected.txt: Removed.
    * storage/domstorage/localstorage/complex-keys.html: Removed.
    * storage/domstorage/localstorage/complex-values-expected.txt: Removed.
    * storage/domstorage/localstorage/complex-values.html: Removed.
    * storage/domstorage/localstorage/quota-expected.txt: Removed.
    * storage/domstorage/localstorage/quota.html: Removed.
    * storage/domstorage/localstorage/remove-item-expected.txt: Removed.
    * storage/domstorage/localstorage/remove-item.html: Removed.
    * storage/domstorage/quota-expected.txt: Added.
    * storage/domstorage/quota.html: Added.
    * storage/domstorage/remove-item-expected.txt: Added.
    * storage/domstorage/remove-item.html: Added.
    * storage/domstorage/script-tests/TEMPLATE.html: Added.
    * storage/domstorage/script-tests/clear.js:
    (test):
    (runTest):
    * storage/domstorage/script-tests/complex-keys.js:
    (test):
    (runTest):
    * storage/domstorage/script-tests/complex-values.js:
    (test):
    (runTest):
    * storage/domstorage/script-tests/no-quota.js: Removed.
    * storage/domstorage/script-tests/quota.js:
    (testQuota):
    (testNoQuota):
    (runTest):
    * storage/domstorage/script-tests/remove-item.js:
    (test):
    (runTest):
    * storage/domstorage/sessionstorage/clear-expected.txt: Removed.
    * storage/domstorage/sessionstorage/clear.html: Removed.
    * storage/domstorage/sessionstorage/complex-keys-expected.txt: Removed.
    * storage/domstorage/sessionstorage/complex-keys.html: Removed.
    * storage/domstorage/sessionstorage/complex-values-expected.txt: Removed.
    * storage/domstorage/sessionstorage/complex-values.html: Removed.
    * storage/domstorage/sessionstorage/no-quota-expected.txt: Removed.
    * storage/domstorage/sessionstorage/no-quota.html: Removed.
    * storage/domstorage/sessionstorage/remove-item-expected.txt: Removed.
    * storage/domstorage/sessionstorage/remove-item.html: Removed.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49928 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 1505782..6633a88 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,63 @@
+2009-10-21  Jeremy Orlow  <jorlow at chromium.org>
+
+        Reviewed by Darin Adler.
+
+        Combine local and session storage tests into one and use script-tests properly
+        https://bugs.webkit.org/show_bug.cgi?id=30640
+
+        I was apparently misusing the script-tests stuff.  I changed all the tests to
+        test both local storage and session storage so that we can use the
+        make-test-script-wrappers stuff as is.
+
+        * storage/domstorage/clear-expected.txt: Added.
+        * storage/domstorage/clear.html: Added.
+        * storage/domstorage/complex-keys-expected.txt: Added.
+        * storage/domstorage/complex-keys.html: Added.
+        * storage/domstorage/complex-values-expected.txt: Added.
+        * storage/domstorage/complex-values.html: Added.
+        * storage/domstorage/localstorage/clear-expected.txt: Removed.
+        * storage/domstorage/localstorage/clear.html: Removed.
+        * storage/domstorage/localstorage/complex-keys-expected.txt: Removed.
+        * storage/domstorage/localstorage/complex-keys.html: Removed.
+        * storage/domstorage/localstorage/complex-values-expected.txt: Removed.
+        * storage/domstorage/localstorage/complex-values.html: Removed.
+        * storage/domstorage/localstorage/quota-expected.txt: Removed.
+        * storage/domstorage/localstorage/quota.html: Removed.
+        * storage/domstorage/localstorage/remove-item-expected.txt: Removed.
+        * storage/domstorage/localstorage/remove-item.html: Removed.
+        * storage/domstorage/quota-expected.txt: Added.
+        * storage/domstorage/quota.html: Added.
+        * storage/domstorage/remove-item-expected.txt: Added.
+        * storage/domstorage/remove-item.html: Added.
+        * storage/domstorage/script-tests/TEMPLATE.html: Added.
+        * storage/domstorage/script-tests/clear.js:
+        (test):
+        (runTest):
+        * storage/domstorage/script-tests/complex-keys.js:
+        (test):
+        (runTest):
+        * storage/domstorage/script-tests/complex-values.js:
+        (test):
+        (runTest):
+        * storage/domstorage/script-tests/no-quota.js: Removed.
+        * storage/domstorage/script-tests/quota.js:
+        (testQuota):
+        (testNoQuota):
+        (runTest):
+        * storage/domstorage/script-tests/remove-item.js:
+        (test):
+        (runTest):
+        * storage/domstorage/sessionstorage/clear-expected.txt: Removed.
+        * storage/domstorage/sessionstorage/clear.html: Removed.
+        * storage/domstorage/sessionstorage/complex-keys-expected.txt: Removed.
+        * storage/domstorage/sessionstorage/complex-keys.html: Removed.
+        * storage/domstorage/sessionstorage/complex-values-expected.txt: Removed.
+        * storage/domstorage/sessionstorage/complex-values.html: Removed.
+        * storage/domstorage/sessionstorage/no-quota-expected.txt: Removed.
+        * storage/domstorage/sessionstorage/no-quota.html: Removed.
+        * storage/domstorage/sessionstorage/remove-item-expected.txt: Removed.
+        * storage/domstorage/sessionstorage/remove-item.html: Removed.
+
 2009-10-21  Darin Adler  <darin at apple.com>
 
         Update since we rolled Japanese tailoring out that was done to fix
diff --git a/LayoutTests/storage/domstorage/clear-expected.txt b/LayoutTests/storage/domstorage/clear-expected.txt
new file mode 100644
index 0000000..30dcae1
--- /dev/null
+++ b/LayoutTests/storage/domstorage/clear-expected.txt
@@ -0,0 +1,35 @@
+Test basic dom storage .clear() functionality.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Testing sessionStorage
+storage.clear()
+PASS storage.length is 0
+storage['FOO'] = 'MyFOO'
+storage['BAR'] = 'MyBar'
+PASS storage.length is 2
+PASS storage['FOO'] is "MyFOO"
+PASS storage['BAR'] is "MyBar"
+storage.clear()
+PASS storage.length is 0
+PASS storage['FOO'] is undefined
+PASS storage['BAR'] is undefined
+
+
+Testing localStorage
+storage.clear()
+PASS storage.length is 0
+storage['FOO'] = 'MyFOO'
+storage['BAR'] = 'MyBar'
+PASS storage.length is 2
+PASS storage['FOO'] is "MyFOO"
+PASS storage['BAR'] is "MyBar"
+storage.clear()
+PASS storage.length is 0
+PASS storage['FOO'] is undefined
+PASS storage['BAR'] is undefined
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/storage/domstorage/clear.html b/LayoutTests/storage/domstorage/clear.html
new file mode 100644
index 0000000..8f23701
--- /dev/null
+++ b/LayoutTests/storage/domstorage/clear.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../fast/js/resources/js-test-post-function.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/clear.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/storage/domstorage/complex-keys-expected.txt b/LayoutTests/storage/domstorage/complex-keys-expected.txt
new file mode 100644
index 0000000..4ff0d29
--- /dev/null
+++ b/LayoutTests/storage/domstorage/complex-keys-expected.txt
@@ -0,0 +1,237 @@
+Test dom storage with many different types of keys (as opposed to values)
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Testing sessionStorage
+storage.clear()
+PASS storage.length is 0
+
+PASS storage.getItem('FOO') is null
+storage.setItem('FOO', 'BAR')
+PASS storage.length is 1
+PASS storage.getItem('FOO') is "BAR"
+PASS storage.getItem('foo') is null
+PASS storage.foo is undefined.
+PASS storage['foo'] is undefined.
+storage.foo = 'x'
+PASS storage.foo is "x"
+PASS storage['foo'] is "x"
+PASS storage.getItem('foo') is "x"
+storage['foo'] = 'y'
+PASS storage.foo is "y"
+PASS storage['foo'] is "y"
+PASS storage.getItem('foo') is "y"
+storage.setItem('foo', 'z')
+PASS storage.foo is "z"
+PASS storage['foo'] is "z"
+PASS storage.getItem('foo') is "z"
+PASS storage.length is 2
+
+Testing a null key
+storage.setItem(null, 'asdf')
+PASS storage.getItem('null') is "asdf"
+PASS storage.getItem(null) is "asdf"
+PASS storage['null'] is "asdf"
+PASS storage[null] is "asdf"
+PASS storage.length is 3
+storage[null] = 1
+PASS storage.getItem(null) is "1"
+storage['null'] = 2
+PASS storage.getItem(null) is "2"
+storage.setItem('null', 3)
+PASS storage.getItem(null) is "3"
+PASS storage.length is 3
+
+Testing an undefined key
+storage[undefined] = 'xyz'
+PASS storage.getItem('undefined') is "xyz"
+PASS storage.getItem(undefined) is "xyz"
+PASS storage['undefined'] is "xyz"
+PASS storage[undefined] is "xyz"
+PASS storage.length is 4
+storage['undefined'] = 4
+PASS storage.getItem(undefined) is "4"
+storage.setItem(undefined, 5)
+PASS storage.getItem(undefined) is "5"
+storage.setItem('undefined', 6)
+PASS storage.getItem(undefined) is "6"
+PASS storage.length is 4
+
+Testing a numeric key
+storage['2'] = 'ppp'
+PASS storage.getItem('2') is "ppp"
+PASS storage.getItem(2) is "ppp"
+PASS storage['2'] is "ppp"
+PASS storage[2] is "ppp"
+PASS storage.length is 5
+storage[2] = 7
+PASS storage.getItem(2) is "7"
+storage.setItem(2, 8)
+PASS storage.getItem(2) is "8"
+storage.setItem('2', 9)
+PASS storage.getItem(2) is "9"
+PASS storage.length is 5
+
+Setting a non-ascii string to foo
+storage[k] = 'hello'
+PASS storage.getItem(k) is "hello"
+PASS storage[k] is "hello"
+PASS storage.length is 6
+
+Testing case differences
+storage.foo1 = 'lower1'
+storage.FOO1 = 'UPPER1'
+storage['foo2'] = 'lower2'
+storage['FOO2'] = 'UPPER2'
+storage.setItem('foo3', 'lower3')
+storage.setItem('FOO3', 'UPPER3')
+PASS storage.foo1 is "lower1"
+PASS storage.FOO1 is "UPPER1"
+PASS storage['foo2'] is "lower2"
+PASS storage['FOO2'] is "UPPER2"
+PASS storage.getItem('foo3') is "lower3"
+PASS storage.getItem('FOO3') is "UPPER3"
+PASS storage.length is 12
+
+Testing overriding length
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage.length = 0
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage['length'] = 0
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage.setItem('length', 0)
+PASS storage.length is 13
+PASS storage['length'] is 13
+PASS storage.getItem('length') is "0"
+storage.removeItem('length')
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage.setItem('length', 0)
+PASS storage.length is 13
+
+
+Testing localStorage
+storage.clear()
+PASS storage.length is 0
+
+PASS storage.getItem('FOO') is null
+storage.setItem('FOO', 'BAR')
+PASS storage.length is 1
+PASS storage.getItem('FOO') is "BAR"
+PASS storage.getItem('foo') is null
+PASS storage.foo is undefined.
+PASS storage['foo'] is undefined.
+storage.foo = 'x'
+PASS storage.foo is "x"
+PASS storage['foo'] is "x"
+PASS storage.getItem('foo') is "x"
+storage['foo'] = 'y'
+PASS storage.foo is "y"
+PASS storage['foo'] is "y"
+PASS storage.getItem('foo') is "y"
+storage.setItem('foo', 'z')
+PASS storage.foo is "z"
+PASS storage['foo'] is "z"
+PASS storage.getItem('foo') is "z"
+PASS storage.length is 2
+
+Testing a null key
+storage.setItem(null, 'asdf')
+PASS storage.getItem('null') is "asdf"
+PASS storage.getItem(null) is "asdf"
+PASS storage['null'] is "asdf"
+PASS storage[null] is "asdf"
+PASS storage.length is 3
+storage[null] = 1
+PASS storage.getItem(null) is "1"
+storage['null'] = 2
+PASS storage.getItem(null) is "2"
+storage.setItem('null', 3)
+PASS storage.getItem(null) is "3"
+PASS storage.length is 3
+
+Testing an undefined key
+storage[undefined] = 'xyz'
+PASS storage.getItem('undefined') is "xyz"
+PASS storage.getItem(undefined) is "xyz"
+PASS storage['undefined'] is "xyz"
+PASS storage[undefined] is "xyz"
+PASS storage.length is 4
+storage['undefined'] = 4
+PASS storage.getItem(undefined) is "4"
+storage.setItem(undefined, 5)
+PASS storage.getItem(undefined) is "5"
+storage.setItem('undefined', 6)
+PASS storage.getItem(undefined) is "6"
+PASS storage.length is 4
+
+Testing a numeric key
+storage['2'] = 'ppp'
+PASS storage.getItem('2') is "ppp"
+PASS storage.getItem(2) is "ppp"
+PASS storage['2'] is "ppp"
+PASS storage[2] is "ppp"
+PASS storage.length is 5
+storage[2] = 7
+PASS storage.getItem(2) is "7"
+storage.setItem(2, 8)
+PASS storage.getItem(2) is "8"
+storage.setItem('2', 9)
+PASS storage.getItem(2) is "9"
+PASS storage.length is 5
+
+Setting a non-ascii string to foo
+storage[k] = 'hello'
+PASS storage.getItem(k) is "hello"
+PASS storage[k] is "hello"
+PASS storage.length is 6
+
+Testing case differences
+storage.foo1 = 'lower1'
+storage.FOO1 = 'UPPER1'
+storage['foo2'] = 'lower2'
+storage['FOO2'] = 'UPPER2'
+storage.setItem('foo3', 'lower3')
+storage.setItem('FOO3', 'UPPER3')
+PASS storage.foo1 is "lower1"
+PASS storage.FOO1 is "UPPER1"
+PASS storage['foo2'] is "lower2"
+PASS storage['FOO2'] is "UPPER2"
+PASS storage.getItem('foo3') is "lower3"
+PASS storage.getItem('FOO3') is "UPPER3"
+PASS storage.length is 12
+
+Testing overriding length
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage.length = 0
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage['length'] = 0
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage.setItem('length', 0)
+PASS storage.length is 13
+PASS storage['length'] is 13
+PASS storage.getItem('length') is "0"
+storage.removeItem('length')
+PASS storage.length is 12
+PASS storage['length'] is 12
+PASS storage.getItem('length') is null
+storage.setItem('length', 0)
+PASS storage.length is 13
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/storage/domstorage/complex-keys.html b/LayoutTests/storage/domstorage/complex-keys.html
new file mode 100644
index 0000000..40af774
--- /dev/null
+++ b/LayoutTests/storage/domstorage/complex-keys.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../fast/js/resources/js-test-post-function.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/complex-keys.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/storage/domstorage/complex-values-expected.txt b/LayoutTests/storage/domstorage/complex-values-expected.txt
new file mode 100644
index 0000000..e6fa683
--- /dev/null
+++ b/LayoutTests/storage/domstorage/complex-values-expected.txt
@@ -0,0 +1,225 @@
+Test some corner case DOM Storage values.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Testing sessionStorage
+storage.clear()
+PASS storage.length is 0
+
+PASS typeof storage['foo'] is "undefined"
+PASS storage['foo'] is undefined.
+PASS typeof storage.foo is "undefined"
+PASS storage.foo is undefined.
+PASS typeof storage.getItem('foo') is "object"
+PASS storage.getItem('foo') is null
+
+storage.foo1 = null
+PASS typeof storage['foo1'] is "string"
+PASS storage['foo1'] is "null"
+PASS typeof storage.foo1 is "string"
+PASS storage.foo1 is "null"
+PASS typeof storage.getItem('foo1') is "string"
+PASS storage.getItem('foo1') is "null"
+storage['foo2'] = null
+PASS typeof storage['foo2'] is "string"
+PASS storage['foo2'] is "null"
+PASS typeof storage.foo2 is "string"
+PASS storage.foo2 is "null"
+PASS typeof storage.getItem('foo2') is "string"
+PASS storage.getItem('foo2') is "null"
+storage.setItem('foo3', null)
+PASS typeof storage['foo3'] is "string"
+PASS storage['foo3'] is "null"
+PASS typeof storage.foo3 is "string"
+PASS storage.foo3 is "null"
+PASS typeof storage.getItem('foo3') is "string"
+PASS storage.getItem('foo3') is "null"
+
+storage.foo4 = undefined
+PASS typeof storage['foo4'] is "string"
+PASS storage['foo4'] is "undefined"
+PASS typeof storage.foo4 is "string"
+PASS storage.foo4 is "undefined"
+PASS typeof storage.getItem('foo4') is "string"
+PASS storage.getItem('foo4') is "undefined"
+storage['foo5'] = undefined
+PASS typeof storage['foo5'] is "string"
+PASS storage['foo5'] is "undefined"
+PASS typeof storage.foo5 is "string"
+PASS storage.foo5 is "undefined"
+PASS typeof storage.getItem('foo5') is "string"
+PASS storage.getItem('foo5') is "undefined"
+storage.setItem('foo6', undefined)
+PASS typeof storage['foo6'] is "string"
+PASS storage['foo6'] is "undefined"
+PASS typeof storage.foo6 is "string"
+PASS storage.foo6 is "undefined"
+PASS typeof storage.getItem('foo6') is "string"
+PASS storage.getItem('foo6') is "undefined"
+
+storage.foo7 = 2
+PASS typeof storage['foo7'] is "string"
+PASS storage['foo7'] is "2"
+PASS typeof storage.foo7 is "string"
+PASS storage.foo7 is "2"
+PASS typeof storage.getItem('foo7') is "string"
+PASS storage.getItem('foo7') is "2"
+storage['foo8'] = 2
+PASS typeof storage['foo8'] is "string"
+PASS storage['foo8'] is "2"
+PASS typeof storage.foo8 is "string"
+PASS storage.foo8 is "2"
+PASS typeof storage.getItem('foo8') is "string"
+PASS storage.getItem('foo8') is "2"
+storage.setItem('foo9', 2)
+PASS typeof storage['foo9'] is "string"
+PASS storage['foo9'] is "2"
+PASS typeof storage.foo9 is "string"
+PASS storage.foo9 is "2"
+PASS typeof storage.getItem('foo9') is "string"
+PASS storage.getItem('foo9') is "2"
+
+storage.foo10 = k
+PASS typeof storage['foo10'] is "string"
+PASS storage['foo10'] is "ÿ찡hello"
+PASS typeof storage.foo10 is "string"
+PASS storage.foo10 is "ÿ찡hello"
+PASS typeof storage.getItem('foo10') is "string"
+PASS storage.getItem('foo10') is "ÿ찡hello"
+storage['foo11'] = k
+PASS typeof storage['foo11'] is "string"
+PASS storage['foo11'] is "ÿ찡hello"
+PASS typeof storage.foo11 is "string"
+PASS storage.foo11 is "ÿ찡hello"
+PASS typeof storage.getItem('foo11') is "string"
+PASS storage.getItem('foo11') is "ÿ찡hello"
+storage.setItem('foo12', k)
+PASS typeof storage['foo12'] is "string"
+PASS storage['foo12'] is "ÿ찡hello"
+PASS typeof storage.foo12 is "string"
+PASS storage.foo12 is "ÿ찡hello"
+PASS typeof storage.getItem('foo12') is "string"
+PASS storage.getItem('foo12') is "ÿ찡hello"
+
+Verify storage events are case sensitive
+storage.foo = 'test'
+Setting event listener
+PASS eventCounter is 0
+storage.foo = 'test'
+PASS eventCounter is 0
+storage.foo = 'TEST'
+PASS eventCounter is 1
+
+
+Testing localStorage
+storage.clear()
+PASS storage.length is 0
+
+PASS typeof storage['foo'] is "undefined"
+PASS storage['foo'] is undefined.
+PASS typeof storage.foo is "undefined"
+PASS storage.foo is undefined.
+PASS typeof storage.getItem('foo') is "object"
+PASS storage.getItem('foo') is null
+
+storage.foo1 = null
+PASS typeof storage['foo1'] is "string"
+PASS storage['foo1'] is "null"
+PASS typeof storage.foo1 is "string"
+PASS storage.foo1 is "null"
+PASS typeof storage.getItem('foo1') is "string"
+PASS storage.getItem('foo1') is "null"
+storage['foo2'] = null
+PASS typeof storage['foo2'] is "string"
+PASS storage['foo2'] is "null"
+PASS typeof storage.foo2 is "string"
+PASS storage.foo2 is "null"
+PASS typeof storage.getItem('foo2') is "string"
+PASS storage.getItem('foo2') is "null"
+storage.setItem('foo3', null)
+PASS typeof storage['foo3'] is "string"
+PASS storage['foo3'] is "null"
+PASS typeof storage.foo3 is "string"
+PASS storage.foo3 is "null"
+PASS typeof storage.getItem('foo3') is "string"
+PASS storage.getItem('foo3') is "null"
+
+storage.foo4 = undefined
+PASS typeof storage['foo4'] is "string"
+PASS storage['foo4'] is "undefined"
+PASS typeof storage.foo4 is "string"
+PASS storage.foo4 is "undefined"
+PASS typeof storage.getItem('foo4') is "string"
+PASS storage.getItem('foo4') is "undefined"
+storage['foo5'] = undefined
+PASS typeof storage['foo5'] is "string"
+PASS storage['foo5'] is "undefined"
+PASS typeof storage.foo5 is "string"
+PASS storage.foo5 is "undefined"
+PASS typeof storage.getItem('foo5') is "string"
+PASS storage.getItem('foo5') is "undefined"
+storage.setItem('foo6', undefined)
+PASS typeof storage['foo6'] is "string"
+PASS storage['foo6'] is "undefined"
+PASS typeof storage.foo6 is "string"
+PASS storage.foo6 is "undefined"
+PASS typeof storage.getItem('foo6') is "string"
+PASS storage.getItem('foo6') is "undefined"
+
+storage.foo7 = 2
+PASS typeof storage['foo7'] is "string"
+PASS storage['foo7'] is "2"
+PASS typeof storage.foo7 is "string"
+PASS storage.foo7 is "2"
+PASS typeof storage.getItem('foo7') is "string"
+PASS storage.getItem('foo7') is "2"
+storage['foo8'] = 2
+PASS typeof storage['foo8'] is "string"
+PASS storage['foo8'] is "2"
+PASS typeof storage.foo8 is "string"
+PASS storage.foo8 is "2"
+PASS typeof storage.getItem('foo8') is "string"
+PASS storage.getItem('foo8') is "2"
+storage.setItem('foo9', 2)
+PASS typeof storage['foo9'] is "string"
+PASS storage['foo9'] is "2"
+PASS typeof storage.foo9 is "string"
+PASS storage.foo9 is "2"
+PASS typeof storage.getItem('foo9') is "string"
+PASS storage.getItem('foo9') is "2"
+
+storage.foo10 = k
+PASS typeof storage['foo10'] is "string"
+PASS storage['foo10'] is "ÿ찡hello"
+PASS typeof storage.foo10 is "string"
+PASS storage.foo10 is "ÿ찡hello"
+PASS typeof storage.getItem('foo10') is "string"
+PASS storage.getItem('foo10') is "ÿ찡hello"
+storage['foo11'] = k
+PASS typeof storage['foo11'] is "string"
+PASS storage['foo11'] is "ÿ찡hello"
+PASS typeof storage.foo11 is "string"
+PASS storage.foo11 is "ÿ찡hello"
+PASS typeof storage.getItem('foo11') is "string"
+PASS storage.getItem('foo11') is "ÿ찡hello"
+storage.setItem('foo12', k)
+PASS typeof storage['foo12'] is "string"
+PASS storage['foo12'] is "ÿ찡hello"
+PASS typeof storage.foo12 is "string"
+PASS storage.foo12 is "ÿ찡hello"
+PASS typeof storage.getItem('foo12') is "string"
+PASS storage.getItem('foo12') is "ÿ찡hello"
+
+Verify storage events are case sensitive
+storage.foo = 'test'
+Setting event listener
+FAIL eventCounter should be 0. Was 15.
+storage.foo = 'test'
+FAIL eventCounter should be 0. Was 15.
+storage.foo = 'TEST'
+FAIL eventCounter should be 1. Was 16.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/storage/domstorage/complex-values.html b/LayoutTests/storage/domstorage/complex-values.html
new file mode 100644
index 0000000..00ad8d7
--- /dev/null
+++ b/LayoutTests/storage/domstorage/complex-values.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../fast/js/resources/js-test-post-function.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/complex-values.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/storage/domstorage/localstorage/clear-expected.txt b/LayoutTests/storage/domstorage/localstorage/clear-expected.txt
deleted file mode 100644
index 440dd92..0000000
--- a/LayoutTests/storage/domstorage/localstorage/clear-expected.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Test basic dom storage .clear() functionality.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.localStorage
-storage.clear()
-PASS storage.length is 0
-storage['FOO'] = 'MyFOO'
-storage['BAR'] = 'MyBar'
-PASS storage.length is 2
-PASS storage['FOO'] is "MyFOO"
-PASS storage['BAR'] is "MyBar"
-storage.clear()
-PASS storage.length is 0
-PASS storage['FOO'] is undefined
-PASS storage['BAR'] is undefined
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/localstorage/clear.html b/LayoutTests/storage/domstorage/localstorage/clear.html
deleted file mode 100644
index 553ea35..0000000
--- a/LayoutTests/storage/domstorage/localstorage/clear.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/clear.js"></script>
-<script>
-runTest("window.localStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/localstorage/complex-keys-expected.txt b/LayoutTests/storage/domstorage/localstorage/complex-keys-expected.txt
deleted file mode 100644
index 0ca9467..0000000
--- a/LayoutTests/storage/domstorage/localstorage/complex-keys-expected.txt
+++ /dev/null
@@ -1,122 +0,0 @@
-Test dom storage with many different types of keys (as opposed to values)
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.localStorage
-storage.clear()
-PASS storage.length is 0
-
-PASS storage.getItem('FOO') is null
-storage.setItem('FOO', 'BAR')
-PASS storage.length is 1
-PASS storage.getItem('FOO') is "BAR"
-PASS storage.getItem('foo') is null
-PASS storage.foo is undefined.
-PASS storage['foo'] is undefined.
-storage.foo = 'x'
-PASS storage.foo is "x"
-PASS storage['foo'] is "x"
-PASS storage.getItem('foo') is "x"
-storage['foo'] = 'y'
-PASS storage.foo is "y"
-PASS storage['foo'] is "y"
-PASS storage.getItem('foo') is "y"
-storage.setItem('foo', 'z')
-PASS storage.foo is "z"
-PASS storage['foo'] is "z"
-PASS storage.getItem('foo') is "z"
-PASS storage.length is 2
-
-Testing a null key
-storage.setItem(null, 'asdf')
-PASS storage.getItem('null') is "asdf"
-PASS storage.getItem(null) is "asdf"
-PASS storage['null'] is "asdf"
-PASS storage[null] is "asdf"
-PASS storage.length is 3
-storage[null] = 1
-PASS storage.getItem(null) is "1"
-storage['null'] = 2
-PASS storage.getItem(null) is "2"
-storage.setItem('null', 3)
-PASS storage.getItem(null) is "3"
-PASS storage.length is 3
-
-Testing an undefined key
-storage[undefined] = 'xyz'
-PASS storage.getItem('undefined') is "xyz"
-PASS storage.getItem(undefined) is "xyz"
-PASS storage['undefined'] is "xyz"
-PASS storage[undefined] is "xyz"
-PASS storage.length is 4
-storage['undefined'] = 4
-PASS storage.getItem(undefined) is "4"
-storage.setItem(undefined, 5)
-PASS storage.getItem(undefined) is "5"
-storage.setItem('undefined', 6)
-PASS storage.getItem(undefined) is "6"
-PASS storage.length is 4
-
-Testing a numeric key
-storage['2'] = 'ppp'
-PASS storage.getItem('2') is "ppp"
-PASS storage.getItem(2) is "ppp"
-PASS storage['2'] is "ppp"
-PASS storage[2] is "ppp"
-PASS storage.length is 5
-storage[2] = 7
-PASS storage.getItem(2) is "7"
-storage.setItem(2, 8)
-PASS storage.getItem(2) is "8"
-storage.setItem('2', 9)
-PASS storage.getItem(2) is "9"
-PASS storage.length is 5
-
-Setting a non-ascii string to foo
-storage[k] = 'hello'
-PASS storage.getItem(k) is "hello"
-PASS storage[k] is "hello"
-PASS storage.length is 6
-
-Testing case differences
-storage.foo1 = 'lower1'
-storage.FOO1 = 'UPPER1'
-storage['foo2'] = 'lower2'
-storage['FOO2'] = 'UPPER2'
-storage.setItem('foo3', 'lower3')
-storage.setItem('FOO3', 'UPPER3')
-PASS storage.foo1 is "lower1"
-PASS storage.FOO1 is "UPPER1"
-PASS storage['foo2'] is "lower2"
-PASS storage['FOO2'] is "UPPER2"
-PASS storage.getItem('foo3') is "lower3"
-PASS storage.getItem('FOO3') is "UPPER3"
-PASS storage.length is 12
-
-Testing overriding length
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage.length = 0
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage['length'] = 0
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage.setItem('length', 0)
-PASS storage.length is 13
-PASS storage['length'] is 13
-PASS storage.getItem('length') is "0"
-storage.removeItem('length')
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage.setItem('length', 0)
-PASS storage.length is 13
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/localstorage/complex-keys.html b/LayoutTests/storage/domstorage/localstorage/complex-keys.html
deleted file mode 100644
index ccea769..0000000
--- a/LayoutTests/storage/domstorage/localstorage/complex-keys.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/complex-keys.js"></script>
-<script>
-runTest("window.localStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/localstorage/complex-values-expected.txt b/LayoutTests/storage/domstorage/localstorage/complex-values-expected.txt
deleted file mode 100644
index 4b67f7d..0000000
--- a/LayoutTests/storage/domstorage/localstorage/complex-values-expected.txt
+++ /dev/null
@@ -1,116 +0,0 @@
-Test some corner case DOM Storage values.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.localStorage
-storage.clear()
-PASS storage.length is 0
-
-PASS typeof storage['foo'] is "undefined"
-PASS storage['foo'] is undefined.
-PASS typeof storage.foo is "undefined"
-PASS storage.foo is undefined.
-PASS typeof storage.getItem('foo') is "object"
-PASS storage.getItem('foo') is null
-
-storage.foo1 = null
-PASS typeof storage['foo1'] is "string"
-PASS storage['foo1'] is "null"
-PASS typeof storage.foo1 is "string"
-PASS storage.foo1 is "null"
-PASS typeof storage.getItem('foo1') is "string"
-PASS storage.getItem('foo1') is "null"
-storage['foo2'] = null
-PASS typeof storage['foo2'] is "string"
-PASS storage['foo2'] is "null"
-PASS typeof storage.foo2 is "string"
-PASS storage.foo2 is "null"
-PASS typeof storage.getItem('foo2') is "string"
-PASS storage.getItem('foo2') is "null"
-storage.setItem('foo3', null)
-PASS typeof storage['foo3'] is "string"
-PASS storage['foo3'] is "null"
-PASS typeof storage.foo3 is "string"
-PASS storage.foo3 is "null"
-PASS typeof storage.getItem('foo3') is "string"
-PASS storage.getItem('foo3') is "null"
-
-storage.foo4 = undefined
-PASS typeof storage['foo4'] is "string"
-PASS storage['foo4'] is "undefined"
-PASS typeof storage.foo4 is "string"
-PASS storage.foo4 is "undefined"
-PASS typeof storage.getItem('foo4') is "string"
-PASS storage.getItem('foo4') is "undefined"
-storage['foo5'] = undefined
-PASS typeof storage['foo5'] is "string"
-PASS storage['foo5'] is "undefined"
-PASS typeof storage.foo5 is "string"
-PASS storage.foo5 is "undefined"
-PASS typeof storage.getItem('foo5') is "string"
-PASS storage.getItem('foo5') is "undefined"
-storage.setItem('foo6', undefined)
-PASS typeof storage['foo6'] is "string"
-PASS storage['foo6'] is "undefined"
-PASS typeof storage.foo6 is "string"
-PASS storage.foo6 is "undefined"
-PASS typeof storage.getItem('foo6') is "string"
-PASS storage.getItem('foo6') is "undefined"
-
-storage.foo7 = 2
-PASS typeof storage['foo7'] is "string"
-PASS storage['foo7'] is "2"
-PASS typeof storage.foo7 is "string"
-PASS storage.foo7 is "2"
-PASS typeof storage.getItem('foo7') is "string"
-PASS storage.getItem('foo7') is "2"
-storage['foo8'] = 2
-PASS typeof storage['foo8'] is "string"
-PASS storage['foo8'] is "2"
-PASS typeof storage.foo8 is "string"
-PASS storage.foo8 is "2"
-PASS typeof storage.getItem('foo8') is "string"
-PASS storage.getItem('foo8') is "2"
-storage.setItem('foo9', 2)
-PASS typeof storage['foo9'] is "string"
-PASS storage['foo9'] is "2"
-PASS typeof storage.foo9 is "string"
-PASS storage.foo9 is "2"
-PASS typeof storage.getItem('foo9') is "string"
-PASS storage.getItem('foo9') is "2"
-
-storage.foo10 = k
-PASS typeof storage['foo10'] is "string"
-PASS storage['foo10'] is "ÿ찡hello"
-PASS typeof storage.foo10 is "string"
-PASS storage.foo10 is "ÿ찡hello"
-PASS typeof storage.getItem('foo10') is "string"
-PASS storage.getItem('foo10') is "ÿ찡hello"
-storage['foo11'] = k
-PASS typeof storage['foo11'] is "string"
-PASS storage['foo11'] is "ÿ찡hello"
-PASS typeof storage.foo11 is "string"
-PASS storage.foo11 is "ÿ찡hello"
-PASS typeof storage.getItem('foo11') is "string"
-PASS storage.getItem('foo11') is "ÿ찡hello"
-storage.setItem('foo12', k)
-PASS typeof storage['foo12'] is "string"
-PASS storage['foo12'] is "ÿ찡hello"
-PASS typeof storage.foo12 is "string"
-PASS storage.foo12 is "ÿ찡hello"
-PASS typeof storage.getItem('foo12') is "string"
-PASS storage.getItem('foo12') is "ÿ찡hello"
-
-Verify storage events are case sensitive
-storage.foo = 'test'
-Setting event listener
-PASS eventCounter is 0
-storage.foo = 'test'
-PASS eventCounter is 0
-storage.foo = 'TEST'
-PASS eventCounter is 1
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/localstorage/complex-values.html b/LayoutTests/storage/domstorage/localstorage/complex-values.html
deleted file mode 100644
index 78140e9..0000000
--- a/LayoutTests/storage/domstorage/localstorage/complex-values.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/complex-values.js"></script>
-<script>
-runTest("window.localStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/localstorage/quota-expected.txt b/LayoutTests/storage/domstorage/localstorage/quota-expected.txt
deleted file mode 100644
index 65715ec..0000000
--- a/LayoutTests/storage/domstorage/localstorage/quota-expected.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-Test whether the quota is doing its job.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.localStorage
-storage.clear()
-PASS storage.length is 0
-Creating 'data' which contains 64K of data
-PASS data.length is 65536
-Putting 'data' into 40 window.localStorage buckets.
-Putting 'data' into another bucket.h
-PASS Hit exception as expected
-Verify that data was never inserted.
-PASS storage.getItem(40) is null
-Removing bucket 39.
-Adding 'Hello!' into a new bucket.
-PASS Insertion worked.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/localstorage/quota.html b/LayoutTests/storage/domstorage/localstorage/quota.html
deleted file mode 100644
index 392b849..0000000
--- a/LayoutTests/storage/domstorage/localstorage/quota.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/quota.js"></script>
-<script>
-runTest("window.localStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/localstorage/remove-item-expected.txt b/LayoutTests/storage/domstorage/localstorage/remove-item-expected.txt
deleted file mode 100644
index e861dc5..0000000
--- a/LayoutTests/storage/domstorage/localstorage/remove-item-expected.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Test .removeItem within DOM Storage.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.localStorage
-storage.clear()
-PASS storage.length is 0
-
-PASS storage.foo1 is undefined.
-storage.foo1 = 'bar'
-PASS storage.foo1 is "bar"
-storage.removeItem('foo1')
-PASS storage.foo1 is undefined.
-storage.removeItem('foo1')
-PASS storage.foo1 is undefined.
-
-PASS storage['foo2'] is undefined.
-storage['foo2'] = 'bar'
-PASS storage['foo2'] is "bar"
-storage.removeItem('foo2')
-PASS storage['foo2'] is undefined.
-storage.removeItem('foo2')
-PASS storage['foo2'] is undefined.
-
-PASS storage.getItem('foo3') is null
-storage.setItem('foo3', 'bar')
-PASS storage.getItem('foo3') is "bar"
-storage.removeItem('foo3')
-PASS storage.getItem('foo3') is null
-storage.removeItem('foo3')
-PASS storage.getItem('foo3') is null
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/localstorage/remove-item.html b/LayoutTests/storage/domstorage/localstorage/remove-item.html
deleted file mode 100644
index b412cb8..0000000
--- a/LayoutTests/storage/domstorage/localstorage/remove-item.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/remove-item.js"></script>
-<script>
-runTest("window.localStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/quota-expected.txt b/LayoutTests/storage/domstorage/quota-expected.txt
new file mode 100644
index 0000000..3f1b554
--- /dev/null
+++ b/LayoutTests/storage/domstorage/quota-expected.txt
@@ -0,0 +1,32 @@
+Test the DOM Storage quota code.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Testing sessionStorage
+storage.clear()
+PASS storage.length is 0
+Creating 'data' which contains 64K of data
+PASS data.length is 65536
+Putting 'data' into 40 sessionStorage buckets.
+Putting 'data' into another bucket.h
+PASS Insertion worked.
+
+
+Testing localStorage
+storage.clear()
+PASS storage.length is 0
+Creating 'data' which contains 64K of data
+PASS data.length is 65536
+Putting 'data' into 40 localStorage buckets.
+Putting 'data' into another bucket.h
+PASS Hit exception as expected
+Verify that data was never inserted.
+PASS storage.getItem(40) is null
+Removing bucket 39.
+Adding 'Hello!' into a new bucket.
+PASS Insertion worked.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/storage/domstorage/quota.html b/LayoutTests/storage/domstorage/quota.html
new file mode 100644
index 0000000..58a891b
--- /dev/null
+++ b/LayoutTests/storage/domstorage/quota.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../fast/js/resources/js-test-post-function.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/quota.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/storage/domstorage/remove-item-expected.txt b/LayoutTests/storage/domstorage/remove-item-expected.txt
new file mode 100644
index 0000000..8a3b391
--- /dev/null
+++ b/LayoutTests/storage/domstorage/remove-item-expected.txt
@@ -0,0 +1,65 @@
+Test .removeItem within DOM Storage.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Testing sessionStorage
+storage.clear()
+PASS storage.length is 0
+
+PASS storage.foo1 is undefined.
+storage.foo1 = 'bar'
+PASS storage.foo1 is "bar"
+storage.removeItem('foo1')
+PASS storage.foo1 is undefined.
+storage.removeItem('foo1')
+PASS storage.foo1 is undefined.
+
+PASS storage['foo2'] is undefined.
+storage['foo2'] = 'bar'
+PASS storage['foo2'] is "bar"
+storage.removeItem('foo2')
+PASS storage['foo2'] is undefined.
+storage.removeItem('foo2')
+PASS storage['foo2'] is undefined.
+
+PASS storage.getItem('foo3') is null
+storage.setItem('foo3', 'bar')
+PASS storage.getItem('foo3') is "bar"
+storage.removeItem('foo3')
+PASS storage.getItem('foo3') is null
+storage.removeItem('foo3')
+PASS storage.getItem('foo3') is null
+
+
+Testing localStorage
+storage.clear()
+PASS storage.length is 0
+
+PASS storage.foo1 is undefined.
+storage.foo1 = 'bar'
+PASS storage.foo1 is "bar"
+storage.removeItem('foo1')
+PASS storage.foo1 is undefined.
+storage.removeItem('foo1')
+PASS storage.foo1 is undefined.
+
+PASS storage['foo2'] is undefined.
+storage['foo2'] = 'bar'
+PASS storage['foo2'] is "bar"
+storage.removeItem('foo2')
+PASS storage['foo2'] is undefined.
+storage.removeItem('foo2')
+PASS storage['foo2'] is undefined.
+
+PASS storage.getItem('foo3') is null
+storage.setItem('foo3', 'bar')
+PASS storage.getItem('foo3') is "bar"
+storage.removeItem('foo3')
+PASS storage.getItem('foo3') is null
+storage.removeItem('foo3')
+PASS storage.getItem('foo3') is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/storage/domstorage/remove-item.html b/LayoutTests/storage/domstorage/remove-item.html
new file mode 100644
index 0000000..f9f6ae3
--- /dev/null
+++ b/LayoutTests/storage/domstorage/remove-item.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../fast/js/resources/js-test-post-function.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="script-tests/remove-item.js"></script>
+</body>
+</html>
diff --git a/LayoutTests/storage/domstorage/script-tests/TEMPLATE.html b/LayoutTests/storage/domstorage/script-tests/TEMPLATE.html
new file mode 100644
index 0000000..239a794
--- /dev/null
+++ b/LayoutTests/storage/domstorage/script-tests/TEMPLATE.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
+<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../fast/js/resources/js-test-post-function.js"></script>
+</head>
+<body>
+<p id="description"></p>
+<div id="console"></div>
+<script src="YOUR_JS_FILE_HERE"></script>
+</body>
+</html>
diff --git a/LayoutTests/storage/domstorage/script-tests/clear.js b/LayoutTests/storage/domstorage/script-tests/clear.js
index e5be368..bf6e5f3 100644
--- a/LayoutTests/storage/domstorage/script-tests/clear.js
+++ b/LayoutTests/storage/domstorage/script-tests/clear.js
@@ -1,6 +1,6 @@
 description("Test basic dom storage .clear() functionality.");
 
-function runTest(storageString)
+function test(storageString)
 {
     storage = eval(storageString);
     if (!storage) {
@@ -23,6 +23,12 @@ function runTest(storageString)
     shouldBe("storage.length", "0");
     shouldBe("storage['FOO']", "undefined");  // FIXME: Wait...shouldn't this be null?
     shouldBe("storage['BAR']", "undefined");  // ditto
-
-    window.successfullyParsed = true;
 }
+
+test("sessionStorage");
+debug("");
+debug("");
+test("localStorage");
+
+window.successfullyParsed = true;
+isSuccessfullyParsed();
diff --git a/LayoutTests/storage/domstorage/script-tests/complex-keys.js b/LayoutTests/storage/domstorage/script-tests/complex-keys.js
index 0233e47..2b6919f 100644
--- a/LayoutTests/storage/domstorage/script-tests/complex-keys.js
+++ b/LayoutTests/storage/domstorage/script-tests/complex-keys.js
@@ -1,6 +1,6 @@
 description("Test dom storage with many different types of keys (as opposed to values)");
 
-function runTest(storageString)
+function test(storageString)
 {
     storage = eval(storageString);
     if (!storage) {
@@ -141,6 +141,12 @@ function runTest(storageString)
 
     evalAndLog("storage.setItem('length', 0)");
     shouldBe("storage.length", "13");
-
-    window.successfullyParsed = true;
 }
+
+test("sessionStorage");
+debug("");
+debug("");
+test("localStorage");
+
+window.successfullyParsed = true;
+isSuccessfullyParsed();
diff --git a/LayoutTests/storage/domstorage/script-tests/complex-values.js b/LayoutTests/storage/domstorage/script-tests/complex-values.js
index c752a70..f1ebad4 100644
--- a/LayoutTests/storage/domstorage/script-tests/complex-values.js
+++ b/LayoutTests/storage/domstorage/script-tests/complex-values.js
@@ -20,7 +20,7 @@ function testKeyValue(key, value)
     shouldBeEqualToString(keyString, value);
 }
 
-function runTest(storageString)
+function test(storageString)
 {
     storage = eval(storageString);
     if (!storage) {
@@ -84,6 +84,12 @@ function runTest(storageString)
     shouldBe("eventCounter", "0");
     evalAndLog("storage.foo = 'TEST'");
     shouldBe("eventCounter", "1");
-    
-    window.successfullyParsed = true;
 }
+
+test("sessionStorage");
+debug("");
+debug("");
+test("localStorage");
+
+window.successfullyParsed = true;
+isSuccessfullyParsed();
diff --git a/LayoutTests/storage/domstorage/script-tests/no-quota.js b/LayoutTests/storage/domstorage/script-tests/no-quota.js
deleted file mode 100644
index 23d6c23..0000000
--- a/LayoutTests/storage/domstorage/script-tests/no-quota.js
+++ /dev/null
@@ -1,35 +0,0 @@
-description("Test whether we can add >5mb (the default quota) of data to DOM Storage");
-
-function runTest(storageString)
-{
-    storage = eval(storageString);
-    if (!storage) {
-        testFailed(storageString + " DOES NOT exist");
-        return;
-    }
-
-    debug("Testing " + storageString);
-
-    evalAndLog("storage.clear()");
-    shouldBe("storage.length", "0");
-
-    debug("Creating 'data' which contains 64K of data");
-    data = "X";
-    for (var i=0; i<16; i++)
-        data += data;
-    shouldBe("data.length", "65536");
-
-    debug("Putting 'data' into 40 " + storageString + " buckets.");
-    for (var i=0; i<40; i++)
-        storage[i] = data;
-
-    debug("Putting 'data' into another bucket.h");
-    try {
-        storage[40] = data;
-        testPassed("Insertion worked.");
-    } catch (e) {
-        testFailed("Exception: " + e);
-    }
-
-    window.successfullyParsed = true;
-}
diff --git a/LayoutTests/storage/domstorage/script-tests/quota.js b/LayoutTests/storage/domstorage/script-tests/quota.js
index b383871..b6fbb23 100644
--- a/LayoutTests/storage/domstorage/script-tests/quota.js
+++ b/LayoutTests/storage/domstorage/script-tests/quota.js
@@ -1,6 +1,6 @@
-description("Test whether the quota is doing its job.");
+description("Test the DOM Storage quota code.");
 
-function runTest(storageString)
+function testQuota(storageString)
 {
     storage = eval(storageString);
     if (!storage) {
@@ -44,6 +44,44 @@ function runTest(storageString)
     } catch (e) {
         testFailed("Exception: " + e);
     }
+}
+
+function testNoQuota(storageString)
+{
+    storage = eval(storageString);
+    if (!storage) {
+        testFailed(storageString + " DOES NOT exist");
+        return;
+    }
+
+    debug("Testing " + storageString);
+
+    evalAndLog("storage.clear()");
+    shouldBe("storage.length", "0");
+
+    debug("Creating 'data' which contains 64K of data");
+    data = "X";
+    for (var i=0; i<16; i++)
+        data += data;
+    shouldBe("data.length", "65536");
+
+    debug("Putting 'data' into 40 " + storageString + " buckets.");
+    for (var i=0; i<40; i++)
+        storage[i] = data;
 
-    window.successfullyParsed = true;
+    debug("Putting 'data' into another bucket.h");
+    try {
+        storage[40] = data;
+        testPassed("Insertion worked.");
+    } catch (e) {
+        testFailed("Exception: " + e);
+    }
 }
+
+testNoQuota("sessionStorage");
+debug("");
+debug("");
+testQuota("localStorage");
+
+window.successfullyParsed = true;
+isSuccessfullyParsed();
diff --git a/LayoutTests/storage/domstorage/script-tests/remove-item.js b/LayoutTests/storage/domstorage/script-tests/remove-item.js
index 3bd6bad..62731f1 100644
--- a/LayoutTests/storage/domstorage/script-tests/remove-item.js
+++ b/LayoutTests/storage/domstorage/script-tests/remove-item.js
@@ -1,6 +1,6 @@
 description("Test .removeItem within DOM Storage.");
 
-function runTest(storageString)
+function test(storageString)
 {
     storage = eval(storageString);
     if (!storage) {
@@ -39,7 +39,12 @@ function runTest(storageString)
     shouldBeNull("storage.getItem('foo3')");
     evalAndLog("storage.removeItem('foo3')");
     shouldBeNull("storage.getItem('foo3')");
-
-    window.successfullyParsed = true;
 }
 
+test("sessionStorage");
+debug("");
+debug("");
+test("localStorage");
+
+window.successfullyParsed = true;
+isSuccessfullyParsed();
diff --git a/LayoutTests/storage/domstorage/sessionstorage/clear-expected.txt b/LayoutTests/storage/domstorage/sessionstorage/clear-expected.txt
deleted file mode 100644
index 8ed8b47..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/clear-expected.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-Test basic dom storage .clear() functionality.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.sessionStorage
-storage.clear()
-PASS storage.length is 0
-storage['FOO'] = 'MyFOO'
-storage['BAR'] = 'MyBar'
-PASS storage.length is 2
-PASS storage['FOO'] is "MyFOO"
-PASS storage['BAR'] is "MyBar"
-storage.clear()
-PASS storage.length is 0
-PASS storage['FOO'] is undefined
-PASS storage['BAR'] is undefined
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/sessionstorage/clear.html b/LayoutTests/storage/domstorage/sessionstorage/clear.html
deleted file mode 100644
index 77d863b..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/clear.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/clear.js"></script>
-<script>
-runTest("window.sessionStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/sessionstorage/complex-keys-expected.txt b/LayoutTests/storage/domstorage/sessionstorage/complex-keys-expected.txt
deleted file mode 100644
index f6ede56..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/complex-keys-expected.txt
+++ /dev/null
@@ -1,122 +0,0 @@
-Test dom storage with many different types of keys (as opposed to values)
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.sessionStorage
-storage.clear()
-PASS storage.length is 0
-
-PASS storage.getItem('FOO') is null
-storage.setItem('FOO', 'BAR')
-PASS storage.length is 1
-PASS storage.getItem('FOO') is "BAR"
-PASS storage.getItem('foo') is null
-PASS storage.foo is undefined.
-PASS storage['foo'] is undefined.
-storage.foo = 'x'
-PASS storage.foo is "x"
-PASS storage['foo'] is "x"
-PASS storage.getItem('foo') is "x"
-storage['foo'] = 'y'
-PASS storage.foo is "y"
-PASS storage['foo'] is "y"
-PASS storage.getItem('foo') is "y"
-storage.setItem('foo', 'z')
-PASS storage.foo is "z"
-PASS storage['foo'] is "z"
-PASS storage.getItem('foo') is "z"
-PASS storage.length is 2
-
-Testing a null key
-storage.setItem(null, 'asdf')
-PASS storage.getItem('null') is "asdf"
-PASS storage.getItem(null) is "asdf"
-PASS storage['null'] is "asdf"
-PASS storage[null] is "asdf"
-PASS storage.length is 3
-storage[null] = 1
-PASS storage.getItem(null) is "1"
-storage['null'] = 2
-PASS storage.getItem(null) is "2"
-storage.setItem('null', 3)
-PASS storage.getItem(null) is "3"
-PASS storage.length is 3
-
-Testing an undefined key
-storage[undefined] = 'xyz'
-PASS storage.getItem('undefined') is "xyz"
-PASS storage.getItem(undefined) is "xyz"
-PASS storage['undefined'] is "xyz"
-PASS storage[undefined] is "xyz"
-PASS storage.length is 4
-storage['undefined'] = 4
-PASS storage.getItem(undefined) is "4"
-storage.setItem(undefined, 5)
-PASS storage.getItem(undefined) is "5"
-storage.setItem('undefined', 6)
-PASS storage.getItem(undefined) is "6"
-PASS storage.length is 4
-
-Testing a numeric key
-storage['2'] = 'ppp'
-PASS storage.getItem('2') is "ppp"
-PASS storage.getItem(2) is "ppp"
-PASS storage['2'] is "ppp"
-PASS storage[2] is "ppp"
-PASS storage.length is 5
-storage[2] = 7
-PASS storage.getItem(2) is "7"
-storage.setItem(2, 8)
-PASS storage.getItem(2) is "8"
-storage.setItem('2', 9)
-PASS storage.getItem(2) is "9"
-PASS storage.length is 5
-
-Setting a non-ascii string to foo
-storage[k] = 'hello'
-PASS storage.getItem(k) is "hello"
-PASS storage[k] is "hello"
-PASS storage.length is 6
-
-Testing case differences
-storage.foo1 = 'lower1'
-storage.FOO1 = 'UPPER1'
-storage['foo2'] = 'lower2'
-storage['FOO2'] = 'UPPER2'
-storage.setItem('foo3', 'lower3')
-storage.setItem('FOO3', 'UPPER3')
-PASS storage.foo1 is "lower1"
-PASS storage.FOO1 is "UPPER1"
-PASS storage['foo2'] is "lower2"
-PASS storage['FOO2'] is "UPPER2"
-PASS storage.getItem('foo3') is "lower3"
-PASS storage.getItem('FOO3') is "UPPER3"
-PASS storage.length is 12
-
-Testing overriding length
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage.length = 0
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage['length'] = 0
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage.setItem('length', 0)
-PASS storage.length is 13
-PASS storage['length'] is 13
-PASS storage.getItem('length') is "0"
-storage.removeItem('length')
-PASS storage.length is 12
-PASS storage['length'] is 12
-PASS storage.getItem('length') is null
-storage.setItem('length', 0)
-PASS storage.length is 13
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/sessionstorage/complex-keys.html b/LayoutTests/storage/domstorage/sessionstorage/complex-keys.html
deleted file mode 100644
index 8ca39dc..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/complex-keys.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/complex-keys.js"></script>
-<script>
-runTest("window.sessionStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/sessionstorage/complex-values-expected.txt b/LayoutTests/storage/domstorage/sessionstorage/complex-values-expected.txt
deleted file mode 100644
index 4527937..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/complex-values-expected.txt
+++ /dev/null
@@ -1,116 +0,0 @@
-Test some corner case DOM Storage values.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.sessionStorage
-storage.clear()
-PASS storage.length is 0
-
-PASS typeof storage['foo'] is "undefined"
-PASS storage['foo'] is undefined.
-PASS typeof storage.foo is "undefined"
-PASS storage.foo is undefined.
-PASS typeof storage.getItem('foo') is "object"
-PASS storage.getItem('foo') is null
-
-storage.foo1 = null
-PASS typeof storage['foo1'] is "string"
-PASS storage['foo1'] is "null"
-PASS typeof storage.foo1 is "string"
-PASS storage.foo1 is "null"
-PASS typeof storage.getItem('foo1') is "string"
-PASS storage.getItem('foo1') is "null"
-storage['foo2'] = null
-PASS typeof storage['foo2'] is "string"
-PASS storage['foo2'] is "null"
-PASS typeof storage.foo2 is "string"
-PASS storage.foo2 is "null"
-PASS typeof storage.getItem('foo2') is "string"
-PASS storage.getItem('foo2') is "null"
-storage.setItem('foo3', null)
-PASS typeof storage['foo3'] is "string"
-PASS storage['foo3'] is "null"
-PASS typeof storage.foo3 is "string"
-PASS storage.foo3 is "null"
-PASS typeof storage.getItem('foo3') is "string"
-PASS storage.getItem('foo3') is "null"
-
-storage.foo4 = undefined
-PASS typeof storage['foo4'] is "string"
-PASS storage['foo4'] is "undefined"
-PASS typeof storage.foo4 is "string"
-PASS storage.foo4 is "undefined"
-PASS typeof storage.getItem('foo4') is "string"
-PASS storage.getItem('foo4') is "undefined"
-storage['foo5'] = undefined
-PASS typeof storage['foo5'] is "string"
-PASS storage['foo5'] is "undefined"
-PASS typeof storage.foo5 is "string"
-PASS storage.foo5 is "undefined"
-PASS typeof storage.getItem('foo5') is "string"
-PASS storage.getItem('foo5') is "undefined"
-storage.setItem('foo6', undefined)
-PASS typeof storage['foo6'] is "string"
-PASS storage['foo6'] is "undefined"
-PASS typeof storage.foo6 is "string"
-PASS storage.foo6 is "undefined"
-PASS typeof storage.getItem('foo6') is "string"
-PASS storage.getItem('foo6') is "undefined"
-
-storage.foo7 = 2
-PASS typeof storage['foo7'] is "string"
-PASS storage['foo7'] is "2"
-PASS typeof storage.foo7 is "string"
-PASS storage.foo7 is "2"
-PASS typeof storage.getItem('foo7') is "string"
-PASS storage.getItem('foo7') is "2"
-storage['foo8'] = 2
-PASS typeof storage['foo8'] is "string"
-PASS storage['foo8'] is "2"
-PASS typeof storage.foo8 is "string"
-PASS storage.foo8 is "2"
-PASS typeof storage.getItem('foo8') is "string"
-PASS storage.getItem('foo8') is "2"
-storage.setItem('foo9', 2)
-PASS typeof storage['foo9'] is "string"
-PASS storage['foo9'] is "2"
-PASS typeof storage.foo9 is "string"
-PASS storage.foo9 is "2"
-PASS typeof storage.getItem('foo9') is "string"
-PASS storage.getItem('foo9') is "2"
-
-storage.foo10 = k
-PASS typeof storage['foo10'] is "string"
-PASS storage['foo10'] is "ÿ찡hello"
-PASS typeof storage.foo10 is "string"
-PASS storage.foo10 is "ÿ찡hello"
-PASS typeof storage.getItem('foo10') is "string"
-PASS storage.getItem('foo10') is "ÿ찡hello"
-storage['foo11'] = k
-PASS typeof storage['foo11'] is "string"
-PASS storage['foo11'] is "ÿ찡hello"
-PASS typeof storage.foo11 is "string"
-PASS storage.foo11 is "ÿ찡hello"
-PASS typeof storage.getItem('foo11') is "string"
-PASS storage.getItem('foo11') is "ÿ찡hello"
-storage.setItem('foo12', k)
-PASS typeof storage['foo12'] is "string"
-PASS storage['foo12'] is "ÿ찡hello"
-PASS typeof storage.foo12 is "string"
-PASS storage.foo12 is "ÿ찡hello"
-PASS typeof storage.getItem('foo12') is "string"
-PASS storage.getItem('foo12') is "ÿ찡hello"
-
-Verify storage events are case sensitive
-storage.foo = 'test'
-Setting event listener
-PASS eventCounter is 0
-storage.foo = 'test'
-PASS eventCounter is 0
-storage.foo = 'TEST'
-PASS eventCounter is 1
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/sessionstorage/complex-values.html b/LayoutTests/storage/domstorage/sessionstorage/complex-values.html
deleted file mode 100644
index 73de3da..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/complex-values.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/complex-values.js"></script>
-<script>
-runTest("window.sessionStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/sessionstorage/no-quota-expected.txt b/LayoutTests/storage/domstorage/sessionstorage/no-quota-expected.txt
deleted file mode 100644
index d5eacb4..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/no-quota-expected.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-Test whether we can add >5mb (the default quota) of data to DOM Storage
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.sessionStorage
-storage.clear()
-PASS storage.length is 0
-Creating 'data' which contains 64K of data
-PASS data.length is 65536
-Putting 'data' into 40 window.sessionStorage buckets.
-Putting 'data' into another bucket.h
-PASS Insertion worked.
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/sessionstorage/no-quota.html b/LayoutTests/storage/domstorage/sessionstorage/no-quota.html
deleted file mode 100644
index 7065584..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/no-quota.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/no-quota.js"></script>
-<script>
-runTest("window.sessionStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/storage/domstorage/sessionstorage/remove-item-expected.txt b/LayoutTests/storage/domstorage/sessionstorage/remove-item-expected.txt
deleted file mode 100644
index c80d9c7..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/remove-item-expected.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-Test .removeItem within DOM Storage.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-Testing window.sessionStorage
-storage.clear()
-PASS storage.length is 0
-
-PASS storage.foo1 is undefined.
-storage.foo1 = 'bar'
-PASS storage.foo1 is "bar"
-storage.removeItem('foo1')
-PASS storage.foo1 is undefined.
-storage.removeItem('foo1')
-PASS storage.foo1 is undefined.
-
-PASS storage['foo2'] is undefined.
-storage['foo2'] = 'bar'
-PASS storage['foo2'] is "bar"
-storage.removeItem('foo2')
-PASS storage['foo2'] is undefined.
-storage.removeItem('foo2')
-PASS storage['foo2'] is undefined.
-
-PASS storage.getItem('foo3') is null
-storage.setItem('foo3', 'bar')
-PASS storage.getItem('foo3') is "bar"
-storage.removeItem('foo3')
-PASS storage.getItem('foo3') is null
-storage.removeItem('foo3')
-PASS storage.getItem('foo3') is null
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/storage/domstorage/sessionstorage/remove-item.html b/LayoutTests/storage/domstorage/sessionstorage/remove-item.html
deleted file mode 100644
index 7fbc890..0000000
--- a/LayoutTests/storage/domstorage/sessionstorage/remove-item.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="../script-tests/remove-item.js"></script>
-<script>
-runTest("window.sessionStorage");
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list