From 9ac7e3719d7b867e9a54834214534a82269423ae Mon Sep 17 00:00:00 2001 From: Chris Pearce Date: Tue, 9 Oct 2012 11:21:57 +1300 Subject: [PATCH] Bug 690989 - Work around fullscreenchange events sometimes being dispatched before fullscreen transition completes on Linux. r=smaug --- content/html/content/test/Makefile.in | 1 + .../test/file_fullscreen-api-keys.html | 8 +- .../content/test/file_fullscreen-api.html | 331 +++++++++--------- .../content/test/file_fullscreen-denied.html | 29 +- .../test/file_fullscreen-esc-exit.html | 8 +- .../content/test/file_fullscreen-plugins.html | 63 ++-- .../test/file_fullscreen-rollback.html | 51 ++- .../content/test/file_fullscreen-utils.js | 104 ++++++ 8 files changed, 330 insertions(+), 265 deletions(-) create mode 100644 content/html/content/test/file_fullscreen-utils.js diff --git a/content/html/content/test/Makefile.in b/content/html/content/test/Makefile.in index fe12e69e9747..5fe2565e4442 100644 --- a/content/html/content/test/Makefile.in +++ b/content/html/content/test/Makefile.in @@ -243,6 +243,7 @@ MOCHITEST_FILES = \ test_bug677463.html \ test_bug682886.html \ test_bug717819.html \ + file_fullscreen-utils.js \ file_fullscreen-api.html \ file_fullscreen-api-keys.html \ test_fullscreen-api.html \ diff --git a/content/html/content/test/file_fullscreen-api-keys.html b/content/html/content/test/file_fullscreen-api-keys.html index af324abcef5d..5927714d1265 100644 --- a/content/html/content/test/file_fullscreen-api-keys.html +++ b/content/html/content/test/file_fullscreen-api-keys.html @@ -9,6 +9,7 @@ Test that restricted key pressed drop documents out of DOM full-screen mode. Test for Bug 545812 +