This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copied from http://www.w3.org/Submission/2015/SUBM-fido-web-api-20151120/#api | |
partial interface Window { | |
readonly attribute FIDOCredentials fido; | |
}; | |
interface FIDOCredentials { | |
Promise<FIDOCredentialInfo> makeCredential(Account accountInformation, sequence<FIDOCredentialParameters> cryptoParameters, DOMString attestationChallenge, optional unsigned long credentialTimeoutSeconds, optional sequence<Credential> blacklist, optional FIDOExtensions credentialExtensions); | |
Promise<FIDOAssertion> getAssertion(DOMString assertionChallenge, optional unsigned long assertionTimeoutSeconds, optional sequence<Credential> whitelist, optional FIDOExtensions assertionExtensions); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. | |
*/ | |
callback BrowserElementNextPaintEventCallback = void (); | |
enum BrowserFindCaseSensitivity { "case-sensitive", "case-insensitive" }; | |
enum BrowserFindDirection { "forward", "backward" }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ | |
/* vim: set ts=2 et sw=2 tw=80: */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
// MediaMetadata and MediaPlayStatus are used to keep data from Applications. | |
// Please see specification of AVRCP 1.3 for more details. | |
dictionary MediaMetaData | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. | |
* | |
* The origin of this IDL file is | |
* http://www.w3.org/TR/WebCryptoAPI/ | |
*/ | |
typedef DOMString KeyType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. | |
* | |
* The origin of this IDL file is | |
* http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#the-workerglobalscope-common-interface | |
* | |
* © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and Opera | |
* Software ASA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. | |
* | |
* The origin of this IDL file is | |
* www.w3.org/TR/2012/WD-XMLHttpRequest-20120117/ | |
* | |
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C | |
* liability, trademark and document use rules apply. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this file, | |
* You can obtain one at http://mozilla.org/MPL/2.0/. | |
*/ | |
dictionary InstallParameters { | |
sequence<DOMString> receipts = []; | |
sequence<DOMString> categories = []; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open window with stringified version of couchdb view functions. | |
function map(doc) { | |
if(doc.name && doc.age) { | |
emit(doc.name, doc.age); | |
} | |
} | |
function reduce(keys, values) { | |
var sum = 0; | |
values.forEach(function(element) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6012 20140720T013413+0200 git pull origin master | |
6011 20140720T013400+0200 echo "README.rst" >> .git/info/sparse-checkout | |
6010 20140720T013319+0200 git config core.sparsecheckout true | |
6009 20140720T013259+0200 git remote add origin https://github.com/anaran/olympia | |
6007 20140720T013213+0200 cd olympia | |
6006 20140720T013209+0200 git init olympia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Begin of popchrom2mywords.js | |
// | |
// Run this JavaScript code snippet in Firefox Scratchpad | |
// or import to Google Chrome devtools source snippets | |
// in a tab containing a Popchrom export file with | |
// Character encoding set to Unicode for that tab. | |
// | |
// A newly created dialog contains a link to download the | |
// generated | |
// 'popchrom2mywords_@' + Date.now() + '.xml' |
NewerOlder