mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
24 lines
525 B
JavaScript
24 lines
525 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
MARIONETTE_TIMEOUT = 30000;
|
|
MARIONETTE_HEAD_JS = 'head.js';
|
|
|
|
function testEnableNFC() {
|
|
log('Running \'testEnableNFC\'');
|
|
toggleNFC(true, runNextTest);
|
|
}
|
|
|
|
function testDisableNFC() {
|
|
log('Running \'testDisableNFC\'');
|
|
toggleNFC(false, runNextTest);
|
|
}
|
|
|
|
let tests = [
|
|
testEnableNFC,
|
|
testDisableNFC
|
|
];
|
|
|
|
SpecialPowers.pushPermissions(
|
|
[{'type': 'settings', 'allow': true, 'context': document}], runTests);
|