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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Sep 16 10:43:18 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +2 -0 lines
++ whatpm/t/webidl/ChangeLog	16 Sep 2008 10:42:14 -0000
	* webidl-exception.dat: Test results updated.

	* webidl-interface.dat: New test cases for the reminding extended
	attributes are added.

2008-09-16  Wakaba  <wakaba@suika.fam.cx>

++ whatpm/Whatpm/ChangeLog	16 Sep 2008 10:41:47 -0000
	* WebIDL.pm: Support for the reminding extended attributes are
	added.  It does not satisfy the definition that a forward
	interface declaration has an extended attribute.  It seems that
	unless explicitly allowed multiple extended attributes with the
	same name is not allowed, though it is not explicitly mentioned in
	the spec.

2008-09-16  Wakaba  <wakaba@suika.fam.cx>

1 wakaba 1.1 #data
2     exception e {
3     long a;
4     };
5     #errors
6     1;non-module definition;s
7     #document
8     | exception e {
9     | long a;
10     | };
11    
12     #data
13     exception e {
14     long a;
15     long a;
16     };
17     #errors
18     1;non-module definition;s
19     3;duplicate member;m
20    
21     #data
22     exception e {
23     long a;
24     long _a;
25     };
26     #errors
27     1;non-module definition;s
28     3;duplicate member;m
29    
30     #data
31     exception e {
32     long a;
33     boolean a;
34     };
35     #errors
36     1;non-module definition;s
37     3;duplicate member;m
38    
39     #data
40     exception e {
41     long a;
42     long b;
43     };
44     #errors
45     1;non-module definition;s
46    
47     #data
48     exception e {
49     long a;
50     long __a;
51     };
52     #errors
53     1;non-module definition;s
54    
55     #data
56     exception e {
57     long a;
58     };
59     exception f {
60     long a;
61     };
62     #errors
63     1;non-module definition;s
64     4;non-module definition;s
65 wakaba 1.2
66     #data
67     [ExceptionConsts] module m {
68     exception f { };
69     };
70     #errors
71     1;xattr id missing;m;ExceptionConsts
72     #document
73     | [ExceptionConsts] module m {
74     |
75     | exception f {
76     | };
77     |
78     | };
79    
80     #data
81     [ExceptionConst] module m {
82     exception f { };
83     };
84     #errors
85     1;unknown xattr;u;ExceptionConst
86     #document
87     | [ExceptionConst] module m {
88     |
89     | exception f {
90     | };
91     |
92     | };
93    
94     #data
95     [ExceptionsConsts] module m {
96     exception f { };
97     };
98     #errors
99     1;unknown xattr;u;ExceptionsConsts
100     #document
101     | [ExceptionsConsts] module m {
102     |
103     | exception f {
104     | };
105     |
106     | };
107    
108     #data
109     [ExceptionsConst] module m {
110     exception f { };
111     };
112     #errors
113     1;unknown xattr;u;ExceptionsConst
114     #document
115     | [ExceptionsConst] module m {
116     |
117     | exception f {
118     | };
119     |
120     | };
121    
122     #data
123     [ExceptionConsts=f] module m {
124     exception f { };
125     };
126     #errors
127     #document
128     | [ExceptionConsts=f] module m {
129     |
130     | exception f {
131     | };
132     |
133     | };
134    
135     #data
136     [ExceptionConsts=_f] module m {
137     exception f { };
138     };
139     #errors
140     #document
141     | [ExceptionConsts=f] module m {
142     |
143     | exception f {
144     | };
145     |
146     | };
147    
148     #data
149     [ExceptionConsts=ff] module m {
150     exception f { };
151     };
152     #errors
153     1:ff;exception not defined;m
154     #document
155     | [ExceptionConsts=ff] module m {
156     |
157     | exception f {
158     | };
159     |
160     | };
161    
162     #data
163     [ExceptionConsts=m::f] module m {
164     exception f { };
165     };
166     #errors
167     1.20;after xattr;m
168     #document
169    
170     #data
171     [ExceptionConsts=::f] module m {
172     exception f { };
173     };
174     #errors
175     1.19;after xattrarg;m
176     #document
177    
178     #data
179     [ExceptionConsts=_f] module m {
180     exception f { };
181     };
182     #errors
183     #document
184     | [ExceptionConsts=f] module m {
185     |
186     | exception f {
187     | };
188     |
189     | };
190    
191     #data
192     [ExceptionConsts=f] module m {
193     exception _f { };
194     };
195     #errors
196     #document
197     | [ExceptionConsts=f] module m {
198     |
199     | exception f {
200     | };
201     |
202     | };
203    
204     #data
205     [ExceptionConsts=f] module m {
206     interface f { };
207     };
208     #errors
209     1:f;exception not defined;m
210     #document
211     | [ExceptionConsts=f] module m {
212     |
213     | interface f {
214     | };
215     |
216     | };
217    
218     #data
219     module m {
220     exception f {};
221     };
222     [ExceptionConsts=f] module m {
223     };
224     #errors
225     4;duplicate qname;m
226     4:f;exception not defined;m
227     #document
228     | module m {
229     |
230     | exception f {
231     | };
232     |
233     | };
234     |
235     | [ExceptionConsts=f] module m {
236     |
237     |
238     | };
239    
240     #data
241     [ExceptionConsts=f,ExceptionConsts=f] module m {
242     exception f { };
243     };
244     #errors
245 wakaba 1.3 1;duplicate xattr;w;ExceptionConsts
246 wakaba 1.2 #document
247     | [ExceptionConsts=f, ExceptionConsts=f] module m {
248     |
249     | exception f {
250     | };
251     |
252     | };
253    
254     #data
255     [ExceptionConsts=f, ExceptionConsts = g] module m {
256     exception f { };
257     exception g {};
258     };
259     #errors
260 wakaba 1.3 1;duplicate xattr;w;ExceptionConsts
261 wakaba 1.2 #document
262     | [ExceptionConsts=f, ExceptionConsts=g] module m {
263     |
264     | exception f {
265     | };
266     | exception g {
267     | };
268     |
269     | };
270    
271     #data
272     [ExceptionConsts()] module m {
273     exception f { };
274     };
275     #errors
276     1;xattr id missing;m;ExceptionConsts
277     1;xattr arglist not allowed;m;ExceptionConsts
278    
279     #data
280     [ExceptionConsts=f ()] module m {
281     exception f { };
282     };
283     #errors
284     1;xattr arglist not allowed;m;ExceptionConsts
285    
286     #data
287     module m {
288     [ExceptionConsts=m] exception f {
289     };
290     };
291     #errors
292     2;xattr not applicable;w;ExceptionConsts
293    
294     #data
295     module m {
296     [ExceptionConsts=m] interface f {
297     };
298     };
299     #errors
300     2;xattr not applicable;w;ExceptionConsts
301    
302     #data
303     module m {
304     interface x {
305     [ExceptionConsts=m] void m ();
306     };
307     };
308     #errors
309     3;xattr not applicable;w;ExceptionConsts

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24