1 This test checks whether various forms of delete expression are allowed.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS delete window.x is true
8 PASS delete window["x"] is true
9 PASS delete (x) is true
10 PASS delete (window.x) is true
11 PASS delete (window["x"]) is true
12 PASS (y, delete x) is true
13 PASS delete ((x)) is true
14 PASS delete ((window.x)) is true
15 PASS delete ((window["x"])) is true
16 PASS delete (y, x) is true
17 PASS delete (true ? x : y) is true
18 PASS delete nonexistent is true
19 PASS delete window.nonexistent is true
20 PASS delete window["nonexistent"] is true
21 PASS delete (nonexistent) is true
22 PASS delete (window.nonexistent) is true
23 PASS delete (window["nonexistent"]) is true
24 PASS delete "x" is true
25 PASS delete (2 + 3) is true
26 PASS Math.cos is mathCos
27 PASS Math.sin is undefined
29 PASS RegExp.prototype.compile is regExpPrototypeCompile
30 PASS RegExp.prototype.exec is undefined
31 PASS RegExp.prototype.test is null
32 PASS Object.getOwnPropertyNames(Object.prototype).indexOf('__defineSetter__') is -1
33 PASS navigatorPropertyNames.indexOf('appName') != -1 is true
34 PASS navigatorPropertyNames.indexOf('appVersion') != -1 is true
35 PASS navigatorPropertyNames.indexOf('language') != -1 is true
36 PASS navigatorPropertyNames.indexOf('userAgent') != -1 is true
37 PASS navigatorPropertyNames.indexOf('platform') != -1 is true
38 PASS navigatorPropertyNames.indexOf('plugins') != -1 is true
39 PASS navigatorPropertyNames.indexOf('mimeTypes') != -1 is true
40 PASS navigatorPropertyNames.indexOf('product') != -1 is true
41 PASS navigatorPropertyNames.indexOf('productSub') != -1 is true
42 PASS navigatorPropertyNames.indexOf('vendor') != -1 is true
43 PASS navigatorPropertyNames.indexOf('vendorSub') != -1 is true
44 PASS navigatorPropertyNames.indexOf('cookieEnabled') != -1 is true
45 PASS navigatorPropertyNames.indexOf('onLine') != -1 is true
46 PASS successfullyParsed is true