repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
js
/
exception-codegen-crash.html
blob
4575e38fbc9e4630d8c5422398898e5e2e6e7f1d
1
<p>
This page tests some conditions that used to cause crashes during codegen.
2
</p>
3
<p>
If you don't crash, you pass.
4
</p>
5
6
<script>
7
if
(
window
.
testRunner
)
8
testRunner
.
dumpAsText
();
9
10
var
scripts
= [
11
"(1++).x;"
,
12
"/^[s{-.[]()]$/.x;"
,
13
"(++1).x;"
,
14
"(1 = 1).x;"
15
];
16
17
try
{
18
eval
(
scripts
.
join
(
"
\n
"
));
19
}
catch
(
e
) {
20
}
21
</script>