summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/page-visibility
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-17 20:21:38 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 08:38:36 +0100
commit4577efd50f8361ffa787d7fcba5f5894438f826c (patch)
tree22f77b0a3ccca888b25befc9437f35069b02dab3 /testing/web-platform/tests/page-visibility
parenteda34d02aa8159def0d811846e9417c37cea15cd (diff)
downloadUXP-4577efd50f8361ffa787d7fcba5f5894438f826c.tar
UXP-4577efd50f8361ffa787d7fcba5f5894438f826c.tar.gz
UXP-4577efd50f8361ffa787d7fcba5f5894438f826c.tar.lz
UXP-4577efd50f8361ffa787d7fcba5f5894438f826c.tar.xz
UXP-4577efd50f8361ffa787d7fcba5f5894438f826c.zip
Implement DOM page onvisibilitychange.
Diffstat (limited to 'testing/web-platform/tests/page-visibility')
-rw-r--r--testing/web-platform/tests/page-visibility/idlharness.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/testing/web-platform/tests/page-visibility/idlharness.html b/testing/web-platform/tests/page-visibility/idlharness.html
index c8086a1bc..257546080 100644
--- a/testing/web-platform/tests/page-visibility/idlharness.html
+++ b/testing/web-platform/tests/page-visibility/idlharness.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Page Visibility IDL tests</title>
<link rel="author" title="W3C" href="http://www.w3.org/" />
-<link rel="help" href="http://www.w3.org/TR/page-visibility/#sec-document-interface"/>
+<link rel="help" href="https://w3c.github.io/page-visibility/"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
@@ -16,6 +16,10 @@
<pre id='untested_idl' style='display:none'>
interface Document {
};
+
+[TreatNonObjectAsNull]
+callback EventHandlerNonNull = any (Event event);
+typedef EventHandlerNonNull? EventHandler;
</pre>
<pre id='idl'>