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

Unified Diff: test/mjsunit/fuzz-accessors.js

Issue 10388047: Implement correct checking for inherited readonliness on assignment. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ported to x64 & ARM. Created 8 years, 7 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: test/mjsunit/fuzz-accessors.js
diff --git a/test/mjsunit/fuzz-accessors.js b/test/mjsunit/fuzz-accessors.js
index f3602cca092304405abe25cb88e07bea21dc2aaa..46329ebdb248828719c9b6cf717ce3a5c5c8f5a2 100644
--- a/test/mjsunit/fuzz-accessors.js
+++ b/test/mjsunit/fuzz-accessors.js
@@ -66,15 +66,24 @@ var objects = [
];
function runTest(fun) {
+ print("running");
Michael Starzinger 2012/05/30 13:08:55 I think we should just remove all of this debuggin
rossberg 2012/05/31 13:31:28 Done.
+ var outer_count = 0;
for (var i in objects) {
+ print('outer_count: ' + outer_count);
+ outer_count++;
+
var obj = objects[i][0];
var chain = objects[i][1];
var specialObjects = getSpecialObjects();
+ var count = 0;
for (var j in specialObjects) {
+ print('count: ' + count);
+ count++;
var special = specialObjects[j];
chain.__proto__ = special;
for (var k in builtInPropertyNames) {
var propertyName = builtInPropertyNames[k];
+ print(propertyName);
fun(obj, propertyName);
}
}

Powered by Google App Engine
This is Rietveld 408576698