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

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

Issue 668203: Quick fix for r4045 (Closed)
Patch Set: Created 10 years, 9 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
« no previous file with comments | « src/liveedit.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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "CreateArrayLiteralBoilerplate": true, 143 "CreateArrayLiteralBoilerplate": true,
144 "IS_VAR": true, 144 "IS_VAR": true,
145 "ResolvePossiblyDirectEval": true, 145 "ResolvePossiblyDirectEval": true,
146 "Log": true, 146 "Log": true,
147 "DeclareGlobals": true, 147 "DeclareGlobals": true,
148 148
149 "PromoteScheduledException": true, 149 "PromoteScheduledException": true,
150 "DeleteHandleScopeExtensions": true, 150 "DeleteHandleScopeExtensions": true,
151 151
152 // That can only be invoked on Array.prototype. 152 // That can only be invoked on Array.prototype.
153 "FinishArrayPrototypeSetup": true 153 "FinishArrayPrototypeSetup": true,
154
155 // LiveEdit feature is under development currently and has fragile input.
156 "LiveEditFindSharedFunctionInfosForScript": true,
157 "LiveEditGatherCompileInfo": true,
158 "LiveEditReplaceScript": true,
159 "LiveEditReplaceFunctionCode": true,
160 "LiveEditRelinkFunctionToScript": true,
161 "LiveEditPatchFunctionPositions": true
154 }; 162 };
155 163
156 var currentlyUncallable = { 164 var currentlyUncallable = {
157 // We need to find a way to test this without breaking the system. 165 // We need to find a way to test this without breaking the system.
158 "SystemBreak": true 166 "SystemBreak": true
159 }; 167 };
160 168
161 function testNatives() { 169 function testNatives() {
162 var allNatives = %ListNatives(); 170 var allNatives = %ListNatives();
163 for (var i = 0; i < allNatives.length; i++) { 171 for (var i = 0; i < allNatives.length; i++) {
164 var nativeInfo = allNatives[i]; 172 var nativeInfo = allNatives[i];
165 var name = nativeInfo[0]; 173 var name = nativeInfo[0];
166 if (name in knownProblems || name in currentlyUncallable) 174 if (name in knownProblems || name in currentlyUncallable)
167 continue; 175 continue;
168 print(name); 176 print(name);
169 var argc = nativeInfo[1]; 177 var argc = nativeInfo[1];
170 testArgumentCount(name); 178 testArgumentCount(name);
171 testArgumentTypes(name, argc); 179 testArgumentTypes(name, argc);
172 } 180 }
173 } 181 }
174 182
175 testNatives(); 183 testNatives();
OLDNEW
« no previous file with comments | « src/liveedit.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698