Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8340231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:07:24+00:00 2026-06-09T05:07:24+00:00

Since today I’ve started getting errors when I try to delete IndexedDB database in

  • 0

Since today I’ve started getting errors when I try to delete IndexedDB database in Google Chrome version 21.
When i run the command for deleting database:

window.webkitIndexedDB.deleteDatabase(dbName);

The following event fires:

IDBVersionChangeEvent
bubbles: false
cancelBubble: false
cancelable: false
clipboardData: undefined
currentTarget: IDBVersionChangeReques
defaultPrevented: false
eventPhase: 2
returnValue: true
srcElement: IDBVersionChangeRequest
target: IDBVersionChangeRequest
timeStamp: 1343929274696
type: "blocked"
version: ""

Additional info: I am accessing the IndexedDB from web workers and from window.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:07:25+00:00Added an answer on June 9, 2026 at 5:07 am

    The problem was in the accessing the database from the web workers. In this line of code:

    database.close();//closing the database
    self.close();//closing the web worker
    

    There is probably some bug in Google chrome if database closing needs more time than usual and you close the web worker, then the database is locked when you try to delete it afterwards.

    I’ve fixed the problem by not closing the web worker and let it stay in idle mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since today I am facing a tricky issue with Google Chrome that I've just
I've started learning rails3 few days ago, and since today, every time I run
This is a simplified version of my question earlier today since I didn't get
Today i saw this bad code structure and since then i started to think
Earlier today I added the mongoid gem version '2.0' to an app. Ever since
I am using the Primefaces upload tool since yesterday, but today i started to
since I updated my Android SDK today I get some strange Lint errors in
Today I installed the last version of MacPorts on my laptop, since then (though
since today im facing a strange problem. When i start my app in my
Since I have no errors I don't know if this is the right place

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.