[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
hans at chromium.org
hans at chromium.org
Wed Dec 22 16:36:46 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 4115697cf02d942f92de522112197528bc4e1111
Author: hans at chromium.org <hans at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Nov 29 10:41:28 2010 +0000
2010-11-29 Hans Wennborg <hans at chromium.org>
Reviewed by Jeremy Orlow.
IndexedDB: update tutorial.html
https://bugs.webkit.org/show_bug.cgi?id=50140
removeObjectStore() was renamed to deleteObjectStore()
* storage/indexeddb/tutorial.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index ae7a444..c068e32 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-11-29 Hans Wennborg <hans at chromium.org>
+
+ Reviewed by Jeremy Orlow.
+
+ IndexedDB: update tutorial.html
+ https://bugs.webkit.org/show_bug.cgi?id=50140
+
+ removeObjectStore() was renamed to deleteObjectStore()
+
+ * storage/indexeddb/tutorial.html:
+
2010-11-29 Helder Correia <helder at sencha.com>
Reviewed by Kenneth Rohde Christiansen.
diff --git a/LayoutTests/storage/indexeddb/tutorial.html b/LayoutTests/storage/indexeddb/tutorial.html
index d40dd8e..445213c 100644
--- a/LayoutTests/storage/indexeddb/tutorial.html
+++ b/LayoutTests/storage/indexeddb/tutorial.html
@@ -113,7 +113,7 @@ function onOpen()
function onSetVersion()
{
// We are now in a setVersion transaction. Such a transaction is the only place where one
- // can add or remove indexes and objectStores. The result (property of event) is an
+ // can add or delete indexes and objectStores. The result (property of event) is an
// IDBTransaction object that has "complete", "abort", and "timeout" event handlers which tell
// us when the transaction has committed, aborted, or timed out.
window.currentTransaction = event.result;
@@ -122,7 +122,7 @@ function onSetVersion()
// Delete existing object stores.
while (db.objectStoreNames.length)
- db.removeObjectStore(db.objectStoreNames[0]);
+ db.deleteObjectStore(db.objectStoreNames[0]);
// Now that we have a blank slate, let's create an objectStore. An objectStore is simply an
// ordered mapping of keys to values. We can iterate through ranges of keys or do individual
@@ -182,9 +182,8 @@ function onSetVersion()
var fname = objectStore.createIndex("fname", "fname", false);
var lname = objectStore.createIndex("lname", "lname", false);
- // Note that if you wanted to delete these indexes, you can either call objectStore.removeIndex
- // or simply delete the objectStores that own the indexes. (Note that removeObjectStore and
- // removeIndex may be changed to deleteObjectStore and deleteIndex in the future.)
+ // Note that if you wanted to delete these indexes, you can either call objectStore.deleteIndex
+ // or simply delete the objectStores that own the indexes.
//
// If we wanted to, we could populate the objectStore with some data here or do anything else
// allowed in a normal (i.e. non-setVersion) transaction. This is useful so that data migrations
@@ -290,7 +289,7 @@ function onTransactionAborted()
people.put({fname: 'Jane', lname: 'Doe', id: 2}).onerror = unexpectedError;
people.put({fname: 'Philip', lname: 'Fry', id: 3}).onerror = unexpectedError;
- // Not shown here are the .remove method (which is soon to be renamed .delete) and .add (which is
+ // Not shown here are the .delete method and .add (which is
// like .put except that it fires an onerror if the element already exists).
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list