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

Unified Diff: test/mjsunit/regress/regress-5902.js

Issue 2682203003: Fix test to not teach ClusterFuzz ugly tricks. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-5902.js
diff --git a/test/mjsunit/regress/regress-5902.js b/test/mjsunit/regress/regress-5902.js
index 6925bf312c0af087482ff3d5b30ff06f829fd2fe..73e62d66b4eb42c39bf20f30a113f9e0f7810b6c 100644
--- a/test/mjsunit/regress/regress-5902.js
+++ b/test/mjsunit/regress/regress-5902.js
@@ -31,23 +31,23 @@ Object.getOwnPropertyNames(global).forEach(function(name) {
}
// Check the object.
- check(% HasFastProperties(obj), `${name}`);
+ check(%HasFastProperties(obj), `${name}`);
// Check the constructor.
var constructor = obj.constructor;
- if (! % IsJSReceiver(constructor)) return;
- check(% HasFastProperties(constructor), `${name}.constructor`);
+ if (!%IsJSReceiver(constructor)) return;
+ check(%HasFastProperties(constructor), `${name}.constructor`);
// Check the prototype.
var prototype = obj.prototype;
- if (! % IsJSReceiver(prototype)) return;
- check(% HasFastProperties(prototype), `${name}.prototype`);
+ if (!%IsJSReceiver(prototype)) return;
+ check(%HasFastProperties(prototype), `${name}.prototype`);
// Check the prototype.constructor.
var prototype_constructor = prototype.constructor;
- if (! % IsJSReceiver(prototype_constructor)) return;
+ if (!%IsJSReceiver(prototype_constructor)) return;
check(
- % HasFastProperties(prototype_constructor),
+ %HasFastProperties(prototype_constructor),
`${name}.prototype.constructor`);
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698