Skip to content

Truly independent web browser

889 B
Raw Blame
<!DOCTYPE html>
<meta charset="utf-8">
<script src="../../include.js"></script>
<script src="structural-matrix.js"></script>
<script>
    // Large amount of time spent in flushPendingStyleWork() pushes this high-volume stress test past the harness's
    // default 120s per-test ceiling on Sanitizer builds. Give it more room.
    internals.setTestTimeout(300000);
</script>
<script>
    test(() => {
        const stressScopes = [
            "document",
            "shadow-internal",
            "shadow-host",
        ];
        const stressModes = ["warm", "cold", "pseudo-warm", "pseudo-cold", "detached", "detached-pseudo"];
        for (const scope of stressScopes) {
            for (const selectorCase of childMutationCases) {
                for (const mode of stressModes)
                    runStressCase(scope, selectorCase, mode);
            }
        }
    });
</script>