diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 11:08:15 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 11:08:15 -0500 |
commit | 178382e4cea9a093506ecc752b04793bd98b8ed5 (patch) | |
tree | d112ff5526abf5fce7aa3220487a4a8769f1d165 /widget/tests/test_picker_no_crash.html | |
parent | 7832dded378423f245cb8cf8ef66c4c16a39f6e8 (diff) | |
download | UXP-178382e4cea9a093506ecc752b04793bd98b8ed5.tar UXP-178382e4cea9a093506ecc752b04793bd98b8ed5.tar.gz UXP-178382e4cea9a093506ecc752b04793bd98b8ed5.tar.lz UXP-178382e4cea9a093506ecc752b04793bd98b8ed5.tar.xz UXP-178382e4cea9a093506ecc752b04793bd98b8ed5.zip |
Issue #439 - Remove tests from widget/
Diffstat (limited to 'widget/tests/test_picker_no_crash.html')
-rw-r--r-- | widget/tests/test_picker_no_crash.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/widget/tests/test_picker_no_crash.html b/widget/tests/test_picker_no_crash.html deleted file mode 100644 index 08ba1db12..000000000 --- a/widget/tests/test_picker_no_crash.html +++ /dev/null @@ -1,36 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> - <title>Test for crashes when the parent window of a file picker is closed via script</title> - <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> - <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> -</head> - -<script type="application/javascript"> - -SimpleTest.waitForExplicitFinish(); -SimpleTest.requestFlakyTimeout("untriaged"); - -var childWindow; - -function testStepOne() { - childWindow = window.open('window_picker_no_crash_child.html', 'childWindow', 'width=300,height=150'); - SimpleTest.waitForFocus(testStepTwo, childWindow); -} - -function testStepTwo() { - childWindow.document.form1.uploadbox.click(); - // This should not crash the browser - childWindow.close(); - setTimeout("testStepThree();", 5000); -} - -function testStepThree() { - ok(true, "browser didn't crash"); - SimpleTest.finish(); -} - -SimpleTest.waitForFocus(testStepOne); -</script> -</body> -</html> |