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 293490 c3f94b249ad67511e878c8ae8474cd1dfc1c7f68
parent 293489 dcd51036ec228ea2ff054c3e9050b4e87e604b24
child 293491 79778dc483340b046b321ed7e259b32c2f2effbd
push id30186
push usercbook@mozilla.com
push dateMon, 18 Apr 2016 12:40:25 +0000
treeherdermozilla-central@6066850740cd [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,