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 291292 cda83cc1aae0
parent 291291 8bd8a35e4434
child 291293 45403faf67cf
push id934
push userraliiev@mozilla.com
push date2015-10-26 12:58 +0000
treeherdermozilla-release@05704e35c1d0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1206700
milestone42.0
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");