blob: 92608de0ef3d95d2c32963146a8f215cd58b2d42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* -*- 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);
|