Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: mozilla-tests/js1_7/block/regress-351606.js

Issue 2865028: Update the mozilla tests to new version (as of 2010-06-29). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK ***** 2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 * 4 *
5 * The contents of this file are subject to the Mozilla Public License Version 5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with 6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at 7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/ 8 * http://www.mozilla.org/MPL/
9 * 9 *
10 * Software distributed under the License is distributed on an "AS IS" basis, 10 * Software distributed under the License is distributed on an "AS IS" basis,
(...skipping 19 matching lines...) Expand all
30 * use your version of this file under the terms of the MPL, indicate your 30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice 31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete 32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under 33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL. 34 * the terms of any one of the MPL, the GPL or the LGPL.
35 * 35 *
36 * ***** END LICENSE BLOCK ***** */ 36 * ***** END LICENSE BLOCK ***** */
37 37
38 var gTestfile = 'regress-351606.js'; 38 var gTestfile = 'regress-351606.js';
39 //----------------------------------------------------------------------------- 39 //-----------------------------------------------------------------------------
40 var BUGNUMBER = 351496; 40 var BUGNUMBER = 351606;
41 var summary = 'Do not assert with nested for..in and throw'; 41 var summary = 'Do not assert with nested for..in and throw';
42 var actual = 'No Crash'; 42 var actual = 'No Crash';
43 var expect = 'No Crash'; 43 var expect = 'No Crash';
44 44
45 enterFunc ('test'); 45 enterFunc ('test');
46 printBugNumber(BUGNUMBER); 46 printBugNumber(BUGNUMBER);
47 printStatus (summary); 47 printStatus (summary);
48 48
49 (function () {for (let d in [1,2,3,4]) try { for (let a in [5,6,7,8]) (( functio n() { throw 9; } )()); } catch(c) { }}); 49 (function () {for (let d in [1,2,3,4]) try { for (let a in [5,6,7,8]) (( functio n() { throw 9; } )()); } catch(c) { }});
50 50
51 reportCompare(expect, actual, summary); 51 reportCompare(expect, actual, summary);
52 52
53 53
OLDNEW
« no previous file with comments | « mozilla-tests/js1_6/extensions/regress-479567.js ('k') | mozilla-tests/js1_7/decompilation/regress-352022.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698