/[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.8 - (hide annotations) (download)
Tue Sep 16 13:07:54 2008 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.7: +414 -2 lines
++ whatpm/t/webidl/ChangeLog	16 Sep 2008 13:07:37 -0000
	* webidl-defs.dat, webidl-interface.dat, webidl-exception.dat,
	webidl-valuetype.dat, webidl-typedef.dat: New test cases for
	parsing are added.  Some test results are updated for new error
	type names.

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

++ whatpm/Whatpm/ChangeLog	16 Sep 2008 13:06:31 -0000
	* WebIDL.pm: Parser's error types are redefined.  Some forward
	compatible parsing bugs are fixed.  Some unreachable codes are
	commented out.

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

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 wakaba 1.8 1.20;before webidl block;m;interface
12 wakaba 1.1 #document
13    
14     #data
15     interface abc : def;
16     interface xyz;
17     #errors
18 wakaba 1.8 1.20;before webidl block;m;interface
19 wakaba 1.1 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 wakaba 1.7 [Constructor] interface x;
1634     interface x { };
1635     };
1636     #errors
1637     2;xattr not applicable;w;Constructor
1638     3;duplicate qname;m
1639    
1640     #data
1641     module m {
1642     interface x;
1643     [Constructor] interface x { };
1644     };
1645     #errors
1646     3;duplicate qname;m
1647    
1648     #data
1649     module m {
1650     [Constructor] interface x;
1651     [Constructor] interface x { };
1652     };
1653     #errors
1654     2;xattr not applicable;w;Constructor
1655     3;duplicate qname;m
1656    
1657     #data
1658     module m {
1659 wakaba 1.6 interface x {
1660     [IndexGetter] long method (in unsigned long x);
1661     };
1662     };
1663     #errors
1664     #document
1665     | module m {
1666     |
1667     | interface x {
1668     | [IndexGetter] long method (in unsigned long x);
1669     | };
1670     |
1671     | };
1672    
1673     #data
1674     module m {
1675     interface x {
1676     [IndexGetter] void method (in unsigned long x);
1677     };
1678     };
1679     #errors
1680     #document
1681     | module m {
1682     |
1683     | interface x {
1684     | [IndexGetter] void method (in unsigned long x);
1685     | };
1686     |
1687     | };
1688    
1689     #data
1690     module m {
1691     interface x {
1692     [IndexGetter] long method (in long x);
1693     };
1694     };
1695     #errors
1696     3;wrong signature accessor;w;IndexGetter
1697     #document
1698     | module m {
1699     |
1700     | interface x {
1701     | [IndexGetter] long method (in long x);
1702     | };
1703     |
1704     | };
1705    
1706     #data
1707     module m {
1708     interface x {
1709     [IndexGetter] long method (in DOMString x);
1710     };
1711     };
1712     #errors
1713     3;wrong signature accessor;w;IndexGetter
1714     #document
1715     | module m {
1716     |
1717     | interface x {
1718     | [IndexGetter] long method (in DOMString x);
1719     | };
1720     |
1721     | };
1722    
1723     #data
1724     module m {
1725     interface x {
1726     [IndexGetter] long method (in unsigned long x, in DOMString y);
1727     };
1728     };
1729     #errors
1730     3;wrong signature accessor;w;IndexGetter
1731     #document
1732     | module m {
1733     |
1734     | interface x {
1735     | [IndexGetter] long method (in unsigned long x, in DOMString y);
1736     | };
1737     |
1738     | };
1739    
1740     #data
1741     module m {
1742     interface x {
1743     [IndexGetter] long method ();
1744     };
1745     };
1746     #errors
1747     3;wrong signature accessor;w;IndexGetter
1748     #document
1749     | module m {
1750     |
1751     | interface x {
1752     | [IndexGetter] long method ();
1753     | };
1754     |
1755     | };
1756    
1757     #data
1758     module m {
1759     interface x {
1760     [IndexGetter] long method (in unsigned long x);
1761     [IndexGetter] boolean method2 (in unsigned long x);
1762     };
1763     };
1764     #errors
1765     4;duplicate accessor;w;IndexGetter
1766     #document
1767     | module m {
1768     |
1769     | interface x {
1770     | [IndexGetter] long method (in unsigned long x);
1771     | [IndexGetter] boolean method2 (in unsigned long x);
1772     | };
1773     |
1774     | };
1775    
1776     #data
1777     module m {
1778     interface x {
1779     [IndexGetter] attribute long m;
1780     };
1781     };
1782     #errors
1783     3;xattr not applicable;w;IndexGetter
1784     #document
1785     | module m {
1786     |
1787     | interface x {
1788     | [IndexGetter] attribute long m;
1789     | };
1790     |
1791     | };
1792    
1793     #data
1794     module m {
1795     interface x {
1796     [IndexGetter] long m (in unsigned long n);
1797     };
1798     interface y {
1799     [IndexGetter] long m (in unsigned long n);
1800     };
1801     };
1802     #errors
1803    
1804     #data
1805     module m {
1806     interface x {
1807     [IndexGetter=a] long m (in unsigned long n);
1808     };
1809     };
1810     #errors
1811     3;xattr id not allowed;m;IndexGetter
1812    
1813     #data
1814     module m {
1815     interface x {
1816     [IndexGetter()] long m (in unsigned long n);
1817     };
1818     };
1819     #errors
1820     3;xattr arglist not allowed;m;IndexGetter
1821    
1822     #data
1823     module m {
1824     interface x {
1825     [IndexGetter=a()] long m (in unsigned long n);
1826     };
1827     };
1828     #errors
1829     3;xattr id not allowed;m;IndexGetter
1830     3;xattr arglist not allowed;m;IndexGetter
1831    
1832     #data
1833     module m {
1834     interface x {
1835 wakaba 1.7 [IndexGetter,IndexGetter] long method (in unsigned long x);
1836     };
1837     };
1838     #errors
1839     3;duplicate xattr;w;IndexGetter
1840    
1841     #data
1842     module m {
1843     interface x {
1844     [IndexGetter,IndexSetter] long method (in unsigned long x);
1845     };
1846     };
1847     #errors
1848     3;wrong signature accessor;w;IndexSetter
1849    
1850     #data
1851     module m {
1852     interface x {
1853     [NameGetter,IndexGetter] long method (in unsigned long x);
1854     };
1855     };
1856     #errors
1857     3;wrong signature accessor;w;NameGetter
1858    
1859     #data
1860     module m {
1861     interface x {
1862 wakaba 1.6 [IndexSetter] any y ();
1863     };
1864     };
1865     #errors
1866     3;wrong signature accessor;w;IndexSetter
1867    
1868     #data
1869     module m {
1870     interface x {
1871     [IndexSetter] any y (in long a);
1872     };
1873     };
1874     #errors
1875     3;wrong signature accessor;w;IndexSetter
1876    
1877     #data
1878     module m {
1879     interface x {
1880     [IndexSetter] any y (in unsigned long a);
1881     };
1882     };
1883     #errors
1884     3;wrong signature accessor;w;IndexSetter
1885    
1886     #data
1887     module m {
1888     interface x {
1889     [IndexSetter] any y (in unsigned long a, in any b);
1890     };
1891     };
1892     #errors
1893    
1894     #data
1895     module m {
1896     interface x {
1897     [IndexSetter] void y (in unsigned long a, in any b);
1898     };
1899     };
1900     #errors
1901    
1902     #data
1903     module m {
1904     interface x {
1905     [IndexSetter] any y (in DOMString a, in any b);
1906     };
1907     };
1908     #errors
1909     3;wrong signature accessor;w;IndexSetter
1910    
1911     #data
1912     module m {
1913     interface x {
1914     [IndexSetter] any y (in unsigned long a, in any b, in any c);
1915     };
1916     };
1917     #errors
1918     3;wrong signature accessor;w;IndexSetter
1919    
1920     #data
1921     module m {
1922     interface x {
1923     [IndexSetter] any y (in unsigned long a, in any b);
1924     [IndexSetter] any z (in unsigned long a, in any b);
1925     };
1926     };
1927     #errors
1928     4;duplicate accessor;w;IndexSetter
1929    
1930     #data
1931     module m {
1932     interface x {
1933     [IndexGetter] any y (in unsigned long a);
1934     [IndexSetter] any z (in unsigned long a, in DOMString b);
1935     };
1936     };
1937     #errors
1938    
1939     #data
1940     module m {
1941     interface x {
1942     [IndexSetter] attribute unsigned long y;
1943     };
1944     };
1945     #errors
1946     3;xattr not applicable;w;IndexSetter
1947    
1948     #data
1949     module m {
1950     interface x {
1951     [IndexSetter=x] any y (in unsigned long a, in any b);
1952     };
1953     };
1954     #errors
1955     3;xattr id not allowed;m;IndexSetter
1956    
1957     #data
1958     module m {
1959     interface x {
1960     [IndexSetter()] any y (in unsigned long a, in any b);
1961     };
1962     };
1963     #errors
1964     3;xattr arglist not allowed;m;IndexSetter
1965    
1966     #data
1967     module m {
1968     interface x {
1969     [IndexSetter=x()] any y (in unsigned long a, in any b);
1970     };
1971     };
1972     #errors
1973     3;xattr id not allowed;m;IndexSetter
1974     3;xattr arglist not allowed;m;IndexSetter
1975    
1976     #data
1977     module m {
1978     interface x {
1979 wakaba 1.7 [IndexSetter,IndexSetter] long method (in unsigned long x,
1980     in unsigned short y);
1981     };
1982     };
1983     #errors
1984     3;duplicate xattr;w;IndexSetter
1985    
1986     #data
1987     module m {
1988     interface x {
1989 wakaba 1.6 [NameGetter] long method (in DOMString x);
1990     };
1991     };
1992     #errors
1993     #document
1994     | module m {
1995     |
1996     | interface x {
1997     | [NameGetter] long method (in DOMString x);
1998     | };
1999     |
2000     | };
2001    
2002     #data
2003     module m {
2004     interface x {
2005     [NameGetter] void method (in DOMString x);
2006     };
2007     };
2008     #errors
2009     #document
2010     | module m {
2011     |
2012     | interface x {
2013     | [NameGetter] void method (in DOMString x);
2014     | };
2015     |
2016     | };
2017    
2018     #data
2019     module m {
2020     interface x {
2021     [NameGetter] long method (in long x);
2022     };
2023     };
2024     #errors
2025     3;wrong signature accessor;w;NameGetter
2026     #document
2027     | module m {
2028     |
2029     | interface x {
2030     | [NameGetter] long method (in long x);
2031     | };
2032     |
2033     | };
2034    
2035     #data
2036     module m {
2037     interface x {
2038     [NameGetter] long method (in unsigned long x);
2039     };
2040     };
2041     #errors
2042     3;wrong signature accessor;w;NameGetter
2043     #document
2044     | module m {
2045     |
2046     | interface x {
2047     | [NameGetter] long method (in unsigned long x);
2048     | };
2049     |
2050     | };
2051    
2052     #data
2053     module m {
2054     interface x {
2055     [NameGetter] long method (in DOMString x, in DOMString y);
2056     };
2057     };
2058     #errors
2059     3;wrong signature accessor;w;NameGetter
2060     #document
2061     | module m {
2062     |
2063     | interface x {
2064     | [NameGetter] long method (in DOMString x, in DOMString y);
2065     | };
2066     |
2067     | };
2068    
2069     #data
2070     module m {
2071     interface x {
2072     [NameGetter] long method ();
2073     };
2074     };
2075     #errors
2076     3;wrong signature accessor;w;NameGetter
2077     #document
2078     | module m {
2079     |
2080     | interface x {
2081     | [NameGetter] long method ();
2082     | };
2083     |
2084     | };
2085    
2086     #data
2087     module m {
2088     interface x {
2089     [NameGetter] long method (in DOMString x);
2090     [NameGetter] boolean method2 (in DOMString x);
2091     };
2092     };
2093     #errors
2094     4;duplicate accessor;w;NameGetter
2095     #document
2096     | module m {
2097     |
2098     | interface x {
2099     | [NameGetter] long method (in DOMString x);
2100     | [NameGetter] boolean method2 (in DOMString x);
2101     | };
2102     |
2103     | };
2104    
2105     #data
2106     module m {
2107     interface x {
2108     [NameGetter] attribute long m;
2109     };
2110     };
2111     #errors
2112     3;xattr not applicable;w;NameGetter
2113     #document
2114     | module m {
2115     |
2116     | interface x {
2117     | [NameGetter] attribute long m;
2118     | };
2119     |
2120     | };
2121    
2122     #data
2123     module m {
2124     interface x {
2125     [NameGetter] attribute DOMString m;
2126     };
2127     };
2128     #errors
2129     3;xattr not applicable;w;NameGetter
2130    
2131     #data
2132     module m {
2133     interface x {
2134     [NameGetter] attribute _DOMString m;
2135     };
2136     };
2137     #errors
2138     3;xattr not applicable;w;NameGetter
2139     3;type not defined;m;DOMString
2140    
2141     #data
2142     module m {
2143     interface x {
2144     [NameGetter] long m (in DOMString n);
2145     };
2146     interface y {
2147     [NameGetter] long m (in DOMString n);
2148     };
2149     };
2150     #errors
2151    
2152     #data
2153     module m {
2154     interface x {
2155     [NameGetter=a] long m (in DOMString n);
2156     };
2157     };
2158     #errors
2159     3;xattr id not allowed;m;NameGetter
2160    
2161     #data
2162     module m {
2163     interface x {
2164     [NameGetter()] long m (in DOMString n);
2165     };
2166     };
2167     #errors
2168     3;xattr arglist not allowed;m;NameGetter
2169    
2170     #data
2171     module m {
2172     interface x {
2173     [NameGetter=a()] long m (in DOMString n);
2174     };
2175     };
2176     #errors
2177     3;xattr id not allowed;m;NameGetter
2178     3;xattr arglist not allowed;m;NameGetter
2179    
2180     #data
2181     module m {
2182     interface x {
2183 wakaba 1.7 [NameGetter,NameGetter] long method (in DOMString x);
2184     };
2185     };
2186     #errors
2187     3;duplicate xattr;w;NameGetter
2188    
2189     #data
2190     module m {
2191     interface x {
2192 wakaba 1.6 [NameSetter] any y ();
2193     };
2194     };
2195     #errors
2196     3;wrong signature accessor;w;NameSetter
2197    
2198     #data
2199     module m {
2200     interface x {
2201     [NameSetter] any y (in DOMString a);
2202     };
2203     };
2204     #errors
2205     3;wrong signature accessor;w;NameSetter
2206    
2207     #data
2208     module m {
2209     interface x {
2210     [NameSetter] any y (in unsigned long a);
2211     };
2212     };
2213     #errors
2214     3;wrong signature accessor;w;NameSetter
2215    
2216     #data
2217     module m {
2218     interface x {
2219     [NameSetter] any y (in DOMString a, in any b);
2220     };
2221     };
2222     #errors
2223    
2224     #data
2225     module m {
2226     interface x {
2227     [NameSetter] void y (in DOMString a, in any b);
2228     };
2229     };
2230     #errors
2231    
2232     #data
2233     module m {
2234     interface x {
2235     [NameSetter] any y (in unsigned long a, in any b);
2236     };
2237     };
2238     #errors
2239     3;wrong signature accessor;w;NameSetter
2240    
2241     #data
2242     module m {
2243     interface x {
2244     [NameSetter] any y (in DOMString a, in any b, in any c);
2245     };
2246     };
2247     #errors
2248     3;wrong signature accessor;w;NameSetter
2249    
2250     #data
2251     module m {
2252     interface x {
2253     [NameSetter] any y (in _DOMString a, in any b);
2254     };
2255     };
2256     #errors
2257     3;wrong signature accessor;w;NameSetter
2258     3;type not defined;m;DOMString
2259    
2260     #data
2261     module m {
2262     interface x {
2263     [NameSetter] any y (in DOMString a, in any b);
2264     [NameSetter] any z (in DOMString a, in any b);
2265     };
2266     };
2267     #errors
2268     4;duplicate accessor;w;NameSetter
2269    
2270     #data
2271     module m {
2272     interface x {
2273     [NameGetter] any y (in DOMString a);
2274     [NameSetter] any z (in DOMString a, in DOMString b);
2275     };
2276     };
2277     #errors
2278    
2279     #data
2280     module m {
2281     interface x {
2282     [IndexSetter] any y (in unsigned long a, in DOMString b);
2283     [NameSetter] any z (in DOMString a, in DOMString b);
2284     };
2285     };
2286     #errors
2287    
2288     #data
2289     module m {
2290     interface x {
2291     [NameSetter] attribute DOMString y;
2292     };
2293     };
2294     #errors
2295     3;xattr not applicable;w;NameSetter
2296    
2297     #data
2298     module m {
2299     interface x {
2300     [NameSetter=x] any y (in DOMString a, in any b);
2301     };
2302     };
2303     #errors
2304     3;xattr id not allowed;m;NameSetter
2305    
2306     #data
2307     module m {
2308     interface x {
2309     [NameSetter()] any y (in DOMString a, in any b);
2310     };
2311     };
2312     #errors
2313     3;xattr arglist not allowed;m;NameSetter
2314    
2315     #data
2316     module m {
2317     interface x {
2318     [NameSetter=x()] any y (in DOMString a, in any b);
2319     };
2320     };
2321     #errors
2322     3;xattr id not allowed;m;NameSetter
2323     3;xattr arglist not allowed;m;NameSetter
2324    
2325     #data
2326     module m {
2327     interface x {
2328 wakaba 1.7 [NameSetter,NameSetter] long method (in DOMString y,in unsigned long x);
2329     };
2330     };
2331     #errors
2332     3;duplicate xattr;w;NameSetter
2333    
2334     #data
2335     module m {
2336     interface x {
2337 wakaba 1.6 [Null=Null] attribute DOMString x;
2338     };
2339     };
2340     #errors
2341    
2342     #data
2343     module m {
2344     interface x {
2345     void m ([Null=Null] in DOMString x);
2346     };
2347     };
2348     #errors
2349    
2350     #data
2351     module m {
2352     interface x {
2353     [Null=Empty] attribute DOMString x;
2354     };
2355     };
2356     #errors
2357    
2358     #data
2359     module m {
2360     interface x {
2361     void m ([Null=Empty] in DOMString x);
2362     };
2363     };
2364     #errors
2365    
2366     #data
2367     module m {
2368     interface x {
2369     [Null=Null,Null=Empty] attribute DOMString x;
2370     };
2371     };
2372     #errors
2373 wakaba 1.7 3;duplicate xattr;w;Null
2374 wakaba 1.6
2375     #data
2376     module m {
2377     interface x {
2378     void m ([Null=Null,Null=Empty] in DOMString x);
2379     };
2380     };
2381     #errors
2382 wakaba 1.7 3;duplicate xattr;w;Null
2383 wakaba 1.6
2384     #data
2385     module m {
2386     interface x {
2387     [Null=null] attribute DOMString x;
2388     };
2389     };
2390     #errors
2391     3:null;xattr id value not allowed;m;Null
2392    
2393     #data
2394     module m {
2395     interface x {
2396     void m ([Null=null] in DOMString x);
2397     };
2398     };
2399     #errors
2400     3:null;xattr id value not allowed;m;Null
2401    
2402     #data
2403     module m {
2404     interface x {
2405     [Null] attribute DOMString x;
2406     };
2407     };
2408     #errors
2409     3;xattr id missing;m;Null
2410    
2411     #data
2412     module m {
2413     interface x {
2414     void m ([Null] in DOMString x);
2415     };
2416     };
2417     #errors
2418     3;xattr id missing;m;Null
2419    
2420     #data
2421     module m {
2422     interface x {
2423     [Null()] attribute DOMString x;
2424     };
2425     };
2426     #errors
2427     3;xattr id missing;m;Null
2428     3;xattr arglist not allowed;m;Null
2429    
2430     #data
2431     module m {
2432     interface x {
2433     void m ([Null()] in DOMString x);
2434     };
2435     };
2436     #errors
2437     3;xattr id missing;m;Null
2438     3;xattr arglist not allowed;m;Null
2439    
2440     #data
2441     module m {
2442     interface x {
2443     [Null=Null()] attribute DOMString x;
2444     };
2445     };
2446     #errors
2447     3;xattr arglist not allowed;m;Null
2448    
2449     #data
2450     module m {
2451     interface x {
2452     void m ([Null=Null()] in DOMString x);
2453     };
2454     };
2455     #errors
2456     3;xattr arglist not allowed;m;Null
2457    
2458     #data
2459     module m {
2460     interface x {
2461     [Null=Null] attribute _DOMString x;
2462     };
2463     };
2464     #errors
2465     3;xattr for wrong type;w;Null
2466     3;type not defined;m;DOMString
2467    
2468     #data
2469     module m {
2470     interface x {
2471     void m ([Null=Null] in _DOMString x);
2472     };
2473     };
2474     #errors
2475     3;xattr for wrong type;w;Null
2476     3;type not defined;m;DOMString
2477    
2478     #data
2479     module m {
2480     interface x {
2481     [Null=_Null] attribute DOMString x;
2482     };
2483     };
2484     #errors
2485    
2486     #data
2487     module m {
2488     interface x {
2489     void m ([Null=_Null] in DOMString x);
2490     };
2491     };
2492     #errors
2493    
2494     #data
2495     module m {
2496     interface x {
2497     [Null=_Empty] attribute DOMString x;
2498     };
2499     };
2500     #errors
2501    
2502     #data
2503     module m {
2504     interface x {
2505     void m ([Null=_Empty] in DOMString x);
2506     };
2507     };
2508     #errors
2509    
2510     #data
2511     module m {
2512 wakaba 1.7 interface x {
2513     void m ([Null=Undefined] in DOMString x);
2514     };
2515     };
2516     #errors
2517     3:Undefined;xattr id value not allowed;m;Null
2518    
2519     #data
2520     module m {
2521 wakaba 1.6 [Null=Null]interface x {
2522     attribute DOMString x;
2523     };
2524     };
2525     #errors
2526     2;xattr not applicable;w;Null
2527    
2528     #data
2529     module m {
2530     interface x {
2531     [Null=Empty] void m (in DOMString x);
2532     };
2533     };
2534     #errors
2535     3;xattr not applicable;w;Null
2536    
2537     #data
2538     module m {
2539     interface x {
2540     [null=Null] attribute DOMString x;
2541     };
2542     };
2543     #errors
2544     3;unknown xattr;u;null
2545    
2546     #data
2547     module m {
2548     interface x {
2549     void m ([null=Null] in DOMString x);
2550     };
2551     };
2552     #errors
2553     3;unknown xattr;u;null
2554 wakaba 1.7
2555     #data
2556     module m {
2557     interface y {
2558     attribute DOMString p;
2559     };
2560     interface x {
2561     [PutForwards=p] readonly attribute y n;
2562     };
2563     };
2564     #errors
2565    
2566     #data
2567     module m {
2568     interface y {
2569     };
2570     interface x {
2571     [PutForwards=p] readonly attribute y n;
2572     };
2573     };
2574     #errors
2575     5:p;referenced attr not defined;m;PutForwards
2576    
2577     #data
2578     module m {
2579     interface x {
2580     [PutForwards=p] readonly attribute y n;
2581     };
2582     };
2583     #errors
2584     3;type not defined;m;y
2585     3;attr type not interface;w;PutForwards
2586    
2587     #data
2588     module m {
2589     interface x {
2590     [PutForwards=p] readonly attribute DOMString n;
2591     };
2592     };
2593     #errors
2594     3;attr type not interface;w;PutForwards
2595    
2596     #data
2597     module m {
2598     exception y {
2599     long p;
2600     };
2601     interface x {
2602     [PutForwards=p] readonly attribute y n;
2603     };
2604     };
2605     #errors
2606     6;type not defined;m;y
2607     6;attr type not interface;w;PutForwards
2608    
2609     #data
2610     module m {
2611     interface y {
2612     attribute DOMString p;
2613     };
2614     interface x {
2615     [PutForwards=p] attribute y n;
2616     };
2617     };
2618     #errors
2619     6;attr not readonly;w;PutForwards
2620    
2621     #data
2622     module m {
2623     interface y {
2624     readonly attribute DOMString p;
2625     };
2626     interface x {
2627     [PutForwards=p] readonly attribute y n;
2628     };
2629     };
2630     #errors
2631    
2632     #data
2633     module m {
2634     interface y {
2635     attribute DOMString p;
2636     };
2637     interface x {
2638     [PutForwards=p, Null=Empty] readonly attribute y n;
2639     };
2640     };
2641     #errors
2642     6;xattr for wrong type;w;Null
2643    
2644     #data
2645     module m {
2646     interface y {
2647     [Null=Empty] attribute DOMString p;
2648     };
2649     interface x {
2650     [PutForwards=p, Null=Null] readonly attribute y n;
2651     };
2652     };
2653     #errors
2654     6;xattr for wrong type;w;Null
2655    
2656     #data
2657     module m {
2658     typedef sequence<unsigned short> y;
2659     interface x {
2660     [PutForwards=p] readonly attribute y n;
2661     };
2662     };
2663     #errors
2664     4;attr type not interface;w;PutForwards
2665    
2666     #data
2667     module m {
2668     interface x {
2669     [PutForwards=p] readonly attribute y n;
2670     };
2671     interface y {
2672     attribute DOMString p;
2673     };
2674     };
2675     #errors
2676     3;type not defined;m;y
2677     3;attr type not interface;w;PutForwards
2678    
2679     #data
2680     module m {
2681     interface y;
2682     interface x {
2683     [PutForwards=p] readonly attribute y n;
2684     };
2685     interface y {
2686     attribute DOMString p;
2687     };
2688     };
2689     #errors
2690     6;duplicate qname;m
2691    
2692     #data
2693     module m {
2694     interface y {
2695     attribute DOMString p;
2696     };
2697     interface x {
2698     [PutForwards=p,PutForwards=p] readonly attribute y n;
2699     };
2700     };
2701     #errors
2702     6;duplicate xattr;w;PutForwards
2703    
2704     #data
2705     module m {
2706     interface y {
2707     attribute DOMString p;
2708     attribute long q;
2709     };
2710     interface x {
2711     [PutForwards=p,PutForwards=q] readonly attribute y n;
2712     };
2713     };
2714     #errors
2715     7;duplicate xattr;w;PutForwards
2716    
2717     #data
2718     module m {
2719     [Stringifies=a,Stringifies=b] interface x {
2720     attribute boolean a;
2721     attribute long b;
2722     };
2723     };
2724     #errors
2725     2;duplicate xattr;w;Stringifies
2726    
2727     #data
2728     module m {
2729     [Stringifies] exception x {
2730     };
2731     };
2732     #errors
2733     2;xattr not applicable;w;Stringifies
2734    
2735     #data
2736     [Stringifies] module m {
2737     interface x {
2738     };
2739     };
2740     #errors
2741     1;xattr not applicable;w;Stringifies
2742    
2743     #data
2744     module m {
2745     interface x {
2746     [Stringifies] attribute DOMString b;
2747     };
2748     };
2749     #errors
2750     3;xattr not applicable;w;Stringifies
2751    
2752     #data
2753     module m {
2754     [Stringifies()] interface x {
2755     };
2756     };
2757     #errors
2758     2;xattr arglist not allowed;m;Stringifies
2759    
2760     #data
2761     module m {
2762     [Stringifies=a()] interface x {
2763     };
2764     };
2765     #errors
2766     2;xattr arglist not allowed;m;Stringifies
2767     2:a;referenced attr not defined;m;Stringifies
2768    
2769     #data
2770     module m {
2771     interface x {
2772     void m ([Variadic] in long a);
2773     };
2774     };
2775     #errors
2776    
2777     #data
2778     module m {
2779     interface x {
2780     void m (in long b, [Variadic] in long a);
2781     };
2782     };
2783     #errors
2784    
2785     #data
2786     module m {
2787     interface x {
2788     void m ([Variadic] in long a, in DOMString b);
2789     };
2790     };
2791     #errors
2792     3;argument after variadic;w
2793    
2794     #data
2795     module m {
2796     interface x {
2797     void m ([Variadic] in long a);
2798     void n (in long b);
2799     };
2800     };
2801     #errors
2802    
2803     #data
2804     module m {
2805     interface x {
2806     void m ([Variadic=a] in long a);
2807     };
2808     };
2809     #errors
2810     3;xattr id not allowed;m;Variadic
2811    
2812     #data
2813     module m {
2814     interface x {
2815     void m ([Variadic()] in long a);
2816     };
2817     };
2818     #errors
2819     3;xattr arglist not allowed;m;Variadic
2820    
2821     #data
2822     module m {
2823     interface x {
2824     void m ([Variadic=a()] in long a);
2825     };
2826     };
2827     #errors
2828     3;xattr id not allowed;m;Variadic
2829     3;xattr arglist not allowed;m;Variadic
2830    
2831     #data
2832     module m {
2833     interface x {
2834     void m (in long b, [Variadic,Variadic] in long a);
2835     };
2836     };
2837     #errors
2838     3;duplicate xattr;w;Variadic
2839    
2840     #data
2841     module m {
2842     [NamedConstructor=a]
2843     interface x {};
2844     };
2845     #errors
2846    
2847     #data
2848     module m {
2849     [NamedConstructor=a()]
2850     interface x {};
2851     };
2852     #errors
2853    
2854     #data
2855     module m {
2856     [NamedConstructor=a(in long b)]
2857     interface x {};
2858     };
2859     #errors
2860    
2861     #data
2862     module m {
2863     [NamedConstructor=a,NamedConstructor=b]
2864     interface x {};
2865     };
2866     #errors
2867    
2868     #data
2869     module m {
2870     [NamedConstructor=a,NamedConstructor=a]
2871     interface x {};
2872     };
2873     #errors
2874    
2875     #data
2876     module m {
2877     [NamedConstructor=a,NamedConstructor=a()]
2878     interface x {};
2879     };
2880     #errors
2881    
2882     #data
2883     module m {
2884     [NamedConstructor=a]
2885     interface x {};
2886     [NamedConstructor=a]
2887     interface y {};
2888     };
2889     #errors
2890     4:a;duplicate constructor name;m
2891    
2892     #data
2893     module m {
2894     [NamedConstructor=a]
2895     interface x {};
2896     };
2897     [NamedConstructor=a]
2898     interface y{};
2899     #errors
2900     6;non-module definition;s
2901     5:a;duplicate constructor name;m
2902    
2903     #data
2904     module m {
2905     [NamedConstructor=a]
2906     interface x {};
2907     [NamedConstructor=_a]
2908     interface y {};
2909     };
2910     #errors
2911     4:a;duplicate constructor name;m
2912    
2913     #data
2914     module m {
2915     [NamedConstructor=a]
2916     interface x {};
2917     };
2918     module n {
2919     [NamedConstructor=a]
2920     interface y {};
2921     };
2922     #errors
2923     6:a;duplicate constructor name;m
2924    
2925     #data
2926     module m {
2927     [NamedConstructor=x]
2928     interface x {};
2929     };
2930     #errors
2931     2:x;duplicate constructor name;m
2932    
2933     #data
2934     module m {
2935     [NamedConstructor=y]
2936     interface x {};
2937     interface y {};
2938     };
2939     #errors
2940     2:y;duplicate constructor name;m
2941    
2942     #data
2943     module m {
2944     exception a {};
2945     [NamedConstructor=a]
2946     interface x {};
2947     };
2948     #errors
2949     3:a;duplicate constructor name;m
2950    
2951     #data
2952     module m {
2953     [NamedConstructor=a]
2954     interface x {};
2955     };
2956     module n {
2957     interface a {};
2958     };
2959     #errors
2960     2:a;duplicate constructor name;m
2961    
2962     #data
2963     module m {
2964     [NamedConstructor]
2965     interface x {};
2966     };
2967     #errors
2968     2;xattr id missing;m;NamedConstructor
2969    
2970     #data
2971     module m {
2972     [NamedConstructor()]
2973     interface x {};
2974     };
2975     #errors
2976     2;xattr id missing;m;NamedConstructor
2977    
2978     #data
2979     module m {
2980     [NamedConstructor=a]
2981     exception x {};
2982     };
2983     #errors
2984    
2985     #data
2986     module m {
2987     interface x {
2988     [NamedConstructor=a] void m ();
2989     };
2990     exception a {};
2991     };
2992     #errors
2993     3;xattr not applicable;w;NamedConstructor
2994    
2995     #data
2996     module m {
2997     [NamedConstructor=a]
2998     interface x;
2999     interface x {};
3000     };
3001     #errors
3002     2;xattr not applicable;w;NamedConstructor
3003     4;duplicate qname;m
3004    
3005     #data
3006     module m {
3007     [NativeObject] interface x {};
3008     };
3009     #errors
3010    
3011     #data
3012     module m {
3013     [NativeObject=FunctionOnly] interface x {};
3014     };
3015     #errors
3016    
3017     #data
3018     module m {
3019     [NativeObject=functiononly] interface x {};
3020     };
3021     #errors
3022     2:functiononly;xattr id value not allowed;m;NativeObject
3023    
3024     #data
3025     module m {
3026     [NativeObject()] interface x {};
3027     };
3028     #errors
3029     2;xattr arglist not allowed;m;NativeObject
3030    
3031     #data
3032     module m {
3033     [NativeObject=FunctionOnly()] interface x {};
3034     };
3035     #errors
3036     2;xattr arglist not allowed;m;NativeObject
3037    
3038     #data
3039     module m {
3040     [NativeObject] exception x {};
3041     };
3042     #errors
3043     2;xattr not applicable;w;NativeObject
3044    
3045     #data
3046     module m {
3047     [NativeObject] interface x;
3048     interface x {};
3049     };
3050     #errors
3051     2;xattr not applicable;w;NativeObject
3052     3;duplicate qname;m
3053    
3054     #data
3055     module m {
3056     [NativeObject,NativeObject] interface x {};
3057     };
3058     #errors
3059     2;duplicate xattr;w;NativeObject
3060    
3061     #data
3062     module m {
3063     [NativeObject,NativeObject=FunctionOnly] interface x {};
3064     };
3065     #errors
3066     2;duplicate xattr;w;NativeObject
3067    
3068     #data
3069     module m {
3070     [NoInterfaceObject] interface x {};
3071     };
3072     #errors
3073    
3074     #data
3075     module m {
3076     [NoInterfaceObject,NoInterfaceObject] interface x {};
3077     };
3078     #errors
3079     2;duplicate xattr;w;NoInterfaceObject
3080    
3081     #data
3082     module m {
3083     [NoInterfaceObject=a] interface x {};
3084     };
3085     #errors
3086     2;xattr id not allowed;m;NoInterfaceObject
3087    
3088     #data
3089     module m {
3090     [NoInterfaceObject()] interface x {};
3091     };
3092     #errors
3093     2;xattr arglist not allowed;m;NoInterfaceObject
3094    
3095     #data
3096     module m {
3097     [NoInterfaceObject=a()] interface x {};
3098     };
3099     #errors
3100     2;xattr id not allowed;m;NoInterfaceObject
3101     2;xattr arglist not allowed;m;NoInterfaceObject
3102    
3103     #data
3104     module m {
3105     [NoInterfaceObject] exception x {};
3106     };
3107     #errors
3108    
3109     #data
3110     [NoInterfaceObject] module m {
3111     interface x {};
3112     };
3113     #errors
3114     1;xattr not applicable;w;NoInterfaceObject
3115    
3116     #data
3117     module m {
3118     [NoInterfaceObject] interface x;
3119     interface x {};
3120     };
3121     #errors
3122     2;xattr not applicable;w;NoInterfaceObject
3123     3;duplicate qname;m
3124    
3125     #data
3126     module m {
3127     [NoInterfaceObject,NamedConstructor=a] interface x {};
3128     };
3129     #errors
3130    
3131     #data
3132     module m {
3133     [NamedConstructor=x] interface y {};
3134     [NoInterfaceObject] interface x {};
3135     };
3136     #errors
3137    
3138     #data
3139     module m {
3140     [NoInterfaceObject,NamedConstructor=x] interface x {};
3141     };
3142     #errors
3143    
3144     #data
3145     module m {
3146     [NamedConstructor=x] interface y {};
3147     [NoInterfaceObject] exception x {};
3148     };
3149     #errors
3150    
3151     #data
3152     module m {
3153     interface x {
3154     [Undefined=Null] attribute DOMString x;
3155     };
3156     };
3157     #errors
3158    
3159     #data
3160     module m {
3161     interface x {
3162     void m ([Undefined=Null] in DOMString x);
3163     };
3164     };
3165     #errors
3166    
3167     #data
3168     module m {
3169     interface x {
3170     [Undefined=Empty] attribute DOMString x;
3171     };
3172     };
3173     #errors
3174    
3175     #data
3176     module m {
3177     interface x {
3178     void m ([Undefined=Empty] in DOMString x);
3179     };
3180     };
3181     #errors
3182    
3183     #data
3184     module m {
3185     interface x {
3186     [Undefined=Null,Undefined=Empty] attribute DOMString x;
3187     };
3188     };
3189     #errors
3190     3;duplicate xattr;w;Undefined
3191    
3192     #data
3193     module m {
3194     interface x {
3195     void m ([Undefined=Null,Undefined=Empty] in DOMString x);
3196     };
3197     };
3198     #errors
3199     3;duplicate xattr;w;Undefined
3200    
3201     #data
3202     module m {
3203     interface x {
3204     void m ([Undefined=Null,Null=Empty] in DOMString x);
3205     };
3206     };
3207     #errors
3208    
3209     #data
3210     module m {
3211     interface x {
3212     [Undefined=null] attribute DOMString x;
3213     };
3214     };
3215     #errors
3216     3:null;xattr id value not allowed;m;Undefined
3217    
3218     #data
3219     module m {
3220     interface x {
3221     void m ([Undefined=null] in DOMString x);
3222     };
3223     };
3224     #errors
3225     3:null;xattr id value not allowed;m;Undefined
3226    
3227     #data
3228     module m {
3229     interface x {
3230     [Undefined] attribute DOMString x;
3231     };
3232     };
3233     #errors
3234     3;xattr id missing;m;Undefined
3235    
3236     #data
3237     module m {
3238     interface x {
3239     void m ([Undefined] in DOMString x);
3240     };
3241     };
3242     #errors
3243     3;xattr id missing;m;Undefined
3244    
3245     #data
3246     module m {
3247     interface x {
3248     [Undefined()] attribute DOMString x;
3249     };
3250     };
3251     #errors
3252     3;xattr id missing;m;Undefined
3253     3;xattr arglist not allowed;m;Undefined
3254    
3255     #data
3256     module m {
3257     interface x {
3258     void m ([Undefined()] in DOMString x);
3259     };
3260     };
3261     #errors
3262     3;xattr id missing;m;Undefined
3263     3;xattr arglist not allowed;m;Undefined
3264    
3265     #data
3266     module m {
3267     interface x {
3268     [Undefined=Null()] attribute DOMString x;
3269     };
3270     };
3271     #errors
3272     3;xattr arglist not allowed;m;Undefined
3273    
3274     #data
3275     module m {
3276     interface x {
3277     void m ([Undefined=Null()] in DOMString x);
3278     };
3279     };
3280     #errors
3281     3;xattr arglist not allowed;m;Undefined
3282    
3283     #data
3284     module m {
3285     interface x {
3286     [Undefined=Null] attribute _DOMString x;
3287     };
3288     };
3289     #errors
3290     3;xattr for wrong type;w;Undefined
3291     3;type not defined;m;DOMString
3292    
3293     #data
3294     module m {
3295     interface x {
3296     void m ([Undefined=Null] in _DOMString x);
3297     };
3298     };
3299     #errors
3300     3;xattr for wrong type;w;Undefined
3301     3;type not defined;m;DOMString
3302    
3303     #data
3304     module m {
3305     interface x {
3306     [Undefined=_Null] attribute DOMString x;
3307     };
3308     };
3309     #errors
3310    
3311     #data
3312     module m {
3313     interface x {
3314     void m ([Undefined=_Null] in DOMString x);
3315     };
3316     };
3317     #errors
3318    
3319     #data
3320     module m {
3321     interface x {
3322     [Undefined=_Empty] attribute DOMString x;
3323     };
3324     };
3325     #errors
3326    
3327     #data
3328     module m {
3329     interface x {
3330     void m ([Undefined=_Empty] in DOMString x);
3331     };
3332     };
3333     #errors
3334    
3335     #data
3336     module m {
3337     interface x {
3338     void m ([Undefined=Undefined] in DOMString x);
3339     };
3340     };
3341     #errors
3342     3:Undefined;xattr id value not allowed;m;Undefined
3343    
3344     #data
3345     module m {
3346     [Undefined=Null]interface x {
3347     attribute DOMString x;
3348     };
3349     };
3350     #errors
3351     2;xattr not applicable;w;Undefined
3352    
3353     #data
3354     module m {
3355     interface x {
3356     [Undefined=Empty] void m (in DOMString x);
3357     };
3358     };
3359     #errors
3360     3;xattr not applicable;w;Undefined
3361 wakaba 1.8
3362     #data
3363     module m {
3364     interface x:
3365     {};
3366     interface y {};
3367     };
3368     #errors
3369     3.1;scoped name;m
3370     #document
3371     | module m {
3372     |
3373     | interface y {
3374     | };
3375     |
3376     | };
3377    
3378     #data
3379     module m {
3380     interface x {
3381     void m () raises
3382     (y;
3383     void n ();
3384     };
3385     };
3386     #errors
3387     4.3;after exception name;m
3388     #document
3389     | module m {
3390     |
3391     | interface x {
3392     | void n ();
3393     | };
3394     |
3395     | };
3396    
3397     #data
3398     module m {
3399     interface x {
3400     void m () raises (
3401     ;
3402     void n ();
3403     };
3404     };
3405     #errors
3406     4.1;scoped name;m
3407     #document
3408     | module m {
3409     |
3410     | interface x {
3411     | void n ();
3412     | };
3413     |
3414     | };
3415    
3416     #data
3417     module m {
3418     interface x<>;
3419     interface y {};
3420     };
3421     #errors
3422     2.12;before webidl block;m;interface
3423     #document
3424     | module m {
3425     |
3426     | interface y {
3427     | };
3428     |
3429     | };
3430    
3431     #data
3432     module m {
3433     interface x {
3434     0abc;
3435     attribute boolean a;
3436     };
3437     };
3438     #errors
3439     3.1;before interface member;m
3440     #document
3441     | module m {
3442     |
3443     | interface x {
3444     | attribute boolean a;
3445     | };
3446     |
3447     | };
3448    
3449     #data
3450     module m {
3451     interface x {
3452     attribute 0;
3453     attribute long a;
3454     };
3455     };
3456     #errors
3457     3.11;before webidl type;m;attribute
3458     #document
3459     | module m {
3460     |
3461     | interface x {
3462     | attribute long a;
3463     | };
3464     |
3465     | };
3466    
3467     #data
3468     module m {
3469     interface x {
3470     void l(in 0);
3471     void n(in long a);
3472     };
3473     };
3474     #errors
3475     3.13;before webidl type:argument;m
3476     #document
3477     | module m {
3478     |
3479     | interface x {
3480     | void n (in long a);
3481     | };
3482     |
3483     | };
3484    
3485     #data
3486     module m {
3487     interface x {
3488     attribute long 0;
3489     attribute boolean a;
3490     };
3491     };
3492     #errors
3493     3.18;no webidl identifier;m;attribute
3494     #document
3495     | module m {
3496     |
3497     | interface x {
3498     | attribute boolean a;
3499     | };
3500     |
3501     | };
3502    
3503     #data
3504     module m {
3505     interface x {
3506     long 0();
3507     void m();
3508     };
3509     };
3510     #errors
3511     3.6;no webidl identifier:operation;m
3512     #document
3513     | module m {
3514     |
3515     | interface x {
3516     | void m ();
3517     | };
3518     |
3519     | };
3520    
3521     #data
3522     module m {
3523     interface x {
3524     void m in long a;
3525     void n (in long a);
3526     };
3527     };
3528     #errors
3529     3.9;no arguments lparen;m
3530     #document
3531     | module m {
3532     |
3533     | interface x {
3534     | void n (in long a);
3535     | };
3536     |
3537     | };
3538    
3539     #data
3540     module m {
3541     interface x {
3542     void m ;
3543     void n (in long a);
3544     };
3545     };
3546     #errors
3547     3.8;no arguments lparen;m
3548     #document
3549     | module m {
3550     |
3551     | interface x {
3552     | void n (in long a);
3553     | };
3554     |
3555     | };
3556    
3557     #data
3558     module m {
3559     interface x {
3560     void m (in long a;);
3561     void n ();
3562     };
3563     };
3564     #errors
3565     3.18;after argument;m
3566     3.19;before interface member;m
3567     #document
3568     | module m {
3569     |
3570     | interface x {
3571     | void n ();
3572     | };
3573     |
3574     | };
3575    
3576     #data
3577     module m {
3578     interface x {
3579     [m (in long a] void m();
3580     void n ();
3581     };
3582     };
3583     #errors
3584     3.14;after argument;m
3585     #document
3586     | module m {
3587     |
3588     | interface x {
3589     | void n ();
3590     | };
3591     |
3592     | };
3593    
3594     #data
3595     module m {
3596     interface x {
3597     void n (in long 0);
3598     void l ();
3599     };
3600     };
3601     #errors
3602     3.17;no webidl identifier:argument;m
3603     #document
3604     | module m {
3605     |
3606     | interface x {
3607     | void l ();
3608     | };
3609     |
3610     | };
3611    
3612     #data
3613     module m {
3614     interface x {
3615     [a(in long 0)] void m ();
3616     void l ();
3617     };
3618     };
3619     #errors
3620     3.12;no webidl identifier:argument;m
3621     #document
3622     | module m {
3623     |
3624     | interface x {
3625     | void l ();
3626     | };
3627     |
3628     | };
3629    
3630     #data
3631     module m {
3632     interface x {
3633     void m (long c);
3634     void n ();
3635     };
3636     };
3637     #errors
3638     3.12;no argument in;m
3639     #document
3640     | module m {
3641     |
3642     | interface x {
3643     | void n ();
3644     | };
3645     |
3646     | };
3647    
3648     #data
3649     module m {
3650     interface x {
3651     [m (long c)] void l ();
3652     void n ();
3653     };
3654     };
3655     #errors
3656     3.8;no argument in;m
3657     #document
3658     | module m {
3659     |
3660     | interface x {
3661     | void n ();
3662     | };
3663     |
3664     | };
3665    
3666     #data
3667     module m {
3668     interface x {
3669     void m () raises DOMException;
3670     void n();
3671     };
3672     };
3673     #errors
3674     3.29;no raises lparen;m
3675     #document
3676     | module m {
3677     |
3678     | interface x {
3679     | void n ();
3680     | };
3681     |
3682     | };
3683    
3684     #data
3685     module m {
3686     interface x {
3687     attribute long m getraises
3688     DOMException;
3689     void n();
3690     };
3691     };
3692     #errors
3693     4.12;no raises lparen;m
3694     #document
3695     | module m {
3696     |
3697     | interface x {
3698     | void n ();
3699     | };
3700     |
3701     | };
3702    
3703     #data
3704     module m {
3705     interface x {
3706     attribute short m setraises
3707     DOMException;
3708     void n();
3709     };
3710     };
3711     #errors
3712     4.12;no raises lparen;m
3713     #document
3714     | module m {
3715     |
3716     | interface x {
3717     | void n ();
3718     | };
3719     |
3720     | };
3721    
3722     #data
3723     module m {
3724     interface x {
3725     attribute long x getraises (DOMException) setraises
3726     DOMException;
3727     void n();
3728     };
3729     };
3730     #errors
3731     4.12;no raises lparen;m
3732     #document
3733     | module m {
3734     |
3735     | interface x {
3736     | void n ();
3737     | };
3738     |
3739     | };
3740    
3741     #data
3742     module m {
3743     interface x {
3744     void m ()
3745     long n ();
3746     boolean l ();
3747     };
3748     };
3749     #errors
3750     4.4;no webidl semicolon;m
3751     #document
3752     | module m {
3753     |
3754     | interface x {
3755     | boolean l ();
3756     | };
3757     |
3758     | };
3759    
3760     #data
3761     module m{
3762     interface x{
3763     #errors
3764     2.12;premature end of webidl;m
3765     #document
3766     | module m {
3767     |
3768     | interface x {
3769     | };
3770     |
3771     | };
3772    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24