/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.4.0
tests/html/panic.html
16 строк
636 B
Luke Warlow
script: Introduce `ServoTestUtils` and a `forceLayout()` function (#42714)
20 фев 2026, 16:00
Не верифицирован
20 фев 2026, 16:00
853fcf4
Код
Авторство
О чём код?
<!-- To exercise these tests, set the `dom.testbinding.enabled` to true. It is expected that the browser will not abort due to failed JS engine assertions. --> <!-- Straightforward test - invoking a panic from a toplevel script execution --> <script> ServoTestUtils.panic(); </script> <!-- invoking a panic from an event handler which is invoked by native code --> <!--<iframe src="data:,hi there" onload="ServoTestUtils.panic()"></iframe>--> <!-- invoking a panic from an event handler which is invoked by script --> <!--<div onclick="ServoTestUtils.panic()"></div> <script> document.querySelector('div').click(); </script>-->