Hi Extensions API reviewers,
I'm adding a method to the cryptotokenPrivate extension API that shows a permission prompt for U2F API requests (similar to the existing
canAppIdGetAttestation()). karandeepb@ pointed out to me on the
CL that it's a
medium-size change and requires API review. Hence, I'd like to formally request permission to add the following method to cryptotokenPrivate:
dictionary U2fApiRequestOptions {
DOMString appId;
DOMString origin;
long tabId;
};
// Checks whether a site may issue a U2F register or sign request. Chrome
// displays a permission prompt to determine a result.
static void canMakeU2fApiRequest(U2fApiRequestOptions options,
BooleanCallback callback);
More context on what the prompt looks like and why we're adding it
here. (The prompt will go through the regular Chrome feature launch process.)
Thanks,
Martin