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

Unified Diff: test/mjsunit/for-in.js

Issue 1928513004: Ship for-in initializer deprecation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adjust tests Created 4 years, 8 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 | « src/flag-definitions.h ('k') | test/webkit/fast/js/parser-syntax-check-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/for-in.js
diff --git a/test/mjsunit/for-in.js b/test/mjsunit/for-in.js
index bece37a3ee35ea8630400812670d67f703c722ac..547c748dffddd36693a5057b35038e496f6f96ea 100644
--- a/test/mjsunit/for-in.js
+++ b/test/mjsunit/for-in.js
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Flags: --noharmony-for-in
+
function props(x) {
var array = [];
for (var p in x) array.push(p);
« no previous file with comments | « src/flag-definitions.h ('k') | test/webkit/fast/js/parser-syntax-check-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698