idle-detection-helper.js (483B)
1 'use strict'; 2 3 // These tests rely on the User Agent providing an implementation of 4 // platform nfc backends. 5 // 6 // In Chromium-based browsers this implementation is provided by a polyfill 7 // in order to reduce the amount of test-only code shipped to users. To enable 8 // these tests the browser must be run with these options: 9 // 10 // --enable-blink-features=MojoJS,MojoJSTest 11 12 async function loadChromiumResources() { 13 await import('/resources/chromium/mock-idle-detection.js'); 14 }