mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
add test for lazy attribute getter
This commit is contained in:
@@ -490,3 +490,11 @@
|
|||||||
testing.expectEqual('function', typeof div.onratechange);
|
testing.expectEqual('function', typeof div.onratechange);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script id=lazy_attribute>
|
||||||
|
{
|
||||||
|
let div = document.createElement('div');
|
||||||
|
div.onload = () => console.warn("via setter");
|
||||||
|
testing.expectEqual(null, div.getAttribute("onload"));
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user