test262/test/language/global-code/S10.1.7_A1_T1.js

13 lines
426 B
JavaScript
Raw Normal View History

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The this value associated with an executioncontext is immutable
2014-07-25 00:41:42 +02:00
es5id: 10.1.7_A1_T1
description: Checking if deleting "this" fails
---*/
//CHECK#1
if (delete this !== true)
$ERROR('#1: The this value associated with an executioncontext is immutable. Actual: this was deleted');