mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Fire the change event synchronously when committing changes
The spec does not say to do this asynchronously on a task queue.
This commit is contained in:
committed by
Andreas Kling
parent
b749167506
commit
301d58e2d9
Notes:
sideshowbarker
2024-07-17 18:08:55 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/301d58e2d9 Pull-request: https://github.com/SerenityOS/serenity/pull/22150 Reviewed-by: https://github.com/awesomekling ✅
@@ -1,12 +1,11 @@
|
||||
<input id=input type=text>
|
||||
<script src="include.js"></script>
|
||||
<script>
|
||||
asyncTest((done) => {
|
||||
test(() => {
|
||||
let input = document.getElementById("input");
|
||||
|
||||
input.addEventListener("change", () => {
|
||||
println(input.value);
|
||||
done();
|
||||
});
|
||||
|
||||
internals.sendText(input, "wfh :^)");
|
||||
|
||||
Reference in New Issue
Block a user