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 8944177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:57:57+00:00 2026-06-15T11:57:57+00:00

My browser extension is crashing occasionally. The problem is, I cannot find a good,

  • 0

My browser extension is crashing occasionally. The problem is, I cannot find a good, comprehensive list of things that can cause an extension to crash, and thus am having a hard time creating a checklist of things to work with.

My assumption is that anything that causes a standard Chrome tab to crash would cause the extension to crash when run in the Background.html file.

Off the top of my head, I’m assuming the following could cause problems…

  • Infinite loops or other instances of a script becoming unresponsive
  • Uncaught exceptions (eg, a JSON.parse with no try/catch)
  • Database storage errors
  • Excessive resource usage (??)

That’s really all I can think of. I’m having a heck of a time trying to debug my extension and would really appreciate any help creating a checklist…

  • 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-15T11:57:58+00:00Added an answer on June 15, 2026 at 11:57 am

    I’m coming back to this question about 3 months after asking it because a 2nd extension of mine was also crashing. In this case, though, the extension was far simpler — only about 40 lines of code in the background.js script.

    2 operations seemed to be possible culprits: writing to localStorage and using console.log

    I have previously observed that it is possible to crash a normal chrome tab by using console.log repeatedly with large objects in a website if you leave the page open for an extended period. Because background.js is always open, it seems like a likely culprit here.

    tl;dr
    Don’t use console.log in production. Ever.

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

Sidebar

Related Questions

I'm working on browser-extension in facebook, now my problem is that facebook override the
I'm wondering, how can I develop application/plugin/browser extension that can extend functionality of search
I want to create a browser plugin or extension that I can use to
I'm looking for browser extension (for Firefox or Google Chrome) that allow me to
I am writing a browser extension that needs to attach handlers to the keyup
I'm building a browser extension that will insert a chunk of HTML into some
Is it possible to create a browser extension which can change where the user
can I control (play & pause) a Spotify Play button with a browser extension?
We are building a browser extension that makes a call to a RESTful webservice
I am currently building a browser extension that injects javascript/jquery into certain pages, and

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.