blob: 5d00d0f47d519baa87f4fd62cdb161ce78a69b6a [file] [log] [blame]
mjsddfacea2006-01-09 05:28:57 +00001This test checks whether various forms of delete expression are allowed.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
mjs1a2fd962005-09-24 22:39:28 +00004
5
mjsddfacea2006-01-09 05:28:57 +00006PASS delete x is true
7PASS delete window.x is true
8PASS delete window["x"] is true
9PASS delete (x) is true
10PASS delete (window.x) is true
11PASS delete (window["x"]) is true
12PASS (y, delete x) is true
13PASS delete ((x)) is true
14PASS delete ((window.x)) is true
15PASS delete ((window["x"])) is true
16PASS delete (y, x) is true
17PASS delete (true ? x : y) is true
18PASS delete nonexistent is true
19PASS delete window.nonexistent is true
20PASS delete window["nonexistent"] is true
21PASS delete (nonexistent) is true
22PASS delete (window.nonexistent) is true
23PASS delete (window["nonexistent"]) is true
24PASS delete "x" is true
25PASS delete (2 + 3) is true
barraclough@apple.comdfe18a52011-10-15 01:25:53 +000026PASS Math.cos is mathCos
27PASS Math.sin is undefined
28PASS Math.tan is null
29PASS RegExp.prototype.compile is regExpPrototypeCompile
30PASS RegExp.prototype.exec is undefined
31PASS RegExp.prototype.test is null
ggaren@apple.com94ba3302011-10-23 07:21:19 +000032PASS Object.getOwnPropertyNames(Object.prototype).indexOf('__defineSetter__') is -1
mhahnenberg@apple.com4737fb92014-05-23 18:36:55 +000033PASS navigatorPropertyNames.indexOf('appName') != -1 is true
34PASS navigatorPropertyNames.indexOf('appVersion') != -1 is true
35PASS navigatorPropertyNames.indexOf('language') != -1 is true
36PASS navigatorPropertyNames.indexOf('userAgent') != -1 is true
37PASS navigatorPropertyNames.indexOf('platform') != -1 is true
38PASS navigatorPropertyNames.indexOf('plugins') != -1 is true
39PASS navigatorPropertyNames.indexOf('mimeTypes') != -1 is true
40PASS navigatorPropertyNames.indexOf('product') != -1 is true
41PASS navigatorPropertyNames.indexOf('productSub') != -1 is true
42PASS navigatorPropertyNames.indexOf('vendor') != -1 is true
43PASS navigatorPropertyNames.indexOf('vendorSub') != -1 is true
44PASS navigatorPropertyNames.indexOf('cookieEnabled') != -1 is true
45PASS navigatorPropertyNames.indexOf('onLine') != -1 is true
46PASS navigatorPrototypePropertyNames.indexOf('appName') == -1 is true
47PASS navigatorPrototypePropertyNames.indexOf('appVersion') == -1 is true
48PASS navigatorPrototypePropertyNames.indexOf('language') == -1 is true
49PASS navigatorPrototypePropertyNames.indexOf('userAgent') == -1 is true
50PASS navigatorPrototypePropertyNames.indexOf('platform') == -1 is true
51PASS navigatorPrototypePropertyNames.indexOf('plugins') == -1 is true
52PASS navigatorPrototypePropertyNames.indexOf('mimeTypes') == -1 is true
53PASS navigatorPrototypePropertyNames.indexOf('product') == -1 is true
54PASS navigatorPrototypePropertyNames.indexOf('productSub') == -1 is true
55PASS navigatorPrototypePropertyNames.indexOf('vendor') == -1 is true
56PASS navigatorPrototypePropertyNames.indexOf('vendorSub') == -1 is true
57PASS navigatorPrototypePropertyNames.indexOf('cookieEnabled') == -1 is true
58PASS navigatorPrototypePropertyNames.indexOf('onLine') == -1 is true
mjsddfacea2006-01-09 05:28:57 +000059PASS successfullyParsed is true
60
61TEST COMPLETE
mjs1a2fd962005-09-24 22:39:28 +000062