[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

jorlow at chromium.org jorlow at chromium.org
Sun Feb 20 22:51:25 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit b296233e3932df40f9177aad512082821eec4205
Author: jorlow at chromium.org <jorlow at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 12 13:03:48 2011 +0000

    2011-01-12  Jeremy Orlow  <jorlow at chromium.org>
    
            Add forgotten file.
    
            * storage/indexeddb/transaction-read-only-expected.txt: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75603 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index da99e13..f274af3 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-12  Jeremy Orlow  <jorlow at chromium.org>
+
+        Add forgotten file.
+
+        * storage/indexeddb/transaction-read-only-expected.txt: Added.
+
 2011-01-12  Csaba Osztrogonác  <ossy at webkit.org>
 
         Unreviewed.
diff --git a/LayoutTests/storage/indexeddb/transaction-read-only-expected.txt b/LayoutTests/storage/indexeddb/transaction-read-only-expected.txt
new file mode 100644
index 0000000..9d3d668
--- /dev/null
+++ b/LayoutTests/storage/indexeddb/transaction-read-only-expected.txt
@@ -0,0 +1,56 @@
+Test read-only transactions in IndexedDB.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS 'webkitIndexedDB' in window is true
+PASS webkitIndexedDB == null is false
+webkitIndexedDB.open('name')
+PASS 'onsuccess' in result is true
+PASS 'onerror' in result is true
+PASS 'readyState' in result is true
+An event should fire shortly...
+
+openSuccess():
+Success event fired:
+PASS 'result' in event is true
+PASS 'code' in event is false
+PASS 'message' in event is false
+PASS 'source' in event is true
+PASS event.source != null is true
+PASS 'onsuccess' in event.target is true
+PASS 'onerror' in event.target is true
+PASS 'readyState' in event.target is true
+PASS event.target.readyState is event.target.DONE
+
+db = event.result
+result = db.setVersion('version 1')
+Success event fired:
+PASS 'result' in event is true
+PASS 'code' in event is false
+PASS 'message' in event is false
+PASS 'source' in event is true
+PASS event.source != null is true
+PASS 'onsuccess' in event.target is true
+PASS 'onerror' in event.target is true
+PASS 'readyState' in event.target is true
+PASS event.target.readyState is event.target.DONE
+
+Deleted all object stores.
+store = db.createObjectStore('store')
+store.put('x', 'y')
+trans = db.transaction()
+Expecting exception from trans.objectStore('store').put('a', 'b')
+PASS code is webkitIDBDatabaseException.READ_ONLY_ERR
+trans = db.transaction()
+Expecting exception from trans.objectStore('store').delete('x')
+PASS code is webkitIDBDatabaseException.READ_ONLY_ERR
+trans = db.transaction()
+cur = trans.objectStore('store').openCursor()
+PASS !event.result is false
+Expecting exception from event.result.delete()
+PASS code is webkitIDBDatabaseException.READ_ONLY_ERR
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list