mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
10
testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_inherit.html
vendored
Normal file
10
testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_inherit.html
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>Example pref test</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<p>Test requires the pref browser.display.foreground_color to be set to #00FF00</p>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_equals(getComputedStyle(document.body).color, "rgb(255, 0, 0)");
|
||||
}, "Test that pref was set");
|
||||
</script>
|
||||
10
testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html
vendored
Normal file
10
testing/web-platform/harness/test/testdata/testharness/firefox/subdir/test_pref_reset.html
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>Example pref test</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<p>Test requires the pref browser.display.foreground_color to be set to #00FF00</p>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_equals(getComputedStyle(document.body).color, "rgb(0, 0, 0)");
|
||||
}, "Test that pref was reset");
|
||||
</script>
|
||||
10
testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_dir.html
vendored
Normal file
10
testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_dir.html
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>Example pref test</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<p>Test requires the pref browser.display.foreground_color to be set to #FF0000</p>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_equals(getComputedStyle(document.body).color, "rgb(255, 0, 0)");
|
||||
}, "Test that pref was set");
|
||||
</script>
|
||||
10
testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html
vendored
Normal file
10
testing/web-platform/harness/test/testdata/testharness/firefox/test_pref_set.html
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>Example pref test</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<p>Test requires the pref browser.display.foreground_color to be set to #00FF00</p>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_equals(getComputedStyle(document.body).color, "rgb(0, 255, 0)");
|
||||
}, "Test that pref was set");
|
||||
</script>
|
||||
9
testing/web-platform/harness/test/testdata/testharness/subdir/testharness_1.html
vendored
Normal file
9
testing/web-platform/harness/test/testdata/testharness/subdir/testharness_1.html
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<title>Test should be enabled</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(true);
|
||||
}, "Test that should pass");
|
||||
</script>
|
||||
10
testing/web-platform/harness/test/testdata/testharness/testharness.https.html
vendored
Normal file
10
testing/web-platform/harness/test/testdata/testharness/testharness.https.html
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>Example https test</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_equals(window.location.protocol, "https:");
|
||||
}, "Test that file was loaded with the correct protocol");
|
||||
|
||||
</script>
|
||||
9
testing/web-platform/harness/test/testdata/testharness/testharness_0.html
vendored
Normal file
9
testing/web-platform/harness/test/testdata/testharness/testharness_0.html
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<title>Test should be disabled</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(false);
|
||||
}, "Test that should fail");
|
||||
</script>
|
||||
7
testing/web-platform/harness/test/testdata/testharness/testharness_error.html
vendored
Normal file
7
testing/web-platform/harness/test/testdata/testharness/testharness_error.html
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<!doctype html>
|
||||
<title>testharness.js test that should error</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
undefined_function()
|
||||
</script>
|
||||
9
testing/web-platform/harness/test/testdata/testharness/testharness_long_timeout.html
vendored
Normal file
9
testing/web-platform/harness/test/testdata/testharness/testharness_long_timeout.html
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<title>testharness.js test with long timeout</title>
|
||||
<meta name=timeout content=long>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
var t = async_test("Long timeout test");
|
||||
setTimeout(t.step_func_done(function() {assert_true(true)}), 15*1000);
|
||||
</script>
|
||||
6
testing/web-platform/harness/test/testdata/testharness/testharness_timeout.html
vendored
Normal file
6
testing/web-platform/harness/test/testdata/testharness/testharness_timeout.html
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!doctype html>
|
||||
<title>Simple testharness.js usage</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
// This file should time out, obviously
|
||||
Loading…
Add table
Add a link
Reference in a new issue