Skip to content

[Bug] : Empty Background Service Worker Declaration #252

@Anshumancanrock

Description

@Anshumancanrock

Bug Description

The extension manifest declares a background service worker (scripts/background.js) in manifest.json, but the actual file src/scripts/background.js is completely empty. This creates unnecessary overhead and can cause confusion about whether background scripts are being used.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open src/manifest.json
  2. Locate the "background" section (around line 11-13)
  3. Note it declares "service_worker": "scripts/background.js"
  4. Open src/scripts/background.js
  5. Observe that the file is completely empty

Expected Behavior

The extension should either:
Have a functional background service worker with actual code
OR
Not declare a background service worker in the manifest if it's not being used

Actual Behavior

The manifest declares a background service worker, but the file is empty

Contribution Checklist

  • I have searched existing issues to ensure this bug hasn't been reported
  • I have provided clear reproduction steps
  • I have included relevant environment details
  • I have described both expected and actual behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions