Skip to content

Edge webextension api version updates#1486

Closed
mattwojo wants to merge 18 commits intomdn:masterfrom
mattwojo:master
Closed

Edge webextension api version updates#1486
mattwojo wants to merge 18 commits intomdn:masterfrom
mattwojo:master

Conversation

@mattwojo
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread webextensions/api/storage.json Outdated
"version_added": "14",
"notes": [
+ "storage.local data is persisted in a different format than Chrome, causing a different value to be returned when calling storage.local.getBytesInUse. Ex: storage.local.set({ "k": { "s": "âas" } } returns 13 in Chrome and 50 in Microsoft Edge.",
+ ]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The +es at the beginning of the lines are causing JSON parsing errors.

Comment thread webextensions/api/tabs.json Outdated
"version_added": "14",
"notes": [
+ "After uninstall/reinstall, the URL is not received until Microsoft Edge is restarted."
+ ]
Copy link
Copy Markdown
Contributor

@ExE-Boss ExE-Boss Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread webextensions/api/tabs.json Outdated
"version_added": "14",
"notes": [
+ "`pinned` and `muted` are not yet supported. `highlighted` and `selected` are not supported."
+ ]
Copy link
Copy Markdown
Contributor

@ExE-Boss ExE-Boss Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread webextensions/api/webRequest.json Outdated
+ "Network requests from extensions, such as options, background or popup pages, are not supported.",
"Network requests from <object> and <embed> elements are not supported.",
"Headers cannot be modified for cached requests."
+ ]
Copy link
Copy Markdown
Contributor

@ExE-Boss ExE-Boss Mar 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread webextensions/api/storage.json Outdated
+ "storage.local data is persisted in a different format than Chrome, causing a different value to be returned when calling storage.local.getBytesInUse. Ex: storage.local.set({ "k": { "s": "âas" } } returns 13 in Chrome and 50 in Microsoft Edge.",
+ ]
"storage.local data is persisted in a different format than Chrome, causing a different value to be returned when calling storage.local.getBytesInUse."
]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines have wrong indentation.

Comment thread webextensions/api/webRequest.json Outdated
"`webRequest` not supported for synchronous XmlHttpRequests.",
"Network requests from extensions, such as options, background or popup pages, are not supported.",
"Network requests from <object> and <embed> elements are not supported.",
"Headers cannot be modified for cached requests."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Comment thread webextensions/api/storage.json Outdated
"notes": [
"storage.local data is persisted in a different format than Chrome, causing a different value to be returned when calling storage.local.getBytesInUse."
"<code>storage.local</code> data is persisted in a different format than Chrome, causing a different value to be returned when calling <code>storage.local.getBytesInUse</code>."
]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines still have the wrong indentation.

@teoli2003 teoli2003 added data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions HackOnMDNParis2018 Issues or pull requests at the Hack on MDN event in Paris in March 2018 labels Mar 17, 2018
@Elchi3 Elchi3 requested a review from wbamberg March 17, 2018 07:29
Copy link
Copy Markdown
Contributor

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is an awesome PR! I had a few comments.

I don't know in general how to get detailed version info for Edge, or any detailed Edge compat info really beyond https://docs.microsoft.com/en-us/microsoft-edge/extensions/api-support/supported-apis.

14 seems like a reasonable baseline, so in general "true"->"14" seems like a good change. There are a few instances where you have changed "15"->"14" - I assume these are correct too, but please make sure :-)

"version_added": true
"version_added": true,
"notes": [
"tab object in runtime.onMessage event is not fully implemented.",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't seem like a very helpful note, is it possible to be more specific about what isn't supported?

},
"edge": {
"version_added": false
"version_added": "14"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://docs.microsoft.com/en-us/microsoft-edge/extensions/api-support/supported-apis#webnavigation, in the summary at the top, says transition types are not supported, but the entry for TransitionType does not. I don't know which is correct here.

"version_added": true
"version_added": "14",
"notes": [
"webRequest not supported for synchronous XmlHttpRequests."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"webRequest not supported for synchronous XmlHttpRequests." -> "webRequest events are not fired for synchronous XMLHttpRequests." or something like that?

"notes": [
"Asynchronous event listeners are not supported."
"Asynchronous event listeners are not supported.",
"`requestBody` is not supported."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use <code>requestBody</code>, or just plaintext. Markdown is not supported in notes (yes I know lots of existing notes use it :-/

Copy link
Copy Markdown
Contributor

@ExE-Boss ExE-Boss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could probably be merged with my effort in #1686.

@Elchi3
Copy link
Copy Markdown
Member

Elchi3 commented Apr 19, 2018

This needs a rebase now that #1686 is merged.

@Elchi3
Copy link
Copy Markdown
Member

Elchi3 commented Jul 19, 2018

No activity here, so I'm closing this now. Please re-open if you want to come back to it.

@Elchi3 Elchi3 closed this Jul 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions HackOnMDNParis2018 Issues or pull requests at the Hack on MDN event in Paris in March 2018

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants