mjs | ddfacea | 2006-01-09 05:28:57 +0000 | [diff] [blame] | 1 | This test checks whether various forms of delete expression are allowed. |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
mjs | 1a2fd96 | 2005-09-24 22:39:28 +0000 | [diff] [blame] | 4 | |
| 5 | |
mjs | ddfacea | 2006-01-09 05:28:57 +0000 | [diff] [blame] | 6 | PASS delete x is true |
| 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 |
barraclough@apple.com | dfe18a5 | 2011-10-15 01:25:53 +0000 | [diff] [blame] | 26 | PASS Math.cos is mathCos |
| 27 | PASS Math.sin is undefined |
| 28 | PASS Math.tan is null |
| 29 | PASS RegExp.prototype.compile is regExpPrototypeCompile |
| 30 | PASS RegExp.prototype.exec is undefined |
| 31 | PASS RegExp.prototype.test is null |
ggaren@apple.com | 94ba330 | 2011-10-23 07:21:19 +0000 | [diff] [blame] | 32 | PASS Object.getOwnPropertyNames(Object.prototype).indexOf('__defineSetter__') is -1 |
mhahnenberg@apple.com | 4737fb9 | 2014-05-23 18:36:55 +0000 | [diff] [blame] | 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 navigatorPrototypePropertyNames.indexOf('appName') == -1 is true |
| 47 | PASS navigatorPrototypePropertyNames.indexOf('appVersion') == -1 is true |
| 48 | PASS navigatorPrototypePropertyNames.indexOf('language') == -1 is true |
| 49 | PASS navigatorPrototypePropertyNames.indexOf('userAgent') == -1 is true |
| 50 | PASS navigatorPrototypePropertyNames.indexOf('platform') == -1 is true |
| 51 | PASS navigatorPrototypePropertyNames.indexOf('plugins') == -1 is true |
| 52 | PASS navigatorPrototypePropertyNames.indexOf('mimeTypes') == -1 is true |
| 53 | PASS navigatorPrototypePropertyNames.indexOf('product') == -1 is true |
| 54 | PASS navigatorPrototypePropertyNames.indexOf('productSub') == -1 is true |
| 55 | PASS navigatorPrototypePropertyNames.indexOf('vendor') == -1 is true |
| 56 | PASS navigatorPrototypePropertyNames.indexOf('vendorSub') == -1 is true |
| 57 | PASS navigatorPrototypePropertyNames.indexOf('cookieEnabled') == -1 is true |
| 58 | PASS navigatorPrototypePropertyNames.indexOf('onLine') == -1 is true |
mjs | ddfacea | 2006-01-09 05:28:57 +0000 | [diff] [blame] | 59 | PASS successfullyParsed is true |
| 60 | |
| 61 | TEST COMPLETE |
mjs | 1a2fd96 | 2005-09-24 22:39:28 +0000 | [diff] [blame] | 62 | |