Bug 1264095 - Replace ** with e for generating large numbers; r=ryanvm
authorMorgan Phillips <winter2718@gmail.com>
Wed, 13 Apr 2016 03:18:41 -0700
changeset 331361 c3f94b249ad67511e878c8ae8474cd1dfc1c7f68
parent 331360 dcd51036ec228ea2ff054c3e9050b4e87e604b24
child 331362 79778dc483340b046b321ed7e259b32c2f2effbd
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersryanvm
bugs1264095
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1264095 - Replace ** with e for generating large numbers; r=ryanvm
devtools/shared/webconsole/test/test_page_errors.html
--- a/devtools/shared/webconsole/test/test_page_errors.html
+++ b/devtools/shared/webconsole/test/test_page_errors.html
@@ -77,17 +77,17 @@ function doPageErrors()
       errorMessageName: "JSMSG_NEGATIVE_REPETITION_COUNT",
       sourceName: /test_page_errors/,
       category: "chrome javascript",
       timeStamp: /^\d+$/,
       error: false,
       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/,
       category: "chrome javascript",
       timeStamp: /^\d+$/,
       error: false,
       warning: false,
       exception: true,