Bug 1264095 - Replace ** with e for generating large numbers; r=ryanvm

This commit is contained in:
Morgan Phillips 2016-04-13 03:18:41 -07:00
Родитель b2a3536232
Коммит 3b6e22e1bd
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -82,7 +82,7 @@ function doPageErrors()
warning: false,
exception: true,
},
"'a'.repeat(2**28);": {
"'a'.repeat(2e28);": {
errorMessage: /repeat count.*less than infinity/,
errorMessageName: "JSMSG_RESULTING_STRING_TOO_LARGE",
sourceName: /test_page_errors/,