Bug 1206700 - Followup to add extra test assertion requested by jwalden in review.
authorJason Orendorff <jorendorff@mozilla.com>
Thu, 01 Oct 2015 09:37:46 -0500
changeset 304522 eb3f60cefeb89abdf13aee861de376ac5a92528e
parent 304521 cefec636b2d5ed2567cf3f92b4e2e198535809e6
child 304523 1ca90786e46d5dcd9ced892ddf6c223676cd4550
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1206700
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1206700 - Followup to add extra test assertion requested by jwalden in review.
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");