Sign in
chromium
/
chromium
/
src.git
/
81be0fcdd4dcfb2990cbc09e52dc9a2645cfff01
/
.
/
third_party
/
WebKit
/
LayoutTests
/
imported
/
wpt
/
workers
/
support
/
ErrorEvent-error.js
blob: 930b54c0d5881ed4d13de51df1b35aa4ab585735 [
file
] [
log
] [
blame
]
onerror
=
function
(
message
,
location
,
line
,
col
,
error
)
{
postMessage
({
source
:
"onerror"
,
value
:
error
});
}
addEventListener
(
"error"
,
function
(
e
)
{
postMessage
({
source
:
"event listener"
,
value
:
e
.
error
});
});
throw
"hello"
;