Bug 1206700 - Followup to add extra test assertion requested by jwalden in review. a=test-only
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 01 Oct 2015 09:37:46 -0500
changeset 296569 0aebad4cd674cddfb849da22f137a35c57b807ad
parent 296568 4b93831e01dfd6deb44b8275310fdc358d623b89
child 296570 0e2d662bbd0bddda142bfdecadf01ef2d1e7ac40
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1206700
milestone43.0a2
Bug 1206700 - Followup to add extra test assertion requested by jwalden in review. a=test-only
js/src/tests/ecma_6/Object/bug-1206700.js
--- a/js/src/tests/ecma_6/Object/bug-1206700.js
+++ b/js/src/tests/ecma_6/Object/bug-1206700.js
@@ -1,9 +1,10 @@
 var x = {};
 Reflect.set(x, "prop", 5, Object.prototype);
 var y = {};
 Reflect.set(y, "prop", 6, Object.prototype);
 assertEq(x.hasOwnProperty("prop"), false);
 assertEq(y.hasOwnProperty("prop"), false);
+assertEq(Object.prototype.hasOwnProperty("prop"), true);
 assertEq(Object.prototype.prop, 6);
 
 reportCompare(0, 0, "ok");