mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Backed out changeset b4c531b04559 (bug 1640475) for SM bustages on bug1640475.js. CLOSED TREE
This commit is contained in:
parent
13e0b9c0b5
commit
1e190c341b
@ -1,7 +0,0 @@
|
||||
var i = 0;
|
||||
oomTest(function() {
|
||||
for (var j = 0; j < 10; ++j) {
|
||||
var r = RegExp(`(?<_${(i++).toString(32)}>a)`);
|
||||
r.exec("a");
|
||||
}
|
||||
});
|
@ -1179,7 +1179,6 @@ bool RegExpShared::initializeNamedCaptures(JSContext* cx, HandleRegExpShared re,
|
||||
uint32_t arraySize = numNamedCaptures * sizeof(uint32_t);
|
||||
uint32_t* captureIndices = static_cast<uint32_t*>(js_malloc(arraySize));
|
||||
if (!captureIndices) {
|
||||
js::ReportOutOfMemory(cx);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user