Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: polyfill.js

Issue 29793590: Issue 6490 - Wrap browser.browserAction.set* with Promise (Closed)
Patch Set: Address PS1 comment Created June 12, 2018, 9:16 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ext/background.js ('K') | « ext/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: polyfill.js
===================================================================
--- a/polyfill.js
+++ b/polyfill.js
@@ -14,16 +14,19 @@
* You should have received a copy of the GNU General Public License
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";
{
const asyncAPIs = [
+ "browserAction.setIcon",
+ "browserAction.setBadgeText",
+ "browserAction.setBadgeBackgroundColor",
"browserAction.getPopup",
"contextMenus.removeAll",
"devtools.panels.create",
"notifications.clear",
"notifications.create",
"runtime.getBrowserInfo",
"runtime.openOptionsPage",
"runtime.sendMessage",
« ext/background.js ('K') | « ext/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld