summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-25 15:07:00 -0500
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:55:19 +0200
commiteb70e6e3d0bff11c25f14b1196025791bf2308fb (patch)
tree5ef4ce17db83c74d7b05ec12c8f59e095a6dd5bd /toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul
parent32ead795290b3399d56b4708fc75b77d296f6a1a (diff)
downloadUXP-eb70e6e3d0bff11c25f14b1196025791bf2308fb.tar
UXP-eb70e6e3d0bff11c25f14b1196025791bf2308fb.tar.gz
UXP-eb70e6e3d0bff11c25f14b1196025791bf2308fb.tar.lz
UXP-eb70e6e3d0bff11c25f14b1196025791bf2308fb.tar.xz
UXP-eb70e6e3d0bff11c25f14b1196025791bf2308fb.zip
Issue #439 - Remove tests from toolkit/
Diffstat (limited to 'toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul')
-rw-r--r--toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul42
1 files changed, 0 insertions, 42 deletions
diff --git a/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul b/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul
deleted file mode 100644
index e0366f989..000000000
--- a/toolkit/content/tests/chrome/window_preferences_onsyncfrompreference.xul
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
-<!-- This Source Code Form is subject to the terms of the Mozilla Public
- - License, v. 2.0. If a copy of the MPL was not distributed with this file,
- - You can obtain one at http://mozilla.org/MPL/2.0/. -->
-<!--
- XUL Widget Test for preferences window with onsyncfrompreference
- This test ensures that onsyncfrompreference handlers are called after all the
- values of the corresponding preference element have been set correctly
--->
-<prefwindow xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- title="preferences window"
- width="300" height="300"
- windowtype="test:preferences">
-
- <prefpane id="sample_pane" label="Sample Prefpane">
- <preferences id="sample_preferences">
- <preference id="tests.onsyncfrompreference.pref1"
- name="tests.onsyncfrompreference.pref1"
- type="int"/>
- <preference id="tests.onsyncfrompreference.pref2"
- name="tests.onsyncfrompreference.pref2"
- type="int"/>
- <preference id="tests.onsyncfrompreference.pref3"
- name="tests.onsyncfrompreference.pref3"
- type="int"/>
- </preferences>
- </prefpane>
- <label>Test Prefpane</label>
- <checkbox id="check1" label="Label1"
- preference="tests.onsyncfrompreference.pref1"
- onsyncfrompreference="return window.arguments[0]();"
- onsynctopreference="return 1;"/>
- <checkbox id="check2" label="Label2"
- preference="tests.onsyncfrompreference.pref2"
- onsyncfrompreference="return window.arguments[0]();"
- onsynctopreference="return 1;"/>
- <checkbox id="check3" label="Label3"
- preference="tests.onsyncfrompreference.pref3"
- onsyncfrompreference="return window.arguments[0]();"
- onsynctopreference="return 1;"/>
-</prefwindow>