From 5a769cb72bde23e5cdade7b1c80ac6dacf14ea87 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Sat, 26 Apr 2014 13:14:00 +0200 Subject: [PATCH] Bug 997570 - Test for order of execution of onsyncfrompreference handler. r=MattN --- toolkit/content/tests/chrome/chrome.ini | 2 + .../test_preferences_onsyncfrompreference.xul | 62 +++++++++++++++++++ ...indow_preferences_onsyncfrompreference.xul | 42 +++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 toolkit/content/tests/chrome/test_preferences_onsyncfrompreference.xul create mode 100644 toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul diff --git a/toolkit/content/tests/chrome/chrome.ini b/toolkit/content/tests/chrome/chrome.ini index 5ce088279a82..62ffb81e0fe5 100644 --- a/toolkit/content/tests/chrome/chrome.ini +++ b/toolkit/content/tests/chrome/chrome.ini @@ -130,6 +130,8 @@ skip-if = os == "win" # Intermittent failures, bug 919016 [test_preferences.xul] [test_preferences_beforeaccept.xul] support-files = window_preferences_beforeaccept.xul +[test_preferences_onsyncfrompreference.xul] +support-files = window_preferences_onsyncfrompreference.xul [test_progressmeter.xul] [test_props.xul] [test_radio.xul] diff --git a/toolkit/content/tests/chrome/test_preferences_onsyncfrompreference.xul b/toolkit/content/tests/chrome/test_preferences_onsyncfrompreference.xul new file mode 100644 index 000000000000..8a191d97a165 --- /dev/null +++ b/toolkit/content/tests/chrome/test_preferences_onsyncfrompreference.xul @@ -0,0 +1,62 @@ + + + + + + + + + +

+ +

+  
+
+
diff --git a/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul b/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul new file mode 100644 index 000000000000..e0366f989523 --- /dev/null +++ b/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + +