Skip to content

InvalidAccessError on IE 11 #32

Closed
Closed
@bvahdat

Description

@bvahdat

Hi

Using the newest IE 11 (as of today) on Windows 11 pro, I encountered the following wired InvalidAccessError:

invalidaccesserror-ie11

Which happens on this line.

The root cause of this is because MS IndexedDB implementation (for whatever reason not clear to me) expects a fix number literal as a second argument and refuses to evaluate any expression like dbVersion || 1 or dbVersion etc. The same line works like a charm using Chrome Version 42.0.2311.135 m on Windows.

My current workaround is:

dbReq = indexedDB.open(dbName, 1);

Which of course is not a real fix to this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions