Bug 1578267 [wpt PR 18794] - Add infrastructure test for uncaught exception, a=testonly

Automatic update from web-platform-tests
Add infrastructure test for uncaught exception

To make current behavior clear.

This would change with https://github.com/web-platform-tests/wpt/pull/11024.

--

wpt-commits: 57a40f11e5f549e672188851227b47759c22d133
wpt-pr: 18794
This commit is contained in:
Philip Jägenstedt 2019-09-05 14:44:13 +00:00 коммит произвёл James Graham
Родитель ac4e771d46
Коммит 1d78cc1747
2 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,8 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Uncaught exception</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
throw new Error("error outside any setup or test");
</script>

Просмотреть файл

@ -0,0 +1,4 @@
[uncaught-exception.html]
[Uncaught exception]
expected: FAIL