Complete the implementation of chrome.extension

RESOLVED FIXED

Status

()

Toolkit
WebExtensions: Untriaged
P4
normal
RESOLVED FIXED
2 years ago
11 months ago

People

(Reporter: andym, Unassigned)

Tracking

(Blocks: 1 bug)

unspecified
Points:
---
Dependency tree / graph
Bug Flags:
blocking-webextensions +

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [extension]triaged)

(Reporter)

Description

2 years ago
The methods on the extension API are:

https://developer.chrome.com/extensions/extension

Currently implemented:

getBackgroundPage
getURL
inIncognitoContext (property)

Won't be implemented because they are deprecated:

sendRequest
getExtensionTabs

To be implemented:

getViews
isAllowedIncognitoAccess
isAllowedFileSchemeAccess
setUpdateUrlData
lastError (property)
This is a bit tricky since there's one API exposed to content scripts and another exposed to everything else. For content scripts we implement getURL and inIncognitoContext. For everything else we implement getURL, getViews, and getBackgroundPage.

So to finish the content script API we need lastError. For everything else, we need the stuff you've listed minus getViews.
(Reporter)

Updated

2 years ago
Blocks: 1161828
(Reporter)

Updated

2 years ago
Depends on: 1190680
(Reporter)

Updated

2 years ago
Depends on: 1208563
(Reporter)

Updated

2 years ago
Blocks: 1214433
(Reporter)

Updated

2 years ago
Flags: blocking-webextensions+
(Reporter)

Updated

2 years ago
Whiteboard: [extension] → [extension]triaged
(Reporter)

Updated

2 years ago
Priority: -- → P4
(Reporter)

Updated

2 years ago
Depends on: 1253643
(Reporter)

Updated

2 years ago
Depends on: 1253645
(Reporter)

Updated

2 years ago
Depends on: 1253646
(Reporter)

Comment 2

11 months ago
All the blockers closed.

chrome.extension.onRequest and chrome.extension.onRequestExternal is deprecated we won't be implementing that. 

chrome.extension.setUpdateUrlData is an unpopular chrome API and nothing I've seen no need to create that since you can set update_url in applications: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/applications

Declaring this done.
Status: NEW → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.