mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Added test cases for bug 588362 (no_r=me).
--HG-- extra : rebase_source : 31f12cfd87e2ecaf49cfd496e2e78b2846a9f3be
This commit is contained in:
parent
7c2ac56dff
commit
6c7893b5ff
8
js/src/trace-test/tests/jaeger/bug588362-1.js
Normal file
8
js/src/trace-test/tests/jaeger/bug588362-1.js
Normal file
@ -0,0 +1,8 @@
|
||||
for (a = 0; a < HOTLOOP + 5; a++) {
|
||||
(function e() {
|
||||
yield eval()
|
||||
}())
|
||||
}
|
||||
|
||||
/* Don't assert. */
|
||||
|
10
js/src/trace-test/tests/jaeger/bug588362-2.js
Normal file
10
js/src/trace-test/tests/jaeger/bug588362-2.js
Normal file
@ -0,0 +1,10 @@
|
||||
for (a = 0; a < HOTLOOP + 5; a++) {
|
||||
(function n() {
|
||||
with({}) {
|
||||
yield
|
||||
}
|
||||
} ())
|
||||
}
|
||||
|
||||
/* Don't assert. */
|
||||
|
10
js/src/trace-test/tests/jaeger/bug588362-3.js
Normal file
10
js/src/trace-test/tests/jaeger/bug588362-3.js
Normal file
@ -0,0 +1,10 @@
|
||||
for (a = 0; a < HOTLOOP + 5; a++) {
|
||||
(function n() { {
|
||||
function s() {}
|
||||
}
|
||||
yield[];
|
||||
}());
|
||||
}
|
||||
|
||||
/* Don't assert. */
|
||||
|
Loading…
Reference in New Issue
Block a user