OLD | NEW |
| (Empty) |
1 // Copyright 2013 the V8 project authors. All rights reserved. | |
2 // Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | |
3 // | |
4 // Redistribution and use in source and binary forms, with or without | |
5 // modification, are permitted provided that the following conditions | |
6 // are met: | |
7 // 1. Redistributions of source code must retain the above copyright | |
8 // notice, this list of conditions and the following disclaimer. | |
9 // 2. Redistributions in binary form must reproduce the above copyright | |
10 // notice, this list of conditions and the following disclaimer in the | |
11 // documentation and/or other materials provided with the distribution. | |
12 // | |
13 // THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND AN
Y | |
14 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
15 // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
16 // DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR AN
Y | |
17 // DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
18 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
19 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND O
N | |
20 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
21 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
22 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
23 | |
24 description("KDE JS Test"); | |
25 shouldBe("Object.prototype.toString.__proto__","Function.prototype"); | |
26 shouldBe("Object.prototype.valueOf.__proto__","Function.prototype"); | |
27 shouldBe("Array.prototype.toString.__proto__","Function.prototype"); | |
28 shouldBe("Array.prototype.toLocaleString.__proto__","Function.prototype"); | |
29 shouldBe("Array.prototype.concat.__proto__","Function.prototype"); | |
30 shouldBe("Array.prototype.join.__proto__","Function.prototype"); | |
31 shouldBe("Array.prototype.pop.__proto__","Function.prototype"); | |
32 shouldBe("Array.prototype.push.__proto__","Function.prototype"); | |
33 shouldBe("Array.prototype.reverse.__proto__","Function.prototype"); | |
34 shouldBe("Array.prototype.shift.__proto__","Function.prototype"); | |
35 shouldBe("Array.prototype.slice.__proto__","Function.prototype"); | |
36 shouldBe("Array.prototype.sort.__proto__","Function.prototype"); | |
37 shouldBe("Array.prototype.splice.__proto__","Function.prototype"); | |
38 shouldBe("Array.prototype.unshift.__proto__","Function.prototype"); | |
39 shouldBe("String.prototype.toString.__proto__","Function.prototype"); | |
40 shouldBe("String.prototype.valueOf.__proto__","Function.prototype"); | |
41 shouldBe("String.prototype.charAt.__proto__","Function.prototype"); | |
42 shouldBe("String.prototype.charCodeAt.__proto__","Function.prototype"); | |
43 shouldBe("String.prototype.indexOf.__proto__","Function.prototype"); | |
44 shouldBe("String.prototype.lastIndexOf.__proto__","Function.prototype"); | |
45 shouldBe("String.prototype.match.__proto__","Function.prototype"); | |
46 shouldBe("String.prototype.replace.__proto__","Function.prototype"); | |
47 shouldBe("String.prototype.search.__proto__","Function.prototype"); | |
48 shouldBe("String.prototype.slice.__proto__","Function.prototype"); | |
49 shouldBe("String.prototype.split.__proto__","Function.prototype"); | |
50 shouldBe("String.prototype.substr.__proto__","Function.prototype"); | |
51 shouldBe("String.prototype.substring.__proto__","Function.prototype"); | |
52 shouldBe("String.prototype.toLowerCase.__proto__","Function.prototype"); | |
53 shouldBe("String.prototype.toUpperCase.__proto__","Function.prototype"); | |
54 shouldBe("String.prototype.big.__proto__","Function.prototype"); | |
55 shouldBe("String.prototype.small.__proto__","Function.prototype"); | |
56 shouldBe("String.prototype.blink.__proto__","Function.prototype"); | |
57 shouldBe("String.prototype.bold.__proto__","Function.prototype"); | |
58 shouldBe("String.prototype.fixed.__proto__","Function.prototype"); | |
59 shouldBe("String.prototype.italics.__proto__","Function.prototype"); | |
60 shouldBe("String.prototype.strike.__proto__","Function.prototype"); | |
61 shouldBe("String.prototype.sub.__proto__","Function.prototype"); | |
62 shouldBe("String.prototype.sup.__proto__","Function.prototype"); | |
63 shouldBe("String.prototype.fontcolor.__proto__","Function.prototype"); | |
64 shouldBe("String.prototype.fontsize.__proto__","Function.prototype"); | |
65 shouldBe("String.prototype.anchor.__proto__","Function.prototype"); | |
66 shouldBe("String.prototype.link.__proto__","Function.prototype"); | |
67 shouldBe("Boolean.prototype.toString.__proto__","Function.prototype"); | |
68 shouldBe("Boolean.prototype.valueOf.__proto__","Function.prototype"); | |
69 shouldBe("Date.prototype.toString.__proto__","Function.prototype"); | |
70 shouldBe("Date.prototype.toUTCString.__proto__","Function.prototype"); | |
71 shouldBe("Date.prototype.toDateString.__proto__","Function.prototype"); | |
72 shouldBe("Date.prototype.toTimeString.__proto__","Function.prototype"); | |
73 shouldBe("Date.prototype.toLocaleString.__proto__","Function.prototype"); | |
74 shouldBe("Date.prototype.toLocaleDateString.__proto__","Function.prototype"); | |
75 shouldBe("Date.prototype.toLocaleTimeString.__proto__","Function.prototype"); | |
76 shouldBe("Date.prototype.valueOf.__proto__","Function.prototype"); | |
77 shouldBe("Date.prototype.getTime.__proto__","Function.prototype"); | |
78 shouldBe("Date.prototype.getFullYear.__proto__","Function.prototype"); | |
79 shouldBe("Date.prototype.getUTCFullYear.__proto__","Function.prototype"); | |
80 shouldBe("Date.prototype.toGMTString.__proto__","Function.prototype"); | |
81 shouldBe("Date.prototype.getMonth.__proto__","Function.prototype"); | |
82 shouldBe("Date.prototype.getUTCMonth.__proto__","Function.prototype"); | |
83 shouldBe("Date.prototype.getDate.__proto__","Function.prototype"); | |
84 shouldBe("Date.prototype.getUTCDate.__proto__","Function.prototype"); | |
85 shouldBe("Date.prototype.getDay.__proto__","Function.prototype"); | |
86 shouldBe("Date.prototype.getUTCDay.__proto__","Function.prototype"); | |
87 shouldBe("Date.prototype.getHours.__proto__","Function.prototype"); | |
88 shouldBe("Date.prototype.getUTCHours.__proto__","Function.prototype"); | |
89 shouldBe("Date.prototype.getMinutes.__proto__","Function.prototype"); | |
90 shouldBe("Date.prototype.getUTCMinutes.__proto__","Function.prototype"); | |
91 shouldBe("Date.prototype.getSeconds.__proto__","Function.prototype"); | |
92 shouldBe("Date.prototype.getUTCSeconds.__proto__","Function.prototype"); | |
93 shouldBe("Date.prototype.getMilliseconds.__proto__","Function.prototype"); | |
94 shouldBe("Date.prototype.getUTCMilliseconds.__proto__","Function.prototype"); | |
95 shouldBe("Date.prototype.getTimezoneOffset.__proto__","Function.prototype"); | |
96 shouldBe("Date.prototype.setTime.__proto__","Function.prototype"); | |
97 shouldBe("Date.prototype.setMilliseconds.__proto__","Function.prototype"); | |
98 shouldBe("Date.prototype.setUTCMilliseconds.__proto__","Function.prototype"); | |
99 shouldBe("Date.prototype.setSeconds.__proto__","Function.prototype"); | |
100 shouldBe("Date.prototype.setUTCSeconds.__proto__","Function.prototype"); | |
101 shouldBe("Date.prototype.setMinutes.__proto__","Function.prototype"); | |
102 shouldBe("Date.prototype.setUTCMinutes.__proto__","Function.prototype"); | |
103 shouldBe("Date.prototype.setHours.__proto__","Function.prototype"); | |
104 shouldBe("Date.prototype.setUTCHours.__proto__","Function.prototype"); | |
105 shouldBe("Date.prototype.setDate.__proto__","Function.prototype"); | |
106 shouldBe("Date.prototype.setUTCDate.__proto__","Function.prototype"); | |
107 shouldBe("Date.prototype.setMonth.__proto__","Function.prototype"); | |
108 shouldBe("Date.prototype.setUTCMonth.__proto__","Function.prototype"); | |
109 shouldBe("Date.prototype.setFullYear.__proto__","Function.prototype"); | |
110 shouldBe("Date.prototype.setUTCFullYear.__proto__","Function.prototype"); | |
111 shouldBe("Date.prototype.setYear.__proto__","Function.prototype"); | |
112 shouldBe("Date.prototype.getYear.__proto__","Function.prototype"); | |
113 shouldBe("Date.prototype.toGMTString.__proto__","Function.prototype"); | |
114 shouldBe("RegExp.prototype.exec.__proto__","Function.prototype"); | |
115 shouldBe("RegExp.prototype.test.__proto__","Function.prototype"); | |
116 shouldBe("RegExp.prototype.toString.__proto__","Function.prototype"); | |
117 shouldBe("Error.prototype.toString.__proto__","Function.prototype"); | |
OLD | NEW |