mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Tests: Re-import disabled WPT crash tests in Text/ directory
We've had proper support for crash tests, so these can go where they belong.
This commit is contained in:
committed by
Andreas Kling
parent
08d2776860
commit
4a4c439ffe
Notes:
github-actions[bot]
2026-01-09 07:12:47 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/4a4c439ffed Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7384
@@ -1,15 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<body>
|
||||
<title>Crash with lazy parsing child rules and stylesheet copy-on-write</title>
|
||||
<link rel="help" href="https://crbug.com/1404879">
|
||||
<link href="../support/delete-other-rule-crash.css" rel="stylesheet">
|
||||
<script src="../../common/gc.js"></script>
|
||||
<script>
|
||||
addEventListener('DOMContentLoaded', async () => {
|
||||
requestAnimationFrame(async () => {
|
||||
document.styleSheets[0].deleteRule(0);
|
||||
await garbageCollect();
|
||||
document.styleSheets[0].cssRules[0].cssText;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<body>
|
||||
<title>Use-after-free when inserting implicit parent selector</title>
|
||||
<link rel="help" href="https://crbug.com/1380313">
|
||||
<style>
|
||||
:root {
|
||||
:lang(en), :lang(en) {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div lang="en"></div>
|
||||
<script>
|
||||
// Allocate a large chunk of memory, to trigger a GC.
|
||||
new Int32Array(536870911);
|
||||
</script>
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<title>Nesting pseudo element selectors should not crash</title>
|
||||
<link rel="help" href="https://crbug.com/1376227">
|
||||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/7912">
|
||||
<style>
|
||||
div::part(x) {
|
||||
& {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,9 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<style>
|
||||
.foo {
|
||||
::before:where(&) {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class=foo></div>
|
||||
Reference in New Issue
Block a user