mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1515204 - add mouseup after drop in EventUtils, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D28749 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
69a53af128
commit
811c33eeca
@ -88,7 +88,6 @@ skip-if = os == "linux" # Intermittent failures
|
||||
skip-if = verify
|
||||
[browser_956602_remove_special_widget.js]
|
||||
[browser_962069_drag_to_overflow_chevron.js]
|
||||
skip-if = verify || os == "linux" || os == "mac" && debug # bug 1515204
|
||||
[browser_963639_customizing_attribute_non_customizable_toolbar.js]
|
||||
[browser_967000_button_charEncoding.js]
|
||||
[browser_968565_insert_before_hidden_items.js]
|
||||
|
@ -8,7 +8,7 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input id="input1">
|
||||
<input id="input1" value="aaaaaaaaaaaaaaaaaaaa">
|
||||
<div id=div1 style="height: 100px;">
|
||||
<textarea id="textarea1" style="display: none;"></textarea>
|
||||
</div>
|
||||
@ -16,6 +16,7 @@
|
||||
SimpleTest.waitForFocus(() => {
|
||||
let input1 = document.getElementById('input1');
|
||||
input1.focus();
|
||||
input1.selectionStart = input1.selectionEnd = 0;
|
||||
synthesizeKey("A");
|
||||
document.documentElement.removeAttribute("class");
|
||||
});
|
||||
|
@ -2337,6 +2337,7 @@ function synthesizeDropAfterDragOver(aResult, aDataTransfer, aDestElement, aDest
|
||||
aDataTransfer, aDragEvent);
|
||||
sendDragEvent(event, aDestElement, aDestWindow);
|
||||
}
|
||||
synthesizeMouse(aDestElement, 2, 2, { type: "mouseup" }, aDestWindow);
|
||||
|
||||
return effect;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user