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
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
workers
/
resources
/
stress-js-execution.js
blob
64880df162998cec759f6a2ceea64bcdb7f496b7
1
function test()
2
{
3
(new String("abc")) + (new Date).toGMTString() + null;
4
new Array(new Number(0), 1, 2, 3);
5
new RegExp("");
6
"foo".match(/[a-z]+/);
7
"a".localeCompare("A");
8
try {
9
throw 0;
10
} catch (ex) {
11
}
12
}
13
14
var postedMessage = false;
15
while (true) {
16
try {
17
test();
18
eval("test()");
19
} catch (ex) {
20
if (!postedMessage) {
21
postMessage("Unexpected exception: " + ex);
22
postedMessage = true;
23
}
24
}
25
}