Bug 976369 - Increase Yarr's match limit to unregress dzone website. r=jandem

--HG--
extra : rebase_source : b7441e399e223b48710ce82e6c65776610c16da4
This commit is contained in:
Till Schneidereit 2014-02-26 16:57:04 +13:00
Родитель 4a4f66fabb
Коммит 4a5d85e72b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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,