mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Update web-platform-tests to revision 5e3ea8f49fee68c327388bfd1dd1375a8ce12a0e.
This commit is contained in:
parent
12195a5c4a
commit
bfb96b9448
1166 changed files with 35123 additions and 900 deletions
|
@ -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