/[suikacvs]/markup/html/whatpm/t/webidl/webidl-interface.dat
Suika

Contents of /markup/html/whatpm/t/webidl/webidl-interface.dat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Aug 2 12:51:52 2008 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +247 -0 lines
++ whatpm/t/ChangeLog	2 Aug 2008 12:51:15 -0000
	* WebIDL.t: Check whether |text| argument of the error
	is correct or not.

2008-08-02  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/t/webidl/ChangeLog	2 Aug 2008 12:51:46 -0000
	* webidl-interface.dat: More test data for interface inheritances
	and interface member identifier duplications.

2008-08-02  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	2 Aug 2008 12:50:36 -0000
	* WebIDL.pm ($get_scoped_name): Now scoped names are stored
	in its stringified format ("scoped name" as defined in the
	spec).  Note that future version of this module should not use
	array references for type values and the |type_text| attribute
	should be made obsolete.
	(parse_char_string): Unescape attribute names.
	(check): Support for checking of whether inherited interfaces
	are actually defined or not.  Support for checking of whether
	interface member identifiers are duplicated or not.
	($serialize_type): Scoped names are returned as is.  A future
	version of this code should escape identifiers other than "DOMString",
	otherwise the idl_text would be non-conforming.

2008-08-02  Wakaba  <wakaba@suika.fam.cx>

1 #data
2 interface abc;
3 #errors
4 1;non-module definition;s
5 #document
6 | interface abc;
7
8 #data
9 interface abc : def;
10 #errors
11 1.20;before interface block;m
12 #document
13
14 #data
15 interface abc : def;
16 interface xyz;
17 #errors
18 1.20;before interface block;m
19 2;non-module definition;s
20 #document
21 | interface xyz;
22
23 #data
24 module m {
25 interface x {
26 attribute long a;
27 attribute long b;
28 };};
29 #errors
30 #document
31 | module m {
32 |
33 | interface x {
34 | attribute long a;
35 | attribute long b;
36 | };
37 |
38 | };
39
40 #data
41 module m {
42 interface x {
43 attribute long a;
44 attribute long a;
45 };};
46 #errors
47 4;duplicate interface member;m
48 #document
49 | module m {
50 |
51 | interface x {
52 | attribute long a;
53 | attribute long a;
54 | };
55 |
56 | };
57
58 #data
59 module m {
60 interface x {
61 attribute long a;
62 };
63 interface x {
64 attribute long a;
65 };};
66 #errors
67 5;duplicate qname;m
68
69 #data
70 module m {
71 interface x {
72 attribute long a;
73 attribute long _a;
74 };};
75 #errors
76 4;duplicate interface member;m
77
78 #data
79 module m {
80 interface x {
81 attribute long a;
82 attribute long __a;
83 };};
84 #errors
85
86 #data
87 module m {
88 interface x {
89 attribute long a;
90 const long a = 1;
91 };};
92 #errors
93 4;duplicate interface member;m
94
95 #data
96 module m {
97 interface x {
98 long a ();
99 long a ();
100 };};
101 #errors
102
103 #data
104 interface x {};
105 interface y : x {};
106 #errors
107 1;non-module definition;s
108 2;non-module definition;s
109
110 #data
111 interface x;
112 interface y : x {};
113 #errors
114 1;non-module definition;s
115 2;non-module definition;s
116
117 #data
118 interface x : y {};
119 #errors
120 1;non-module definition;s
121 1;interface not defined;m;y
122
123 #data
124 module m {
125 interface x {};
126 interface y : x {};
127 };
128 #errors
129
130 #data
131 module m {
132 interface x {};
133 };
134 module n {
135 interface y : x {};
136 };
137 #errors
138 5;interface not defined;m;x
139
140 #data
141 module m {
142 interface x : y::DOMString {};
143 };
144 #errors
145 2;interface not defined;m;y::DOMString
146
147 #data
148 module m {
149 interface _DOMString {};
150 interface x : _DOMString {};
151 };
152 #errors
153
154 #data
155 module m {
156 interface _DOMString {};
157 interface x : m::_DOMString {};
158 };
159 #errors
160 3;interface not defined;m;m::DOMString
161
162 #data
163 module m {
164 interface _DOMString {};
165 interface x : m::DOMString {};
166 };
167 #errors
168 3;interface not defined;m;m::DOMString
169
170 #data
171 module m {
172 interface _DOMString {};
173 interface x : ::m::_DOMString {};
174 };
175 #errors
176 3;interface not defined;m;::m::DOMString
177
178 #data
179 interface x {}; // defines x1
180 module m {
181 interface y : x {}; // inherits x1
182 interface x : x {}; // defines x2, which inherits x1
183 interface z : x {}; // inherits x2
184 };
185 #errors
186 1;non-module definition;s
187
188 #data
189 module m {
190 interface x : x {};
191 };
192 #errors
193 2;interface not defined;m;x
194
195 #data
196 module m {
197 interface y : x {};
198 interface x {};
199 };
200 #errors
201 2;interface not defined;m;x
202
203 #data
204 module m {
205 interface x {};
206 interface y {};
207 interface z : x, y {};
208 };
209 #errors
210
211 #data
212 module m {
213 interface x : ::x {};
214 };
215 #errors
216 2;interface not defined;m;::x
217
218 #data
219 module m {
220 interface x {};
221 };
222 module n {
223 interface y : m::x {};
224 };
225 #errors
226
227 #data
228 module m {
229 interface x {};
230 module n {
231 interface y : x {};
232 };
233 };
234 #errors
235 4;interface not defined;m;x
236
237 #data
238 module m {
239 module n {
240 interface x {};
241 };
242 };
243 module l {
244 interface y : m::n::x {};
245 };
246 #errors
247
248 #data
249 module m {
250 module n {};
251 interface x : n {};
252 };
253 #errors
254 3;interface not defined;m;n
255
256 #data
257 module m {
258 exception x {};
259 interface y : x {};
260 };
261 #errors
262 3;interface not defined;m;x
263
264 #data
265 module m {
266 interface x;
267 interface y : x {};
268 };
269 #errors

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24