playwright/test/assets/error.html
Dmitry Gozman 649f37f885
fix(pageerror): report correct error message and stack (#1862)
The error stack matches the browser format.
2020-04-20 11:37:02 -07:00

19 lines
217 B
HTML

<script>
console.error('Not a JS error');
a();
function a() {
b();
}
function b() {
c();
}
function c() {
window.e = new Error('Fancy error!');
throw window.e;
}
//# sourceURL=myscript.js
</script>