This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16467 - [IndexedDB] [editorial] remove spurious IDBVersionChangeRequest-sentence
Summary: [IndexedDB] [editorial] remove spurious IDBVersionChangeRequest-sentence
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Indexed Database API (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 16:31 UTC by Odin Hørthe Omdal
Modified: 2012-07-16 21:50 UTC (History)
3 users (show)

See Also:


Attachments

Description Odin Hørthe Omdal 2012-03-21 16:31:14 UTC
deleteDatabase
---------------
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#widl-IDBFactory-deleteDatabase-IDBOpenDBRequest-DOMString-name

When invoked, this method must create a request and return it. The created request must implement the IDBOpenDBRequest interface and have its source set to null. 

**The created request has no source and must implement the IDBVersionChangeRequest interface.**

The method then queues up an operation to run the steps for deleting a database. Let origin be the origin of the IDBEnvironment used to access this IDBFactory and name be the name parameter passed to this function.


"versionchange" transaction steps
---------------------------------
http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#versionchange--transaction-steps

  4. Wait until either all objects in openDatabases are closed and all of their transactions are finished.

I think it should read:

  4. Wait until all objects in openDatabases are closed and all of their transactions are finished.

---- jump ----

  11. Follow the normal steps for executing a transaction and let the transaction finish normally.

Is anything interesting actually happening here? I'm not quite sure what the normal steps are, -- only running it I guess, but only reading a bare spec it feels a bit confusing. Maybe only say Execute the transaction, -- or specify what those normal steps you do to do it actually is?
Comment 1 Eliot Graff 2012-07-16 21:50:33 UTC
The sentence in IDBFactory.deleteDatabase was deleted.

Step 4 was already changed.

Step 11 changed to "Execute the transaction."