blob: 7b5685370cddc565e6da4e0a3ba0c17c0a39f5bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.11.3.1_A4_T1;
* @section: 15.11.3.1, 16;
* @assertion: The Error has property prototype;
* @description: Checking Error.hasOwnProperty('prototype');
*/
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (!(Error.hasOwnProperty('prototype'))) {
$ERROR('#1: Error.hasOwnProperty(\'prototype\') return true. Actual: '+Error.hasOwnProperty('prototype'));
}
//
//////////////////////////////////////////////////////////////////////////////
|