[w3c/IndexedDB] Initial DB version (when creating db) is 1 in browsers but 0 in spec (#332)

In the Spec constructs, section 2.1 Database, its written 
"**When a database is first created, its version is 0 (zero).**" 
But in any browser, if we create a db initially, it shows version 1. 

Also, I cannot pass 0 in the version parameter like: 
indexedDB.open('dbname' , 0 )
It shows type error in console :
"**Failed to execute 'open' on 'IDBFactory': The version provided must not be 0.**"

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/332

Received on Thursday, 30 April 2020 14:21:27 UTC