summaryrefslogtreecommitdiffstats
path: root/dom/bindings/test/file_fullScreenPropertyAccessor.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/bindings/test/file_fullScreenPropertyAccessor.html')
-rw-r--r--dom/bindings/test/file_fullScreenPropertyAccessor.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/dom/bindings/test/file_fullScreenPropertyAccessor.html b/dom/bindings/test/file_fullScreenPropertyAccessor.html
new file mode 100644
index 000000000..92a37e0ba
--- /dev/null
+++ b/dom/bindings/test/file_fullScreenPropertyAccessor.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<div id="stage"></div>
+<script>
+ function stage(str) {
+ var s = document.getElementById("stage");
+ s.textContent = str;
+ }
+ stage("before");
+ setTimeout(function() {
+ stage("in timeout");
+ });
+ setInterval(function() {
+ stage("in interval");
+ });
+ addEventListener("keydown", function() {
+ stage("keydown");
+ }, false);
+ try {
+ window.fullScreen;
+ stage("after");
+ } catch(e) {
+ stage("exception raised");
+ }
+</script>