mirror of
https://github.com/servo/servo.git
synced 2025-09-01 10:38:25 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
18
tests/wpt/css-tests/resources/apisample5.htm
Normal file
18
tests/wpt/css-tests/resources/apisample5.htm
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title>Harness Ignoring Uncaught Exception</title>
|
||||
</head>
|
||||
<script src="testharness.js"></script>
|
||||
|
||||
<body>
|
||||
<h1>Harness Ignoring Uncaught Exception</h1>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
setup({allow_uncaught_exception:true});
|
||||
var t = async_test("setup({allow_uncaught_exception:true}) should allow tests to pass even if there is an exception");
|
||||
onerror = t.step_func(function() {t.done()});
|
||||
throw new Error("Example Error");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue