[WebExtensions] Add a way to navigate to about:home from an extension
Categories
(WebExtensions :: General, enhancement, P5)
Tracking
(Not tracked)
People
(Reporter: vsr4493, Unassigned)
References
(Depends on 1 open bug)
Details
Steps to reproduce:
There should be a way for an extension to redirect the current tab to about:home
.
Use-case:
The most common use-case is for extensions having new-tab-page overrides to provide an option for the user to opt-out, while preserving other functionality (i.e., not disable the extension.
On other browsers ~ This is a common-enough use case that most extensions on Chrome end up using chrome-search://local-ntp/local-ntp.html
as the fallback URL.
Relates to:
https://bugzilla.mozilla.org/show_bug.cgi?id=1269456
Note: The issue above mentions that it can be done on a case-by-case basis for URLs which are not highly privileged, hence the separate issue.
Actual results:
Currently, any call to browser.tabs.update({ url: 'about:home' }) fails with an error likely due to https://bugzilla.mozilla.org/show_bug.cgi?id=1227462
Expected results:
The current tab should be redirected to about:home.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Description
•