23739c644b
fix: crash on WebWorkerObserver script execution
22 lines
403 B
HTML
22 lines
403 B
HTML
<html>
|
|
|
|
<body>
|
|
<style>
|
|
textarea {
|
|
background-image: url(checkerboard);
|
|
background-image: paint(checkerboard);
|
|
}
|
|
|
|
@supports (background: paint(id)) {
|
|
background-image: paint(checkerboard);
|
|
}
|
|
</style>
|
|
<textarea></textarea>
|
|
<script>
|
|
const addPaintWorklet = async () => {
|
|
await CSS.paintWorklet.addModule('worklet.js');
|
|
}
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|