summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/offline/resources/js/clock.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/offline/resources/js/clock.js')
-rw-r--r--testing/web-platform/tests/html/browsers/offline/resources/js/clock.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/offline/resources/js/clock.js b/testing/web-platform/tests/html/browsers/offline/resources/js/clock.js
new file mode 100644
index 000000000..1ac0dca53
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/offline/resources/js/clock.js
@@ -0,0 +1,3 @@
+setTimeout(function () {
+ document.getElementById('clock').value = new Date();
+}, 1000); \ No newline at end of file