Fixed typo

This commit is contained in:
Nikolai Ommundsen
2018-08-15 14:30:35 +02:00
parent 6288dfa447
commit d16065adda
2 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -2526,7 +2526,7 @@ declare namespace chrome {
* @param certificate The DER encoding of a X.509 certificate.
* @param [callback] Called back when this operation is finished.
*/
function removeCertificae(tokenId: string, certificate: ArrayBuffer, callback: () => void): void;
function removeCertificate(tokenId: string, certificate: ArrayBuffer, callback: () => void): void;
/**
* @since Since Chrome 50.
* @description
+4 -8
View File
@@ -691,18 +691,14 @@ chrome.hid.getDevices({
// File Browser Handle
chrome.fileBrowserHandler.onExecute.addListener((id, details) => {
/*chrome.fileBrowserHandler.selectFile(
chrome.fileBrowserHandler.selectFile(
{
suggestedName: 'some_file_name.txt',
allowedFileExtensions: ['txt', 'html']
},
(result: any) => {
chrome.test.assertTrue(!!result);
chrome.test.assertTrue(result.success);
chrome.test.assertTrue(!!result.entry);
ensureFileExists(result.entry, writeToFile, errorCallback);
});*/
(result) => {
console.log(result.entry);
});
});
// FILE SYSTEM