/[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.6 - (hide annotations) (download)
Tue Sep 16 04:20:52 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.5: +1115 -0 lines
++ whatpm/t/webidl/ChangeLog	16 Sep 2008 04:20:29 -0000
2008-09-16  Wakaba  <wakaba@suika.fam.cx>

	* webidl-interface.dat, webidl-exception.dat: New test cases for
	extended attributes are added.

	* webidl-defs.dat: Test results updated.

++ whatpm/Whatpm/ChangeLog	16 Sep 2008 04:19:57 -0000
2008-09-16  Wakaba  <wakaba@suika.fam.cx>

	* WebIDL.pm: Unescapes extended attribute names and extended
	attribute identifiers.  Preserve whether an extended attribute has
	an argument list of not.  Support for extended attributes:
	Constructor, ExceptionConsts, IndexGetter, IndexSetter,
	NameGetter, NameSetter, and Null.
	(has_argument_list): New attribute.
	(idl_text): Stringifies argument lists, if any, even if it is
	empty.

1 wakaba 1.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 wakaba 1.2 #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 wakaba 1.5 4;duplicate member;m
48 wakaba 1.2 #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 wakaba 1.5 4;duplicate member;m
77 wakaba 1.2
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 wakaba 1.5 4;duplicate member;m
94    
95     #data
96     module m {
97     interface x {
98     attribute long a;
99     };
100     interface y {
101     attribute long a;
102     };
103     };
104     #errors
105 wakaba 1.2
106     #data
107     module m {
108     interface x {
109     long a ();
110     long a ();
111     };};
112     #errors
113    
114     #data
115     interface x {};
116     interface y : x {};
117     #errors
118     1;non-module definition;s
119     2;non-module definition;s
120    
121     #data
122     interface x;
123     interface y : x {};
124     #errors
125     1;non-module definition;s
126     2;non-module definition;s
127    
128     #data
129     interface x : y {};
130     #errors
131     1;non-module definition;s
132     1;interface not defined;m;y
133    
134     #data
135     module m {
136     interface x {};
137     interface y : x {};
138     };
139     #errors
140    
141     #data
142     module m {
143     interface x {};
144     };
145     module n {
146     interface y : x {};
147     };
148     #errors
149     5;interface not defined;m;x
150    
151     #data
152     module m {
153     interface x : y::DOMString {};
154     };
155     #errors
156     2;interface not defined;m;y::DOMString
157    
158     #data
159     module m {
160     interface _DOMString {};
161     interface x : _DOMString {};
162     };
163     #errors
164    
165     #data
166     module m {
167     interface _DOMString {};
168     interface x : m::_DOMString {};
169     };
170     #errors
171     3;interface not defined;m;m::DOMString
172    
173     #data
174     module m {
175     interface _DOMString {};
176     interface x : m::DOMString {};
177     };
178     #errors
179     3;interface not defined;m;m::DOMString
180    
181     #data
182     module m {
183     interface _DOMString {};
184     interface x : ::m::_DOMString {};
185     };
186     #errors
187     3;interface not defined;m;::m::DOMString
188    
189     #data
190     interface x {}; // defines x1
191     module m {
192     interface y : x {}; // inherits x1
193     interface x : x {}; // defines x2, which inherits x1
194     interface z : x {}; // inherits x2
195     };
196     #errors
197     1;non-module definition;s
198    
199     #data
200     module m {
201     interface x : x {};
202     };
203     #errors
204     2;interface not defined;m;x
205    
206     #data
207     module m {
208     interface y : x {};
209     interface x {};
210     };
211     #errors
212     2;interface not defined;m;x
213    
214     #data
215     module m {
216     interface x {};
217     interface y {};
218     interface z : x, y {};
219     };
220     #errors
221    
222     #data
223     module m {
224     interface x : ::x {};
225     };
226     #errors
227     2;interface not defined;m;::x
228    
229     #data
230     module m {
231     interface x {};
232     };
233     module n {
234     interface y : m::x {};
235     };
236     #errors
237    
238     #data
239     module m {
240     interface x {};
241     module n {
242     interface y : x {};
243     };
244     };
245     #errors
246     4;interface not defined;m;x
247    
248     #data
249     module m {
250     module n {
251     interface x {};
252     };
253     };
254     module l {
255     interface y : m::n::x {};
256     };
257     #errors
258    
259     #data
260     module m {
261     module n {};
262     interface x : n {};
263     };
264     #errors
265     3;interface not defined;m;n
266    
267     #data
268     module m {
269     exception x {};
270     interface y : x {};
271     };
272     #errors
273     3;interface not defined;m;x
274    
275     #data
276     module m {
277     interface x;
278     interface y : x {};
279     };
280     #errors
281 wakaba 1.3
282     #data
283     module m {
284     interface i {
285     const long t = 234;
286     };
287     };
288     #errors
289    
290     #data
291     module m {
292     interface i {
293     const boolean t = 234;
294     };
295     };
296     #errors
297     3:234;const type mismatch;m;boolean
298    
299     #data
300     module m {
301     interface i {
302     const unsigned long t = -02;
303     };
304     };
305     #errors
306     3:-2;const value out of range;m
307    
308     #data
309     module m {
310     interface i {
311     const any t = 234;
312     };
313     };
314     #errors
315    
316     #data
317     module m {
318     interface i {
319     const long t = 234.4;
320     };
321     };
322     #errors
323     3:234.4;const type mismatch;m;long
324    
325     #data
326     module m {
327     interface i {
328     const long t =TRUE;
329     };
330     };
331     #errors
332     3:TRUE;const type mismatch;m;long
333    
334     #data
335     module m {
336     interface i {
337     const DOMString t = 234;
338     };
339     };
340     #errors
341     3:234;const type mismatch;m;DOMString
342    
343     #data
344     module m {
345     const octet LF = 0x0A;
346     };
347     #errors
348     #document
349     | module m {
350     |
351     | const octet LF = 10;
352     |
353     | };
354    
355     #data
356     module m {
357     const octet LF = 0X0a;
358     };
359     #errors
360     #document
361     | module m {
362     |
363     | const octet LF = 10;
364     |
365     | };
366    
367     #data
368     module m {
369     const octet LF = 012;
370     };
371     #errors
372     #document
373     | module m {
374     |
375     | const octet LF = 10;
376     |
377     | };
378    
379     #data
380     module m {
381     const octet LF = 10;
382     };
383     #errors
384     #document
385     | module m {
386     |
387     | const octet LF = 10;
388     |
389     | };
390    
391     #data
392     module m {
393     const octet LF = 10.00;
394     };
395     #errors
396     2:10;const type mismatch;m;octet
397     #document
398     | module m {
399     |
400     | const octet LF = 10;
401     |
402     | };
403    
404     #data
405     module m {
406     const octet CR = -0x0D;
407     };
408     #errors
409     2:-13;const value out of range;m
410     #document
411     | module m {
412     |
413     | const octet CR = -13;
414     |
415     | };
416 wakaba 1.4
417     #data
418     interface x {};
419     module m {
420     typedef long x;
421     interface y : x {};
422     };
423     #errors
424     1;non-module definition;s
425     4;interface not defined;m;x
426    
427     #data
428     module m {
429     interface x {
430     attribute long a;
431     };
432     };
433     #errors
434     #document
435     | module m {
436     |
437     | interface x {
438     | attribute long a;
439     | };
440     |
441     | };
442    
443     #data
444     module m {
445     interface x {
446     attribute unsigned short a;
447     };
448     };
449     #errors
450     #document
451     | module m {
452     |
453     | interface x {
454     | attribute unsigned short a;
455     | };
456     |
457     | };
458    
459     #data
460     module m {
461     interface x {
462     attribute Object a;
463     };
464     };
465     #errors
466     #document
467     | module m {
468     |
469     | interface x {
470     | attribute Object a;
471     | };
472     |
473     | };
474    
475     #data
476     module m {
477     interface x {
478     attribute DOMString a;
479     };
480     };
481     #errors
482     #document
483     | module m {
484     |
485     | interface x {
486     | attribute DOMString a;
487     | };
488     |
489     | };
490    
491     #data
492     module m {
493     interface x {
494     attribute _DOMString a;
495     };
496     };
497     #errors
498     3;type not defined;m;DOMString
499    
500     #data
501     module m {
502     interface x {
503     attribute m::DOMString a;
504     };
505     };
506     #errors
507     3;type not defined;m;m::DOMString
508     #document
509     | module m {
510     |
511     | interface x {
512     | attribute m::DOMString a;
513     | };
514     |
515     | };
516    
517     #data
518     module m {
519     interface x {
520     attribute m::_DOMString a;
521     };
522     };
523     #errors
524     3;type not defined;m;m::DOMString
525    
526     #data
527     module m {
528     exception ex {};
529     interface x {
530     attribute ex x;
531     };
532     };
533     #errors
534     4;type not defined;m;ex
535    
536     #data
537     module m {
538     typedef long l;
539     interface x {
540     attribute l mylong;
541     };
542     };
543     #errors
544    
545     #data
546     module m {
547     valuetype mystr sequence<octet>;
548     interface x {
549     attribute mystr text;
550     };
551     };
552     #errors
553    
554     #data
555     module m {
556     const boolean v = TRUE;
557     interface x {
558     attribute v myvalue;
559     };
560     };
561     #errors
562     4;type not defined;m;v
563    
564     #data
565     module m {
566     interface x {
567     attribute x a;
568     };
569     };
570     #errors
571     #document
572     | module m {
573     |
574     | interface x {
575     | attribute x a;
576     | };
577     |
578     | };
579    
580     #data
581     module m {
582     interface x {
583     attribute m::x a;
584     };
585     };
586     #errors
587     #document
588     | module m {
589     |
590     | interface x {
591     | attribute m::x a;
592     | };
593     |
594     | };
595    
596     #data
597     module m {
598     interface y {};
599     interface x {
600     attribute y a;
601     };
602     };
603     #errors
604     #document
605     | module m {
606     |
607     | interface y {
608     | };
609     | interface x {
610     | attribute y a;
611     | };
612     |
613     | };
614    
615     #data
616     module m {
617     interface x {
618     attribute y a;
619     };
620     interface y {
621     };
622     };
623     #errors
624     3;type not defined;m;y
625     #document
626     | module m {
627     |
628     | interface x {
629     | attribute y a;
630     | };
631     | interface y {
632     | };
633     |
634     | };
635    
636     #data
637     interface y {};
638     module m {
639     interface x {
640     attribute y a;
641     };
642     };
643     #errors
644     1;non-module definition;s
645     #document
646     | interface y {
647     | };
648     |
649     | module m {
650     |
651     | interface x {
652     | attribute y a;
653     | };
654     |
655     | };
656    
657     #data
658     interface y {};
659     module m {
660     interface x {
661     attribute ::y a;
662     };
663     };
664     #errors
665     1;non-module definition;s
666     #document
667     | interface y {
668     | };
669     |
670     | module m {
671     |
672     | interface x {
673     | attribute ::y a;
674     | };
675     |
676     | };
677    
678     #data
679     module m {
680     interface y {};
681     interface x {
682     attribute ::m::y a;
683     };
684     };
685     #errors
686     #document
687     | module m {
688     |
689     | interface y {
690     | };
691     | interface x {
692     | attribute ::m::y a;
693     | };
694     |
695     | };
696    
697     #data
698     module m {
699     exception x {};
700     interface y {
701     attribute boolean a getraises (x);
702     };
703     };
704     #errors
705     #document
706     | module m {
707     |
708     | exception x {
709     | };
710     | interface y {
711     | attribute boolean a getraises (x);
712     | };
713     |
714     | };
715    
716     #data
717     module m {
718     exception x {};
719     interface y {
720     attribute boolean a getraises (x,x);
721     };
722     };
723     #errors
724     #document
725     | module m {
726     |
727     | exception x {
728     | };
729     | interface y {
730     | attribute boolean a getraises (x, x);
731     | };
732     |
733     | };
734    
735     #data
736     module m {
737     exception x {};
738     interface y {
739     attribute boolean a getraises (x, ::m::x);
740     };
741     };
742     #errors
743     #document
744     | module m {
745     |
746     | exception x {
747     | };
748     | interface y {
749     | attribute boolean a getraises (x, ::m::x);
750     | };
751     |
752     | };
753    
754     #data
755     module m {
756     exception x {};
757     interface y {
758     attribute boolean a getraises (x, z);
759     };
760     };
761     #errors
762     4;exception not defined;m;z
763    
764     #data
765     module m {
766    
767     interface y {
768     attribute boolean a getraises (z);
769     };
770     };
771     #errors
772     4;exception not defined;m;z
773    
774     #data
775     module m {
776     exception _DOMString {};
777     interface y {
778     attribute boolean a getraises (_DOMString);
779     };
780     };
781     #errors
782    
783     #data
784     module m {
785     exception _DOMString {};
786     interface y {
787     attribute boolean a getraises (m::_DOMString);
788     };
789     };
790     #errors
791     4;exception not defined;m;m::DOMString
792    
793     #data
794     exception _DOMString {};
795     module m {
796     interface y {
797     attribute boolean a getraises (::_DOMString);
798     };
799     };
800     #errors
801     1;non-module definition;s
802     4;exception not defined;m;::DOMString
803    
804     #data
805     module m {
806     interface y {
807     attribute boolean a getraises (x);
808     };
809     exception x {};
810     };
811     #errors
812     3;exception not defined;m;x
813    
814     #data
815     module m {
816     interface x {};
817     interface y {
818     attribute boolean a getraises (x);
819     };
820     };
821     #errors
822     4;exception not defined;m;x
823    
824     #data
825     module m {
826     typedef long x;
827     interface y {
828     attribute boolean a getraises (x);
829     };
830     };
831     #errors
832     4;exception not defined;m;x
833    
834     #data
835     module m {
836     exception ex {}; typedef ex x;
837     interface y {
838     attribute boolean a getraises (x);
839     };
840     };
841     #errors
842     4;exception not defined;m;x
843    
844     #data
845     module m {
846     valuetype x boolean;
847     interface y {
848     attribute boolean a getraises (x);
849     };
850     };
851     #errors
852     4;exception not defined;m;x
853    
854     #data
855     module m {
856     exception x {};
857     interface y {
858     attribute boolean a setraises (x);
859     };
860     };
861     #errors
862    
863     #data
864     module m {
865    
866     interface y {
867     attribute boolean a setraises (x);
868     };
869     };
870     #errors
871     4;exception not defined;m;x
872    
873     #data
874     module m {
875     exception x {};
876     interface y {
877     attribute boolean a getraises (x) setraises (x);
878     };
879     };
880     #errors
881    
882     #data
883     module m {
884     exception x {};
885     interface y {
886     attribute boolean a getraises (x) setraises (z);
887     };
888     };
889     #errors
890     4;exception not defined;m;z
891    
892     #data
893     module m {
894     interface x {
895     void m ();
896     };
897     };
898     #errors
899     #document
900     | module m {
901     |
902     | interface x {
903     | void m ();
904     | };
905     |
906     | };
907    
908     #data
909     module m {
910     interface x {
911     long m ();
912     };
913     };
914     #errors
915     #document
916     | module m {
917     |
918     | interface x {
919     | long m ();
920     | };
921     |
922     | };
923    
924     #data
925     module m {
926     interface x {
927     long long m ();
928     };
929     };
930     #errors
931     #document
932     | module m {
933     |
934     | interface x {
935     | long long m ();
936     | };
937     |
938     | };
939    
940     #data
941     module m {
942     interface x {
943     DOMString m ();
944     };
945     };
946     #errors
947     #document
948     | module m {
949     |
950     | interface x {
951     | DOMString m ();
952     | };
953     |
954     | };
955    
956     #data
957     module m {
958     interface x {
959     x m ();
960     };
961     };
962     #errors
963     #document
964     | module m {
965     |
966     | interface x {
967     | x m ();
968     | };
969     |
970     | };
971    
972     #data
973     module m {
974     interface x {
975     m::x m ();
976     };
977     };
978     #errors
979     #document
980     | module m {
981     |
982     | interface x {
983     | m::x m ();
984     | };
985     |
986     | };
987    
988     #data
989     module m {
990     interface x {
991     ::m::x m ();
992     };
993     };
994     #errors
995     #document
996     | module m {
997     |
998     | interface x {
999     | ::m::x m ();
1000     | };
1001     |
1002     | };
1003    
1004     #data
1005     module m {
1006     interface x {
1007     m method ();
1008     };
1009     };
1010     #errors
1011     3;type not defined;m;m
1012    
1013     #data
1014     module m {
1015     interface x {
1016     _DOMString method ();
1017     };
1018     };
1019     #errors
1020     3;type not defined;m;DOMString
1021    
1022     #data
1023     module m {
1024     interface _DOMString {};
1025     interface x {
1026     _DOMString method ();
1027     };
1028     };
1029     #errors
1030    
1031     #data
1032     module m {
1033     interface _DOMString {};
1034     interface x {
1035     m::_DOMString method ();
1036     };
1037     };
1038     #errors
1039     4;type not defined;m;m::DOMString
1040    
1041     #data
1042     module m {
1043     interface u {};
1044     interface x {
1045     u method ();
1046     };
1047     };
1048     #errors
1049    
1050     #data
1051     interface f {};
1052     module m {
1053     interface x {
1054     f method ();
1055     };
1056     };
1057     #errors
1058     1;non-module definition;s
1059    
1060     #data
1061     module m {
1062     interface x {
1063     z method ();
1064     };
1065     };
1066     #errors
1067     3;type not defined;m;z
1068    
1069     #data
1070     module m {
1071     typedef long z;
1072     interface x {
1073     z method ();
1074     };
1075     };
1076     #errors
1077    
1078     #data
1079     module m {
1080     interface x {
1081     _long method ();
1082     };
1083     };
1084     #errors
1085     3;type not defined;m;long
1086    
1087     #data
1088     module m {
1089     valuetype s sequence<DOMString>;
1090     interface x {
1091     s method ();
1092     };
1093     };
1094     #errors
1095    
1096     #data
1097     module m {
1098     exception e {};
1099     interface x {
1100     e method ();
1101     };
1102     };
1103     #errors
1104     4;type not defined;m;e
1105    
1106     #data
1107     module m {
1108     interface x {
1109     void method (in boolean b);
1110     };
1111     };
1112     #errors
1113     #document
1114     | module m {
1115     |
1116     | interface x {
1117     | void method (in boolean b);
1118     | };
1119     |
1120     | };
1121    
1122     #data
1123     module m {
1124     interface x {
1125     void method (in boolean b, in long c);
1126     };
1127     };
1128     #errors
1129     #document
1130     | module m {
1131     |
1132     | interface x {
1133     | void method (in boolean b, in long c);
1134     | };
1135     |
1136     | };
1137    
1138     #data
1139     module m {
1140     interface x {
1141 wakaba 1.6 void method (in boolean _b, in long _c);
1142     };
1143     };
1144     #errors
1145     #document
1146     | module m {
1147     |
1148     | interface x {
1149     | void method (in boolean b, in long c);
1150     | };
1151     |
1152     | };
1153    
1154     #data
1155     module m {
1156     interface x {
1157 wakaba 1.4 void method (in DOMString b);
1158     };
1159     };
1160     #errors
1161     #document
1162     | module m {
1163     |
1164     | interface x {
1165     | void method (in DOMString b);
1166     | };
1167     |
1168     | };
1169    
1170     #data
1171     module m {
1172     interface x {
1173     void method (in x b);
1174     };
1175     };
1176     #errors
1177    
1178     #data
1179     module m {
1180     interface x {
1181 wakaba 1.6 void method (in _x b);
1182     };
1183     };
1184     #errors
1185    
1186     #data
1187     module m {
1188     interface x {
1189 wakaba 1.4 void method (in m::x b);
1190     };
1191     };
1192     #errors
1193    
1194     #data
1195     module m {
1196     interface x {
1197     void method (in ::m::x b);
1198     };
1199     };
1200     #errors
1201    
1202     #data
1203     module m {
1204     typedef sequence<DOMString> ss;
1205     interface x {
1206     void method (in ss b);
1207     };
1208     };
1209     #errors
1210    
1211     #data
1212     module m
1213     {
1214     valuetype a long;
1215     interface x {
1216     void method (in a b);
1217     };
1218     };
1219     #errors
1220    
1221     #data
1222     module m {
1223     exception ex {};
1224     interface x {
1225     void method (in ex b);
1226     };
1227     };
1228     #errors
1229     4;type not defined;m;ex
1230    
1231     #data
1232     module m {
1233     interface x {
1234     void method (in _DOMString b);
1235     };
1236     };
1237     #errors
1238     3;type not defined;m;DOMString
1239    
1240     #data
1241     module m {
1242     interface x {
1243     void method (in y b);
1244     };
1245     interface y {};
1246     };
1247     #errors
1248     3;type not defined;m;y
1249    
1250     #data
1251     module m {
1252     exception e {};
1253     interface x {
1254     void method () raises (e);
1255     };
1256     };
1257     #errors
1258     #document
1259     | module m {
1260     |
1261     | exception e {
1262     | };
1263     | interface x {
1264     | void method () raises (e);
1265     | };
1266     |
1267     | };
1268    
1269     #data
1270     module m {
1271     exception e {};
1272     interface x {
1273     void method () raises (e,e);
1274     };
1275     };
1276     #errors
1277     #document
1278     | module m {
1279     |
1280     | exception e {
1281     | };
1282     | interface x {
1283     | void method () raises (e, e);
1284     | };
1285     |
1286     | };
1287    
1288     #data
1289     module m {
1290     exception e {};
1291     exception f {};
1292     interface x {
1293     void method () raises (e, f);
1294     };
1295     };
1296     #errors
1297     #document
1298     | module m {
1299     |
1300     | exception e {
1301     | };
1302     | exception f {
1303     | };
1304     | interface x {
1305     | void method () raises (e, f);
1306     | };
1307     |
1308     | };
1309    
1310     #data
1311     module m {
1312     interface x {
1313     void method () raises (e);
1314     };
1315     };
1316     #errors
1317     3;exception not defined;m;e
1318    
1319     #data
1320     module m {
1321     interface x {
1322     void method () raises (e);
1323     };
1324     exception e {};
1325     };
1326     #errors
1327     3;exception not defined;m;e
1328    
1329     #data
1330     module m {
1331     interface e {};
1332     interface x {
1333     void method () raises (e);
1334     };
1335     };
1336     #errors
1337     4;exception not defined;m;e
1338    
1339     #data
1340     module m {
1341     valuetype e long;
1342     interface x {
1343     void method () raises (e);
1344     };
1345     };
1346     #errors
1347     4;exception not defined;m;e
1348    
1349     #data
1350     module m {
1351     typedef DOMString e;
1352     interface x {
1353     void method () raises (e);
1354     };
1355     };
1356     #errors
1357 wakaba 1.5 2;typedef ignored;i
1358 wakaba 1.4 4;exception not defined;m;e
1359    
1360     #data
1361     module m {
1362     exception ee {};
1363     valuetype e ee;
1364     interface x {
1365     void method () raises (e);
1366     };
1367     };
1368     #errors
1369 wakaba 1.5 3;not boxable type;m;ee
1370 wakaba 1.4 5;exception not defined;m;e
1371 wakaba 1.6
1372     #data
1373     module m {
1374     [Constructor] interface x {
1375     };
1376     };
1377     #errors
1378     #document
1379     | module m {
1380     |
1381     | [Constructor] interface x {
1382     | };
1383     |
1384     | };
1385    
1386     #data
1387     module m {
1388     [constructor] interface x {
1389     };
1390     };
1391     #errors
1392     2;unknown xattr;u;constructor
1393     #document
1394     | module m {
1395     |
1396     | [constructor] interface x {
1397     | };
1398     |
1399     | };
1400    
1401     #data
1402     module m {
1403     [Constructor()] interface x {
1404     };
1405     };
1406     #errors
1407     #document
1408     | module m {
1409     |
1410     | [Constructor ()] interface x {
1411     | };
1412     |
1413     | };
1414    
1415     #data
1416     module m {
1417     [Constructor(in boolean b)] interface x {
1418     };
1419     };
1420     #errors
1421     #document
1422     | module m {
1423     |
1424     | [Constructor (in boolean b)] interface x {
1425     | };
1426     |
1427     | };
1428    
1429     #data
1430     module m {
1431     [Constructor (in long c, in DOMString g)] interface x {
1432     };
1433     };
1434     #errors
1435     #document
1436     | module m {
1437     |
1438     | [Constructor (in long c, in DOMString g)] interface x {
1439     | };
1440     |
1441     | };
1442    
1443     #data
1444     module m {
1445     [Constructor( [u] in short h)] interface x {
1446     };
1447     };
1448     #errors
1449     2;unknown xattr;u;u
1450     #document
1451     | module m {
1452     |
1453     | [Constructor ([u] in short h)] interface x {
1454     | };
1455     |
1456     | };
1457    
1458     #data
1459     module m {
1460     [Constructor (in b h, in x i)] interface x {
1461     };
1462     };
1463     #errors
1464     2;type not defined;m;b
1465     #document
1466     | module m {
1467     |
1468     | [Constructor (in b h, in x i)] interface x {
1469     | };
1470     |
1471     | };
1472    
1473     #data
1474     module m {
1475     [Constructor (),Constructor] interface x {
1476     };
1477     };
1478     #errors
1479     #document
1480     | module m {
1481     |
1482     | [Constructor (), Constructor] interface x {
1483     | };
1484     |
1485     | };
1486    
1487     #data
1488     module m {
1489     [Constructor (),Constructor (in boolean c)] interface x {
1490     };
1491     };
1492     #errors
1493     #document
1494     | module m {
1495     |
1496     | [Constructor (), Constructor (in boolean c)] interface x {
1497     | };
1498     |
1499     | };
1500    
1501     #data
1502     module m {
1503     [Constructor (in boolean c),Constructor (in boolean c)] interface x {
1504     };
1505     };
1506     #errors
1507     #document
1508     | module m {
1509     |
1510     | [Constructor (in boolean c), Constructor (in boolean c)] interface x {
1511     | };
1512     |
1513     | };
1514    
1515     #data
1516     module m {
1517     [_Constructor] interface x {
1518     };
1519     };
1520     #errors
1521     #document
1522     | module m {
1523     |
1524     | [Constructor] interface x {
1525     | };
1526     |
1527     | };
1528    
1529     #data
1530     module m {
1531     [_Constructor (in boolean _a, in _x b)] interface x {
1532     };
1533     };
1534     #errors
1535     #document
1536     | module m {
1537     |
1538     | [Constructor (in boolean a, in x b)] interface x {
1539     | };
1540     |
1541     | };
1542    
1543     #data
1544     module m {
1545     [Constructor=a] interface x {
1546     };
1547     };
1548     #errors
1549     2;xattr id not allowed;m;Constructor
1550     #document
1551     | module m {
1552     |
1553     | [Constructor=a] interface x {
1554     | };
1555     |
1556     | };
1557    
1558     #data
1559     module m {
1560     [Constructor = b ( )] interface x {
1561     };
1562     };
1563     #errors
1564     2;xattr id not allowed;m;Constructor
1565     #document
1566     | module m {
1567     |
1568     | [Constructor=b ()] interface x {
1569     | };
1570     |
1571     | };
1572    
1573     #data
1574     module m {
1575     [Constructor=b (in long c)] interface x {
1576     };
1577     };
1578     #errors
1579     2;xattr id not allowed;m;Constructor
1580     #document
1581     | module m {
1582     |
1583     | [Constructor=b (in long c)] interface x {
1584     | };
1585     |
1586     | };
1587    
1588     #data
1589     module m {
1590     [Constructor=x([u] in long c)] interface x {
1591     };
1592     };
1593     #errors
1594     2;xattr id not allowed;m;Constructor
1595     2;unknown xattr;u;u
1596     #document
1597     | module m {
1598     |
1599     | [Constructor=x ([u] in long c)] interface x {
1600     | };
1601     |
1602     | };
1603    
1604     #data
1605     module m {
1606     interface x {
1607     [Constructor] void m ();
1608     };
1609     };
1610     #errors
1611     3;xattr not applicable;w;Constructor
1612    
1613     #data
1614     [Constructor] module m {
1615     interface x {
1616     void m ();
1617     };
1618     };
1619     #errors
1620     1;xattr not applicable;w;Constructor
1621    
1622     #data
1623     module m {
1624     interface x {
1625     [Constructor] attribute long c;
1626     };
1627     };
1628     #errors
1629     3;xattr not applicable;w;Constructor
1630    
1631     #data
1632     module m {
1633     interface x {
1634     [IndexGetter] long method (in unsigned long x);
1635     };
1636     };
1637     #errors
1638     #document
1639     | module m {
1640     |
1641     | interface x {
1642     | [IndexGetter] long method (in unsigned long x);
1643     | };
1644     |
1645     | };
1646    
1647     #data
1648     module m {
1649     interface x {
1650     [IndexGetter] void method (in unsigned long x);
1651     };
1652     };
1653     #errors
1654     #document
1655     | module m {
1656     |
1657     | interface x {
1658     | [IndexGetter] void method (in unsigned long x);
1659     | };
1660     |
1661     | };
1662    
1663     #data
1664     module m {
1665     interface x {
1666     [IndexGetter] long method (in long x);
1667     };
1668     };
1669     #errors
1670     3;wrong signature accessor;w;IndexGetter
1671     #document
1672     | module m {
1673     |
1674     | interface x {
1675     | [IndexGetter] long method (in long x);
1676     | };
1677     |
1678     | };
1679    
1680     #data
1681     module m {
1682     interface x {
1683     [IndexGetter] long method (in DOMString x);
1684     };
1685     };
1686     #errors
1687     3;wrong signature accessor;w;IndexGetter
1688     #document
1689     | module m {
1690     |
1691     | interface x {
1692     | [IndexGetter] long method (in DOMString x);
1693     | };
1694     |
1695     | };
1696    
1697     #data
1698     module m {
1699     interface x {
1700     [IndexGetter] long method (in unsigned long x, in DOMString y);
1701     };
1702     };
1703     #errors
1704     3;wrong signature accessor;w;IndexGetter
1705     #document
1706     | module m {
1707     |
1708     | interface x {
1709     | [IndexGetter] long method (in unsigned long x, in DOMString y);
1710     | };
1711     |
1712     | };
1713    
1714     #data
1715     module m {
1716     interface x {
1717     [IndexGetter] long method ();
1718     };
1719     };
1720     #errors
1721     3;wrong signature accessor;w;IndexGetter
1722     #document
1723     | module m {
1724     |
1725     | interface x {
1726     | [IndexGetter] long method ();
1727     | };
1728     |
1729     | };
1730    
1731     #data
1732     module m {
1733     interface x {
1734     [IndexGetter] long method (in unsigned long x);
1735     [IndexGetter] boolean method2 (in unsigned long x);
1736     };
1737     };
1738     #errors
1739     4;duplicate accessor;w;IndexGetter
1740     #document
1741     | module m {
1742     |
1743     | interface x {
1744     | [IndexGetter] long method (in unsigned long x);
1745     | [IndexGetter] boolean method2 (in unsigned long x);
1746     | };
1747     |
1748     | };
1749    
1750     #data
1751     module m {
1752     interface x {
1753     [IndexGetter] attribute long m;
1754     };
1755     };
1756     #errors
1757     3;xattr not applicable;w;IndexGetter
1758     #document
1759     | module m {
1760     |
1761     | interface x {
1762     | [IndexGetter] attribute long m;
1763     | };
1764     |
1765     | };
1766    
1767     #data
1768     module m {
1769     interface x {
1770     [IndexGetter] long m (in unsigned long n);
1771     };
1772     interface y {
1773     [IndexGetter] long m (in unsigned long n);
1774     };
1775     };
1776     #errors
1777    
1778     #data
1779     module m {
1780     interface x {
1781     [IndexGetter=a] long m (in unsigned long n);
1782     };
1783     };
1784     #errors
1785     3;xattr id not allowed;m;IndexGetter
1786    
1787     #data
1788     module m {
1789     interface x {
1790     [IndexGetter()] long m (in unsigned long n);
1791     };
1792     };
1793     #errors
1794     3;xattr arglist not allowed;m;IndexGetter
1795    
1796     #data
1797     module m {
1798     interface x {
1799     [IndexGetter=a()] long m (in unsigned long n);
1800     };
1801     };
1802     #errors
1803     3;xattr id not allowed;m;IndexGetter
1804     3;xattr arglist not allowed;m;IndexGetter
1805    
1806     #data
1807     module m {
1808     interface x {
1809     [IndexSetter] any y ();
1810     };
1811     };
1812     #errors
1813     3;wrong signature accessor;w;IndexSetter
1814    
1815     #data
1816     module m {
1817     interface x {
1818     [IndexSetter] any y (in long a);
1819     };
1820     };
1821     #errors
1822     3;wrong signature accessor;w;IndexSetter
1823    
1824     #data
1825     module m {
1826     interface x {
1827     [IndexSetter] any y (in unsigned long a);
1828     };
1829     };
1830     #errors
1831     3;wrong signature accessor;w;IndexSetter
1832    
1833     #data
1834     module m {
1835     interface x {
1836     [IndexSetter] any y (in unsigned long a, in any b);
1837     };
1838     };
1839     #errors
1840    
1841     #data
1842     module m {
1843     interface x {
1844     [IndexSetter] void y (in unsigned long a, in any b);
1845     };
1846     };
1847     #errors
1848    
1849     #data
1850     module m {
1851     interface x {
1852     [IndexSetter] any y (in DOMString a, in any b);
1853     };
1854     };
1855     #errors
1856     3;wrong signature accessor;w;IndexSetter
1857    
1858     #data
1859     module m {
1860     interface x {
1861     [IndexSetter] any y (in unsigned long a, in any b, in any c);
1862     };
1863     };
1864     #errors
1865     3;wrong signature accessor;w;IndexSetter
1866    
1867     #data
1868     module m {
1869     interface x {
1870     [IndexSetter] any y (in unsigned long a, in any b);
1871     [IndexSetter] any z (in unsigned long a, in any b);
1872     };
1873     };
1874     #errors
1875     4;duplicate accessor;w;IndexSetter
1876    
1877     #data
1878     module m {
1879     interface x {
1880     [IndexGetter] any y (in unsigned long a);
1881     [IndexSetter] any z (in unsigned long a, in DOMString b);
1882     };
1883     };
1884     #errors
1885    
1886     #data
1887     module m {
1888     interface x {
1889     [IndexSetter] attribute unsigned long y;
1890     };
1891     };
1892     #errors
1893     3;xattr not applicable;w;IndexSetter
1894    
1895     #data
1896     module m {
1897     interface x {
1898     [IndexSetter=x] any y (in unsigned long a, in any b);
1899     };
1900     };
1901     #errors
1902     3;xattr id not allowed;m;IndexSetter
1903    
1904     #data
1905     module m {
1906     interface x {
1907     [IndexSetter()] any y (in unsigned long a, in any b);
1908     };
1909     };
1910     #errors
1911     3;xattr arglist not allowed;m;IndexSetter
1912    
1913     #data
1914     module m {
1915     interface x {
1916     [IndexSetter=x()] any y (in unsigned long a, in any b);
1917     };
1918     };
1919     #errors
1920     3;xattr id not allowed;m;IndexSetter
1921     3;xattr arglist not allowed;m;IndexSetter
1922    
1923     #data
1924     module m {
1925     interface x {
1926     [NameGetter] long method (in DOMString x);
1927     };
1928     };
1929     #errors
1930     #document
1931     | module m {
1932     |
1933     | interface x {
1934     | [NameGetter] long method (in DOMString x);
1935     | };
1936     |
1937     | };
1938    
1939     #data
1940     module m {
1941     interface x {
1942     [NameGetter] void method (in DOMString x);
1943     };
1944     };
1945     #errors
1946     #document
1947     | module m {
1948     |
1949     | interface x {
1950     | [NameGetter] void method (in DOMString x);
1951     | };
1952     |
1953     | };
1954    
1955     #data
1956     module m {
1957     interface x {
1958     [NameGetter] long method (in long x);
1959     };
1960     };
1961     #errors
1962     3;wrong signature accessor;w;NameGetter
1963     #document
1964     | module m {
1965     |
1966     | interface x {
1967     | [NameGetter] long method (in long x);
1968     | };
1969     |
1970     | };
1971    
1972     #data
1973     module m {
1974     interface x {
1975     [NameGetter] long method (in unsigned long x);
1976     };
1977     };
1978     #errors
1979     3;wrong signature accessor;w;NameGetter
1980     #document
1981     | module m {
1982     |
1983     | interface x {
1984     | [NameGetter] long method (in unsigned long x);
1985     | };
1986     |
1987     | };
1988    
1989     #data
1990     module m {
1991     interface x {
1992     [NameGetter] long method (in DOMString x, in DOMString y);
1993     };
1994     };
1995     #errors
1996     3;wrong signature accessor;w;NameGetter
1997     #document
1998     | module m {
1999     |
2000     | interface x {
2001     | [NameGetter] long method (in DOMString x, in DOMString y);
2002     | };
2003     |
2004     | };
2005    
2006     #data
2007     module m {
2008     interface x {
2009     [NameGetter] long method ();
2010     };
2011     };
2012     #errors
2013     3;wrong signature accessor;w;NameGetter
2014     #document
2015     | module m {
2016     |
2017     | interface x {
2018     | [NameGetter] long method ();
2019     | };
2020     |
2021     | };
2022    
2023     #data
2024     module m {
2025     interface x {
2026     [NameGetter] long method (in DOMString x);
2027     [NameGetter] boolean method2 (in DOMString x);
2028     };
2029     };
2030     #errors
2031     4;duplicate accessor;w;NameGetter
2032     #document
2033     | module m {
2034     |
2035     | interface x {
2036     | [NameGetter] long method (in DOMString x);
2037     | [NameGetter] boolean method2 (in DOMString x);
2038     | };
2039     |
2040     | };
2041    
2042     #data
2043     module m {
2044     interface x {
2045     [NameGetter] attribute long m;
2046     };
2047     };
2048     #errors
2049     3;xattr not applicable;w;NameGetter
2050     #document
2051     | module m {
2052     |
2053     | interface x {
2054     | [NameGetter] attribute long m;
2055     | };
2056     |
2057     | };
2058    
2059     #data
2060     module m {
2061     interface x {
2062     [NameGetter] attribute DOMString m;
2063     };
2064     };
2065     #errors
2066     3;xattr not applicable;w;NameGetter
2067    
2068     #data
2069     module m {
2070     interface x {
2071     [NameGetter] attribute _DOMString m;
2072     };
2073     };
2074     #errors
2075     3;xattr not applicable;w;NameGetter
2076     3;type not defined;m;DOMString
2077    
2078     #data
2079     module m {
2080     interface x {
2081     [NameGetter] long m (in DOMString n);
2082     };
2083     interface y {
2084     [NameGetter] long m (in DOMString n);
2085     };
2086     };
2087     #errors
2088    
2089     #data
2090     module m {
2091     interface x {
2092     [NameGetter=a] long m (in DOMString n);
2093     };
2094     };
2095     #errors
2096     3;xattr id not allowed;m;NameGetter
2097    
2098     #data
2099     module m {
2100     interface x {
2101     [NameGetter()] long m (in DOMString n);
2102     };
2103     };
2104     #errors
2105     3;xattr arglist not allowed;m;NameGetter
2106    
2107     #data
2108     module m {
2109     interface x {
2110     [NameGetter=a()] long m (in DOMString n);
2111     };
2112     };
2113     #errors
2114     3;xattr id not allowed;m;NameGetter
2115     3;xattr arglist not allowed;m;NameGetter
2116    
2117     #data
2118     module m {
2119     interface x {
2120     [NameSetter] any y ();
2121     };
2122     };
2123     #errors
2124     3;wrong signature accessor;w;NameSetter
2125    
2126     #data
2127     module m {
2128     interface x {
2129     [NameSetter] any y (in DOMString a);
2130     };
2131     };
2132     #errors
2133     3;wrong signature accessor;w;NameSetter
2134    
2135     #data
2136     module m {
2137     interface x {
2138     [NameSetter] any y (in unsigned long a);
2139     };
2140     };
2141     #errors
2142     3;wrong signature accessor;w;NameSetter
2143    
2144     #data
2145     module m {
2146     interface x {
2147     [NameSetter] any y (in DOMString a, in any b);
2148     };
2149     };
2150     #errors
2151    
2152     #data
2153     module m {
2154     interface x {
2155     [NameSetter] void y (in DOMString a, in any b);
2156     };
2157     };
2158     #errors
2159    
2160     #data
2161     module m {
2162     interface x {
2163     [NameSetter] any y (in unsigned long a, in any b);
2164     };
2165     };
2166     #errors
2167     3;wrong signature accessor;w;NameSetter
2168    
2169     #data
2170     module m {
2171     interface x {
2172     [NameSetter] any y (in DOMString a, in any b, in any c);
2173     };
2174     };
2175     #errors
2176     3;wrong signature accessor;w;NameSetter
2177    
2178     #data
2179     module m {
2180     interface x {
2181     [NameSetter] any y (in _DOMString a, in any b);
2182     };
2183     };
2184     #errors
2185     3;wrong signature accessor;w;NameSetter
2186     3;type not defined;m;DOMString
2187    
2188     #data
2189     module m {
2190     interface x {
2191     [NameSetter] any y (in DOMString a, in any b);
2192     [NameSetter] any z (in DOMString a, in any b);
2193     };
2194     };
2195     #errors
2196     4;duplicate accessor;w;NameSetter
2197    
2198     #data
2199     module m {
2200     interface x {
2201     [NameGetter] any y (in DOMString a);
2202     [NameSetter] any z (in DOMString a, in DOMString b);
2203     };
2204     };
2205     #errors
2206    
2207     #data
2208     module m {
2209     interface x {
2210     [IndexSetter] any y (in unsigned long a, in DOMString b);
2211     [NameSetter] any z (in DOMString a, in DOMString b);
2212     };
2213     };
2214     #errors
2215    
2216     #data
2217     module m {
2218     interface x {
2219     [NameSetter] attribute DOMString y;
2220     };
2221     };
2222     #errors
2223     3;xattr not applicable;w;NameSetter
2224    
2225     #data
2226     module m {
2227     interface x {
2228     [NameSetter=x] any y (in DOMString a, in any b);
2229     };
2230     };
2231     #errors
2232     3;xattr id not allowed;m;NameSetter
2233    
2234     #data
2235     module m {
2236     interface x {
2237     [NameSetter()] any y (in DOMString a, in any b);
2238     };
2239     };
2240     #errors
2241     3;xattr arglist not allowed;m;NameSetter
2242    
2243     #data
2244     module m {
2245     interface x {
2246     [NameSetter=x()] any y (in DOMString a, in any b);
2247     };
2248     };
2249     #errors
2250     3;xattr id not allowed;m;NameSetter
2251     3;xattr arglist not allowed;m;NameSetter
2252    
2253     #data
2254     module m {
2255     interface x {
2256     [Null=Null] attribute DOMString x;
2257     };
2258     };
2259     #errors
2260    
2261     #data
2262     module m {
2263     interface x {
2264     void m ([Null=Null] in DOMString x);
2265     };
2266     };
2267     #errors
2268    
2269     #data
2270     module m {
2271     interface x {
2272     [Null=Empty] attribute DOMString x;
2273     };
2274     };
2275     #errors
2276    
2277     #data
2278     module m {
2279     interface x {
2280     void m ([Null=Empty] in DOMString x);
2281     };
2282     };
2283     #errors
2284    
2285     #data
2286     module m {
2287     interface x {
2288     [Null=Null,Null=Empty] attribute DOMString x;
2289     };
2290     };
2291     #errors
2292    
2293     #data
2294     module m {
2295     interface x {
2296     void m ([Null=Null,Null=Empty] in DOMString x);
2297     };
2298     };
2299     #errors
2300    
2301     #data
2302     module m {
2303     interface x {
2304     [Null=null] attribute DOMString x;
2305     };
2306     };
2307     #errors
2308     3:null;xattr id value not allowed;m;Null
2309    
2310     #data
2311     module m {
2312     interface x {
2313     void m ([Null=null] in DOMString x);
2314     };
2315     };
2316     #errors
2317     3:null;xattr id value not allowed;m;Null
2318    
2319     #data
2320     module m {
2321     interface x {
2322     [Null] attribute DOMString x;
2323     };
2324     };
2325     #errors
2326     3;xattr id missing;m;Null
2327    
2328     #data
2329     module m {
2330     interface x {
2331     void m ([Null] in DOMString x);
2332     };
2333     };
2334     #errors
2335     3;xattr id missing;m;Null
2336    
2337     #data
2338     module m {
2339     interface x {
2340     [Null()] attribute DOMString x;
2341     };
2342     };
2343     #errors
2344     3;xattr id missing;m;Null
2345     3;xattr arglist not allowed;m;Null
2346    
2347     #data
2348     module m {
2349     interface x {
2350     void m ([Null()] in DOMString x);
2351     };
2352     };
2353     #errors
2354     3;xattr id missing;m;Null
2355     3;xattr arglist not allowed;m;Null
2356    
2357     #data
2358     module m {
2359     interface x {
2360     [Null=Null()] attribute DOMString x;
2361     };
2362     };
2363     #errors
2364     3;xattr arglist not allowed;m;Null
2365    
2366     #data
2367     module m {
2368     interface x {
2369     void m ([Null=Null()] in DOMString x);
2370     };
2371     };
2372     #errors
2373     3;xattr arglist not allowed;m;Null
2374    
2375     #data
2376     module m {
2377     interface x {
2378     [Null=Null] attribute _DOMString x;
2379     };
2380     };
2381     #errors
2382     3;xattr for wrong type;w;Null
2383     3;type not defined;m;DOMString
2384    
2385     #data
2386     module m {
2387     interface x {
2388     void m ([Null=Null] in _DOMString x);
2389     };
2390     };
2391     #errors
2392     3;xattr for wrong type;w;Null
2393     3;type not defined;m;DOMString
2394    
2395     #data
2396     module m {
2397     interface x {
2398     [Null=_Null] attribute DOMString x;
2399     };
2400     };
2401     #errors
2402    
2403     #data
2404     module m {
2405     interface x {
2406     void m ([Null=_Null] in DOMString x);
2407     };
2408     };
2409     #errors
2410    
2411     #data
2412     module m {
2413     interface x {
2414     [Null=_Empty] attribute DOMString x;
2415     };
2416     };
2417     #errors
2418    
2419     #data
2420     module m {
2421     interface x {
2422     void m ([Null=_Empty] in DOMString x);
2423     };
2424     };
2425     #errors
2426    
2427     #data
2428     module m {
2429     [Null=Null]interface x {
2430     attribute DOMString x;
2431     };
2432     };
2433     #errors
2434     2;xattr not applicable;w;Null
2435    
2436     #data
2437     module m {
2438     interface x {
2439     [Null=Empty] void m (in DOMString x);
2440     };
2441     };
2442     #errors
2443     3;xattr not applicable;w;Null
2444    
2445     #data
2446     module m {
2447     interface x {
2448     [null=Null] attribute DOMString x;
2449     };
2450     };
2451     #errors
2452     3;unknown xattr;u;null
2453    
2454     #data
2455     module m {
2456     interface x {
2457     void m ([null=Null] in DOMString x);
2458     };
2459     };
2460     #errors
2461     3;unknown xattr;u;null

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24