mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +00:00

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
24 lines
631 B
HTML
24 lines
631 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script src="/tests/SimpleTest/EventUtils.js"></script>
|
|
<script type="text/javascript">
|
|
function start()
|
|
{
|
|
var input = document.querySelector("input");
|
|
input.value = '\u{1f468}\u{200d}\u{1f469}\u{200d}\u{1f467}\u{200d}\u{1f466}';
|
|
input.addEventListener("focus", () => {
|
|
input.setSelectionRange(input.value.length, input.value.length);
|
|
synthesizeKey("KEY_ArrowLeft");
|
|
document.documentElement.removeAttribute("class");
|
|
});
|
|
input.focus();
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="start()">
|
|
<input type="text"></input>
|
|
</body>
|
|
</html>
|