chromium/third_party/blink/web_tests/external/wpt/html/browsers/offline/resources/js/clock.js

setTimeout(function () {
    document.getElementById('clock').value = new Date();
}, 1000);