forked from mirrors/gecko-dev
Bug 1807880 - Disabled docshell/test/mochitest/test_bug511449.html on all platforms for causing frequent failures. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D203383
This commit is contained in:
parent
8869ba4cf1
commit
f456a722ed
5 changed files with 0 additions and 75 deletions
|
|
@ -234,7 +234,6 @@ docshell/test/iframesandbox/test_child_navigation_by_location.html
|
||||||
docshell/test/mochitest/bug529119-window.html
|
docshell/test/mochitest/bug529119-window.html
|
||||||
docshell/test/mochitest/test_bug387979.html
|
docshell/test/mochitest/test_bug387979.html
|
||||||
docshell/test/mochitest/test_bug509055.html
|
docshell/test/mochitest/test_bug509055.html
|
||||||
docshell/test/mochitest/test_bug511449.html
|
|
||||||
docshell/test/mochitest/test_bug530396.html
|
docshell/test/mochitest/test_bug530396.html
|
||||||
docshell/test/mochitest/test_forceinheritprincipal_overrule_owner.html
|
docshell/test/mochitest/test_forceinheritprincipal_overrule_owner.html
|
||||||
docshell/test/navigation/file_triggeringprincipal_frame_1.html
|
docshell/test/navigation/file_triggeringprincipal_frame_1.html
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
<!DOCTYPE HTML>
|
|
||||||
<title>Used in test for bug 511449</title>
|
|
||||||
<input type="text" id="input">
|
|
||||||
<script type="text/javascript">
|
|
||||||
document.getElementById("input").focus();
|
|
||||||
</script>
|
|
||||||
|
|
@ -78,15 +78,6 @@ skip-if = ["true"] # Disabled for too many intermittent failures (bug 719186)
|
||||||
|
|
||||||
["test_bug509055.html"]
|
["test_bug509055.html"]
|
||||||
|
|
||||||
["test_bug511449.html"]
|
|
||||||
skip-if = [
|
|
||||||
"os == 'win'",
|
|
||||||
"os == 'linux'",
|
|
||||||
"os == 'android'",
|
|
||||||
"headless", # Headless: bug 1410525
|
|
||||||
]
|
|
||||||
support-files = ["file_bug511449.html"]
|
|
||||||
|
|
||||||
["test_bug529119-1.html"]
|
["test_bug529119-1.html"]
|
||||||
|
|
||||||
["test_bug529119-2.html"]
|
["test_bug529119-2.html"]
|
||||||
|
|
|
||||||
|
|
@ -1,56 +0,0 @@
|
||||||
<!DOCTYPE HTML>
|
|
||||||
<html>
|
|
||||||
<!--
|
|
||||||
https://bugzilla.mozilla.org/show_bug.cgi?id=511449
|
|
||||||
-->
|
|
||||||
<head>
|
|
||||||
<title>Test for Bug 511449</title>
|
|
||||||
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
||||||
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
|
||||||
<script src="/tests/SimpleTest/NativeKeyCodes.js"></script>
|
|
||||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=511449">Mozilla Bug 511449</a>
|
|
||||||
<p id="display"></p>
|
|
||||||
<div id="status"></div>
|
|
||||||
<div id="content">
|
|
||||||
</div>
|
|
||||||
<input type="text" id="input">
|
|
||||||
<pre id="test">
|
|
||||||
<script type="application/javascript">
|
|
||||||
|
|
||||||
/** Test for Bug 511449 */
|
|
||||||
|
|
||||||
SimpleTest.waitForExplicitFinish();
|
|
||||||
SimpleTest.requestFlakyTimeout("untriaged");
|
|
||||||
window.addEventListener("load", runTest);
|
|
||||||
|
|
||||||
var win = null;
|
|
||||||
|
|
||||||
function runTest() {
|
|
||||||
document.getElementById("input").focus();
|
|
||||||
win = window.open("file_bug511449.html", "");
|
|
||||||
SimpleTest.waitForFocus(runNextTest, win);
|
|
||||||
}
|
|
||||||
|
|
||||||
function runNextTest() {
|
|
||||||
var didClose = false;
|
|
||||||
win.onunload = function() {
|
|
||||||
didClose = true;
|
|
||||||
};
|
|
||||||
synthesizeNativeKey(KEYBOARD_LAYOUT_EN_US, MAC_VK_ANSI_W, {metaKey: 1}, "w", "w");
|
|
||||||
|
|
||||||
setTimeout(function() {
|
|
||||||
ok(didClose, "Cmd+W should have closed the tab");
|
|
||||||
if (!didClose) {
|
|
||||||
win.close();
|
|
||||||
}
|
|
||||||
SimpleTest.finish();
|
|
||||||
}, 1000);
|
|
||||||
}
|
|
||||||
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -74,9 +74,6 @@ with Files("mochitest/*402210*"):
|
||||||
with Files("mochitest/*509055*"):
|
with Files("mochitest/*509055*"):
|
||||||
BUG_COMPONENT = ("Firefox", "Bookmarks & History")
|
BUG_COMPONENT = ("Firefox", "Bookmarks & History")
|
||||||
|
|
||||||
with Files("mochitest/*511449*"):
|
|
||||||
BUG_COMPONENT = ("Core", "Widget: Cocoa")
|
|
||||||
|
|
||||||
with Files("mochitest/*551225*"):
|
with Files("mochitest/*551225*"):
|
||||||
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
|
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue