зеркало из https://github.com/mozilla/gecko-dev.git
Bug 976369 - Increase Yarr's match limit to unregress dzone website. r=jandem
--HG-- extra : rebase_source : b7441e399e223b48710ce82e6c65776610c16da4
This commit is contained in:
Родитель
4a4f66fabb
Коммит
4a5d85e72b
|
@ -51,7 +51,7 @@ static const unsigned offsetError = (unsigned)-2;
|
||||||
|
|
||||||
// The below limit restricts the number of "recursive" match calls in order to
|
// The below limit restricts the number of "recursive" match calls in order to
|
||||||
// avoid spending exponential time on complex regular expressions.
|
// avoid spending exponential time on complex regular expressions.
|
||||||
static const unsigned matchLimit = 1000000;
|
static const unsigned matchLimit = 2500000;
|
||||||
|
|
||||||
enum JSRegExpResult {
|
enum JSRegExpResult {
|
||||||
JSRegExpMatch = 1,
|
JSRegExpMatch = 1,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче