Closed Bug 1551301 Opened 6 years ago Closed 5 years ago

Allow WebExtensions to clear IndexedDB by hostname

Categories

(WebExtensions :: General, enhancement, P3)

66 Branch
enhancement

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: dlnnnupy, Assigned: evilpie)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete, parity-chrome, Whiteboard: [browsingData])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

The is currently no for WebExtensions to clear IndexedDB by hostname.

Please add an API or reliable way to do this.

Product: Firefox → WebExtensions

I will add a component for this issue and ask someone from dev's team to give us a hand with this scenario. If the component isn't a proper one please fell free to change it.
Thanks for your contribution.

Component: Untriaged → General
Type: defect → enhancement
Priority: -- → P3
Blocks: 1340511
Whiteboard: [browsingData]

Hi, will this enhancement require manual validation? If yes, please provide some steps to reproduce in order for us to properly verify it and any other resource needed for testing (website, add-on, etc.). Additionally, please set the “qe-verify+” flag. Thanks !

Flags: needinfo?(rob)

I expect this to be covered by unit tests. There is no implementation yet (the bug isn't even assigned), so I'll leave the qe-verify flag unset for now.

Flags: needinfo?(rob)

FYI: Chrome supports this now with a different option: https://developer.chrome.com/extensions/browsingData#specific_origins

Keywords: parity-chrome
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → evilpies
Keywords: dev-doc-needed
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d922e7e833ba Allow WebExtensions to clear IndexedDB by hostname. r=rpl
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77

Should there be schema data to accompanying this change?

Flags: needinfo?(evilpies)

No. removeIndexedDB has a RemovalOptions parameter which already contains hostnames.

Flags: needinfo?(evilpies)

Sorry, can you point me at the schema file, I don't seem to to be able to find it.

Flags: needinfo?(evilpies)

MDN changes ready for review:

Flags: needinfo?(evilpies)
Flags: needinfo?(evilpies)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: