Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Regression test for serialization bug with progress.value</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div><progress></progress></div>
<script>
"use strict";
test(() => {
const el = document.querySelector("progress");
el.value = 0;
// Before the jsdom bugfix, this would crash
assert_equals(document.querySelector("div").innerHTML, `<progress value="0"></progress>`);
});
</script>