Bug 769041 - Followup to fix a test that hard-coded an error message improved/corrected by previous patches here. r=orange
authorJeff Walden <jwalden@mit.edu>
Fri, 29 Jun 2012 13:37:52 -0700
changeset 97980 dc013da3bb9b4f5dbdbc5e5002881b73f805cb28
parent 97979 924b157541bc8269eb5ef871e624edbd1c4ba748
child 97981 94ea4e12bb78cef5a3dc0ec3b6f3a1fe6e34a309
push id23017
push userryanvm@gmail.com
push dateSat, 30 Jun 2012 19:29:24 +0000
treeherdermozilla-central@4c2ddc60f360 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersorange
bugs769041
milestone16.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 769041 - Followup to fix a test that hard-coded an error message improved/corrected by previous patches here. r=orange
js/src/tests/js1_8/extensions/regress-469625.js
--- a/js/src/tests/js1_8/extensions/regress-469625.js
+++ b/js/src/tests/js1_8/extensions/regress-469625.js
@@ -17,17 +17,17 @@ test();
 //-----------------------------------------------------------------------------
 
 function test()
 {
   enterFunc ('test');
   printBugNumber(BUGNUMBER);
   printStatus (summary);
  
-  expect = 'TypeError: [] is not a function';
+  expect = 'TypeError: [].__proto__ is not a function';
 
   jit(true);
 
   Array.prototype.__proto__ = function () 3; 
 
   try
   {
     [].__proto__();