Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
JSTests
/
stress
/
bytecode-cache-syntax-error.js
blob: d8fea838cbbd50fd4b335d7a6c729803adcf1c32 [
file
] [
log
] [
blame
]
//@ runBytecodeCacheNoAssertion
try
{
loadString
(
'function(){}'
);
throw
new
Error
(
'loadString should have thrown'
);
}
catch
(
err
)
{
if
(
err
.
message
!=
'Function statements must have a name.'
)
throw
new
Error
(
'Unexpected exception'
);
}