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

Unified Diff: mozilla-tests/js1_5/extensions/regress-434837-01.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, 6 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 side-by-side diff with in-line comments
Download patch
Index: mozilla-tests/js1_5/extensions/regress-434837-01.js
===================================================================
--- mozilla-tests/js1_5/extensions/regress-434837-01.js (revision 43940)
+++ mozilla-tests/js1_5/extensions/regress-434837-01.js (working copy)
@@ -119,50 +119,5 @@
}
reportCompare(expect, actual, summary + ': x.test3 (2)');
- try
- {
- var y = ['a', 'b', 'c', 'd'];
- expect = 4;
- actual = y.__count__;
- }
- catch(ex)
- {
- actual = ex + '';
- }
- reportCompare(expect, actual, summary + ': y.__count__');
-
- try
- {
- expect = 0;
- actual = [].__count__;
- }
- catch(ex)
- {
- actual = ex + '';
- }
- reportCompare(expect, actual, summary + ': [].__count__');
-
- try
- {
- expect = 1;
- actual = [1].__count__;
- }
- catch(ex)
- {
- actual = ex + '';
- }
- reportCompare(expect, actual, summary + ': [1].__count__');
-
- try
- {
- expect = 9;
- actual = [1,2,3,4,5,6,7,8,9].__count__;
- }
- catch(ex)
- {
- actual = ex + '';
- }
- reportCompare(expect, actual, summary + ': [1].__count__');
-
exitFunc ('test');
}
« no previous file with comments | « mozilla-tests/js1_5/extensions/regress-432075.js ('k') | mozilla-tests/js1_5/extensions/regress-435497-01.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698