mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
ede8c44ef2
This excludes dom/, otherwise the file size is too large for phabricator to handle. This is an autogenerated commit to handle scripts loading mochitest harness files, in the simple case where the script src is on the same line as the tag. This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170 using the `--part 2` argument. Differential Revision: https://phabricator.services.mozilla.com/D27456 --HG-- extra : moz-landing-system : lando
21 lines
524 B
HTML
21 lines
524 B
HTML
<!doctype html>
|
|
<html>
|
|
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
|
<script>
|
|
function onLoad() {
|
|
let input2 = document.getElementById("input2");
|
|
input2.addEventListener("focus", e => {
|
|
e.stopImmediatePropagation();
|
|
});
|
|
document.getElementById("input1").focus();
|
|
synthesizeKey("KEY_Tab");
|
|
synthesizeKey("KEY_Tab", {shiftKey: true});
|
|
synthesizeKey("KEY_Tab");
|
|
}
|
|
</script>
|
|
<body onload="onLoad()">
|
|
<input type="text" id="input1"></input>
|
|
<input type="text" id="input2"></input>
|
|
</body>
|
|
</html>
|