Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 // Any copyright is dedicated to the Public Domain.
2 // http://creativecommons.org/licenses/publicdomain/
4 var gTestfile = 'regress-580544.js';
5 //-----------------------------------------------------------------------------
6 var BUGNUMBER = 580544;
7 var summary = 'Do not assert: new (this.prototype = this)';
8 var actual = 'No Crash';
9 var expect = 'No Crash';
12 //-----------------------------------------------------------------------------
13 test();
14 //-----------------------------------------------------------------------------
16 function test()
17 {
18 enterFunc ('test');
19 printBugNumber(BUGNUMBER);
20 printStatus (summary);
22 try {
23 new (this.prototype = this);
24 } catch (e) {
25 }
27 reportCompare(expect, actual, summary);
29 exitFunc ('test');
30 }