From 6fb04ebc6658e60cba51d3d767cf670041c09cd4 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Tue, 9 Apr 2019 18:27:08 +0200 Subject: [PATCH] docs(README): Clarify why Chrome-only methods have no Promise (#183) --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ef051ea..23cf530 100644 --- a/README.md +++ b/README.md @@ -284,8 +284,11 @@ This library takes its knowledge of the APIs to wrap and their signatures from a If an API method is not yet included in this "API metadata" file, it will not be recognized. Promises are not supported for unrecognized APIs, and callbacks have to be used for them. -File an issue in this repository for API methods that supports a callback on Chrome and -are currently missing from the "API metadata" file. +Chrome-only APIs have no promise version, because extensions that use such APIs +would not be compatible with Firefox. + +File an issue in this repository for API methods that support callbacks in Chrome *and* +Firefox but are currently missing from the "API metadata" file. ### Issues that happen only when running on Firefox