blob: 92608de0ef3d95d2c32963146a8f215cd58b2d42 [file] [log] [blame]
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
* Contributor:
* Gary Kwong
*/
var gTestfile = 'watch-undefined-setter.js';
//-----------------------------------------------------------------------------
var BUGNUMBER = 560277;
var summary =
'Crash [@ JSObject::getParent] or [@ js_WrapWatchedSetter] or ' +
'[@ js_GetClassPrototype]';
this.watch("x", function() { });
Object.defineProperty(this, "x", { set: undefined, configurable: true });
reportCompare(true, true);