Closed Bug 1213426 Opened 9 years ago Closed 8 years ago

Complete the implementation of chrome.extension

Categories

(WebExtensions :: Untriaged, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: andy+bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [extension]triaged)

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.
Depends on: 1190680
Depends on: 1208563
Blocks: webext
Flags: blocking-webextensions+
Whiteboard: [extension] → [extension]triaged
Priority: -- → P4
Depends on: 1253643
Depends on: 1253645
Depends on: 1253646
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
Closed: 8 years ago
Resolution: --- → FIXED
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.