playwright/test/assets/error.html

19 lines
217 B
HTML
Raw Normal View History

2019-11-19 05:18:28 +03:00
<script>
console.error('Not a JS error');
2019-11-19 05:18:28 +03:00
a();
function a() {
b();
}
function b() {
c();
}
function c() {
window.e = new Error('Fancy error!');
throw window.e;
2019-11-19 05:18:28 +03:00
}
//# sourceURL=myscript.js
2019-11-19 05:18:28 +03:00
</script>