Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Makyen

年加入本站
Makyen

最近在 Docs 的活動

檢視所有活動
頁面 日期 回應

browserAction.openPopup()


Change "browser." to "chrome.". Change Syntax <pre> to class="syntaxbox brush:js". Add note that browser.* API is available (promises).

ui/button/toggle


Add onChange to list of optional options. It wass missing from specific list, but exists in text and examples.

runtime.lastError


runtime.lastError is an Error object, not a string. Move mention of null value into description of Value (it appears to have migrated to below the examples). And change a use of browser.* to chrome.*.

notifications.TemplateType


Within basic type use {{optional_inline}} to indicate something is optional. Change iconUrl to being optional to reflect testing/source code.

notifications.NotificationOptions


iconUrl is not mandatory.