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

Side by Side Diff: test/mjsunit/fuzz-natives.js

Issue 335027: Reverted 3130-3131 since they don't work on mac. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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
« no previous file with comments | « test/cctest/test-log-stack-tracer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 "LazyCompile": true, 122 "LazyCompile": true,
123 "CreateObjectLiteralBoilerplate": true, 123 "CreateObjectLiteralBoilerplate": true,
124 "CloneLiteralBoilerplate": true, 124 "CloneLiteralBoilerplate": true,
125 "CloneShallowLiteralBoilerplate": true, 125 "CloneShallowLiteralBoilerplate": true,
126 "CreateArrayLiteralBoilerplate": true, 126 "CreateArrayLiteralBoilerplate": true,
127 "IS_VAR": true, 127 "IS_VAR": true,
128 "ResolvePossiblyDirectEval": true, 128 "ResolvePossiblyDirectEval": true,
129 "Log": true, 129 "Log": true,
130 "DeclareGlobals": true, 130 "DeclareGlobals": true,
131 131
132 "CollectStackTrace": true, 132 "CollectStackTrace": true
133 "PromoteScheduledException": true,
134 "DeleteHandleScopeExtensions": true
135 }; 133 };
136 134
137 var currentlyUncallable = { 135 var currentlyUncallable = {
138 // We need to find a way to test this without breaking the system. 136 // We need to find a way to test this without breaking the system.
139 "SystemBreak": true 137 "SystemBreak": true
140 }; 138 };
141 139
142 function testNatives() { 140 function testNatives() {
143 var allNatives = %ListNatives(); 141 var allNatives = %ListNatives();
144 for (var i = 0; i < allNatives.length; i++) { 142 for (var i = 0; i < allNatives.length; i++) {
145 var nativeInfo = allNatives[i]; 143 var nativeInfo = allNatives[i];
146 var name = nativeInfo[0]; 144 var name = nativeInfo[0];
147 if (name in knownProblems || name in currentlyUncallable) 145 if (name in knownProblems || name in currentlyUncallable)
148 continue; 146 continue;
149 print(name); 147 print(name);
150 var argc = nativeInfo[1]; 148 var argc = nativeInfo[1];
151 testArgumentCount(name); 149 testArgumentCount(name);
152 testArgumentTypes(name, argc); 150 testArgumentTypes(name, argc);
153 } 151 }
154 } 152 }
155 153
156 testNatives(); 154 testNatives();
OLDNEW
« no previous file with comments | « test/cctest/test-log-stack-tracer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698