~ubuntu-branches/ubuntu/saucy/mozjs17/saucy

« back to all changes in this revision

Viewing changes to js/src/tests/js1_5/Regress/regress-428366.js

  • Committer: Package Import Robot
  • Author(s): Rico Tzschichholz
  • Date: 2013-05-25 12:24:23 UTC
  • Revision ID: package-import@ubuntu.com-20130525122423-zmxucrhtensw90xy
Tags: upstream-17.0.0
ImportĀ upstreamĀ versionĀ 17.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 
2
/*
 
3
 * Any copyright is dedicated to the Public Domain.
 
4
 * http://creativecommons.org/licenses/publicdomain/
 
5
 * Contributor: Blake Kaplan
 
6
 */
 
7
 
 
8
//-----------------------------------------------------------------------------
 
9
var BUGNUMBER = 428366;
 
10
var summary = 'Do not assert deleting eval 16 times';
 
11
var actual = '';
 
12
var expect = '';
 
13
 
 
14
printBugNumber(BUGNUMBER);
 
15
printStatus (summary);
 
16
 
 
17
this.__proto__.x = eval;
 
18
for (i = 0; i < 16; ++i) delete eval;
 
19
(function w() { x = 1; })();
 
20
 
 
21
reportCompare(expect, actual, summary);