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

Side by Side Diff: mozilla-tests/e4x/decompilation/regress-350531.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: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1 /* -*- Mode: java; tab-width:8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 2
3 /* ***** BEGIN LICENSE BLOCK ***** 3 /* ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * 5 *
6 * The contents of this file are subject to the Mozilla Public License Version 6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with 7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at 8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/ 9 * http://www.mozilla.org/MPL/
10 * 10 *
(...skipping 20 matching lines...) Expand all
31 * use your version of this file under the terms of the MPL, indicate your 31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice 32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete 33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under 34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL. 35 * the terms of any one of the MPL, the GPL or the LGPL.
36 * 36 *
37 * ***** END LICENSE BLOCK ***** */ 37 * ***** END LICENSE BLOCK ***** */
38 38
39 gTestfile = 'regress-350531.js'; 39 gTestfile = 'regress-350531.js';
40 40
41 var BUGNUMBER = 350351; 41 var BUGNUMBER = 350531;
42 var summary = "decompilation of function (){ return (@['a'])=='b'}"; 42 var summary = "decompilation of function (){ return (@['a'])=='b'}";
43 var actual = ''; 43 var actual = '';
44 var expect = ''; 44 var expect = '';
45 45
46 printBugNumber(BUGNUMBER); 46 printBugNumber(BUGNUMBER);
47 START(summary); 47 START(summary);
48 48
49 var f; 49 var f;
50 50
51 f = function (){ return (@['a'])=='b'} 51 f = function (){ return (@['a'])=='b'}
52 expect = 'function () {\n return @["a"] == "b";\n}'; 52 expect = 'function () {\n return @["a"] == "b";\n}';
53 actual = f + ''; 53 actual = f + '';
54 compareSource(expect, actual, inSection(1) + summary); 54 compareSource(expect, actual, inSection(1) + summary);
55 55
56 f = function (){ return (@['a']).toXMLString() } 56 f = function (){ return (@['a']).toXMLString() }
57 expect = 'function () {\n return @["a"].toXMLString();\n}'; 57 expect = 'function () {\n return @["a"].toXMLString();\n}';
58 actual = f + ''; 58 actual = f + '';
59 compareSource(expect, actual, inSection(2) + summary); 59 compareSource(expect, actual, inSection(2) + summary);
60 60
61 END(); 61 END();
OLDNEW
« no previous file with comments | « mozilla-tests/e4x/Regress/regress-477053.js ('k') | mozilla-tests/e4x/decompilation/regress-461233.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698