mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Don't crash when modifying detached progress element attributes
This commit is contained in:
parent
8057542dea
commit
e795c24fdd
Notes:
sideshowbarker
2024-07-17 04:09:56 +09:00
Author: https://github.com/tcl3
Commit: e795c24fdd
Pull-request: https://github.com/SerenityOS/serenity/pull/23624
3 changed files with 13 additions and 1 deletions
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
const progressElement = document.createElement("progress");
|
||||
progressElement.max = 100;
|
||||
progressElement.value = 50;
|
||||
println("PASS (didn't crash)");
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue