summaryrefslogtreecommitdiff
path: root/test/language/global-code/S10.1.7_A1_T1.js
blob: f4f5db1e211bbd480361510d68f7d3e88df0e593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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
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');