mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
The proposal has not seemed to progress for a while, and there is a open issue about module imports which breaks HTML integration. While we could probably make an AD-HOC change to fix that issue, it is deep enough in the JS engine that I am not particularly keen on making that change. Until other browsers begin to make positive signals about shipping ShadowRealms, let's remove our implementation for now. There is still some cleanup that can be done with regard to the HTML integration, but there are a few more items that need to be untangled there.
12 lines
439 B
HTML
12 lines
439 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
for (const QueuingStrategy of [CountQueuingStrategy, ByteLengthQueuingStrategy]) {
|
|
const size1 = (new QueuingStrategy({ highWaterMark: 5 })).size;
|
|
const size2 = (new QueuingStrategy({ highWaterMark: 10 })).size;
|
|
println(`${QueuingStrategy.name} | size1 === size2 -> ${size1 === size2}`);
|
|
}
|
|
})
|
|
</script>
|