git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add missing exception check in RegExpObjectInlines.h's collectMatches.
[WebKit-https.git]
/
JSTests
/
stress
/
regress-187006.js
1
Object.defineProperty(Array.prototype, '0', {
2
get() { },
3
set() { throw new Error(); }
4
});
5
6
var __v_7772 = "GGCCGGGTAAAGTGGCTCACGCCTGTAATCCCAGCACTTTACCCCCCGAGGCGGGCGGA";
7
var exception;
8
9
try {
10
__v_7772.match(/[cgt]gggtaaa|tttaccc[acg]/ig);
11
} catch (e) {
12
exception = e;
13
}
14
15
if (exception != "Error")
16
throw "FAILED";