mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00:00
Another attempt to fix an intermittent Mac-only test failure (bug 895426); r=me
This commit is contained in:
parent
0ae70a541b
commit
4cce6549cc
@ -68,7 +68,7 @@ function testBreakOnAll()
|
||||
|
||||
gThreadClient.resume(function() {
|
||||
gInput.focus();
|
||||
EventUtils.synthesizeKey("e", {}, content);
|
||||
EventUtils.synthesizeKey("e", { shiftKey: 1 }, content);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -95,7 +95,7 @@ function testBreakOnDisabled()
|
||||
}, false);
|
||||
|
||||
gInput.focus();
|
||||
EventUtils.synthesizeKey("e", {}, content);
|
||||
EventUtils.synthesizeKey("e", { shiftKey: 1 }, content);
|
||||
});
|
||||
}
|
||||
|
||||
@ -118,7 +118,7 @@ function testBreakOnNone()
|
||||
}, false);
|
||||
|
||||
gInput.focus();
|
||||
EventUtils.synthesizeKey("g", {}, content);
|
||||
EventUtils.synthesizeKey("g", { shiftKey: 1 }, content);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ function testEventListeners()
|
||||
gClient.addOneTimeListener("paused", function(aEvent, aPacket) {
|
||||
is(aPacket.why.type, "debuggerStatement", "debugger statement was hit.");
|
||||
gThreadClient.eventListeners(function(aPacket) {
|
||||
is(aPacket.listeners.length, 4, "Found all event listeners.");
|
||||
is(aPacket.listeners.length, 3, "Found all event listeners.");
|
||||
let types = [];
|
||||
for (let l of aPacket.listeners) {
|
||||
let node = l.node;
|
||||
|
@ -6,7 +6,8 @@
|
||||
<!-- Any copyright is dedicated to the Public Domain.
|
||||
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||||
<script type="text/javascript">
|
||||
window.addEventListener("load", function() {
|
||||
window.addEventListener("load", function onload() {
|
||||
window.removeEventListener("load", onload);
|
||||
function initialSetup(event) {
|
||||
debugger;
|
||||
var button = document.querySelector("button");
|
||||
|
Loading…
x
Reference in New Issue
Block a user