bug 473709 - JavaScript Test by Gary Kwong. bug 457521 - JavaScript Test by Gary Kwong. bug 472787 - JavaScript Test by Gary Kwong. bug 477758, bug 478968, bug 480479, bug 480657, bug 481246 - JavaScript Tests - merge js/src/trace-test.js and js/tests/js1_8_1/trace/trace-test.js. bug 346749 - JavaScript Test by Blake Kaplan. bug 381963 - JavaScript Tests by Jesse Ruderman, Aiko. bug 384758 - JavaScript Test by Jesse Ruderman. bug 449657 - JavaScript Tests by Christopher Lenz, ash_mozilla. bug 449666 - JavaScript Test by Robert Sayre. bug 451673 - JavaScript Test by Boris Zbarsky. bug 464092 - JavaScript Tests by Jesse Ruderman. bug 464096 - JavaScript Test by Jesse Ruderman. bug 465567 - JavaScript Tests by Jesse Ruderman. bug 467495 - JavaScript Tests by Gary Kwong, Brendan Eich, Igor Bukanov. bug 468711 - JavaScript Test by Jesse Ruderman. bug 469234 - JavaScript Test by Jesse Ruderman. bug 469239 - JavaScript Tests by Jesse Ruderman. bug 469625 - JavaScript Tests by Gary Kwong, Jesse Ruderman and Jason Orendorff. bug 469761 - JavaScript Test by Jesse Ruderman. bug 472450 - JavaScript Tests by Gary Kwong. bug 472508 - JavaScript Test by Gary Kwong, Jesse Ruderman. bug 474771 - JavaScript Test by Jesse Ruderman. bug 475144 - JavaScript Test by Gary Kwong. bug 475469 - JavaScript Test by Jesse Ruderman. bug 479353 - JavaScript Test by Gary Kwong. bug 300079 - Test is for clone and not for js1.8 features. Modify to use functions and move to js1_5/extensions/. bug 380237 - remove test created Object.prototype.copy. git-svn-id: svn://10.0.0.236/trunk@256461 18797224-902f-48f8-a5cc-f745e15eee43
70 lines
2.5 KiB
JavaScript
70 lines
2.5 KiB
JavaScript
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is JavaScript Engine testing utilities.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Mozilla Foundation.
|
|
* Portions created by the Initial Developer are Copyright (C) 2008
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s): Gary Kwong
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
var gTestfile = 'regress-472450-04.js';
|
|
//-----------------------------------------------------------------------------
|
|
var BUGNUMBER = 472450;
|
|
var summary = 'TM: Do not assert: StackBase(fp) + blockDepth == regs.sp';
|
|
var actual = '';
|
|
var expect = '';
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
test();
|
|
//-----------------------------------------------------------------------------
|
|
|
|
function test()
|
|
{
|
|
enterFunc ('test');
|
|
printBugNumber(BUGNUMBER);
|
|
printStatus (summary);
|
|
|
|
jit(true);
|
|
|
|
({__proto__: #1=[#1#]});
|
|
function f(){
|
|
eval("for (var y = 0; y < 1; ++y) { for each (let z in [null, function(){}, null, '', null, '', null]) { let x = 1, c = []; } }");
|
|
}
|
|
f();
|
|
|
|
jit(false);
|
|
|
|
reportCompare(expect, actual, summary);
|
|
|
|
exitFunc ('test');
|
|
}
|