1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.htmlunit.libraries;
16
17 import java.util.Arrays;
18 import java.util.Comparator;
19
20 import org.htmlunit.junit.annotation.Alerts;
21 import org.htmlunit.junit.annotation.HtmlUnitNYI;
22 import org.junit.jupiter.api.Test;
23 import org.openqa.selenium.By;
24 import org.openqa.selenium.WebDriver;
25 import org.openqa.selenium.WebElement;
26
27
28
29
30
31
32
33
34
35
36 public class JQuery1x12x4Test extends JQueryTestBase {
37
38 private String[] testResultLines_ = null;
39
40
41
42
43 @Override
44 public String getVersion() {
45 return "1.12.4";
46 }
47
48
49
50
51 @Override
52 protected String readTestNumber(final String testName) throws Exception {
53 if (testResultLines_ == null) {
54 final String testResults = loadExpectation("/libraries/jQuery/"
55 + getVersion() + "/expectations/results", ".txt");
56 final String[] lines = testResults.split("\n");
57 Arrays.sort(lines, Comparator.comparingInt(String::length));
58 testResultLines_ = lines;
59 }
60
61 for (int i = 0; i < testResultLines_.length; i++) {
62 final String line = testResultLines_[i];
63 final int pos = line.indexOf(testName);
64 if (pos != -1) {
65 final int start = line.lastIndexOf('[') + 1;
66 return line.substring(start, start + 8);
67 }
68 }
69
70 return null;
71 }
72
73
74
75
76 @Override
77 protected String buildUrl(final String testNumber) {
78 return URL_FIRST + "jquery/test/index.html?testId=" + testNumber;
79 }
80
81
82
83
84 @Override
85 protected String getResultDetailElementText(final WebDriver webdriver, final String testNumber) {
86 final WebElement output = webdriver.findElement(By.id("qunit-test-output-" + testNumber));
87 String result = output.getText();
88 result = result.substring(0, result.indexOf("Rerun")).trim();
89 if (result.startsWith("skipped")) {
90 result = result.substring(7);
91 }
92 return result;
93 }
94
95
96
97
98
99 @Test
100 @Alerts("2")
101 public void ready__jQuery_isReady() throws Exception {
102 runTest("ready: jQuery.isReady");
103 }
104
105
106
107
108
109 @Test
110 @Alerts("10")
111 public void ready__jQuery_ready() throws Exception {
112 runTest("ready: jQuery ready");
113 }
114
115
116
117
118
119 @Test
120 @Alerts("4")
121 public void basic__ajax() throws Exception {
122 runTest("basic: ajax");
123 }
124
125
126
127
128
129 @Test
130 @Alerts("6")
131 public void basic__attributes() throws Exception {
132 runTest("basic: attributes");
133 }
134
135
136
137
138
139 @Test
140 @Alerts("3")
141 public void basic__css() throws Exception {
142 runTest("basic: css");
143 }
144
145
146
147
148
149 @Test
150 @Alerts("28")
151 public void basic__core() throws Exception {
152 runTest("basic: core");
153 }
154
155
156
157
158
159 @Test
160 @Alerts("4")
161 public void basic__data() throws Exception {
162 runTest("basic: data");
163 }
164
165
166
167
168
169 @Test
170 @Alerts("3")
171 public void basic__dimensions() throws Exception {
172 runTest("basic: dimensions");
173 }
174
175
176
177
178
179 @Test
180 @Alerts("1")
181 public void basic__event() throws Exception {
182 runTest("basic: event");
183 }
184
185
186
187
188
189 @Test
190 @Alerts("5")
191 public void basic__manipulation() throws Exception {
192 runTest("basic: manipulation");
193 }
194
195
196
197
198
199 @Test
200 @Alerts("3")
201 public void basic__offset() throws Exception {
202 runTest("basic: offset");
203 }
204
205
206
207
208
209 @Test
210 @Alerts("2")
211 public void basic__selector() throws Exception {
212 runTest("basic: selector");
213 }
214
215
216
217
218
219 @Test
220 @Alerts("2")
221 public void basic__serialize() throws Exception {
222 runTest("basic: serialize");
223 }
224
225
226
227
228
229 @Test
230 @Alerts("12")
231 public void basic__traversing() throws Exception {
232 runTest("basic: traversing");
233 }
234
235
236
237
238
239 @Test
240 @Alerts("3")
241 public void basic__wrap() throws Exception {
242 runTest("basic: wrap");
243 }
244
245
246
247
248
249 @Test
250 @Alerts("7")
251 public void core__Basic_requirements() throws Exception {
252 runTest("core: Basic requirements");
253 }
254
255
256
257
258
259 @Test
260 @Alerts("30")
261 public void core__jQuery__() throws Exception {
262 runTest("core: jQuery()");
263 }
264
265
266
267
268
269 @Test
270 @Alerts("3")
271 public void core__jQuery_selector__context_() throws Exception {
272 runTest("core: jQuery(selector, context)");
273 }
274
275
276
277
278
279 @Test
280 @Alerts("18")
281 public void core__selector_state() throws Exception {
282 runTest("core: selector state");
283 }
284
285
286
287
288
289 @Test
290 @Alerts("2")
291 public void core__globalEval() throws Exception {
292 runTest("core: globalEval");
293 }
294
295
296
297
298
299 @Test
300 @Alerts("7")
301 public void core__noConflict() throws Exception {
302 runTest("core: noConflict");
303 }
304
305
306
307
308
309 @Test
310 @Alerts("13")
311 public void core__trim() throws Exception {
312 runTest("core: trim");
313 }
314
315
316
317
318
319 @Test
320 @Alerts("28")
321 public void core__type() throws Exception {
322 runTest("core: type");
323 }
324
325
326
327
328
329 @Test
330 @Alerts("2")
331 public void core__type_for__Symbol_() throws Exception {
332 runTest("core: type for `Symbol`");
333 }
334
335
336
337
338
339 @Test
340 @Alerts("18")
341 public void core__isPlainObject() throws Exception {
342 runTest("core: isPlainObject");
343 }
344
345
346
347
348
349 @Test
350 @Alerts("2")
351 public void core__isPlainObject_Object_create__() throws Exception {
352 runTest("core: isPlainObject(Object.create()");
353 }
354
355
356
357
358
359 @Test
360 @Alerts("2")
361 public void core__isPlainObject_Symbol_() throws Exception {
362 runTest("core: isPlainObject(Symbol)");
363 }
364
365
366
367
368
369 @Test
370 @Alerts("19")
371 public void core__isFunction() throws Exception {
372 runTest("core: isFunction");
373 }
374
375
376
377
378
379 @Test
380 @Alerts("38")
381 public void core__isNumeric() throws Exception {
382 runTest("core: isNumeric");
383 }
384
385
386
387
388
389 @Test
390 @Alerts("2")
391 public void core__isNumeric_Symbol_() throws Exception {
392 runTest("core: isNumeric(Symbol)");
393 }
394
395
396
397
398
399 @Test
400 @Alerts("4")
401 public void core__isXMLDoc___HTML() throws Exception {
402 runTest("core: isXMLDoc - HTML");
403 }
404
405
406
407
408
409 @Test
410 @Alerts("1")
411 public void core__XSS_via_location_hash() throws Exception {
412 runTest("core: XSS via location.hash");
413 }
414
415
416
417
418
419 @Test
420 @Alerts("3")
421 public void core__isXMLDoc___XML() throws Exception {
422 runTest("core: isXMLDoc - XML");
423 }
424
425
426
427
428
429 @Test
430 @Alerts("14")
431 public void core__isWindow() throws Exception {
432 runTest("core: isWindow");
433 }
434
435
436
437
438
439 @Test
440 @Alerts("18")
441 public void core__jQuery__html__() throws Exception {
442 runTest("core: jQuery('html')");
443 }
444
445
446
447
448
449 @Test
450 @Alerts("17")
451 public void core__jQuery_tag_hyphenated_elements__gh_1987() throws Exception {
452 runTest("core: jQuery(tag-hyphenated elements) gh-1987");
453 }
454
455
456
457
458
459 @Test
460 @Alerts("3")
461 public void core__jQuery__massive_html__7990__() throws Exception {
462 runTest("core: jQuery('massive html #7990')");
463 }
464
465
466
467
468
469 @Test
470 @Alerts("1")
471 public void core__jQuery__html___context_() throws Exception {
472 runTest("core: jQuery('html', context)");
473 }
474
475
476
477
478
479 @Test
480 @Alerts("2")
481 public void core__jQuery_selector__xml__text_str____loaded_via_xml_document() throws Exception {
482 runTest("core: jQuery(selector, xml).text(str) - loaded via xml document");
483 }
484
485
486
487
488
489 @Test
490 @Alerts("3")
491 public void core__end__() throws Exception {
492 runTest("core: end()");
493 }
494
495
496
497
498
499 @Test
500 @Alerts("1")
501 public void core__length() throws Exception {
502 runTest("core: length");
503 }
504
505
506
507
508
509 @Test
510 @Alerts("1")
511 public void core__get__() throws Exception {
512 runTest("core: get()");
513 }
514
515
516
517
518
519 @Test
520 @Alerts("1")
521 public void core__toArray__() throws Exception {
522 runTest("core: toArray()");
523 }
524
525
526
527
528
529 @Test
530 @Alerts("19")
531 public void core__inArray__() throws Exception {
532 runTest("core: inArray()");
533 }
534
535
536
537
538
539 @Test
540 @Alerts("2")
541 public void core__get_Number_() throws Exception {
542 runTest("core: get(Number)");
543 }
544
545
546
547
548
549 @Test
550 @Alerts("2")
551 public void core__get__Number_() throws Exception {
552 runTest("core: get(-Number)");
553 }
554
555
556
557
558
559 @Test
560 @Alerts("1")
561 public void core__each_Function_() throws Exception {
562 runTest("core: each(Function)");
563 }
564
565
566
567
568
569 @Test
570 @Alerts("7")
571 public void core__slice__() throws Exception {
572 runTest("core: slice()");
573 }
574
575
576
577
578
579 @Test
580 @Alerts("4")
581 public void core__first___last__() throws Exception {
582 runTest("core: first()/last()");
583 }
584
585
586
587
588
589 @Test
590 @Alerts("2")
591 public void core__map__() throws Exception {
592 runTest("core: map()");
593 }
594
595
596
597
598
599 @Test
600 @Alerts("25")
601 public void core__jQuery_map() throws Exception {
602 runTest("core: jQuery.map");
603 }
604
605
606
607
608
609 @Test
610 @Alerts("10")
611 public void core__jQuery_merge__() throws Exception {
612 runTest("core: jQuery.merge()");
613 }
614
615
616
617
618
619 @Test
620 @Alerts("8")
621 public void core__jQuery_grep__() throws Exception {
622 runTest("core: jQuery.grep()");
623 }
624
625
626
627
628
629 @Test
630 @Alerts("7")
631 public void core__jQuery_grep_Array_like_() throws Exception {
632 runTest("core: jQuery.grep(Array-like)");
633 }
634
635
636
637
638
639 @Test
640 @Alerts("28")
641 public void core__jQuery_extend_Object__Object_() throws Exception {
642 runTest("core: jQuery.extend(Object, Object)");
643 }
644
645
646
647
648
649 @Test
650 @Alerts("2")
651 public void core__jQuery_extend_Object__Object__created_with__defineProperties___() throws Exception {
652 runTest("core: jQuery.extend(Object, Object {created with \"defineProperties\"})");
653 }
654
655
656
657
658
659 @Test
660 @Alerts("23")
661 public void core__jQuery_each_Object_Function_() throws Exception {
662 runTest("core: jQuery.each(Object,Function)");
663 }
664
665
666
667
668
669 @Test
670 @Alerts("1")
671 public void core__jQuery_each_map_undefined_null_Function_() throws Exception {
672 runTest("core: jQuery.each/map(undefined/null,Function)");
673 }
674
675
676
677
678
679 @Test
680 @Alerts("4")
681 public void core__JIT_compilation_does_not_interfere_with_length_retrieval__gh_2145_() throws Exception {
682 runTest("core: JIT compilation does not interfere with length retrieval (gh-2145)");
683 }
684
685
686
687
688
689 @Test
690 @Alerts("15")
691 public void core__jQuery_makeArray() throws Exception {
692 runTest("core: jQuery.makeArray");
693 }
694
695
696
697
698
699 @Test
700 @Alerts("3")
701 public void core__jQuery_inArray() throws Exception {
702 runTest("core: jQuery.inArray");
703 }
704
705
706
707
708
709 @Test
710 @Alerts("2")
711 public void core__jQuery_isEmptyObject() throws Exception {
712 runTest("core: jQuery.isEmptyObject");
713 }
714
715
716
717
718
719 @Test
720 @Alerts("9")
721 public void core__jQuery_proxy() throws Exception {
722 runTest("core: jQuery.proxy");
723 }
724
725
726
727
728
729 @Test
730 @Alerts("17")
731 public void core__jQuery_parseHTML() throws Exception {
732 runTest("core: jQuery.parseHTML");
733 }
734
735
736
737
738
739 @Test
740 @Alerts("20")
741 public void core__jQuery_parseJSON() throws Exception {
742 runTest("core: jQuery.parseJSON");
743 }
744
745
746
747
748
749 @Test
750 @Alerts("8")
751 public void core__jQuery_parseXML() throws Exception {
752 runTest("core: jQuery.parseXML");
753 }
754
755
756
757
758
759 @Test
760 @Alerts("7")
761 public void core__jQuery_camelCase__() throws Exception {
762 runTest("core: jQuery.camelCase()");
763 }
764
765
766
767
768
769 @Test
770 @Alerts("3")
771 public void core__Conditional_compilation_compatibility___13274_() throws Exception {
772 runTest("core: Conditional compilation compatibility (#13274)");
773 }
774
775
776
777
778
779 @Test
780 @Alerts("1")
781 public void core__document_ready_when_jQuery_loaded_asynchronously___13655_() throws Exception {
782 runTest("core: document ready when jQuery loaded asynchronously (#13655)");
783 }
784
785
786
787
788
789 @Test
790 @Alerts("1")
791 public void core__Tolerating_alias_masked_DOM_properties___14074_() throws Exception {
792 runTest("core: Tolerating alias-masked DOM properties (#14074)");
793 }
794
795
796
797
798
799 @Test
800 @Alerts("1")
801 public void core__Don_t_call_window_onready___14802_() throws Exception {
802 runTest("core: Don't call window.onready (#14802)");
803 }
804
805
806
807
808
809 @Test
810 @Alerts("1")
811 public void core__Iterability_of_jQuery_objects__gh_1693_() throws Exception {
812 runTest("core: Iterability of jQuery objects (gh-1693)");
813 }
814
815
816
817
818
819 @Test
820 @Alerts("28")
821 public void callbacks__jQuery_Callbacks_________no_filter() throws Exception {
822 runTest("callbacks: jQuery.Callbacks( '' ) - no filter");
823 }
824
825
826
827
828
829 @Test
830 @Alerts("28")
831 public void callbacks__jQuery_Callbacks__________no_filter() throws Exception {
832 runTest("callbacks: jQuery.Callbacks( { } ) - no filter");
833 }
834
835
836
837
838
839 @Test
840 @Alerts("28")
841 public void callbacks__jQuery_Callbacks_________filter() throws Exception {
842 runTest("callbacks: jQuery.Callbacks( '' ) - filter");
843 }
844
845
846
847
848
849 @Test
850 @Alerts("28")
851 public void callbacks__jQuery_Callbacks__________filter() throws Exception {
852 runTest("callbacks: jQuery.Callbacks( { } ) - filter");
853 }
854
855
856
857
858
859 @Test
860 @Alerts("28")
861 public void callbacks__jQuery_Callbacks___once______no_filter() throws Exception {
862 runTest("callbacks: jQuery.Callbacks( 'once' ) - no filter");
863 }
864
865
866
867
868
869 @Test
870 @Alerts("28")
871 public void callbacks__jQuery_Callbacks_____once___true_______no_filter() throws Exception {
872 runTest("callbacks: jQuery.Callbacks( { 'once': true } ) - no filter");
873 }
874
875
876
877
878
879 @Test
880 @Alerts("28")
881 public void callbacks__jQuery_Callbacks___once______filter() throws Exception {
882 runTest("callbacks: jQuery.Callbacks( 'once' ) - filter");
883 }
884
885
886
887
888
889 @Test
890 @Alerts("28")
891 public void callbacks__jQuery_Callbacks_____once___true_______filter() throws Exception {
892 runTest("callbacks: jQuery.Callbacks( { 'once': true } ) - filter");
893 }
894
895
896
897
898
899 @Test
900 @Alerts("28")
901 public void callbacks__jQuery_Callbacks___memory______no_filter() throws Exception {
902 runTest("callbacks: jQuery.Callbacks( 'memory' ) - no filter");
903 }
904
905
906
907
908
909 @Test
910 @Alerts("28")
911 public void callbacks__jQuery_Callbacks_____memory___true_______no_filter() throws Exception {
912 runTest("callbacks: jQuery.Callbacks( { 'memory': true } ) - no filter");
913 }
914
915
916
917
918
919 @Test
920 @Alerts("28")
921 public void callbacks__jQuery_Callbacks___memory______filter() throws Exception {
922 runTest("callbacks: jQuery.Callbacks( 'memory' ) - filter");
923 }
924
925
926
927
928
929 @Test
930 @Alerts("28")
931 public void callbacks__jQuery_Callbacks_____memory___true_______filter() throws Exception {
932 runTest("callbacks: jQuery.Callbacks( { 'memory': true } ) - filter");
933 }
934
935
936
937
938
939 @Test
940 @Alerts("28")
941 public void callbacks__jQuery_Callbacks___unique______no_filter() throws Exception {
942 runTest("callbacks: jQuery.Callbacks( 'unique' ) - no filter");
943 }
944
945
946
947
948
949 @Test
950 @Alerts("28")
951 public void callbacks__jQuery_Callbacks_____unique___true_______no_filter() throws Exception {
952 runTest("callbacks: jQuery.Callbacks( { 'unique': true } ) - no filter");
953 }
954
955
956
957
958
959 @Test
960 @Alerts("28")
961 public void callbacks__jQuery_Callbacks___unique______filter() throws Exception {
962 runTest("callbacks: jQuery.Callbacks( 'unique' ) - filter");
963 }
964
965
966
967
968
969 @Test
970 @Alerts("28")
971 public void callbacks__jQuery_Callbacks_____unique___true_______filter() throws Exception {
972 runTest("callbacks: jQuery.Callbacks( { 'unique': true } ) - filter");
973 }
974
975
976
977
978
979 @Test
980 @Alerts("28")
981 public void callbacks__jQuery_Callbacks___stopOnFalse______no_filter() throws Exception {
982 runTest("callbacks: jQuery.Callbacks( 'stopOnFalse' ) - no filter");
983 }
984
985
986
987
988
989 @Test
990 @Alerts("28")
991 public void callbacks__jQuery_Callbacks_____stopOnFalse___true_______no_filter() throws Exception {
992 runTest("callbacks: jQuery.Callbacks( { 'stopOnFalse': true } ) - no filter");
993 }
994
995
996
997
998
999 @Test
1000 @Alerts("28")
1001 public void callbacks__jQuery_Callbacks___stopOnFalse______filter() throws Exception {
1002 runTest("callbacks: jQuery.Callbacks( 'stopOnFalse' ) - filter");
1003 }
1004
1005
1006
1007
1008
1009 @Test
1010 @Alerts("28")
1011 public void callbacks__jQuery_Callbacks_____stopOnFalse___true_______filter() throws Exception {
1012 runTest("callbacks: jQuery.Callbacks( { 'stopOnFalse': true } ) - filter");
1013 }
1014
1015
1016
1017
1018
1019 @Test
1020 @Alerts("28")
1021 public void callbacks__jQuery_Callbacks___once_memory______no_filter() throws Exception {
1022 runTest("callbacks: jQuery.Callbacks( 'once memory' ) - no filter");
1023 }
1024
1025
1026
1027
1028
1029 @Test
1030 @Alerts("28")
1031 public void callbacks__jQuery_Callbacks_____once___true___memory___true_______no_filter() throws Exception {
1032 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'memory': true } ) - no filter");
1033 }
1034
1035
1036
1037
1038
1039 @Test
1040 @Alerts("28")
1041 public void callbacks__jQuery_Callbacks___once_memory______filter() throws Exception {
1042 runTest("callbacks: jQuery.Callbacks( 'once memory' ) - filter");
1043 }
1044
1045
1046
1047
1048
1049 @Test
1050 @Alerts("28")
1051 public void callbacks__jQuery_Callbacks_____once___true___memory___true_______filter() throws Exception {
1052 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'memory': true } ) - filter");
1053 }
1054
1055
1056
1057
1058
1059 @Test
1060 @Alerts("28")
1061 public void callbacks__jQuery_Callbacks___once_unique______no_filter() throws Exception {
1062 runTest("callbacks: jQuery.Callbacks( 'once unique' ) - no filter");
1063 }
1064
1065
1066
1067
1068
1069 @Test
1070 @Alerts("28")
1071 public void callbacks__jQuery_Callbacks_____once___true___unique___true_______no_filter() throws Exception {
1072 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'unique': true } ) - no filter");
1073 }
1074
1075
1076
1077
1078
1079 @Test
1080 @Alerts("28")
1081 public void callbacks__jQuery_Callbacks___once_unique______filter() throws Exception {
1082 runTest("callbacks: jQuery.Callbacks( 'once unique' ) - filter");
1083 }
1084
1085
1086
1087
1088
1089 @Test
1090 @Alerts("28")
1091 public void callbacks__jQuery_Callbacks_____once___true___unique___true_______filter() throws Exception {
1092 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'unique': true } ) - filter");
1093 }
1094
1095
1096
1097
1098
1099 @Test
1100 @Alerts("28")
1101 public void callbacks__jQuery_Callbacks___once_stopOnFalse______no_filter() throws Exception {
1102 runTest("callbacks: jQuery.Callbacks( 'once stopOnFalse' ) - no filter");
1103 }
1104
1105
1106
1107
1108
1109 @Test
1110 @Alerts("28")
1111 public void callbacks__jQuery_Callbacks_____once___true___stopOnFalse___true_______no_filter() throws Exception {
1112 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'stopOnFalse': true } ) - no filter");
1113 }
1114
1115
1116
1117
1118
1119 @Test
1120 @Alerts("28")
1121 public void callbacks__jQuery_Callbacks___once_stopOnFalse______filter() throws Exception {
1122 runTest("callbacks: jQuery.Callbacks( 'once stopOnFalse' ) - filter");
1123 }
1124
1125
1126
1127
1128
1129 @Test
1130 @Alerts("28")
1131 public void callbacks__jQuery_Callbacks_____once___true___stopOnFalse___true_______filter() throws Exception {
1132 runTest("callbacks: jQuery.Callbacks( { 'once': true, 'stopOnFalse': true } ) - filter");
1133 }
1134
1135
1136
1137
1138
1139 @Test
1140 @Alerts("28")
1141 public void callbacks__jQuery_Callbacks___memory_unique______no_filter() throws Exception {
1142 runTest("callbacks: jQuery.Callbacks( 'memory unique' ) - no filter");
1143 }
1144
1145
1146
1147
1148
1149 @Test
1150 @Alerts("28")
1151 public void callbacks__jQuery_Callbacks_____memory___true___unique___true_______no_filter() throws Exception {
1152 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'unique': true } ) - no filter");
1153 }
1154
1155
1156
1157
1158
1159 @Test
1160 @Alerts("28")
1161 public void callbacks__jQuery_Callbacks___memory_unique______filter() throws Exception {
1162 runTest("callbacks: jQuery.Callbacks( 'memory unique' ) - filter");
1163 }
1164
1165
1166
1167
1168
1169 @Test
1170 @Alerts("28")
1171 public void callbacks__jQuery_Callbacks_____memory___true___unique___true_______filter() throws Exception {
1172 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'unique': true } ) - filter");
1173 }
1174
1175
1176
1177
1178
1179 @Test
1180 @Alerts("28")
1181 public void callbacks__jQuery_Callbacks___memory_stopOnFalse______no_filter() throws Exception {
1182 runTest("callbacks: jQuery.Callbacks( 'memory stopOnFalse' ) - no filter");
1183 }
1184
1185
1186
1187
1188
1189 @Test
1190 @Alerts("28")
1191 public void callbacks__jQuery_Callbacks_____memory___true___stopOnFalse___true_______no_filter() throws Exception {
1192 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'stopOnFalse': true } ) - no filter");
1193 }
1194
1195
1196
1197
1198
1199 @Test
1200 @Alerts("28")
1201 public void callbacks__jQuery_Callbacks___memory_stopOnFalse______filter() throws Exception {
1202 runTest("callbacks: jQuery.Callbacks( 'memory stopOnFalse' ) - filter");
1203 }
1204
1205
1206
1207
1208
1209 @Test
1210 @Alerts("28")
1211 public void callbacks__jQuery_Callbacks_____memory___true___stopOnFalse___true_______filter() throws Exception {
1212 runTest("callbacks: jQuery.Callbacks( { 'memory': true, 'stopOnFalse': true } ) - filter");
1213 }
1214
1215
1216
1217
1218
1219 @Test
1220 @Alerts("28")
1221 public void callbacks__jQuery_Callbacks___unique_stopOnFalse______no_filter() throws Exception {
1222 runTest("callbacks: jQuery.Callbacks( 'unique stopOnFalse' ) - no filter");
1223 }
1224
1225
1226
1227
1228
1229 @Test
1230 @Alerts("28")
1231 public void callbacks__jQuery_Callbacks_____unique___true___stopOnFalse___true_______no_filter() throws Exception {
1232 runTest("callbacks: jQuery.Callbacks( { 'unique': true, 'stopOnFalse': true } ) - no filter");
1233 }
1234
1235
1236
1237
1238
1239 @Test
1240 @Alerts("28")
1241 public void callbacks__jQuery_Callbacks___unique_stopOnFalse______filter() throws Exception {
1242 runTest("callbacks: jQuery.Callbacks( 'unique stopOnFalse' ) - filter");
1243 }
1244
1245
1246
1247
1248
1249 @Test
1250 @Alerts("28")
1251 public void callbacks__jQuery_Callbacks_____unique___true___stopOnFalse___true_______filter() throws Exception {
1252 runTest("callbacks: jQuery.Callbacks( { 'unique': true, 'stopOnFalse': true } ) - filter");
1253 }
1254
1255
1256
1257
1258
1259 @Test
1260 @Alerts("1")
1261 public void callbacks__jQuery_Callbacks__options_____options_are_copied() throws Exception {
1262 runTest("callbacks: jQuery.Callbacks( options ) - options are copied");
1263 }
1264
1265
1266
1267
1268
1269 @Test
1270 @Alerts("1")
1271 public void callbacks__jQuery_Callbacks_fireWith___arguments_are_copied() throws Exception {
1272 runTest("callbacks: jQuery.Callbacks.fireWith - arguments are copied");
1273 }
1274
1275
1276
1277
1278
1279 @Test
1280 @Alerts("1")
1281 public void callbacks__jQuery_Callbacks_remove___should_remove_all_instances() throws Exception {
1282 runTest("callbacks: jQuery.Callbacks.remove - should remove all instances");
1283 }
1284
1285
1286
1287
1288
1289 @Test
1290 @Alerts("13")
1291 public void callbacks__jQuery_Callbacks_has() throws Exception {
1292 runTest("callbacks: jQuery.Callbacks.has");
1293 }
1294
1295
1296
1297
1298
1299 @Test
1300 @Alerts("1")
1301 public void callbacks__jQuery_Callbacks_____adding_a_string_doesn_t_cause_a_stack_overflow() throws Exception {
1302 runTest("callbacks: jQuery.Callbacks() - adding a string doesn't cause a stack overflow");
1303 }
1304
1305
1306
1307
1308
1309 @Test
1310 @Alerts("1")
1311 public void callbacks__jQuery_Callbacks_____disabled_callback_doesn_t_fire__gh_1790_() throws Exception {
1312 runTest("callbacks: jQuery.Callbacks() - disabled callback doesn't fire (gh-1790)");
1313 }
1314
1315
1316
1317
1318
1319 @Test
1320 @Alerts("23")
1321 public void deferred__jQuery_Deferred() throws Exception {
1322 runTest("deferred: jQuery.Deferred");
1323 }
1324
1325
1326
1327
1328
1329 @Test
1330 @Alerts("23")
1331 public void deferred__jQuery_Deferred___new_operator() throws Exception {
1332 runTest("deferred: jQuery.Deferred - new operator");
1333 }
1334
1335
1336
1337
1338
1339 @Test
1340 @Alerts("10")
1341 public void deferred__jQuery_Deferred___chainability() throws Exception {
1342 runTest("deferred: jQuery.Deferred - chainability");
1343 }
1344
1345
1346
1347
1348
1349 @Test
1350 @Alerts("4")
1351 public void deferred__jQuery_Deferred_then___filtering__done_() throws Exception {
1352 runTest("deferred: jQuery.Deferred.then - filtering (done)");
1353 }
1354
1355
1356
1357
1358
1359 @Test
1360 @Alerts("4")
1361 public void deferred__jQuery_Deferred_then___filtering__fail_() throws Exception {
1362 runTest("deferred: jQuery.Deferred.then - filtering (fail)");
1363 }
1364
1365
1366
1367
1368
1369 @Test
1370 @Alerts("3")
1371 public void deferred__jQuery_Deferred_then___filtering__progress_() throws Exception {
1372 runTest("deferred: jQuery.Deferred.then - filtering (progress)");
1373 }
1374
1375
1376
1377
1378
1379 @Test
1380 @Alerts("3")
1381 public void deferred__jQuery_Deferred_then___deferred__done_() throws Exception {
1382 runTest("deferred: jQuery.Deferred.then - deferred (done)");
1383 }
1384
1385
1386
1387
1388
1389 @Test
1390 @Alerts("3")
1391 public void deferred__jQuery_Deferred_then___deferred__fail_() throws Exception {
1392 runTest("deferred: jQuery.Deferred.then - deferred (fail)");
1393 }
1394
1395
1396
1397
1398
1399 @Test
1400 @Alerts("3")
1401 public void deferred__jQuery_Deferred_then___deferred__progress_() throws Exception {
1402 runTest("deferred: jQuery.Deferred.then - deferred (progress)");
1403 }
1404
1405
1406
1407
1408
1409 @Test
1410 @Alerts("7")
1411 public void deferred__jQuery_Deferred_then___context() throws Exception {
1412 runTest("deferred: jQuery.Deferred.then - context");
1413 }
1414
1415
1416
1417
1418
1419 @Test
1420 @Alerts("37")
1421 public void deferred__jQuery_when() throws Exception {
1422 runTest("deferred: jQuery.when");
1423 }
1424
1425
1426
1427
1428
1429 @Test
1430 @Alerts("119")
1431 public void deferred__jQuery_when___joined() throws Exception {
1432 runTest("deferred: jQuery.when - joined");
1433 }
1434
1435
1436
1437
1438
1439 @Test
1440 @Alerts("6")
1441 public void deferred__jQuery_when___resolved() throws Exception {
1442 runTest("deferred: jQuery.when - resolved");
1443 }
1444
1445
1446
1447
1448
1449 @Test
1450 @Alerts("4")
1451 public void deprecated__bind_unbind() throws Exception {
1452 runTest("deprecated: bind/unbind");
1453 }
1454
1455
1456
1457
1458
1459 @Test
1460 @Alerts("2")
1461 public void deprecated__delegate_undelegate() throws Exception {
1462 runTest("deprecated: delegate/undelegate");
1463 }
1464
1465
1466
1467
1468
1469 @Test
1470 @Alerts("1")
1471 public void deprecated__size__() throws Exception {
1472 runTest("deprecated: size()");
1473 }
1474
1475
1476
1477
1478
1479 @Test
1480 @Alerts("1")
1481 public void support__zoom_of_doom___13089_() throws Exception {
1482 runTest("support: zoom of doom (#13089)");
1483 }
1484
1485
1486
1487
1488
1489 @Test
1490 @Alerts("2")
1491 public void support__body_background_is_not_lost_if_set_prior_to_loading_jQuery___9239_() throws Exception {
1492 runTest("support: body background is not lost if set prior to loading jQuery (#9239)");
1493 }
1494
1495
1496
1497
1498
1499 @Test
1500 @Alerts("1")
1501 public void support__box_sizing_does_not_affect_jQuery_support_shrinkWrapBlocks() throws Exception {
1502 runTest("support: box-sizing does not affect jQuery.support.shrinkWrapBlocks");
1503 }
1504
1505
1506
1507
1508
1509 @Test
1510 @Alerts("1")
1511 public void support__A_background_on_the_testElement_does_not_cause_IE8_to_crash___9823_() throws Exception {
1512 runTest("support: A background on the testElement does not cause IE8 to crash (#9823)");
1513 }
1514
1515
1516
1517
1518
1519 @Test
1520 @Alerts("1, 1, 2")
1521 public void support__Check_CSP__https___developer_mozilla_org_en_US_docs_Security_CSP__restrictions() throws Exception {
1522 runTest("support: Check CSP (https://developer.mozilla.org/en-US/docs/Security/CSP) restrictions");
1523 }
1524
1525
1526
1527
1528
1529 @Test
1530 @Alerts(CHROME = "37",
1531 EDGE = "37",
1532 FF = "1, 36, 37",
1533 FF_ESR = "1, 36, 37")
1534 @HtmlUnitNYI(CHROME = "1, 36, 37",
1535 EDGE = "1, 36, 37",
1536 FF = "37",
1537 FF_ESR = "37")
1538 public void support__Verify_that_support_tests_resolve_as_expected_per_browser() throws Exception {
1539 runTest("support: Verify that support tests resolve as expected per browser");
1540 }
1541
1542
1543
1544
1545
1546 @Test
1547 @Alerts("1")
1548 public void data__expando() throws Exception {
1549 runTest("data: expando");
1550 }
1551
1552
1553
1554
1555
1556 @Test
1557 @Alerts("25")
1558 public void data__jQuery_data_div_() throws Exception {
1559 runTest("data: jQuery.data(div)");
1560 }
1561
1562
1563
1564
1565
1566 @Test
1567 @Alerts("25")
1568 public void data__jQuery_data____() throws Exception {
1569 runTest("data: jQuery.data({})");
1570 }
1571
1572
1573
1574
1575
1576 @Test
1577 @Alerts("25")
1578 public void data__jQuery_data_window_() throws Exception {
1579 runTest("data: jQuery.data(window)");
1580 }
1581
1582
1583
1584
1585
1586 @Test
1587 @Alerts("25")
1588 public void data__jQuery_data_document_() throws Exception {
1589 runTest("data: jQuery.data(document)");
1590 }
1591
1592
1593
1594
1595
1596 @Test
1597 @Alerts("4")
1598 public void data__Expando_cleanup() throws Exception {
1599 runTest("data: Expando cleanup");
1600 }
1601
1602
1603
1604
1605
1606 @Test
1607 @Alerts("2")
1608 public void data__Data_is_not_being_set_on_comment_and_text_nodes() throws Exception {
1609 runTest("data: Data is not being set on comment and text nodes");
1610 }
1611
1612
1613
1614
1615
1616 @Test
1617 @Alerts("10")
1618 public void data__acceptData() throws Exception {
1619 runTest("data: acceptData");
1620 }
1621
1622
1623
1624
1625
1626 @Test
1627 @Alerts("2")
1628 public void data__jQuery___data_______undefined___14101_() throws Exception {
1629 runTest("data: jQuery().data() === undefined (#14101)");
1630 }
1631
1632
1633
1634
1635
1636 @Test
1637 @Alerts("5")
1638 public void data___data__() throws Exception {
1639 runTest("data: .data()");
1640 }
1641
1642
1643
1644
1645
1646 @Test
1647 @Alerts("18")
1648 public void data__jQuery_Element__data_String__Object__data_String_() throws Exception {
1649 runTest("data: jQuery(Element).data(String, Object).data(String)");
1650 }
1651
1652
1653
1654
1655
1656 @Test
1657 @Alerts("16")
1658 public void data__jQuery_plain_Object__data_String__Object__data_String_() throws Exception {
1659 runTest("data: jQuery(plain Object).data(String, Object).data(String)");
1660 }
1661
1662
1663
1664
1665
1666 @Test
1667 @Alerts("43")
1668 public void data__data___attributes() throws Exception {
1669 runTest("data: data-* attributes");
1670 }
1671
1672
1673
1674
1675
1676 @Test
1677 @Alerts("4")
1678 public void data___data_Object_() throws Exception {
1679 runTest("data: .data(Object)");
1680 }
1681
1682
1683
1684
1685
1686 @Test
1687 @Alerts("10")
1688 public void data__jQuery_removeData() throws Exception {
1689 runTest("data: jQuery.removeData");
1690 }
1691
1692
1693
1694
1695
1696 @Test
1697 @Alerts("6")
1698 public void data___removeData__() throws Exception {
1699 runTest("data: .removeData()");
1700 }
1701
1702
1703
1704
1705
1706 @Test
1707 @Alerts("1")
1708 public void data__JSON_serialization___8108_() throws Exception {
1709 runTest("data: JSON serialization (#8108)");
1710 }
1711
1712
1713
1714
1715
1716 @Test
1717 @Alerts("10")
1718 public void data__jQuery_data_should_follow_html5_specification_regarding_camel_casing() throws Exception {
1719 runTest("data: jQuery.data should follow html5 specification regarding camel casing");
1720 }
1721
1722
1723
1724
1725
1726 @Test
1727 @Alerts("2")
1728 public void data__jQuery_data_should_not_miss_data_with_preset_hyphenated_property_names() throws Exception {
1729 runTest("data: jQuery.data should not miss data with preset hyphenated property names");
1730 }
1731
1732
1733
1734
1735
1736 @Test
1737 @Alerts("24")
1738 public void data___data_supports_interoperable_hyphenated_camelCase_get_set_of_properties_with_arbitrary_non_null_NaN_undefined_values() throws Exception {
1739 runTest("data: .data supports interoperable hyphenated/camelCase get/set of properties with arbitrary non-null|NaN|undefined values");
1740 }
1741
1742
1743
1744
1745
1746 @Test
1747 @Alerts("24")
1748 public void data__jQuery_data_supports_interoperable_hyphenated_camelCase_get_set_of_properties_with_arbitrary_non_null_NaN_undefined_values() throws Exception {
1749 runTest("data: jQuery.data supports interoperable hyphenated/camelCase get/set of properties with arbitrary non-null|NaN|undefined values");
1750 }
1751
1752
1753
1754
1755
1756 @Test
1757 @Alerts("4")
1758 public void data___removeData_supports_removal_of_hyphenated_properties_via_array___12786_() throws Exception {
1759 runTest("data: .removeData supports removal of hyphenated properties via array (#12786)");
1760 }
1761
1762
1763
1764
1765
1766 @Test
1767 @Alerts("1")
1768 public void data__Triggering_the_removeData_should_not_throw_exceptions____10080_() throws Exception {
1769 runTest("data: Triggering the removeData should not throw exceptions. (#10080)");
1770 }
1771
1772
1773
1774
1775
1776 @Test
1777 @Alerts("2")
1778 public void data__Only_check_element_attributes_once_when_calling__data______8909() throws Exception {
1779 runTest("data: Only check element attributes once when calling .data() - #8909");
1780 }
1781
1782
1783
1784
1785
1786 @Test
1787 @Alerts("1")
1788 public void data__JSON_data__attributes_can_have_newlines() throws Exception {
1789 runTest("data: JSON data- attributes can have newlines");
1790 }
1791
1792
1793
1794
1795
1796 @Test
1797 @Alerts("1")
1798 public void data__enumerate_data_attrs_on_body___14894_() throws Exception {
1799 runTest("data: enumerate data attrs on body (#14894)");
1800 }
1801
1802
1803
1804
1805
1806 @Test
1807 @Alerts("1")
1808 public void data___data_prop__does_not_create_expando() throws Exception {
1809 runTest("data: .data(prop) does not create expando");
1810 }
1811
1812
1813
1814
1815
1816 @Test
1817 @Alerts("14")
1818 public void queue__queue___with_other_types() throws Exception {
1819 runTest("queue: queue() with other types");
1820 }
1821
1822
1823
1824
1825
1826 @Test
1827 @Alerts("2")
1828 public void queue__queue_name__passes_in_the_next_item_in_the_queue_as_a_parameter() throws Exception {
1829 runTest("queue: queue(name) passes in the next item in the queue as a parameter");
1830 }
1831
1832
1833
1834
1835
1836 @Test
1837 @Alerts("3")
1838 public void queue__queue___passes_in_the_next_item_in_the_queue_as_a_parameter_to_fx_queues() throws Exception {
1839 runTest("queue: queue() passes in the next item in the queue as a parameter to fx queues");
1840 }
1841
1842
1843
1844
1845
1846 @Test
1847 @Alerts("5")
1848 public void queue__callbacks_keep_their_place_in_the_queue() throws Exception {
1849 runTest("queue: callbacks keep their place in the queue");
1850 }
1851
1852
1853
1854
1855
1856 @Test
1857 @Alerts("2")
1858 public void queue__delay__() throws Exception {
1859 runTest("queue: delay()");
1860 }
1861
1862
1863
1864
1865
1866 @Test
1867 @Alerts("2")
1868 public void queue__clearQueue_name__clears_the_queue() throws Exception {
1869 runTest("queue: clearQueue(name) clears the queue");
1870 }
1871
1872
1873
1874
1875
1876 @Test
1877 @Alerts("1")
1878 public void queue__clearQueue___clears_the_fx_queue() throws Exception {
1879 runTest("queue: clearQueue() clears the fx queue");
1880 }
1881
1882
1883
1884
1885
1886 @Test
1887 @Alerts("3")
1888 public void queue__fn_promise_____called_when_fx_queue_is_empty() throws Exception {
1889 runTest("queue: fn.promise() - called when fx queue is empty");
1890 }
1891
1892
1893
1894
1895
1896 @Test
1897 @Alerts("5")
1898 public void queue__fn_promise___queue______called_whenever_last_queue_function_is_dequeued() throws Exception {
1899 runTest("queue: fn.promise( \"queue\" ) - called whenever last queue function is dequeued");
1900 }
1901
1902
1903
1904
1905
1906 @Test
1907 @Alerts("2")
1908 public void queue__fn_promise___queue______waits_for_animation_to_complete_before_resolving() throws Exception {
1909 runTest("queue: fn.promise( \"queue\" ) - waits for animation to complete before resolving");
1910 }
1911
1912
1913
1914
1915
1916 @Test
1917 @Alerts("2")
1918 public void queue___promise_obj_() throws Exception {
1919 runTest("queue: .promise(obj)");
1920 }
1921
1922
1923
1924
1925
1926 @Test
1927 @Alerts("3")
1928 public void queue__delay___can_be_stopped() throws Exception {
1929 runTest("queue: delay() can be stopped");
1930 }
1931
1932
1933
1934
1935
1936 @Test
1937 @Alerts("2")
1938 public void queue__queue_stop_hooks() throws Exception {
1939 runTest("queue: queue stop hooks");
1940 }
1941
1942
1943
1944
1945
1946 @Test
1947 @Alerts("1")
1948 public void attributes__jQuery_propFix_integrity_test() throws Exception {
1949 runTest("attributes: jQuery.propFix integrity test");
1950 }
1951
1952
1953
1954
1955
1956 @Test
1957 @Alerts("50")
1958 public void attributes__attr_String_() throws Exception {
1959 runTest("attributes: attr(String)");
1960 }
1961
1962
1963
1964
1965
1966 @Test
1967 @Alerts("4")
1968 public void attributes__attr_String__on_cloned_elements___9646() throws Exception {
1969 runTest("attributes: attr(String) on cloned elements, #9646");
1970 }
1971
1972
1973
1974
1975
1976 @Test
1977 @Alerts("3")
1978 public void attributes__attr_String__in_XML_Files() throws Exception {
1979 runTest("attributes: attr(String) in XML Files");
1980 }
1981
1982
1983
1984
1985
1986 @Test
1987 @Alerts("2")
1988 public void attributes__attr_String__Function_() throws Exception {
1989 runTest("attributes: attr(String, Function)");
1990 }
1991
1992
1993
1994
1995
1996 @Test
1997 @Alerts("3")
1998 public void attributes__attr_Hash_() throws Exception {
1999 runTest("attributes: attr(Hash)");
2000 }
2001
2002
2003
2004
2005
2006 @Test
2007 @Alerts("71")
2008 public void attributes__attr_String__Object_() throws Exception {
2009 runTest("attributes: attr(String, Object)");
2010 }
2011
2012
2013
2014
2015
2016 @Test
2017 @Alerts("1")
2018 public void attributes__attr___extending_the_boolean_attrHandle() throws Exception {
2019 runTest("attributes: attr - extending the boolean attrHandle");
2020 }
2021
2022
2023
2024
2025
2026 @Test
2027 @Alerts("2")
2028 public void attributes__attr_String__Object____Loaded_via_XML_document() throws Exception {
2029 runTest("attributes: attr(String, Object) - Loaded via XML document");
2030 }
2031
2032
2033
2034
2035
2036 @Test
2037 @Alerts("2")
2038 public void attributes__attr_String__Object____Loaded_via_XML_fragment() throws Exception {
2039 runTest("attributes: attr(String, Object) - Loaded via XML fragment");
2040 }
2041
2042
2043
2044
2045
2046 @Test
2047 @Alerts("8")
2048 public void attributes__attr__tabindex__() throws Exception {
2049 runTest("attributes: attr('tabindex')");
2050 }
2051
2052
2053
2054
2055
2056 @Test
2057 @Alerts("9")
2058 public void attributes__attr__tabindex___value_() throws Exception {
2059 runTest("attributes: attr('tabindex', value)");
2060 }
2061
2062
2063
2064
2065
2066 @Test
2067 @Alerts("12")
2068 public void attributes__removeAttr_String_() throws Exception {
2069 runTest("attributes: removeAttr(String)");
2070 }
2071
2072
2073
2074
2075
2076 @Test
2077 @Alerts("7")
2078 public void attributes__removeAttr_String__in_XML() throws Exception {
2079 runTest("attributes: removeAttr(String) in XML");
2080 }
2081
2082
2083
2084
2085
2086 @Test
2087 @Alerts("8")
2088 public void attributes__removeAttr_Multi_String__variable_space_width_() throws Exception {
2089 runTest("attributes: removeAttr(Multi String, variable space width)");
2090 }
2091
2092
2093
2094
2095
2096 @Test
2097 @Alerts("17")
2098 public void attributes__prop_String__Object_() throws Exception {
2099 runTest("attributes: prop(String, Object)");
2100 }
2101
2102
2103
2104
2105
2106 @Test
2107 @Alerts("14")
2108 public void attributes__prop_String__Object__on_null_undefined() throws Exception {
2109 runTest("attributes: prop(String, Object) on null/undefined");
2110 }
2111
2112
2113
2114
2115
2116 @Test
2117 @Alerts("11")
2118 public void attributes__prop__tabindex__() throws Exception {
2119 runTest("attributes: prop('tabindex')");
2120 }
2121
2122
2123
2124
2125
2126 @Test
2127 @Alerts("1")
2128 public void attributes__image_prop___tabIndex___() throws Exception {
2129 runTest("attributes: image.prop( 'tabIndex' )");
2130 }
2131
2132
2133
2134
2135
2136 @Test
2137 @Alerts("10")
2138 public void attributes__prop__tabindex___value_() throws Exception {
2139 runTest("attributes: prop('tabindex', value)");
2140 }
2141
2142
2143
2144
2145
2146 @Test
2147 @Alerts("2")
2148 public void attributes__option_prop__selected___true__affects_select_selectedIndex__gh_2732_() throws Exception {
2149 runTest("attributes: option.prop('selected', true) affects select.selectedIndex (gh-2732)");
2150 }
2151
2152
2153
2154
2155
2156 @Test
2157 @Alerts("6")
2158 public void attributes__removeProp_String_() throws Exception {
2159 runTest("attributes: removeProp(String)");
2160 }
2161
2162
2163
2164
2165
2166 @Test
2167 @Alerts("1")
2168 public void attributes__val___after_modification() throws Exception {
2169 runTest("attributes: val() after modification");
2170 }
2171
2172
2173
2174
2175
2176 @Test
2177 @Alerts("26")
2178 public void attributes__val__() throws Exception {
2179 runTest("attributes: val()");
2180 }
2181
2182
2183
2184
2185
2186 @Test
2187 @Alerts("3")
2188 public void attributes__val___with_non_matching_values_on_dropdown_list() throws Exception {
2189 runTest("attributes: val() with non-matching values on dropdown list");
2190 }
2191
2192
2193
2194
2195
2196 @Test
2197 @Alerts("4")
2198 public void attributes__val___respects_numbers_without_exception__Bug__9319_() throws Exception {
2199 runTest("attributes: val() respects numbers without exception (Bug #9319)");
2200 }
2201
2202
2203
2204
2205
2206 @Test
2207 @Alerts("9")
2208 public void attributes__val_String_Number_() throws Exception {
2209 runTest("attributes: val(String/Number)");
2210 }
2211
2212
2213
2214
2215
2216 @Test
2217 @Alerts("9")
2218 public void attributes__val_Function_() throws Exception {
2219 runTest("attributes: val(Function)");
2220 }
2221
2222
2223
2224
2225
2226 @Test
2227 @Alerts("4")
2228 public void attributes__val_Array_of_Numbers___Bug__7123_() throws Exception {
2229 runTest("attributes: val(Array of Numbers) (Bug #7123)");
2230 }
2231
2232
2233
2234
2235
2236 @Test
2237 @Alerts("10")
2238 public void attributes__val_Function__with_incoming_value() throws Exception {
2239 runTest("attributes: val(Function) with incoming value");
2240 }
2241
2242
2243
2244
2245
2246 @Test
2247 @Alerts("3")
2248 public void attributes__val_select__after_form_reset____Bug__2551_() throws Exception {
2249 runTest("attributes: val(select) after form.reset() (Bug #2551)");
2250 }
2251
2252
2253
2254
2255
2256 @Test
2257 @Alerts("35")
2258 public void attributes__select_val_space_characters___gh_2978_() throws Exception {
2259 runTest("attributes: select.val(space characters) (gh-2978)");
2260 }
2261
2262
2263
2264
2265
2266 @Test
2267 @Alerts("9")
2268 public void attributes__addClass_String_() throws Exception {
2269 runTest("attributes: addClass(String)");
2270 }
2271
2272
2273
2274
2275
2276 @Test
2277 @Alerts("9")
2278 public void attributes__addClass_Function_() throws Exception {
2279 runTest("attributes: addClass(Function)");
2280 }
2281
2282
2283
2284
2285
2286 @Test
2287 @Alerts("52")
2288 public void attributes__addClass_Function__with_incoming_value() throws Exception {
2289 runTest("attributes: addClass(Function) with incoming value");
2290 }
2291
2292
2293
2294
2295
2296 @Test
2297 @Alerts("8")
2298 public void attributes__removeClass_String____simple() throws Exception {
2299 runTest("attributes: removeClass(String) - simple");
2300 }
2301
2302
2303
2304
2305
2306 @Test
2307 @Alerts("8")
2308 public void attributes__removeClass_Function____simple() throws Exception {
2309 runTest("attributes: removeClass(Function) - simple");
2310 }
2311
2312
2313
2314
2315
2316 @Test
2317 @Alerts("52")
2318 public void attributes__removeClass_Function__with_incoming_value() throws Exception {
2319 runTest("attributes: removeClass(Function) with incoming value");
2320 }
2321
2322
2323
2324
2325
2326 @Test
2327 @Alerts("1")
2328 public void attributes__removeClass___removes_duplicates() throws Exception {
2329 runTest("attributes: removeClass() removes duplicates");
2330 }
2331
2332
2333
2334
2335
2336 @Test
2337 @Alerts("1")
2338 public void attributes__removeClass_undefined__is_a_no_op() throws Exception {
2339 runTest("attributes: removeClass(undefined) is a no-op");
2340 }
2341
2342
2343
2344
2345
2346 @Test
2347 @Alerts("19")
2348 public void attributes__toggleClass_String_boolean_undefined___boolean__() throws Exception {
2349 runTest("attributes: toggleClass(String|boolean|undefined[, boolean])");
2350 }
2351
2352
2353
2354
2355
2356 @Test
2357 @Alerts("19")
2358 public void attributes__toggleClass_Function___boolean__() throws Exception {
2359 runTest("attributes: toggleClass(Function[, boolean])");
2360 }
2361
2362
2363
2364
2365
2366 @Test
2367 @Alerts("14")
2368 public void attributes__toggleClass_Function___boolean___with_incoming_value() throws Exception {
2369 runTest("attributes: toggleClass(Function[, boolean]) with incoming value");
2370 }
2371
2372
2373
2374
2375
2376 @Test
2377 @Alerts("17")
2378 public void attributes__addClass__removeClass__hasClass() throws Exception {
2379 runTest("attributes: addClass, removeClass, hasClass");
2380 }
2381
2382
2383
2384
2385
2386 @Test
2387 @Alerts("19")
2388 public void attributes__addClass__removeClass__hasClass_on_many_elements() throws Exception {
2389 runTest("attributes: addClass, removeClass, hasClass on many elements");
2390 }
2391
2392
2393
2394
2395
2396 @Test
2397 @Alerts("2")
2398 public void attributes__contents___hasClass___returns_correct_values() throws Exception {
2399 runTest("attributes: contents().hasClass() returns correct values");
2400 }
2401
2402
2403
2404
2405
2406 @Test
2407 @Alerts("4")
2408 public void attributes__hasClass_correctly_interprets_non_space_separators___13835_() throws Exception {
2409 runTest("attributes: hasClass correctly interprets non-space separators (#13835)");
2410 }
2411
2412
2413
2414
2415
2416 @Test
2417 @Alerts("1")
2418 public void attributes__coords_returns_correct_values_in_IE6_IE7__see__10828() throws Exception {
2419 runTest("attributes: coords returns correct values in IE6/IE7, see #10828");
2420 }
2421
2422
2423
2424
2425
2426 @Test
2427 @Alerts("1")
2428 public void attributes__should_not_throw_at___option__val_____14686_() throws Exception {
2429 runTest("attributes: should not throw at $(option).val() (#14686)");
2430 }
2431
2432
2433
2434
2435
2436 @Test
2437 @Alerts("1")
2438 public void attributes__option_value_not_trimmed_when_setting_via_parent_select() throws Exception {
2439 runTest("attributes: option value not trimmed when setting via parent select");
2440 }
2441
2442
2443
2444
2445
2446 @Test
2447 @Alerts("16")
2448 public void attributes__Insignificant_white_space_returned_for___option__val_____14858__gh_2978_() throws Exception {
2449 runTest("attributes: Insignificant white space returned for $(option).val() (#14858, gh-2978)");
2450 }
2451
2452
2453
2454
2455
2456 @Test
2457 @Alerts("12")
2458 public void attributes__SVG_class_manipulation__gh_2199_() throws Exception {
2459 runTest("attributes: SVG class manipulation (gh-2199)");
2460 }
2461
2462
2463
2464
2465
2466 @Test
2467 @Alerts("4")
2468 public void event__null_or_undefined_handler() throws Exception {
2469 runTest("event: null or undefined handler");
2470 }
2471
2472
2473
2474
2475
2476 @Test
2477 @Alerts("2")
2478 public void event__on___with_non_null_defined_data() throws Exception {
2479 runTest("event: on() with non-null,defined data");
2480 }
2481
2482
2483
2484
2485
2486 @Test
2487 @Alerts("1")
2488 public void event__Handler_changes_and__trigger___order() throws Exception {
2489 runTest("event: Handler changes and .trigger() order");
2490 }
2491
2492
2493
2494
2495
2496 @Test
2497 @Alerts("4")
2498 public void event__on____with_data() throws Exception {
2499 runTest("event: on(), with data");
2500 }
2501
2502
2503
2504
2505
2506 @Test
2507 @Alerts("3")
2508 public void event__click____with_data() throws Exception {
2509 runTest("event: click(), with data");
2510 }
2511
2512
2513
2514
2515
2516 @Test
2517 @Alerts("4")
2518 public void event__on____with_data__trigger_with_data() throws Exception {
2519 runTest("event: on(), with data, trigger with data");
2520 }
2521
2522
2523
2524
2525
2526 @Test
2527 @Alerts("2")
2528 public void event__on____multiple_events_at_once() throws Exception {
2529 runTest("event: on(), multiple events at once");
2530 }
2531
2532
2533
2534
2535
2536 @Test
2537 @Alerts("1")
2538 public void event__on____five_events_at_once() throws Exception {
2539 runTest("event: on(), five events at once");
2540 }
2541
2542
2543
2544
2545
2546 @Test
2547 @Alerts("7")
2548 public void event__on____multiple_events_at_once_and_namespaces() throws Exception {
2549 runTest("event: on(), multiple events at once and namespaces");
2550 }
2551
2552
2553
2554
2555
2556 @Test
2557 @Alerts("27")
2558 public void event__on____namespace_with_special_add() throws Exception {
2559 runTest("event: on(), namespace with special add");
2560 }
2561
2562
2563
2564
2565
2566 @Test
2567 @Alerts("1")
2568 public void event__on____no_data() throws Exception {
2569 runTest("event: on(), no data");
2570 }
2571
2572
2573
2574
2575
2576 @Test
2577 @Alerts("6")
2578 public void event__on_one_off_Object_() throws Exception {
2579 runTest("event: on/one/off(Object)");
2580 }
2581
2582
2583
2584
2585
2586 @Test
2587 @Alerts("6")
2588 public void event__on_off_Object___on_off_Object__String_() throws Exception {
2589 runTest("event: on/off(Object), on/off(Object, String)");
2590 }
2591
2592
2593
2594
2595
2596 @Test
2597 @Alerts("2")
2598 public void event__on_immediate_propagation() throws Exception {
2599 runTest("event: on immediate propagation");
2600 }
2601
2602
2603
2604
2605
2606 @Test
2607 @Alerts("3")
2608 public void event__on_bubbling__isDefaultPrevented__stopImmediatePropagation() throws Exception {
2609 runTest("event: on bubbling, isDefaultPrevented, stopImmediatePropagation");
2610 }
2611
2612
2613
2614
2615
2616 @Test
2617 @Alerts("1")
2618 public void event__on____iframes() throws Exception {
2619 runTest("event: on(), iframes");
2620 }
2621
2622
2623
2624
2625
2626 @Test
2627 @Alerts("5")
2628 public void event__on____trigger_change_on_select() throws Exception {
2629 runTest("event: on(), trigger change on select");
2630 }
2631
2632
2633
2634
2635
2636 @Test
2637 @Alerts("18")
2638 public void event__on____namespaced_events__cloned_events() throws Exception {
2639 runTest("event: on(), namespaced events, cloned events");
2640 }
2641
2642
2643
2644
2645
2646 @Test
2647 @Alerts("6")
2648 public void event__on____multi_namespaced_events() throws Exception {
2649 runTest("event: on(), multi-namespaced events");
2650 }
2651
2652
2653
2654
2655
2656 @Test
2657 @Alerts("2")
2658 public void event__namespace_only_event_binding_is_a_no_op() throws Exception {
2659 runTest("event: namespace-only event binding is a no-op");
2660 }
2661
2662
2663
2664
2665
2666 @Test
2667 @Alerts("1")
2668 public void event__Empty_namespace_is_ignored() throws Exception {
2669 runTest("event: Empty namespace is ignored");
2670 }
2671
2672
2673
2674
2675
2676 @Test
2677 @Alerts("2")
2678 public void event__on____with_same_function() throws Exception {
2679 runTest("event: on(), with same function");
2680 }
2681
2682
2683
2684
2685
2686 @Test
2687 @Alerts("1")
2688 public void event__on____make_sure_order_is_maintained() throws Exception {
2689 runTest("event: on(), make sure order is maintained");
2690 }
2691
2692
2693
2694
2695
2696 @Test
2697 @Alerts("4")
2698 public void event__on____with_different_this_object() throws Exception {
2699 runTest("event: on(), with different this object");
2700 }
2701
2702
2703
2704
2705
2706 @Test
2707 @Alerts("3")
2708 public void event__on_name__false___off_name__false_() throws Exception {
2709 runTest("event: on(name, false), off(name, false)");
2710 }
2711
2712
2713
2714
2715
2716 @Test
2717 @Alerts("3")
2718 public void event__on_name__selector__false___off_name__selector__false_() throws Exception {
2719 runTest("event: on(name, selector, false), off(name, selector, false)");
2720 }
2721
2722
2723
2724
2725
2726 @Test
2727 @Alerts("7")
2728 public void event__on___trigger___off___on_plain_object() throws Exception {
2729 runTest("event: on()/trigger()/off() on plain object");
2730 }
2731
2732
2733
2734
2735
2736 @Test
2737 @Alerts("1")
2738 public void event__off_type_() throws Exception {
2739 runTest("event: off(type)");
2740 }
2741
2742
2743
2744
2745
2746 @Test
2747 @Alerts("4")
2748 public void event__off_eventObject_() throws Exception {
2749 runTest("event: off(eventObject)");
2750 }
2751
2752
2753
2754
2755
2756 @Test
2757 @Alerts("1")
2758 public void event__hover___mouseenter_mouseleave() throws Exception {
2759 runTest("event: hover() mouseenter mouseleave");
2760 }
2761
2762
2763
2764
2765
2766 @Test
2767 @Alerts("1")
2768 public void event__mouseover_triggers_mouseenter() throws Exception {
2769 runTest("event: mouseover triggers mouseenter");
2770 }
2771
2772
2773
2774
2775
2776 @Test
2777 @Alerts("1")
2778 public void event__pointerover_triggers_pointerenter() throws Exception {
2779 runTest("event: pointerover triggers pointerenter");
2780 }
2781
2782
2783
2784
2785
2786 @Test
2787 @Alerts("1")
2788 public void event__withinElement_implemented_with_jQuery_contains__() throws Exception {
2789 runTest("event: withinElement implemented with jQuery.contains()");
2790 }
2791
2792
2793
2794
2795
2796 @Test
2797 @Alerts("2")
2798 public void event__mouseenter__mouseleave_don_t_catch_exceptions() throws Exception {
2799 runTest("event: mouseenter, mouseleave don't catch exceptions");
2800 }
2801
2802
2803
2804
2805
2806 @Test
2807 @Alerts("6")
2808 public void event__trigger___shortcuts() throws Exception {
2809 runTest("event: trigger() shortcuts");
2810 }
2811
2812
2813
2814
2815
2816 @Test
2817 @Alerts("18")
2818 public void event__trigger___bubbling() throws Exception {
2819 runTest("event: trigger() bubbling");
2820 }
2821
2822
2823
2824
2825
2826 @Test
2827 @Alerts("16")
2828 public void event__trigger_type___data____fn__() throws Exception {
2829 runTest("event: trigger(type, [data], [fn])");
2830 }
2831
2832
2833
2834
2835
2836 @Test
2837 @Alerts("3")
2838 public void event__submit_event_bubbles_on_copied_forms___11649_() throws Exception {
2839 runTest("event: submit event bubbles on copied forms (#11649)");
2840 }
2841
2842
2843
2844
2845
2846 @Test
2847 @Alerts("3")
2848 public void event__change_event_bubbles_on_copied_forms___11796_() throws Exception {
2849 runTest("event: change event bubbles on copied forms (#11796)");
2850 }
2851
2852
2853
2854
2855
2856 @Test
2857 @Alerts("28")
2858 public void event__trigger_eventObject___data____fn__() throws Exception {
2859 runTest("event: trigger(eventObject, [data], [fn])");
2860 }
2861
2862
2863
2864
2865
2866 @Test
2867 @Alerts("2")
2868 public void event___trigger___bubbling_on_disconnected_elements___10489_() throws Exception {
2869 runTest("event: .trigger() bubbling on disconnected elements (#10489)");
2870 }
2871
2872
2873
2874
2875
2876 @Test
2877 @Alerts("1")
2878 public void event___trigger___doesn_t_bubble_load_event___10717_() throws Exception {
2879 runTest("event: .trigger() doesn't bubble load event (#10717)");
2880 }
2881
2882
2883
2884
2885
2886 @Test
2887 @Alerts("2")
2888 public void event__Delegated_events_in_SVG___10791___13180_() throws Exception {
2889 runTest("event: Delegated events in SVG (#10791; #13180)");
2890 }
2891
2892
2893
2894
2895
2896 @Test
2897 @Alerts("5")
2898 public void event__Delegated_events_in_forms___10844___11145___8165___11382___11764_() throws Exception {
2899 runTest("event: Delegated events in forms (#10844; #11145; #8165; #11382, #11764)");
2900 }
2901
2902
2903
2904
2905
2906 @Test
2907 @Alerts("1")
2908 public void event__Submit_event_can_be_stopped___11049_() throws Exception {
2909 runTest("event: Submit event can be stopped (#11049)");
2910 }
2911
2912
2913
2914
2915
2916 @Test
2917 @Alerts("4")
2918 public void event__on_beforeunload_() throws Exception {
2919 runTest("event: on(beforeunload)");
2920 }
2921
2922
2923
2924
2925
2926 @Test
2927 @Alerts("6")
2928 public void event__jQuery_Event__type__props__() throws Exception {
2929 runTest("event: jQuery.Event( type, props )");
2930 }
2931
2932
2933
2934
2935
2936 @Test
2937 @Alerts("12")
2938 public void event__jQuery_Event_properties() throws Exception {
2939 runTest("event: jQuery.Event properties");
2940 }
2941
2942
2943
2944
2945
2946 @Test
2947 @Alerts("65")
2948 public void event___on____off__() throws Exception {
2949 runTest("event: .on()/.off()");
2950 }
2951
2952
2953
2954
2955
2956 @Test
2957 @Alerts("1")
2958 public void event__jQuery_off_using_dispatched_jQuery_Event() throws Exception {
2959 runTest("event: jQuery.off using dispatched jQuery.Event");
2960 }
2961
2962
2963
2964
2965
2966 @Test
2967 @Alerts("3")
2968 public void event__delegated_event_with_delegateTarget_relative_selector() throws Exception {
2969 runTest("event: delegated event with delegateTarget-relative selector");
2970 }
2971
2972
2973
2974
2975
2976 @Test
2977 @Alerts("1")
2978 public void event__delegated_event_with_selector_matching_Object_prototype_property___13203_() throws Exception {
2979 runTest("event: delegated event with selector matching Object.prototype property (#13203)");
2980 }
2981
2982
2983
2984
2985
2986 @Test
2987 @Alerts("1")
2988 public void event__delegated_event_with_intermediate_DOM_manipulation___13208_() throws Exception {
2989 runTest("event: delegated event with intermediate DOM manipulation (#13208)");
2990 }
2991
2992
2993
2994
2995
2996 @Test
2997 @Alerts("1")
2998 public void event__stopPropagation___stops_directly_bound_events_on_delegated_target() throws Exception {
2999 runTest("event: stopPropagation() stops directly-bound events on delegated target");
3000 }
3001
3002
3003
3004
3005
3006 @Test
3007 @Alerts("2")
3008 public void event__off_all_bound_delegated_events() throws Exception {
3009 runTest("event: off all bound delegated events");
3010 }
3011
3012
3013
3014
3015
3016 @Test
3017 @Alerts("1")
3018 public void event__on_with_multiple_delegated_events() throws Exception {
3019 runTest("event: on with multiple delegated events");
3020 }
3021
3022
3023
3024
3025
3026 @Test
3027 @Alerts("8")
3028 public void event__delegated_on_with_change() throws Exception {
3029 runTest("event: delegated on with change");
3030 }
3031
3032
3033
3034
3035
3036 @Test
3037 @Alerts("2")
3038 public void event__delegated_on_with_submit() throws Exception {
3039 runTest("event: delegated on with submit");
3040 }
3041
3042
3043
3044
3045
3046 @Test
3047 @Alerts("2")
3048 public void event__delegated_off___with_only_namespaces() throws Exception {
3049 runTest("event: delegated off() with only namespaces");
3050 }
3051
3052
3053
3054
3055
3056 @Test
3057 @Alerts("1")
3058 public void event__Non_DOM_element_events() throws Exception {
3059 runTest("event: Non DOM element events");
3060 }
3061
3062
3063
3064
3065
3066 @Test
3067 @Alerts("1")
3068 public void event__inline_handler_returning_false_stops_default() throws Exception {
3069 runTest("event: inline handler returning false stops default");
3070 }
3071
3072
3073
3074
3075
3076 @Test
3077 @Alerts("2")
3078 public void event__window_resize() throws Exception {
3079 runTest("event: window resize");
3080 }
3081
3082
3083
3084
3085
3086 @Test
3087 @Alerts("2")
3088 public void event__focusin_bubbles() throws Exception {
3089 runTest("event: focusin bubbles");
3090 }
3091
3092
3093
3094
3095
3096 @Test
3097 @Alerts("1")
3098 public void event__custom_events_with_colons___3533___8272_() throws Exception {
3099 runTest("event: custom events with colons (#3533, #8272)");
3100 }
3101
3102
3103
3104
3105
3106 @Test
3107 @Alerts("9")
3108 public void event___on_and__off() throws Exception {
3109 runTest("event: .on and .off");
3110 }
3111
3112
3113
3114
3115
3116 @Test
3117 @Alerts("7")
3118 public void event__special_on_name_mapping() throws Exception {
3119 runTest("event: special on name mapping");
3120 }
3121
3122
3123
3124
3125
3126 @Test
3127 @Alerts("7")
3128 public void event___on_and__off__selective_mixed_removal___10705_() throws Exception {
3129 runTest("event: .on and .off, selective mixed removal (#10705)");
3130 }
3131
3132
3133
3134
3135
3136 @Test
3137 @Alerts("1")
3138 public void event___on__event_map__null_selector__data____11130() throws Exception {
3139 runTest("event: .on( event-map, null-selector, data ) #11130");
3140 }
3141
3142
3143
3144
3145
3146 @Test
3147 @Alerts("3")
3148 public void event__clone___delegated_events___11076_() throws Exception {
3149 runTest("event: clone() delegated events (#11076)");
3150 }
3151
3152
3153
3154
3155
3156 @Test
3157 @Alerts("9")
3158 public void event__checkbox_state___3827_() throws Exception {
3159 runTest("event: checkbox state (#3827)");
3160 }
3161
3162
3163
3164
3165
3166 @Test
3167 @Alerts("1")
3168 public void event__hover_event_no_longer_special_since_1_9() throws Exception {
3169 runTest("event: hover event no longer special since 1.9");
3170 }
3171
3172
3173
3174
3175
3176 @Test
3177 @Alerts("2")
3178 public void event__fixHooks_extensions() throws Exception {
3179 runTest("event: fixHooks extensions");
3180 }
3181
3182
3183
3184
3185
3186 @Test
3187 @Alerts("4")
3188 public void event__drag_drop_events_copy_mouse_related_event_properties__gh_1925__gh_2009_() throws Exception {
3189 runTest("event: drag/drop events copy mouse-related event properties (gh-1925, gh-2009)");
3190 }
3191
3192
3193
3194
3195
3196 @Test
3197 @Alerts("2")
3198 public void event__focusin_using_non_element_targets() throws Exception {
3199 runTest("event: focusin using non-element targets");
3200 }
3201
3202
3203
3204
3205
3206 @Test
3207 @Alerts("1")
3208 public void event__focusin_from_an_iframe() throws Exception {
3209 runTest("event: focusin from an iframe");
3210 }
3211
3212
3213
3214
3215
3216 @Test
3217 @Alerts("1")
3218 public void event__jQuery_ready_promise() throws Exception {
3219 runTest("event: jQuery.ready promise");
3220 }
3221
3222
3223
3224
3225
3226 @Test
3227 @Alerts("1")
3228 public void event__jQuery_ready_uses_interactive() throws Exception {
3229 runTest("event: jQuery.ready uses interactive");
3230 }
3231
3232
3233
3234
3235
3236 @Test
3237 @Alerts("1")
3238 public void event__Focusing_iframe_element() throws Exception {
3239 runTest("event: Focusing iframe element");
3240 }
3241
3242
3243
3244
3245
3246 @Test
3247 @Alerts("1")
3248 public void event__triggerHandler_onbeforeunload_() throws Exception {
3249 runTest("event: triggerHandler(onbeforeunload)");
3250 }
3251
3252
3253
3254
3255
3256 @Test
3257 @Alerts("1")
3258 public void event__jQuery_ready_synchronous_load_with_long_loading_subresources() throws Exception {
3259 runTest("event: jQuery.ready synchronous load with long loading subresources");
3260 }
3261
3262
3263
3264
3265
3266 @Test
3267 @Alerts("2")
3268 public void event__change_handler_should_be_detached_from_element() throws Exception {
3269 runTest("event: change handler should be detached from element");
3270 }
3271
3272
3273
3274
3275
3276 @Test
3277 @Alerts("1")
3278 public void event__trigger_click_on_checkbox__fires_change_event() throws Exception {
3279 runTest("event: trigger click on checkbox, fires change event");
3280 }
3281
3282
3283
3284
3285
3286 @Test
3287 @Alerts("4")
3288 public void event__Namespace_preserved_when_passed_an_Event___12739_() throws Exception {
3289 runTest("event: Namespace preserved when passed an Event (#12739)");
3290 }
3291
3292
3293
3294
3295
3296 @Test
3297 @Alerts("18")
3298 public void event__make_sure_events_cloned_correctly() throws Exception {
3299 runTest("event: make sure events cloned correctly");
3300 }
3301
3302
3303
3304
3305
3306 @Test
3307 @Alerts("1")
3308 public void event__String_prototype_namespace_does_not_cause_trigger___to_throw___13360_() throws Exception {
3309 runTest("event: String.prototype.namespace does not cause trigger() to throw (#13360)");
3310 }
3311
3312
3313
3314
3315
3316 @Test
3317 @Alerts("1")
3318 public void event__Inline_event_result_is_returned___13993_() throws Exception {
3319 runTest("event: Inline event result is returned (#13993)");
3320 }
3321
3322
3323
3324
3325
3326 @Test
3327 @Alerts("2")
3328 public void event___off___removes_the_expando_when_there_s_no_more_data() throws Exception {
3329 runTest("event: .off() removes the expando when there's no more data");
3330 }
3331
3332
3333
3334
3335
3336 @Test
3337 @Alerts("1")
3338 public void event__preventDefault___on_focusin_does_not_throw_exception() throws Exception {
3339 runTest("event: preventDefault() on focusin does not throw exception");
3340 }
3341
3342
3343
3344
3345
3346 @Test
3347 @Alerts("10")
3348 public void event__Donor_event_interference() throws Exception {
3349 runTest("event: Donor event interference");
3350 }
3351
3352
3353
3354
3355
3356 @Test
3357 @Alerts("1")
3358 public void event__originalEvent_property_for_IE8() throws Exception {
3359 runTest("event: originalEvent property for IE8");
3360 }
3361
3362
3363
3364
3365
3366 @Test
3367 @Alerts("4")
3368 public void event__originalEvent_property_for_Chrome__Safari__Fx___Edge_of_simulated_event() throws Exception {
3369 runTest("event: originalEvent property for Chrome, Safari, Fx & Edge of simulated event");
3370 }
3371
3372
3373
3374
3375
3376 @Test
3377 @Alerts(CHROME = "2",
3378 EDGE = "2")
3379 public void event__Check_order_of_focusin_focusout_events() throws Exception {
3380 runTest("event: Check order of focusin/focusout events");
3381 }
3382
3383
3384
3385
3386
3387 @Test
3388 @Alerts("7")
3389 public void selector__element___jQuery_only() throws Exception {
3390 runTest("selector: element - jQuery only");
3391 }
3392
3393
3394
3395
3396
3397 @Test
3398 @Alerts(CHROME = "5",
3399 EDGE = "5")
3400 public void event__focus_blur_order___12868_() throws Exception {
3401 runTest("event: focus-blur order (#12868)");
3402 }
3403
3404
3405
3406
3407
3408 @Test
3409 @Alerts("26")
3410 public void selector__id() throws Exception {
3411 runTest("selector: id");
3412 }
3413
3414
3415
3416
3417
3418 @Test
3419 @Alerts("4")
3420 public void selector__class___jQuery_only() throws Exception {
3421 runTest("selector: class - jQuery only");
3422 }
3423
3424
3425
3426
3427
3428 @Test
3429 @Alerts("5")
3430 public void selector__name() throws Exception {
3431 runTest("selector: name");
3432 }
3433
3434
3435
3436
3437
3438 @Test
3439 @Alerts("4")
3440 public void selector__selectors_with_comma() throws Exception {
3441 runTest("selector: selectors with comma");
3442 }
3443
3444
3445
3446
3447
3448 @Test
3449 @Alerts("27")
3450 public void selector__child_and_adjacent() throws Exception {
3451 runTest("selector: child and adjacent");
3452 }
3453
3454
3455
3456
3457
3458 @Test
3459 @Alerts("54")
3460 public void selector__attributes() throws Exception {
3461 runTest("selector: attributes");
3462 }
3463
3464
3465
3466
3467
3468 @Test
3469 @Alerts("1")
3470 public void selector__disconnected_nodes() throws Exception {
3471 runTest("selector: disconnected nodes");
3472 }
3473
3474
3475
3476
3477
3478 @Test
3479 @Alerts("3")
3480 public void selector__disconnected_nodes___jQuery_only() throws Exception {
3481 runTest("selector: disconnected nodes - jQuery only");
3482 }
3483
3484
3485
3486
3487
3488 @Test
3489 @Alerts("35")
3490 public void selector__attributes___jQuery_attr() throws Exception {
3491 runTest("selector: attributes - jQuery.attr");
3492 }
3493
3494
3495
3496
3497
3498 @Test
3499 @Alerts("16")
3500 public void selector__jQuery_contains() throws Exception {
3501 runTest("selector: jQuery.contains");
3502 }
3503
3504
3505
3506
3507
3508 @Test
3509 @Alerts("15")
3510 public void selector__jQuery_uniqueSort() throws Exception {
3511 runTest("selector: jQuery.uniqueSort");
3512 }
3513
3514
3515
3516
3517
3518 @Test
3519 @Alerts("4")
3520 public void selector__Sizzle_cache_collides_with_multiple_Sizzles_on_a_page() throws Exception {
3521 runTest("selector: Sizzle cache collides with multiple Sizzles on a page");
3522 }
3523
3524
3525
3526
3527
3528 @Test
3529 @Alerts("1")
3530 public void selector__Iframe_dispatch_should_not_affect_jQuery___13936_() throws Exception {
3531 runTest("selector: Iframe dispatch should not affect jQuery (#13936)");
3532 }
3533
3534
3535
3536
3537
3538 @Test
3539 @Alerts("1")
3540 public void traversing__find_String_() throws Exception {
3541 runTest("traversing: find(String)");
3542 }
3543
3544
3545
3546
3547
3548 @Test
3549 @Alerts("2")
3550 public void traversing__find_String__under_non_elements() throws Exception {
3551 runTest("traversing: find(String) under non-elements");
3552 }
3553
3554
3555
3556
3557
3558 @Test
3559 @Alerts("4")
3560 public void traversing__find_leading_combinator_() throws Exception {
3561 runTest("traversing: find(leading combinator)");
3562 }
3563
3564
3565
3566
3567
3568 @Test
3569 @Alerts("13")
3570 public void traversing__find_node_jQuery_object_() throws Exception {
3571 runTest("traversing: find(node|jQuery object)");
3572 }
3573
3574
3575
3576
3577
3578 @Test
3579 @Alerts("23")
3580 public void traversing__is_String_undefined_() throws Exception {
3581 runTest("traversing: is(String|undefined)");
3582 }
3583
3584
3585
3586
3587
3588 @Test
3589 @Alerts("14")
3590 public void traversing__is___against_non_elements___10178_() throws Exception {
3591 runTest("traversing: is() against non-elements (#10178)");
3592 }
3593
3594
3595
3596
3597
3598 @Test
3599 @Alerts("19")
3600 public void traversing__is_jQuery_() throws Exception {
3601 runTest("traversing: is(jQuery)");
3602 }
3603
3604
3605
3606
3607
3608 @Test
3609 @Alerts("6")
3610 public void traversing__is___with__has___selectors() throws Exception {
3611 runTest("traversing: is() with :has() selectors");
3612 }
3613
3614
3615
3616
3617
3618 @Test
3619 @Alerts("27")
3620 public void traversing__is___with_positional_selectors() throws Exception {
3621 runTest("traversing: is() with positional selectors");
3622 }
3623
3624
3625
3626
3627
3628 @Test
3629 @Alerts("2")
3630 public void traversing__index__() throws Exception {
3631 runTest("traversing: index()");
3632 }
3633
3634
3635
3636
3637
3638 @Test
3639 @Alerts("16")
3640 public void traversing__index_Object_String_undefined_() throws Exception {
3641 runTest("traversing: index(Object|String|undefined)");
3642 }
3643
3644
3645
3646
3647
3648 @Test
3649 @Alerts("9")
3650 public void traversing__filter_Selector_undefined_() throws Exception {
3651 runTest("traversing: filter(Selector|undefined)");
3652 }
3653
3654
3655
3656
3657
3658 @Test
3659 @Alerts("2")
3660 public void traversing__filter_Function_() throws Exception {
3661 runTest("traversing: filter(Function)");
3662 }
3663
3664
3665
3666
3667
3668 @Test
3669 @Alerts("1")
3670 public void traversing__filter_Element_() throws Exception {
3671 runTest("traversing: filter(Element)");
3672 }
3673
3674
3675
3676
3677
3678 @Test
3679 @Alerts("1")
3680 public void traversing__filter_Array_() throws Exception {
3681 runTest("traversing: filter(Array)");
3682 }
3683
3684
3685
3686
3687
3688 @Test
3689 @Alerts("1")
3690 public void traversing__filter_jQuery_() throws Exception {
3691 runTest("traversing: filter(jQuery)");
3692 }
3693
3694
3695
3696
3697
3698 @Test
3699 @Alerts("19")
3700 public void traversing__filter___with_positional_selectors() throws Exception {
3701 runTest("traversing: filter() with positional selectors");
3702 }
3703
3704
3705
3706
3707
3708 @Test
3709 @Alerts("13")
3710 public void traversing__closest__() throws Exception {
3711 runTest("traversing: closest()");
3712 }
3713
3714
3715
3716
3717
3718 @Test
3719 @Alerts("1, 1, 2")
3720 @HtmlUnitNYI(CHROME = "2",
3721 EDGE = "2",
3722 FF = "2",
3723 FF_ESR = "2")
3724 public void traversing__closest___with_positional_selectors() throws Exception {
3725 runTest("traversing: closest() with positional selectors");
3726 }
3727
3728
3729
3730
3731
3732 @Test
3733 @Alerts("8")
3734 public void traversing__closest_jQuery_() throws Exception {
3735 runTest("traversing: closest(jQuery)");
3736 }
3737
3738
3739
3740
3741
3742 @Test
3743 @Alerts("11")
3744 public void traversing__not_Selector_undefined_() throws Exception {
3745 runTest("traversing: not(Selector|undefined)");
3746 }
3747
3748
3749
3750
3751
3752 @Test
3753 @Alerts("1")
3754 public void traversing__not_Element_() throws Exception {
3755 runTest("traversing: not(Element)");
3756 }
3757
3758
3759
3760
3761
3762 @Test
3763 @Alerts("1")
3764 public void traversing__not_Function_() throws Exception {
3765 runTest("traversing: not(Function)");
3766 }
3767
3768
3769
3770
3771
3772 @Test
3773 @Alerts("2")
3774 public void traversing__not_Array_() throws Exception {
3775 runTest("traversing: not(Array)");
3776 }
3777
3778
3779
3780
3781
3782 @Test
3783 @Alerts("1")
3784 public void traversing__not_jQuery_() throws Exception {
3785 runTest("traversing: not(jQuery)");
3786 }
3787
3788
3789
3790
3791
3792 @Test
3793 @Alerts("3")
3794 public void traversing__has_Element_() throws Exception {
3795 runTest("traversing: has(Element)");
3796 }
3797
3798
3799
3800
3801
3802 @Test
3803 @Alerts("5")
3804 public void traversing__has_Selector_() throws Exception {
3805 runTest("traversing: has(Selector)");
3806 }
3807
3808
3809
3810
3811
3812 @Test
3813 @Alerts("4")
3814 public void traversing__has_Arrayish_() throws Exception {
3815 runTest("traversing: has(Arrayish)");
3816 }
3817
3818
3819
3820
3821
3822 @Test
3823 @Alerts("5")
3824 public void traversing__addBack__() throws Exception {
3825 runTest("traversing: addBack()");
3826 }
3827
3828
3829
3830
3831
3832 @Test
3833 @Alerts("6")
3834 public void traversing__siblings__String__() throws Exception {
3835 runTest("traversing: siblings([String])");
3836 }
3837
3838
3839
3840
3841
3842 @Test
3843 @Alerts("2")
3844 public void traversing__siblings__String_____jQuery_only() throws Exception {
3845 runTest("traversing: siblings([String]) - jQuery only");
3846 }
3847
3848
3849
3850
3851
3852 @Test
3853 @Alerts("2")
3854 public void traversing__children__String__() throws Exception {
3855 runTest("traversing: children([String])");
3856 }
3857
3858
3859
3860
3861
3862 @Test
3863 @Alerts("1")
3864 public void traversing__children__String_____jQuery_only() throws Exception {
3865 runTest("traversing: children([String]) - jQuery only");
3866 }
3867
3868
3869
3870
3871
3872 @Test
3873 @Alerts("6")
3874 public void traversing__parent__String__() throws Exception {
3875 runTest("traversing: parent([String])");
3876 }
3877
3878
3879
3880
3881
3882 @Test
3883 @Alerts("6")
3884 public void traversing__parents__String__() throws Exception {
3885 runTest("traversing: parents([String])");
3886 }
3887
3888
3889
3890
3891
3892 @Test
3893 @Alerts("10")
3894 public void traversing__parentsUntil__String__() throws Exception {
3895 runTest("traversing: parentsUntil([String])");
3896 }
3897
3898
3899
3900
3901
3902 @Test
3903 @Alerts("6")
3904 public void traversing__next__String__() throws Exception {
3905 runTest("traversing: next([String])");
3906 }
3907
3908
3909
3910
3911
3912 @Test
3913 @Alerts("5")
3914 public void traversing__prev__String__() throws Exception {
3915 runTest("traversing: prev([String])");
3916 }
3917
3918
3919
3920
3921
3922 @Test
3923 @Alerts("5")
3924 public void traversing__nextAll__String__() throws Exception {
3925 runTest("traversing: nextAll([String])");
3926 }
3927
3928
3929
3930
3931
3932 @Test
3933 @Alerts("5")
3934 public void traversing__prevAll__String__() throws Exception {
3935 runTest("traversing: prevAll([String])");
3936 }
3937
3938
3939
3940
3941
3942 @Test
3943 @Alerts("12")
3944 public void traversing__nextUntil__String__() throws Exception {
3945 runTest("traversing: nextUntil([String])");
3946 }
3947
3948
3949
3950
3951
3952 @Test
3953 @Alerts("11")
3954 public void traversing__prevUntil__String__() throws Exception {
3955 runTest("traversing: prevUntil([String])");
3956 }
3957
3958
3959
3960
3961
3962 @Test
3963 @Alerts("12")
3964 public void traversing__contents__() throws Exception {
3965 runTest("traversing: contents()");
3966 }
3967
3968
3969
3970
3971
3972 @Test
3973 @Alerts("12")
3974 public void traversing__sort_direction() throws Exception {
3975 runTest("traversing: sort direction");
3976 }
3977
3978
3979
3980
3981
3982 @Test
3983 @Alerts("2")
3984 public void traversing__add_String_selector_() throws Exception {
3985 runTest("traversing: add(String selector)");
3986 }
3987
3988
3989
3990
3991
3992 @Test
3993 @Alerts("1")
3994 public void traversing__add_String_selector__String_context_() throws Exception {
3995 runTest("traversing: add(String selector, String context)");
3996 }
3997
3998
3999
4000
4001
4002 @Test
4003 @Alerts("3")
4004 public void traversing__add_String_html_() throws Exception {
4005 runTest("traversing: add(String html)");
4006 }
4007
4008
4009
4010
4011
4012 @Test
4013 @Alerts("4")
4014 public void traversing__add_jQuery_() throws Exception {
4015 runTest("traversing: add(jQuery)");
4016 }
4017
4018
4019
4020
4021
4022 @Test
4023 @Alerts("2")
4024 public void traversing__add_Element_() throws Exception {
4025 runTest("traversing: add(Element)");
4026 }
4027
4028
4029
4030
4031
4032 @Test
4033 @Alerts("1")
4034 public void traversing__add_Array_elements_() throws Exception {
4035 runTest("traversing: add(Array elements)");
4036 }
4037
4038
4039
4040
4041
4042 @Test
4043 @Alerts("1")
4044 public void traversing__add_Window_() throws Exception {
4045 runTest("traversing: add(Window)");
4046 }
4047
4048
4049
4050
4051
4052 @Test
4053 @Alerts("4")
4054 public void traversing__add_NodeList_undefined_HTMLFormElement_HTMLSelectElement_() throws Exception {
4055 runTest("traversing: add(NodeList|undefined|HTMLFormElement|HTMLSelectElement)");
4056 }
4057
4058
4059
4060
4061
4062 @Test
4063 @Alerts("6")
4064 public void traversing__add_String__Context_() throws Exception {
4065 runTest("traversing: add(String, Context)");
4066 }
4067
4068
4069
4070
4071
4072 @Test
4073 @Alerts("3")
4074 public void traversing__eq___1____10616() throws Exception {
4075 runTest("traversing: eq('-1') #10616");
4076 }
4077
4078
4079
4080
4081
4082 @Test
4083 @Alerts("2")
4084 public void traversing__index_no_arg___10977() throws Exception {
4085 runTest("traversing: index(no arg) #10977");
4086 }
4087
4088
4089
4090
4091
4092 @Test
4093 @Alerts("5")
4094 public void traversing__traversing_non_elements_with_attribute_filters___12523_() throws Exception {
4095 runTest("traversing: traversing non-elements with attribute filters (#12523)");
4096 }
4097
4098
4099
4100
4101
4102 @Test
4103 @Alerts("5")
4104 public void manipulation__text__() throws Exception {
4105 runTest("manipulation: text()");
4106 }
4107
4108
4109
4110
4111
4112 @Test
4113 @Alerts("1")
4114 public void manipulation__text_undefined_() throws Exception {
4115 runTest("manipulation: text(undefined)");
4116 }
4117
4118
4119
4120
4121
4122 @Test
4123 @Alerts("7")
4124 public void manipulation__text_String_() throws Exception {
4125 runTest("manipulation: text(String)");
4126 }
4127
4128
4129
4130
4131
4132 @Test
4133 @Alerts("7")
4134 public void manipulation__text_Function_() throws Exception {
4135 runTest("manipulation: text(Function)");
4136 }
4137
4138
4139
4140
4141
4142 @Test
4143 @Alerts("2")
4144 public void manipulation__text_Function__with_incoming_value() throws Exception {
4145 runTest("manipulation: text(Function) with incoming value");
4146 }
4147
4148
4149
4150
4151
4152 @Test
4153 @Alerts("78")
4154 public void manipulation__append_String_Element_Array_Element__jQuery_() throws Exception {
4155 runTest("manipulation: append(String|Element|Array<Element>|jQuery)");
4156 }
4157
4158
4159
4160
4161
4162 @Test
4163 @Alerts("78")
4164 public void manipulation__append_Function_() throws Exception {
4165 runTest("manipulation: append(Function)");
4166 }
4167
4168
4169
4170
4171
4172 @Test
4173 @Alerts("5")
4174 public void manipulation__append_param__to_object__see__11280() throws Exception {
4175 runTest("manipulation: append(param) to object, see #11280");
4176 }
4177
4178
4179
4180
4181
4182 @Test
4183 @Alerts("4")
4184 public void manipulation__append_Function__returns_String() throws Exception {
4185 runTest("manipulation: append(Function) returns String");
4186 }
4187
4188
4189
4190
4191
4192 @Test
4193 @Alerts("2")
4194 public void manipulation__append_Function__returns_Element() throws Exception {
4195 runTest("manipulation: append(Function) returns Element");
4196 }
4197
4198
4199
4200
4201
4202 @Test
4203 @Alerts("2")
4204 public void manipulation__append_Function__returns_Array_Element_() throws Exception {
4205 runTest("manipulation: append(Function) returns Array<Element>");
4206 }
4207
4208
4209
4210
4211
4212 @Test
4213 @Alerts("2")
4214 public void manipulation__append_Function__returns_jQuery() throws Exception {
4215 runTest("manipulation: append(Function) returns jQuery");
4216 }
4217
4218
4219
4220
4221
4222 @Test
4223 @Alerts("2")
4224 public void manipulation__append_Function__returns_Number() throws Exception {
4225 runTest("manipulation: append(Function) returns Number");
4226 }
4227
4228
4229
4230
4231
4232 @Test
4233 @Alerts("5")
4234 public void manipulation__XML_DOM_manipulation___9960_() throws Exception {
4235 runTest("manipulation: XML DOM manipulation (#9960)");
4236 }
4237
4238
4239
4240
4241
4242 @Test
4243 @Alerts("2")
4244 public void manipulation__append_the_same_fragment_with_events__Bug__6997__5566_() throws Exception {
4245 runTest("manipulation: append the same fragment with events (Bug #6997, 5566)");
4246 }
4247
4248
4249
4250
4251
4252 @Test
4253 @Alerts("2")
4254 public void manipulation__append_HTML5_sectioning_elements__Bug__6485_() throws Exception {
4255 runTest("manipulation: append HTML5 sectioning elements (Bug #6485)");
4256 }
4257
4258
4259
4260
4261
4262 @Test
4263 @Alerts("1")
4264 public void manipulation__HTML5_Elements_inherit_styles_from_style_rules__Bug__10501_() throws Exception {
4265 runTest("manipulation: HTML5 Elements inherit styles from style rules (Bug #10501)");
4266 }
4267
4268
4269
4270
4271
4272 @Test
4273 @Alerts("2")
4274 public void manipulation__html_String__with_HTML5__Bug__6485_() throws Exception {
4275 runTest("manipulation: html(String) with HTML5 (Bug #6485)");
4276 }
4277
4278
4279
4280
4281
4282 @Test
4283 @Alerts("27")
4284 public void manipulation__html_String__tag_hyphenated_elements__Bug__1987_() throws Exception {
4285 runTest("manipulation: html(String) tag-hyphenated elements (Bug #1987)");
4286 }
4287
4288
4289
4290
4291
4292 @Test
4293 @Alerts("2")
4294 public void manipulation__IE8_serialization_bug() throws Exception {
4295 runTest("manipulation: IE8 serialization bug");
4296 }
4297
4298
4299
4300
4301
4302 @Test
4303 @Alerts("1")
4304 public void manipulation__html___object_element__10324() throws Exception {
4305 runTest("manipulation: html() object element #10324");
4306 }
4307
4308
4309
4310
4311
4312 @Test
4313 @Alerts("1")
4314 public void manipulation__append_xml_() throws Exception {
4315 runTest("manipulation: append(xml)");
4316 }
4317
4318
4319
4320
4321
4322 @Test
4323 @Alerts("4")
4324 public void manipulation__appendTo_String_() throws Exception {
4325 runTest("manipulation: appendTo(String)");
4326 }
4327
4328
4329
4330
4331
4332 @Test
4333 @Alerts("2")
4334 public void manipulation__appendTo_Element_Array_Element__() throws Exception {
4335 runTest("manipulation: appendTo(Element|Array<Element>)");
4336 }
4337
4338
4339
4340
4341
4342 @Test
4343 @Alerts("10")
4344 public void manipulation__appendTo_jQuery_() throws Exception {
4345 runTest("manipulation: appendTo(jQuery)");
4346 }
4347
4348
4349
4350
4351
4352 @Test
4353 @Alerts("2")
4354 public void manipulation__prepend_String_() throws Exception {
4355 runTest("manipulation: prepend(String)");
4356 }
4357
4358
4359
4360
4361
4362 @Test
4363 @Alerts("1")
4364 public void manipulation__prepend_Element_() throws Exception {
4365 runTest("manipulation: prepend(Element)");
4366 }
4367
4368
4369
4370
4371
4372 @Test
4373 @Alerts("1")
4374 public void manipulation__prepend_Array_Element__() throws Exception {
4375 runTest("manipulation: prepend(Array<Element>)");
4376 }
4377
4378
4379
4380
4381
4382 @Test
4383 @Alerts("1")
4384 public void manipulation__prepend_jQuery_() throws Exception {
4385 runTest("manipulation: prepend(jQuery)");
4386 }
4387
4388
4389
4390
4391
4392 @Test
4393 @Alerts("1")
4394 public void manipulation__prepend_Array_jQuery__() throws Exception {
4395 runTest("manipulation: prepend(Array<jQuery>)");
4396 }
4397
4398
4399
4400
4401
4402 @Test
4403 @Alerts("4")
4404 public void manipulation__prepend_Function__with_incoming_value____String() throws Exception {
4405 runTest("manipulation: prepend(Function) with incoming value -- String");
4406 }
4407
4408
4409
4410
4411
4412 @Test
4413 @Alerts("2")
4414 public void manipulation__prepend_Function__with_incoming_value____Element() throws Exception {
4415 runTest("manipulation: prepend(Function) with incoming value -- Element");
4416 }
4417
4418
4419
4420
4421
4422 @Test
4423 @Alerts("2")
4424 public void manipulation__prepend_Function__with_incoming_value____Array_Element_() throws Exception {
4425 runTest("manipulation: prepend(Function) with incoming value -- Array<Element>");
4426 }
4427
4428
4429
4430
4431
4432 @Test
4433 @Alerts("2")
4434 public void manipulation__prepend_Function__with_incoming_value____jQuery() throws Exception {
4435 runTest("manipulation: prepend(Function) with incoming value -- jQuery");
4436 }
4437
4438
4439
4440
4441
4442 @Test
4443 @Alerts("2")
4444 public void manipulation__prependTo_String_() throws Exception {
4445 runTest("manipulation: prependTo(String)");
4446 }
4447
4448
4449
4450
4451
4452 @Test
4453 @Alerts("1")
4454 public void manipulation__prependTo_Element_() throws Exception {
4455 runTest("manipulation: prependTo(Element)");
4456 }
4457
4458
4459
4460
4461
4462 @Test
4463 @Alerts("1")
4464 public void manipulation__prependTo_Array_Element__() throws Exception {
4465 runTest("manipulation: prependTo(Array<Element>)");
4466 }
4467
4468
4469
4470
4471
4472 @Test
4473 @Alerts("1")
4474 public void manipulation__prependTo_jQuery_() throws Exception {
4475 runTest("manipulation: prependTo(jQuery)");
4476 }
4477
4478
4479
4480
4481
4482 @Test
4483 @Alerts("1")
4484 public void manipulation__prependTo_Array_jQuery__() throws Exception {
4485 runTest("manipulation: prependTo(Array<jQuery>)");
4486 }
4487
4488
4489
4490
4491
4492 @Test
4493 @Alerts("1")
4494 public void manipulation__before_String_() throws Exception {
4495 runTest("manipulation: before(String)");
4496 }
4497
4498
4499
4500
4501
4502 @Test
4503 @Alerts("1")
4504 public void manipulation__before_Element_() throws Exception {
4505 runTest("manipulation: before(Element)");
4506 }
4507
4508
4509
4510
4511
4512 @Test
4513 @Alerts("1")
4514 public void manipulation__before_Array_Element__() throws Exception {
4515 runTest("manipulation: before(Array<Element>)");
4516 }
4517
4518
4519
4520
4521
4522 @Test
4523 @Alerts("1")
4524 public void manipulation__before_jQuery_() throws Exception {
4525 runTest("manipulation: before(jQuery)");
4526 }
4527
4528
4529
4530
4531
4532 @Test
4533 @Alerts("1")
4534 public void manipulation__before_Array_jQuery__() throws Exception {
4535 runTest("manipulation: before(Array<jQuery>)");
4536 }
4537
4538
4539
4540
4541
4542 @Test
4543 @Alerts("1")
4544 public void manipulation__before_Function_____Returns_String() throws Exception {
4545 runTest("manipulation: before(Function) -- Returns String");
4546 }
4547
4548
4549
4550
4551
4552 @Test
4553 @Alerts("1")
4554 public void manipulation__before_Function_____Returns_Element() throws Exception {
4555 runTest("manipulation: before(Function) -- Returns Element");
4556 }
4557
4558
4559
4560
4561
4562 @Test
4563 @Alerts("1")
4564 public void manipulation__before_Function_____Returns_Array_Element_() throws Exception {
4565 runTest("manipulation: before(Function) -- Returns Array<Element>");
4566 }
4567
4568
4569
4570
4571
4572 @Test
4573 @Alerts("1")
4574 public void manipulation__before_Function_____Returns_jQuery() throws Exception {
4575 runTest("manipulation: before(Function) -- Returns jQuery");
4576 }
4577
4578
4579
4580
4581
4582 @Test
4583 @Alerts("1")
4584 public void manipulation__before_Function_____Returns_Array_jQuery_() throws Exception {
4585 runTest("manipulation: before(Function) -- Returns Array<jQuery>");
4586 }
4587
4588
4589
4590
4591
4592 @Test
4593 @Alerts("2")
4594 public void manipulation__before_no_op_() throws Exception {
4595 runTest("manipulation: before(no-op)");
4596 }
4597
4598
4599
4600
4601
4602 @Test
4603 @Alerts("1")
4604 public void manipulation__before_and_after_w__empty_object___10812_() throws Exception {
4605 runTest("manipulation: before and after w/ empty object (#10812)");
4606 }
4607
4608
4609
4610
4611
4612 @Test
4613 @Alerts("2")
4614 public void manipulation___before___and__after___disconnected_node() throws Exception {
4615 runTest("manipulation: .before() and .after() disconnected node");
4616 }
4617
4618
4619
4620
4621
4622 @Test
4623 @Alerts("1")
4624 public void manipulation__insert_with__before___on_disconnected_node_first() throws Exception {
4625 runTest("manipulation: insert with .before() on disconnected node first");
4626 }
4627
4628
4629
4630
4631
4632 @Test
4633 @Alerts("1")
4634 public void manipulation__insert_with__before___on_disconnected_node_last() throws Exception {
4635 runTest("manipulation: insert with .before() on disconnected node last");
4636 }
4637
4638
4639
4640
4641
4642 @Test
4643 @Alerts("1")
4644 public void manipulation__insertBefore_String_() throws Exception {
4645 runTest("manipulation: insertBefore(String)");
4646 }
4647
4648
4649
4650
4651
4652 @Test
4653 @Alerts("1")
4654 public void manipulation__insertBefore_Element_() throws Exception {
4655 runTest("manipulation: insertBefore(Element)");
4656 }
4657
4658
4659
4660
4661
4662 @Test
4663 @Alerts("1")
4664 public void manipulation__insertBefore_Array_Element__() throws Exception {
4665 runTest("manipulation: insertBefore(Array<Element>)");
4666 }
4667
4668
4669
4670
4671
4672 @Test
4673 @Alerts("1")
4674 public void manipulation__insertBefore_jQuery_() throws Exception {
4675 runTest("manipulation: insertBefore(jQuery)");
4676 }
4677
4678
4679
4680
4681
4682 @Test
4683 @Alerts("1")
4684 public void manipulation___after_String_() throws Exception {
4685 runTest("manipulation: .after(String)");
4686 }
4687
4688
4689
4690
4691
4692 @Test
4693 @Alerts("1")
4694 public void manipulation___after_Element_() throws Exception {
4695 runTest("manipulation: .after(Element)");
4696 }
4697
4698
4699
4700
4701
4702 @Test
4703 @Alerts("1")
4704 public void manipulation___after_Array_Element__() throws Exception {
4705 runTest("manipulation: .after(Array<Element>)");
4706 }
4707
4708
4709
4710
4711
4712 @Test
4713 @Alerts("1")
4714 public void manipulation___after_jQuery_() throws Exception {
4715 runTest("manipulation: .after(jQuery)");
4716 }
4717
4718
4719
4720
4721
4722 @Test
4723 @Alerts("1")
4724 public void manipulation___after_Function__returns_String() throws Exception {
4725 runTest("manipulation: .after(Function) returns String");
4726 }
4727
4728
4729
4730
4731
4732 @Test
4733 @Alerts("1")
4734 public void manipulation___after_Function__returns_Element() throws Exception {
4735 runTest("manipulation: .after(Function) returns Element");
4736 }
4737
4738
4739
4740
4741
4742 @Test
4743 @Alerts("1")
4744 public void manipulation___after_Function__returns_Array_Element_() throws Exception {
4745 runTest("manipulation: .after(Function) returns Array<Element>");
4746 }
4747
4748
4749
4750
4751
4752 @Test
4753 @Alerts("1")
4754 public void manipulation___after_Function__returns_jQuery() throws Exception {
4755 runTest("manipulation: .after(Function) returns jQuery");
4756 }
4757
4758
4759
4760
4761
4762 @Test
4763 @Alerts("2")
4764 public void manipulation___after_disconnected_node_() throws Exception {
4765 runTest("manipulation: .after(disconnected node)");
4766 }
4767
4768
4769
4770
4771
4772 @Test
4773 @Alerts("1")
4774 public void manipulation__insertAfter_String_() throws Exception {
4775 runTest("manipulation: insertAfter(String)");
4776 }
4777
4778
4779
4780
4781
4782 @Test
4783 @Alerts("1")
4784 public void manipulation__insertAfter_Element_() throws Exception {
4785 runTest("manipulation: insertAfter(Element)");
4786 }
4787
4788
4789
4790
4791
4792 @Test
4793 @Alerts("1")
4794 public void manipulation__insertAfter_Array_Element__() throws Exception {
4795 runTest("manipulation: insertAfter(Array<Element>)");
4796 }
4797
4798
4799
4800
4801
4802 @Test
4803 @Alerts("1")
4804 public void manipulation__insertAfter_jQuery_() throws Exception {
4805 runTest("manipulation: insertAfter(jQuery)");
4806 }
4807
4808
4809
4810
4811
4812 @Test
4813 @Alerts("29")
4814 public void manipulation__replaceWith_String_Element_Array_Element__jQuery_() throws Exception {
4815 runTest("manipulation: replaceWith(String|Element|Array<Element>|jQuery)");
4816 }
4817
4818
4819
4820
4821
4822 @Test
4823 @Alerts("30")
4824 public void manipulation__replaceWith_Function_() throws Exception {
4825 runTest("manipulation: replaceWith(Function)");
4826 }
4827
4828
4829
4830
4831
4832 @Test
4833 @Alerts("3")
4834 public void manipulation__replaceWith_string__for_more_than_one_element() throws Exception {
4835 runTest("manipulation: replaceWith(string) for more than one element");
4836 }
4837
4838
4839
4840
4841
4842 @Test
4843 @Alerts("25")
4844 public void manipulation__Empty_replaceWith__trac_13401__trac_13596__gh_2204_() throws Exception {
4845 runTest("manipulation: Empty replaceWith (trac-13401; trac-13596; gh-2204)");
4846 }
4847
4848
4849
4850
4851
4852 @Test
4853 @Alerts("2")
4854 public void manipulation__replaceAll_String_() throws Exception {
4855 runTest("manipulation: replaceAll(String)");
4856 }
4857
4858
4859
4860
4861
4862 @Test
4863 @Alerts("2")
4864 public void manipulation__replaceAll_Element_() throws Exception {
4865 runTest("manipulation: replaceAll(Element)");
4866 }
4867
4868
4869
4870
4871
4872 @Test
4873 @Alerts("3")
4874 public void manipulation__replaceAll_Array_Element__() throws Exception {
4875 runTest("manipulation: replaceAll(Array<Element>)");
4876 }
4877
4878
4879
4880
4881
4882 @Test
4883 @Alerts("3")
4884 public void manipulation__replaceAll_jQuery_() throws Exception {
4885 runTest("manipulation: replaceAll(jQuery)");
4886 }
4887
4888
4889
4890
4891
4892 @Test
4893 @Alerts("2")
4894 public void manipulation__jQuery_clone_____8017_() throws Exception {
4895 runTest("manipulation: jQuery.clone() (#8017)");
4896 }
4897
4898
4899
4900
4901
4902 @Test
4903 @Alerts("2")
4904 public void manipulation__append_to_multiple_elements___8070_() throws Exception {
4905 runTest("manipulation: append to multiple elements (#8070)");
4906 }
4907
4908
4909
4910
4911
4912 @Test
4913 @Alerts("2")
4914 public void manipulation__table_manipulation() throws Exception {
4915 runTest("manipulation: table manipulation");
4916 }
4917
4918
4919
4920
4921
4922 @Test
4923 @Alerts("45")
4924 public void manipulation__clone__() throws Exception {
4925 runTest("manipulation: clone()");
4926 }
4927
4928
4929
4930
4931
4932 @Test
4933 @Alerts("3")
4934 public void manipulation__clone_script_type_non_javascript____11359_() throws Exception {
4935 runTest("manipulation: clone(script type=non-javascript) (#11359)");
4936 }
4937
4938
4939
4940
4941
4942 @Test
4943 @Alerts("5")
4944 public void manipulation__clone_form_element___Bug__3879___6655_() throws Exception {
4945 runTest("manipulation: clone(form element) (Bug #3879, #6655)");
4946 }
4947
4948
4949
4950
4951
4952 @Test
4953 @Alerts("1")
4954 public void manipulation__clone_multiple_selected_options___Bug__8129_() throws Exception {
4955 runTest("manipulation: clone(multiple selected options) (Bug #8129)");
4956 }
4957
4958
4959
4960
4961
4962 @Test
4963 @Alerts("2")
4964 public void manipulation__clone___on_XML_nodes() throws Exception {
4965 runTest("manipulation: clone() on XML nodes");
4966 }
4967
4968
4969
4970
4971
4972 @Test
4973 @Alerts("2")
4974 public void manipulation__clone___on_local_XML_nodes_with_html5_nodename() throws Exception {
4975 runTest("manipulation: clone() on local XML nodes with html5 nodename");
4976 }
4977
4978
4979
4980
4981
4982 @Test
4983 @Alerts("1")
4984 public void manipulation__html_undefined_() throws Exception {
4985 runTest("manipulation: html(undefined)");
4986 }
4987
4988
4989
4990
4991
4992 @Test
4993 @Alerts("1")
4994 public void manipulation__html___on_empty_set() throws Exception {
4995 runTest("manipulation: html() on empty set");
4996 }
4997
4998
4999
5000
5001
5002 @Test
5003 @Alerts("39")
5004 public void manipulation__html_String_Number_() throws Exception {
5005 runTest("manipulation: html(String|Number)");
5006 }
5007
5008
5009
5010
5011
5012 @Test
5013 @Alerts("39")
5014 public void manipulation__html_Function_() throws Exception {
5015 runTest("manipulation: html(Function)");
5016 }
5017
5018
5019
5020
5021
5022 @Test
5023 @Alerts("1")
5024 public void manipulation__html____text____() throws Exception {
5025 runTest("manipulation: html( $.text() )");
5026 }
5027
5028
5029
5030
5031
5032 @Test
5033 @Alerts("1")
5034 public void manipulation__html__fn___returns___text__() throws Exception {
5035 runTest("manipulation: html( fn ) returns $.text()");
5036 }
5037
5038
5039
5040
5041
5042 @Test
5043 @Alerts("4")
5044 public void manipulation__html_Function__with_incoming_value____direct_selection() throws Exception {
5045 runTest("manipulation: html(Function) with incoming value -- direct selection");
5046 }
5047
5048
5049
5050
5051
5052 @Test
5053 @Alerts("14")
5054 public void manipulation__html_Function__with_incoming_value____jQuery_contents__() throws Exception {
5055 runTest("manipulation: html(Function) with incoming value -- jQuery.contents()");
5056 }
5057
5058
5059
5060
5061
5062 @Test
5063 @Alerts("2")
5064 public void manipulation__clone___html___don_t_expose_jQuery_Sizzle_expandos___12858_() throws Exception {
5065 runTest("manipulation: clone()/html() don't expose jQuery/Sizzle expandos (#12858)");
5066 }
5067
5068
5069
5070
5071
5072 @Test
5073 @Alerts("3")
5074 public void manipulation__remove___no_filters() throws Exception {
5075 runTest("manipulation: remove() no filters");
5076 }
5077
5078
5079
5080
5081
5082 @Test
5083 @Alerts("8")
5084 public void manipulation__remove___with_filters() throws Exception {
5085 runTest("manipulation: remove() with filters");
5086 }
5087
5088
5089
5090
5091
5092 @Test
5093 @Alerts("1")
5094 public void manipulation__remove___event_cleaning() throws Exception {
5095 runTest("manipulation: remove() event cleaning");
5096 }
5097
5098
5099
5100
5101
5102 @Test
5103 @Alerts("1")
5104 public void manipulation__remove___in_document_order__13779() throws Exception {
5105 runTest("manipulation: remove() in document order #13779");
5106 }
5107
5108
5109
5110
5111
5112 @Test
5113 @Alerts("3")
5114 public void manipulation__detach___no_filters() throws Exception {
5115 runTest("manipulation: detach() no filters");
5116 }
5117
5118
5119
5120
5121
5122 @Test
5123 @Alerts("8")
5124 public void manipulation__detach___with_filters() throws Exception {
5125 runTest("manipulation: detach() with filters");
5126 }
5127
5128
5129
5130
5131
5132 @Test
5133 @Alerts("1")
5134 public void manipulation__detach___event_cleaning() throws Exception {
5135 runTest("manipulation: detach() event cleaning");
5136 }
5137
5138
5139
5140
5141
5142 @Test
5143 @Alerts("6")
5144 public void manipulation__empty__() throws Exception {
5145 runTest("manipulation: empty()");
5146 }
5147
5148
5149
5150
5151
5152 @Test
5153 @Alerts("14")
5154 public void manipulation__jQuery_cleanData() throws Exception {
5155 runTest("manipulation: jQuery.cleanData");
5156 }
5157
5158
5159
5160
5161
5162 @Test
5163 @Alerts("3")
5164 public void manipulation__jQuery_cleanData_eliminates_all_private_data__gh_2127_() throws Exception {
5165 runTest("manipulation: jQuery.cleanData eliminates all private data (gh-2127)");
5166 }
5167
5168
5169
5170
5171
5172 @Test
5173 @Alerts("2")
5174 public void manipulation__jQuery_cleanData_eliminates_all_public_data() throws Exception {
5175 runTest("manipulation: jQuery.cleanData eliminates all public data");
5176 }
5177
5178
5179
5180
5181
5182 @Test
5183 @Alerts("1")
5184 public void manipulation__domManip_plain_text_caching__trac_6779_() throws Exception {
5185 runTest("manipulation: domManip plain-text caching (trac-6779)");
5186 }
5187
5188
5189
5190
5191
5192 @Test
5193 @Alerts("3")
5194 public void manipulation__domManip_executes_scripts_containing_html_comments_or_CDATA__trac_9221_() throws Exception {
5195 runTest("manipulation: domManip executes scripts containing html comments or CDATA (trac-9221)");
5196 }
5197
5198
5199
5200
5201
5202 @Test
5203 @Alerts("1")
5204 public void manipulation__domManip_tolerates_window_valued_document_0__in_IE9_10__trac_12266_() throws Exception {
5205 runTest("manipulation: domManip tolerates window-valued document[0] in IE9/10 (trac-12266)");
5206 }
5207
5208
5209
5210
5211
5212 @Test
5213 @Alerts("1")
5214 public void manipulation__jQuery_clone___no_exceptions_for_object_elements__9587() throws Exception {
5215 runTest("manipulation: jQuery.clone - no exceptions for object elements #9587");
5216 }
5217
5218
5219
5220
5221
5222 @Test
5223 @Alerts("7")
5224 public void manipulation__Cloned__detached_HTML5_elems___10667_10670_() throws Exception {
5225 runTest("manipulation: Cloned, detached HTML5 elems (#10667,10670)");
5226 }
5227
5228
5229
5230
5231
5232 @Test
5233 @Alerts("1")
5234 public void manipulation__Guard_against_exceptions_when_clearing_safeChildNodes() throws Exception {
5235 runTest("manipulation: Guard against exceptions when clearing safeChildNodes");
5236 }
5237
5238
5239
5240
5241
5242 @Test
5243 @Alerts("5")
5244 public void manipulation__Ensure_oldIE_creates_a_new_set_on_appendTo___8894_() throws Exception {
5245 runTest("manipulation: Ensure oldIE creates a new set on appendTo (#8894)");
5246 }
5247
5248
5249
5250
5251
5252 @Test
5253 @Alerts("2")
5254 public void manipulation__html_____script_exceptions_bubble___11743_() throws Exception {
5255 runTest("manipulation: html() - script exceptions bubble (#11743)");
5256 }
5257
5258
5259
5260
5261
5262 @Test
5263 @Alerts("2")
5264 public void manipulation__checked_state_is_cloned_with_clone__() throws Exception {
5265 runTest("manipulation: checked state is cloned with clone()");
5266 }
5267
5268
5269
5270
5271
5272 @Test
5273 @Alerts("2")
5274 public void manipulation__manipulate_mixed_jQuery_and_text___12384___12346_() throws Exception {
5275 runTest("manipulation: manipulate mixed jQuery and text (#12384, #12346)");
5276 }
5277
5278
5279
5280
5281
5282 @Test
5283 @Alerts("13")
5284 public void manipulation__script_evaluation___11795_() throws Exception {
5285 runTest("manipulation: script evaluation (#11795)");
5286 }
5287
5288
5289
5290
5291
5292 @Test
5293 @Alerts("5")
5294 public void manipulation__jQuery__evalUrl___12838_() throws Exception {
5295 runTest("manipulation: jQuery._evalUrl (#12838)");
5296 }
5297
5298
5299
5300
5301
5302 @Test
5303 @Alerts("5")
5304 public void manipulation__jQuery_htmlPrefilter__gh_1747_() throws Exception {
5305 runTest("manipulation: jQuery.htmlPrefilter (gh-1747)");
5306 }
5307
5308
5309
5310
5311
5312 @Test
5313 @Alerts("10")
5314 public void manipulation__insertAfter__insertBefore__etc_do_not_work_when_destination_is_original_element__Element_is_removed___4087_() throws Exception {
5315 runTest("manipulation: insertAfter, insertBefore, etc do not work when destination is original element. Element is removed (#4087)");
5316 }
5317
5318
5319
5320
5321
5322 @Test
5323 @Alerts("2")
5324 public void manipulation__Index_for_function_argument_should_be_received___13094_() throws Exception {
5325 runTest("manipulation: Index for function argument should be received (#13094)");
5326 }
5327
5328
5329
5330
5331
5332 @Test
5333 @Alerts("1")
5334 public void manipulation__Make_sure_jQuery_fn_remove_can_work_on_elements_in_documentFragment() throws Exception {
5335 runTest("manipulation: Make sure jQuery.fn.remove can work on elements in documentFragment");
5336 }
5337
5338
5339
5340
5341
5342 @Test
5343 @Alerts("1")
5344 public void manipulation__Insert_script_with_data_URI__gh_1887_() throws Exception {
5345 runTest("manipulation: Insert script with data-URI (gh-1887)");
5346 }
5347
5348
5349
5350
5351
5352 @Test
5353 @Alerts("19")
5354 public void wrap__wrap_String_Element_() throws Exception {
5355 runTest("wrap: wrap(String|Element)");
5356 }
5357
5358
5359
5360
5361
5362 @Test
5363 @Alerts("19")
5364 public void wrap__wrap_Function_() throws Exception {
5365 runTest("wrap: wrap(Function)");
5366 }
5367
5368
5369
5370
5371
5372 @Test
5373 @Alerts("6")
5374 public void wrap__wrap_Function__with_index___10177_() throws Exception {
5375 runTest("wrap: wrap(Function) with index (#10177)");
5376 }
5377
5378
5379
5380
5381
5382 @Test
5383 @Alerts("12")
5384 public void wrap__wrap_String__consecutive_elements___10177_() throws Exception {
5385 runTest("wrap: wrap(String) consecutive elements (#10177)");
5386 }
5387
5388
5389
5390
5391
5392 @Test
5393 @Alerts("5")
5394 public void wrap__wrapAll_String_() throws Exception {
5395 runTest("wrap: wrapAll(String)");
5396 }
5397
5398
5399
5400
5401
5402 @Test
5403 @Alerts("3")
5404 public void wrap__wrapAll_Element_() throws Exception {
5405 runTest("wrap: wrapAll(Element)");
5406 }
5407
5408
5409
5410
5411
5412 @Test
5413 @Alerts("6")
5414 public void wrap__wrapInner_String_() throws Exception {
5415 runTest("wrap: wrapInner(String)");
5416 }
5417
5418
5419
5420
5421
5422 @Test
5423 @Alerts("5")
5424 public void wrap__wrapInner_Element_() throws Exception {
5425 runTest("wrap: wrapInner(Element)");
5426 }
5427
5428
5429
5430
5431
5432 @Test
5433 @Alerts("6")
5434 public void wrap__wrapInner_Function__returns_String() throws Exception {
5435 runTest("wrap: wrapInner(Function) returns String");
5436 }
5437
5438
5439
5440
5441
5442 @Test
5443 @Alerts("5")
5444 public void wrap__wrapInner_Function__returns_Element() throws Exception {
5445 runTest("wrap: wrapInner(Function) returns Element");
5446 }
5447
5448
5449
5450
5451
5452 @Test
5453 @Alerts("9")
5454 public void wrap__unwrap__() throws Exception {
5455 runTest("wrap: unwrap()");
5456 }
5457
5458
5459
5460
5461
5462 @Test
5463 @Alerts("2")
5464 public void wrap__jQuery__tag_____wrap_Inner_All____handle_unknown_elems___10667_() throws Exception {
5465 runTest("wrap: jQuery(<tag>) & wrap[Inner/All]() handle unknown elems (#10667)");
5466 }
5467
5468
5469
5470
5471
5472 @Test
5473 @Alerts("2")
5474 public void wrap__wrapping_scripts___10470_() throws Exception {
5475 runTest("wrap: wrapping scripts (#10470)");
5476 }
5477
5478
5479
5480
5481
5482 @Test
5483 @Alerts("43")
5484 public void css__css_String_Hash_() throws Exception {
5485 runTest("css: css(String|Hash)");
5486 }
5487
5488
5489
5490
5491
5492 @Test
5493 @Alerts("29")
5494 public void css__css___explicit_and_relative_values() throws Exception {
5495 runTest("css: css() explicit and relative values");
5496 }
5497
5498
5499
5500
5501
5502 @Test
5503 @Alerts("16")
5504 public void css__css___non_px_relative_values__gh_1711_() throws Exception {
5505 runTest("css: css() non-px relative values (gh-1711)");
5506 }
5507
5508
5509
5510
5511
5512 @Test
5513 @Alerts("19")
5514 public void css__css_String__Object_() throws Exception {
5515 runTest("css: css(String, Object)");
5516 }
5517
5518
5519
5520
5521
5522 @Test
5523 @Alerts("4")
5524 public void css__css_String__Object__with_negative_values() throws Exception {
5525 runTest("css: css(String, Object) with negative values");
5526 }
5527
5528
5529
5530
5531
5532 @Test
5533 @Alerts("2")
5534 public void css__css_Array_() throws Exception {
5535 runTest("css: css(Array)");
5536 }
5537
5538
5539
5540
5541
5542 @Test
5543 @Alerts("3")
5544 public void css__css_String__Function_() throws Exception {
5545 runTest("css: css(String, Function)");
5546 }
5547
5548
5549
5550
5551
5552 @Test
5553 @Alerts("3")
5554 public void css__css_String__Function__with_incoming_value() throws Exception {
5555 runTest("css: css(String, Function) with incoming value");
5556 }
5557
5558
5559
5560
5561
5562 @Test
5563 @Alerts("3")
5564 public void css__css_Object__where_values_are_Functions() throws Exception {
5565 runTest("css: css(Object) where values are Functions");
5566 }
5567
5568
5569
5570
5571
5572 @Test
5573 @Alerts("3")
5574 public void css__css_Object__where_values_are_Functions_with_incoming_values() throws Exception {
5575 runTest("css: css(Object) where values are Functions with incoming values");
5576 }
5577
5578
5579
5580
5581
5582 @Test
5583 @Alerts("4")
5584 public void css__show____hide__() throws Exception {
5585 runTest("css: show(); hide()");
5586 }
5587
5588
5589
5590
5591
5592 @Test
5593 @Alerts("18")
5594 public void css__show___() throws Exception {
5595 runTest("css: show();");
5596 }
5597
5598
5599
5600
5601
5602 @Test
5603 @Alerts("7")
5604 public void css__show___resolves_correct_default_display__8099() throws Exception {
5605 runTest("css: show() resolves correct default display #8099");
5606 }
5607
5608
5609
5610
5611
5612 @Test
5613 @Alerts("13")
5614 public void css__show___resolves_correct_default_display_for_detached_nodes() throws Exception {
5615 runTest("css: show() resolves correct default display for detached nodes");
5616 }
5617
5618
5619
5620
5621
5622 @Test
5623 @Alerts("4")
5624 public void css__show___resolves_correct_default_display__10227() throws Exception {
5625 runTest("css: show() resolves correct default display #10227");
5626 }
5627
5628
5629
5630
5631
5632 @Test
5633 @Alerts("2")
5634 public void css__show___resolves_correct_default_display_when_iframe_display_none__12904() throws Exception {
5635 runTest("css: show() resolves correct default display when iframe display:none #12904");
5636 }
5637
5638
5639
5640
5641
5642 @Test
5643 @Alerts("9")
5644 public void css__toggle__() throws Exception {
5645 runTest("css: toggle()");
5646 }
5647
5648
5649
5650
5651
5652 @Test
5653 @Alerts("3")
5654 public void css__hide_hidden_elements__bug__7141_() throws Exception {
5655 runTest("css: hide hidden elements (bug #7141)");
5656 }
5657
5658
5659
5660
5661
5662 @Test
5663 @Alerts("4")
5664 public void css__jQuery_css_elem___height___doesn_t_clear_radio_buttons__bug__1095_() throws Exception {
5665 runTest("css: jQuery.css(elem, 'height') doesn't clear radio buttons (bug #1095)");
5666 }
5667
5668
5669
5670
5671
5672 @Test
5673 @Alerts("1")
5674 public void css__internal_ref_to_elem_runtimeStyle__bug__7608_() throws Exception {
5675 runTest("css: internal ref to elem.runtimeStyle (bug #7608)");
5676 }
5677
5678
5679
5680
5681
5682 @Test
5683 @Alerts("2")
5684 @HtmlUnitNYI(CHROME = "1, 1, 2",
5685 EDGE = "1, 1, 2",
5686 FF = "1, 1, 2",
5687 FF_ESR = "1, 1, 2")
5688 public void css__computed_margins__trac_3333__gh_2237_() throws Exception {
5689 runTest("css: computed margins (trac-3333; gh-2237)");
5690 }
5691
5692
5693
5694
5695
5696 @Test
5697 @Alerts("2")
5698 public void css__box_model_properties_incorrectly_returning___instead_of_px__see__10639_and__12088() throws Exception {
5699 runTest("css: box model properties incorrectly returning % instead of px, see #10639 and #12088");
5700 }
5701
5702
5703
5704
5705
5706 @Test
5707 @Alerts("2")
5708 public void css__jQuery_cssProps_behavior___bug__8402_() throws Exception {
5709 runTest("css: jQuery.cssProps behavior, (bug #8402)");
5710 }
5711
5712
5713
5714
5715
5716 @Test
5717 @Alerts(CHROME = "2",
5718 EDGE = "2",
5719 FF = "1",
5720 FF_ESR = "1")
5721 public void css__widows___orphans__8936() throws Exception {
5722 runTest("css: widows & orphans #8936");
5723 }
5724
5725
5726
5727
5728
5729 @Test
5730 @Alerts("2")
5731 public void css__can_t_get_css_for_disconnected_in_IE_9__see__10254_and__8388() throws Exception {
5732 runTest("css: can't get css for disconnected in IE<9, see #10254 and #8388");
5733 }
5734
5735
5736
5737
5738
5739 @Test
5740 @Alerts("1")
5741 public void css__Ensure_styles_are_retrieving_from_parsed_html_on_document_fragments() throws Exception {
5742 runTest("css: Ensure styles are retrieving from parsed html on document fragments");
5743 }
5744
5745
5746
5747
5748
5749 @Test
5750 @Alerts("8")
5751 public void css__can_t_get_background_position_in_IE_9__see__10796() throws Exception {
5752 runTest("css: can't get background-position in IE<9, see #10796");
5753 }
5754
5755
5756
5757
5758
5759 @Test
5760 @Alerts("1")
5761 public void css__percentage_properties_for_bottom_and_right_in_IE_9_should_not_be_incorrectly_transformed_to_pixels__see__11311() throws Exception {
5762 runTest("css: percentage properties for bottom and right in IE<9 should not be incorrectly transformed to pixels, see #11311");
5763 }
5764
5765
5766
5767
5768
5769 @Test
5770 @Alerts("2")
5771 public void css__percentage_properties_for_left_and_top_should_be_transformed_to_pixels__see__9505() throws Exception {
5772 runTest("css: percentage properties for left and top should be transformed to pixels, see #9505");
5773 }
5774
5775
5776
5777
5778
5779 @Test
5780 @Alerts("3")
5781 public void css__Do_not_append_px___9548___12990___2792_() throws Exception {
5782 runTest("css: Do not append px (#9548, #12990, #2792)");
5783 }
5784
5785
5786
5787
5788
5789 @Test
5790 @Alerts("4")
5791 public void css__css__width___and_css__height___should_respect_box_sizing__see__11004() throws Exception {
5792 runTest("css: css('width') and css('height') should respect box-sizing, see #11004");
5793 }
5794
5795
5796
5797
5798
5799 @Test
5800 @Alerts("1")
5801 public void css__css__width___should_work_correctly_before_document_ready___14084_() throws Exception {
5802 runTest("css: css('width') should work correctly before document ready (#14084)");
5803 }
5804
5805
5806
5807
5808
5809 @Test
5810 @Alerts("3")
5811 public void css__certain_css_values_of__normal__should_be_convertable_to_a_number__see__8627() throws Exception {
5812 runTest("css: certain css values of 'normal' should be convertable to a number, see #8627");
5813 }
5814
5815
5816
5817
5818
5819 @Test
5820 @Alerts("15")
5821 public void css__cssHooks___expand() throws Exception {
5822 runTest("css: cssHooks - expand");
5823 }
5824
5825
5826
5827
5828
5829 @Test
5830 @Alerts("4")
5831 public void css__css_opacity_consistency_across_browsers___12685_() throws Exception {
5832 runTest("css: css opacity consistency across browsers (#12685)");
5833 }
5834
5835
5836
5837
5838
5839 @Test
5840 @Alerts("19")
5841 public void css___visible__hidden_selectors() throws Exception {
5842 runTest("css: :visible/:hidden selectors");
5843 }
5844
5845
5846
5847
5848
5849 @Test
5850 @Alerts("1")
5851 public void css__Table_styles_do_not_affect_reliableHiddenOffsets_support_test__gh_3065_() throws Exception {
5852 runTest("css: Table styles do not affect reliableHiddenOffsets support test (gh-3065)");
5853 }
5854
5855
5856
5857
5858
5859 @Test
5860 @Alerts("2")
5861 public void css__Keep_the_last_style_if_the_new_one_isn_t_recognized_by_the_browser___14836_() throws Exception {
5862 runTest("css: Keep the last style if the new one isn't recognized by the browser (#14836)");
5863 }
5864
5865
5866
5867
5868
5869 @Test
5870 @Alerts("1")
5871 public void css__Reset_the_style_if_set_to_an_empty_string() throws Exception {
5872 runTest("css: Reset the style if set to an empty string");
5873 }
5874
5875
5876
5877
5878
5879 @Test
5880 @Alerts("24")
5881 public void css__Clearing_a_Cloned_Element_s_Style_Shouldn_t_Clear_the_Original_Element_s_Style___8908_() throws Exception {
5882 runTest("css: Clearing a Cloned Element's Style Shouldn't Clear the Original Element's Style (#8908)");
5883 }
5884
5885
5886
5887
5888
5889 @Test
5890 @Alerts("4")
5891 public void css__Make_sure_initialized_display_value_for_disconnected_nodes_is_correct___13310_() throws Exception {
5892 runTest("css: Make sure initialized display value for disconnected nodes is correct (#13310)");
5893 }
5894
5895
5896
5897
5898
5899 @Test
5900 @Alerts("1")
5901 public void css__show___after_hide___should_always_set_display_to_initial_value___14750_() throws Exception {
5902 runTest("css: show() after hide() should always set display to initial value (#14750)");
5903 }
5904
5905
5906
5907
5908
5909 @Test
5910 @Alerts("1")
5911 public void css__Don_t_append_px_to_CSS__order__value___14049_() throws Exception {
5912 runTest("css: Don't append px to CSS \"order\" value (#14049)");
5913 }
5914
5915
5916
5917
5918
5919 @Test
5920 @Alerts("1")
5921 public void css__Do_not_throw_on_frame_elements_from_css_method___15098_() throws Exception {
5922 runTest("css: Do not throw on frame elements from css method (#15098)");
5923 }
5924
5925
5926
5927
5928
5929 @Test
5930 @Alerts("3")
5931 public void css__Don_t_default_to_a_cached_previously_used_wrong_prefixed_name__gh_2015_() throws Exception {
5932 runTest("css: Don't default to a cached previously used wrong prefixed name (gh-2015)");
5933 }
5934
5935
5936
5937
5938
5939 @Test
5940 @Alerts("1")
5941 public void css__Don_t_detect_fake_set_properties_on_a_node_when_caching_the_prefixed_version() throws Exception {
5942 runTest("css: Don't detect fake set properties on a node when caching the prefixed version");
5943 }
5944
5945
5946
5947
5948
5949 @Test
5950 @Alerts("23")
5951 public void serialize__jQuery_param__() throws Exception {
5952 runTest("serialize: jQuery.param()");
5953 }
5954
5955
5956
5957
5958
5959 @Test
5960 @Alerts("4")
5961 public void serialize__jQuery_param___Constructed_prop_values() throws Exception {
5962 runTest("serialize: jQuery.param() Constructed prop values");
5963 }
5964
5965
5966
5967
5968
5969 @Test
5970 @Alerts("6")
5971 public void serialize__serialize__() throws Exception {
5972 runTest("serialize: serialize()");
5973 }
5974
5975
5976
5977
5978
5979 @Test
5980 @Alerts("2")
5981 public void ajax__Unit_Testing_Environment() throws Exception {
5982 runTest("ajax: Unit Testing Environment");
5983 }
5984
5985
5986
5987
5988
5989 @Test
5990 @Alerts("1")
5991 @HtmlUnitNYI(CHROME = "Test #e0d0b3c1 runs too long (longer than 60s)",
5992 EDGE = "Test #e0d0b3c1 runs too long (longer than 60s)",
5993 FF = "Test #e0d0b3c1 runs too long (longer than 60s)",
5994 FF_ESR = "Test #e0d0b3c1 runs too long (longer than 60s)")
5995 public void ajax__XMLHttpRequest___Attempt_to_block_tests_because_of_dangling_XHR_requests__IE_() throws Exception {
5996 runTest("ajax: XMLHttpRequest - Attempt to block tests because of dangling XHR requests (IE)");
5997 }
5998
5999
6000
6001
6002
6003 @Test
6004 @Alerts("8")
6005 public void ajax__jQuery_ajax_____success_callbacks() throws Exception {
6006 runTest("ajax: jQuery.ajax() - success callbacks");
6007 }
6008
6009
6010
6011
6012
6013 @Test
6014 @Alerts("8")
6015 public void ajax__jQuery_ajax_____success_callbacks____url__options__syntax() throws Exception {
6016 runTest("ajax: jQuery.ajax() - success callbacks - (url, options) syntax");
6017 }
6018
6019
6020
6021
6022
6023 @Test
6024 @Alerts("8")
6025 public void ajax__jQuery_ajax_____success_callbacks__late_binding_() throws Exception {
6026 runTest("ajax: jQuery.ajax() - success callbacks (late binding)");
6027 }
6028
6029
6030
6031
6032
6033 @Test
6034 @Alerts("8")
6035 public void ajax__jQuery_ajax_____success_callbacks__oncomplete_binding_() throws Exception {
6036 runTest("ajax: jQuery.ajax() - success callbacks (oncomplete binding)");
6037 }
6038
6039
6040
6041
6042
6043 @Test
6044 @Alerts("8")
6045 public void ajax__jQuery_ajax_____error_callbacks() throws Exception {
6046 runTest("ajax: jQuery.ajax() - error callbacks");
6047 }
6048
6049
6050
6051
6052
6053 @Test
6054 @Alerts("4")
6055 public void ajax__jQuery_ajax_____textStatus_and_errorThrown_values() throws Exception {
6056 runTest("ajax: jQuery.ajax() - textStatus and errorThrown values");
6057 }
6058
6059
6060
6061
6062
6063 @Test
6064 @Alerts("1")
6065 public void ajax__jQuery_ajax_____responseText_on_error() throws Exception {
6066 runTest("ajax: jQuery.ajax() - responseText on error");
6067 }
6068
6069
6070
6071
6072
6073 @Test
6074 @Alerts("2")
6075 public void ajax__jQuery_ajax_____retry_with_jQuery_ajax__this__() throws Exception {
6076 runTest("ajax: jQuery.ajax() - retry with jQuery.ajax( this )");
6077 }
6078
6079
6080
6081
6082
6083 @Test
6084 @Alerts("5")
6085 public void ajax__jQuery_ajax_____headers() throws Exception {
6086 runTest("ajax: jQuery.ajax() - headers");
6087 }
6088
6089
6090
6091
6092
6093 @Test
6094 @Alerts("1")
6095 public void ajax__jQuery_ajax_____Accept_header() throws Exception {
6096 runTest("ajax: jQuery.ajax() - Accept header");
6097 }
6098
6099
6100
6101
6102
6103 @Test
6104 @Alerts("2")
6105 public void ajax__jQuery_ajax_____contentType() throws Exception {
6106 runTest("ajax: jQuery.ajax() - contentType");
6107 }
6108
6109
6110
6111
6112
6113 @Test
6114 @Alerts("1")
6115 public void ajax__jQuery_ajax_____protocol_less_urls() throws Exception {
6116 runTest("ajax: jQuery.ajax() - protocol-less urls");
6117 }
6118
6119
6120
6121
6122
6123 @Test
6124 @Alerts("3")
6125 public void ajax__jQuery_ajax_____hash() throws Exception {
6126 runTest("ajax: jQuery.ajax() - hash");
6127 }
6128
6129
6130
6131
6132
6133 @Test
6134 @Alerts("7")
6135 public void ajax__jQuery_ajax_____cross_domain_detection() throws Exception {
6136 runTest("ajax: jQuery.ajax() - cross-domain detection");
6137 }
6138
6139
6140
6141
6142
6143 @Test
6144 @Alerts("9")
6145 public void ajax__jQuery_ajax_____abort() throws Exception {
6146 runTest("ajax: jQuery.ajax() - abort");
6147 }
6148
6149
6150
6151
6152
6153 @Test
6154 @Alerts("12")
6155 public void ajax__jQuery_ajax_____events_with_context() throws Exception {
6156 runTest("ajax: jQuery.ajax() - events with context");
6157 }
6158
6159
6160
6161
6162
6163 @Test
6164 @Alerts("3")
6165 public void ajax__jQuery_ajax_____events_without_context() throws Exception {
6166 runTest("ajax: jQuery.ajax() - events without context");
6167 }
6168
6169
6170
6171
6172
6173 @Test
6174 @Alerts("1")
6175 public void ajax___15118___jQuery_ajax_____function_without_jQuery_event() throws Exception {
6176 runTest("ajax: #15118 - jQuery.ajax() - function without jQuery.event");
6177 }
6178
6179
6180
6181
6182
6183 @Test
6184 @Alerts("3")
6185 public void ajax___15160___jQuery_ajax_____request_manually_aborted_in_ajaxSend() throws Exception {
6186 runTest("ajax: #15160 - jQuery.ajax() - request manually aborted in ajaxSend");
6187 }
6188
6189
6190
6191
6192
6193 @Test
6194 @Alerts("1")
6195 public void ajax__jQuery_ajax_____context_modification() throws Exception {
6196 runTest("ajax: jQuery.ajax() - context modification");
6197 }
6198
6199
6200
6201
6202
6203 @Test
6204 @Alerts("3")
6205 public void ajax__jQuery_ajax_____context_modification_through_ajaxSetup() throws Exception {
6206 runTest("ajax: jQuery.ajax() - context modification through ajaxSetup");
6207 }
6208
6209
6210
6211
6212
6213 @Test
6214 @Alerts("3")
6215 public void ajax__jQuery_ajax_____disabled_globals() throws Exception {
6216 runTest("ajax: jQuery.ajax() - disabled globals");
6217 }
6218
6219
6220
6221
6222
6223 @Test
6224 @Alerts("3")
6225 public void ajax__jQuery_ajax_____xml__non_namespace_elements_inside_namespaced_elements() throws Exception {
6226 runTest("ajax: jQuery.ajax() - xml: non-namespace elements inside namespaced elements");
6227 }
6228
6229
6230
6231
6232
6233 @Test
6234 @Alerts("3")
6235 public void ajax__jQuery_ajax_____xml__non_namespace_elements_inside_namespaced_elements__over_JSONP_() throws Exception {
6236 runTest("ajax: jQuery.ajax() - xml: non-namespace elements inside namespaced elements (over JSONP)");
6237 }
6238
6239
6240
6241
6242
6243 @Test
6244 @Alerts("2")
6245 public void ajax__jQuery_ajax_____HEAD_requests() throws Exception {
6246 runTest("ajax: jQuery.ajax() - HEAD requests");
6247 }
6248
6249
6250
6251
6252
6253 @Test
6254 @Alerts("1")
6255 public void ajax__jQuery_ajax_____beforeSend() throws Exception {
6256 runTest("ajax: jQuery.ajax() - beforeSend");
6257 }
6258
6259
6260
6261
6262
6263 @Test
6264 @Alerts("2")
6265 public void ajax__jQuery_ajax_____beforeSend__cancel_request_manually() throws Exception {
6266 runTest("ajax: jQuery.ajax() - beforeSend, cancel request manually");
6267 }
6268
6269
6270
6271
6272
6273 @Test
6274 @Alerts("5")
6275 public void ajax__jQuery_ajax_____dataType_html() throws Exception {
6276 runTest("ajax: jQuery.ajax() - dataType html");
6277 }
6278
6279
6280
6281
6282
6283 @Test
6284 @Alerts("1")
6285 public void ajax__jQuery_ajax_____synchronous_request() throws Exception {
6286 runTest("ajax: jQuery.ajax() - synchronous request");
6287 }
6288
6289
6290
6291
6292
6293 @Test
6294 @Alerts("2")
6295 public void ajax__jQuery_ajax_____synchronous_request_with_callbacks() throws Exception {
6296 runTest("ajax: jQuery.ajax() - synchronous request with callbacks");
6297 }
6298
6299
6300
6301
6302
6303 @Test
6304 @Alerts("8")
6305 public void ajax__jQuery_ajax____jQuery_get_Script_JSON_____jQuery_post____pass_through_request_object() throws Exception {
6306 runTest("ajax: jQuery.ajax(), jQuery.get[Script|JSON](), jQuery.post(), pass-through request object");
6307 }
6308
6309
6310
6311
6312
6313 @Test
6314 @Alerts("12")
6315 public void ajax__jQuery_ajax_____cache() throws Exception {
6316 runTest("ajax: jQuery.ajax() - cache");
6317 }
6318
6319
6320
6321
6322
6323 @Test
6324 @Alerts("4")
6325 public void ajax___8205___jQuery_ajax_____JSONP___re_use_callbacks_name___Same_Domain() throws Exception {
6326 runTest("ajax: #8205 - jQuery.ajax() - JSONP - re-use callbacks name - Same Domain");
6327 }
6328
6329
6330
6331
6332
6333 @Test
6334 @Alerts("4")
6335 public void ajax___8205___jQuery_ajax_____JSONP___re_use_callbacks_name___Cross_Domain() throws Exception {
6336 runTest("ajax: #8205 - jQuery.ajax() - JSONP - re-use callbacks name - Cross Domain");
6337 }
6338
6339
6340
6341
6342
6343 @Test
6344 @Alerts("2")
6345 public void ajax__jQuery_ajax_____script__Remote() throws Exception {
6346 runTest("ajax: jQuery.ajax() - script, Remote");
6347 }
6348
6349
6350
6351
6352
6353 @Test
6354 @Alerts("3")
6355 public void ajax__jQuery_ajax_____script__Remote_with_POST() throws Exception {
6356 runTest("ajax: jQuery.ajax() - script, Remote with POST");
6357 }
6358
6359
6360
6361
6362
6363 @Test
6364 @Alerts("2")
6365 public void ajax__jQuery_ajax_____script__Remote_with_scheme_less_URL() throws Exception {
6366 runTest("ajax: jQuery.ajax() - script, Remote with scheme-less URL");
6367 }
6368
6369
6370
6371
6372
6373 @Test
6374 @Alerts("2")
6375 public void ajax__jQuery_ajax_____malformed_JSON() throws Exception {
6376 runTest("ajax: jQuery.ajax() - malformed JSON");
6377 }
6378
6379
6380
6381
6382
6383 @Test
6384 @Alerts("2")
6385 public void ajax__jQuery_ajax_____script_by_content_type() throws Exception {
6386 runTest("ajax: jQuery.ajax() - script by content-type");
6387 }
6388
6389
6390
6391
6392
6393 @Test
6394 @Alerts("5")
6395 public void ajax__jQuery_ajax_____JSON_by_content_type() throws Exception {
6396 runTest("ajax: jQuery.ajax() - JSON by content-type");
6397 }
6398
6399
6400
6401
6402
6403 @Test
6404 @Alerts("6")
6405 public void ajax__jQuery_ajax_____JSON_by_content_type_disabled_with_options() throws Exception {
6406 runTest("ajax: jQuery.ajax() - JSON by content-type disabled with options");
6407 }
6408
6409
6410
6411
6412
6413 @Test
6414 @Alerts("1")
6415 public void ajax__jQuery_ajax_____simple_get() throws Exception {
6416 runTest("ajax: jQuery.ajax() - simple get");
6417 }
6418
6419
6420
6421
6422
6423 @Test
6424 @Alerts("1")
6425 public void ajax__jQuery_ajax_____simple_post() throws Exception {
6426 runTest("ajax: jQuery.ajax() - simple post");
6427 }
6428
6429
6430
6431
6432
6433 @Test
6434 @Alerts("1")
6435 public void ajax__jQuery_ajax_____data_option___empty_bodies_for_non_GET_requests() throws Exception {
6436 runTest("ajax: jQuery.ajax() - data option - empty bodies for non-GET requests");
6437 }
6438
6439
6440
6441
6442
6443 @Test
6444 @Alerts("4")
6445 public void ajax__jQuery_ajax_____If_Modified_Since_support__cache_() throws Exception {
6446 runTest("ajax: jQuery.ajax() - If-Modified-Since support (cache)");
6447 }
6448
6449
6450
6451
6452
6453 @Test
6454 @Alerts("4")
6455 public void ajax__jQuery_ajax_____Etag_support__cache_() throws Exception {
6456 runTest("ajax: jQuery.ajax() - Etag support (cache)");
6457 }
6458
6459
6460
6461
6462
6463 @Test
6464 @Alerts("4")
6465 public void ajax__jQuery_ajax_____If_Modified_Since_support__no_cache_() throws Exception {
6466 runTest("ajax: jQuery.ajax() - If-Modified-Since support (no cache)");
6467 }
6468
6469
6470
6471
6472
6473 @Test
6474 @Alerts("4")
6475 public void ajax__jQuery_ajax_____Etag_support__no_cache_() throws Exception {
6476 runTest("ajax: jQuery.ajax() - Etag support (no cache)");
6477 }
6478
6479
6480
6481
6482
6483 @Test
6484 @Alerts("1")
6485 public void ajax__jQuery_ajax_____failing_cross_domain__non_existing_() throws Exception {
6486 runTest("ajax: jQuery.ajax() - failing cross-domain (non-existing)");
6487 }
6488
6489
6490
6491
6492
6493 @Test
6494 @Alerts("1")
6495 public void ajax__jQuery_ajax_____failing_cross_domain() throws Exception {
6496 runTest("ajax: jQuery.ajax() - failing cross-domain");
6497 }
6498
6499
6500
6501
6502
6503 @Test
6504 @Alerts("1")
6505 public void ajax__jQuery_ajax_____atom_xml() throws Exception {
6506 runTest("ajax: jQuery.ajax() - atom+xml");
6507 }
6508
6509
6510
6511
6512
6513 @Test
6514 @Alerts("3")
6515 public void ajax__jQuery_ajax_____statusText() throws Exception {
6516 runTest("ajax: jQuery.ajax() - statusText");
6517 }
6518
6519
6520
6521
6522
6523 @Test
6524 @Alerts("20")
6525 public void ajax__jQuery_ajax_____statusCode() throws Exception {
6526 runTest("ajax: jQuery.ajax() - statusCode");
6527 }
6528
6529
6530
6531
6532
6533 @Test
6534 @Alerts("8")
6535 public void ajax__jQuery_ajax_____transitive_conversions() throws Exception {
6536 runTest("ajax: jQuery.ajax() - transitive conversions");
6537 }
6538
6539
6540
6541
6542
6543 @Test
6544 @Alerts("2")
6545 public void ajax__jQuery_ajax_____overrideMimeType() throws Exception {
6546 runTest("ajax: jQuery.ajax() - overrideMimeType");
6547 }
6548
6549
6550
6551
6552
6553 @Test
6554 @Alerts("1")
6555 public void ajax__jQuery_ajax_____empty_json_gets_to_error_callback_instead_of_success_callback_() throws Exception {
6556 runTest("ajax: jQuery.ajax() - empty json gets to error callback instead of success callback.");
6557 }
6558
6559
6560
6561
6562
6563 @Test
6564 @Alerts("2")
6565 public void ajax___2688___jQuery_ajax_____beforeSend__cancel_request() throws Exception {
6566 runTest("ajax: #2688 - jQuery.ajax() - beforeSend, cancel request");
6567 }
6568
6569
6570
6571
6572
6573 @Test
6574 @Alerts("1")
6575 public void ajax___2806___jQuery_ajax_____data_option___evaluate_function_values() throws Exception {
6576 runTest("ajax: #2806 - jQuery.ajax() - data option - evaluate function values");
6577 }
6578
6579
6580
6581
6582
6583 @Test
6584 @Alerts("1")
6585 public void ajax___7531___jQuery_ajax_____Location_object_as_url() throws Exception {
6586 runTest("ajax: #7531 - jQuery.ajax() - Location object as url");
6587 }
6588
6589
6590
6591
6592
6593 @Test
6594 @Alerts("1")
6595 public void ajax___7578___jQuery_ajax_____JSONP___default_for_cache_option___Same_Domain() throws Exception {
6596 runTest("ajax: #7578 - jQuery.ajax() - JSONP - default for cache option - Same Domain");
6597 }
6598
6599
6600
6601
6602
6603 @Test
6604 @Alerts("1")
6605 public void ajax___7578___jQuery_ajax_____JSONP___default_for_cache_option___Cross_Domain() throws Exception {
6606 runTest("ajax: #7578 - jQuery.ajax() - JSONP - default for cache option - Cross Domain");
6607 }
6608
6609
6610
6611
6612
6613 @Test
6614 @Alerts("4")
6615 public void ajax___8107___jQuery_ajax_____multiple_method_signatures_introduced_in_1_5() throws Exception {
6616 runTest("ajax: #8107 - jQuery.ajax() - multiple method signatures introduced in 1.5");
6617 }
6618
6619
6620
6621
6622
6623 @Test
6624 @Alerts("2")
6625 public void ajax___9887___jQuery_ajax_____Context_with_circular_references___9887_() throws Exception {
6626 runTest("ajax: #9887 - jQuery.ajax() - Context with circular references (#9887)");
6627 }
6628
6629
6630
6631
6632
6633 @Test
6634 @Alerts("4")
6635 public void ajax___10093___jQuery_ajax_____falsy_url_as_argument() throws Exception {
6636 runTest("ajax: #10093 - jQuery.ajax() - falsy url as argument");
6637 }
6638
6639
6640
6641
6642
6643 @Test
6644 @Alerts("4")
6645 public void ajax___10093___jQuery_ajax_____falsy_url_in_settings_object() throws Exception {
6646 runTest("ajax: #10093 - jQuery.ajax() - falsy url in settings object");
6647 }
6648
6649
6650
6651
6652
6653 @Test
6654 @Alerts("2")
6655 public void ajax___11151___jQuery_ajax_____parse_error_body() throws Exception {
6656 runTest("ajax: #11151 - jQuery.ajax() - parse error body");
6657 }
6658
6659
6660
6661
6662
6663 @Test
6664 @Alerts("1")
6665 public void ajax___11426___jQuery_ajax_____loading_binary_data_shouldn_t_throw_an_exception_in_IE() throws Exception {
6666 runTest("ajax: #11426 - jQuery.ajax() - loading binary data shouldn't throw an exception in IE");
6667 }
6668
6669
6670
6671
6672
6673 @Test
6674 @Alerts("1")
6675 public void ajax___11743___jQuery_ajax_____script__throws_exception() throws Exception {
6676 runTest("ajax: #11743 - jQuery.ajax() - script, throws exception");
6677 }
6678
6679
6680
6681
6682
6683 @Test
6684 @Alerts("3")
6685 public void ajax___12004___jQuery_ajax_____method_is_an_alias_of_type___method_set_globally() throws Exception {
6686 runTest("ajax: #12004 - jQuery.ajax() - method is an alias of type - method set globally");
6687 }
6688
6689
6690
6691
6692
6693 @Test
6694 @Alerts("3")
6695 public void ajax___12004___jQuery_ajax_____method_is_an_alias_of_type___type_set_globally() throws Exception {
6696 runTest("ajax: #12004 - jQuery.ajax() - method is an alias of type - type set globally");
6697 }
6698
6699
6700
6701
6702
6703 @Test
6704 @Alerts("1")
6705 public void ajax___13276___jQuery_ajax_____compatibility_between_XML_documents_from_ajax_requests_and_parsed_string() throws Exception {
6706 runTest("ajax: #13276 - jQuery.ajax() - compatibility between XML documents from ajax requests and parsed string");
6707 }
6708
6709
6710
6711
6712
6713 @Test
6714 @Alerts("3")
6715 public void ajax___13292___jQuery_ajax_____converter_is_bypassed_for_204_requests() throws Exception {
6716 runTest("ajax: #13292 - jQuery.ajax() - converter is bypassed for 204 requests");
6717 }
6718
6719
6720
6721
6722
6723 @Test
6724 @Alerts("3")
6725 public void ajax___13388___jQuery_ajax_____responseXML() throws Exception {
6726 runTest("ajax: #13388 - jQuery.ajax() - responseXML");
6727 }
6728
6729
6730
6731
6732
6733 @Test
6734 @Alerts("3")
6735 public void ajax___13922___jQuery_ajax_____converter_is_bypassed_for_HEAD_requests() throws Exception {
6736 runTest("ajax: #13922 - jQuery.ajax() - converter is bypassed for HEAD requests");
6737 }
6738
6739
6740
6741
6742
6743 @Test
6744 @Alerts(CHROME = "1, 0, 1",
6745 EDGE = "1, 0, 1",
6746 FF = "1",
6747 FF_ESR = "1")
6748 @HtmlUnitNYI(CHROME = "1",
6749 EDGE = "1")
6750 public void ajax___14379___jQuery_ajax___on_unload() throws Exception {
6751 runTest("ajax: #14379 - jQuery.ajax() on unload");
6752 }
6753
6754
6755
6756
6757
6758 @Test
6759 @Alerts("1")
6760 public void ajax___13240___jQuery_ajax_____support_non_RFC2616_methods() throws Exception {
6761 runTest("ajax: #13240 - jQuery.ajax() - support non-RFC2616 methods");
6762 }
6763
6764
6765
6766
6767
6768 @Test
6769 @Alerts("4")
6770 public void ajax___14683___jQuery_ajax_____Exceptions_thrown_synchronously_by_xhr_send_should_be_caught() throws Exception {
6771 runTest("ajax: #14683 - jQuery.ajax() - Exceptions thrown synchronously by xhr.send should be caught");
6772 }
6773
6774
6775
6776
6777
6778 @Test
6779 @Alerts("1")
6780 public void ajax__gh_2587___when_content_type_not_xml__but_looks_like_one() throws Exception {
6781 runTest("ajax: gh-2587 - when content-type not xml, but looks like one");
6782 }
6783
6784
6785
6786
6787
6788 @Test
6789 @Alerts("1")
6790 public void ajax__gh_2587___when_content_type_not_json__but_looks_like_one() throws Exception {
6791 runTest("ajax: gh-2587 - when content-type not json, but looks like one");
6792 }
6793
6794
6795
6796
6797
6798 @Test
6799 @Alerts("1")
6800 public void ajax__gh_2587___when_content_type_not_html__but_looks_like_one() throws Exception {
6801 runTest("ajax: gh-2587 - when content-type not html, but looks like one");
6802 }
6803
6804
6805
6806
6807
6808 @Test
6809 @Alerts("1")
6810 public void ajax__gh_2587___when_content_type_not_javascript__but_looks_like_one() throws Exception {
6811 runTest("ajax: gh-2587 - when content-type not javascript, but looks like one");
6812 }
6813
6814
6815
6816
6817
6818 @Test
6819 @Alerts("1")
6820 public void ajax__gh_2587___when_content_type_not_ecmascript__but_looks_like_one() throws Exception {
6821 runTest("ajax: gh-2587 - when content-type not ecmascript, but looks like one");
6822 }
6823
6824
6825
6826
6827
6828 @Test
6829 @Alerts("1")
6830 public void ajax__jQuery_ajaxPrefilter_____abort() throws Exception {
6831 runTest("ajax: jQuery.ajaxPrefilter() - abort");
6832 }
6833
6834
6835
6836
6837
6838 @Test
6839 @Alerts("1")
6840 public void ajax__jQuery_ajaxSetup__() throws Exception {
6841 runTest("ajax: jQuery.ajaxSetup()");
6842 }
6843
6844
6845
6846
6847
6848 @Test
6849 @Alerts("2")
6850 @HtmlUnitNYI(CHROME = "2, 0, 2",
6851 EDGE = "2, 0, 2",
6852 FF = "2, 0, 2",
6853 FF_ESR = "2, 0, 2")
6854 public void ajax__jQuery_ajaxSetup___timeout__Number______with_global_timeout() throws Exception {
6855 runTest("ajax: jQuery.ajaxSetup({ timeout: Number }) - with global timeout");
6856 }
6857
6858
6859
6860
6861
6862 @Test
6863 @Alerts("1")
6864 public void ajax__jQuery_ajaxSetup___timeout__Number____with_localtimeout() throws Exception {
6865 runTest("ajax: jQuery.ajaxSetup({ timeout: Number }) with localtimeout");
6866 }
6867
6868
6869
6870
6871
6872 @Test
6873 @Alerts("1")
6874 public void ajax___11264___jQuery_domManip_____no_side_effect_because_of_ajaxSetup_or_global_events() throws Exception {
6875 runTest("ajax: #11264 - jQuery.domManip() - no side effect because of ajaxSetup or global events");
6876 }
6877
6878
6879
6880
6881
6882 @Test
6883 @Alerts("1")
6884 public void ajax__jQuery_load_____always_use_GET_method_even_if_it_overrided_through_ajaxSetup___11264_() throws Exception {
6885 runTest("ajax: jQuery#load() - always use GET method even if it overrided through ajaxSetup (#11264)");
6886 }
6887
6888
6889
6890
6891
6892 @Test
6893 @Alerts("2")
6894 public void ajax__jQuery_load_____should_resolve_with_correct_context() throws Exception {
6895 runTest("ajax: jQuery#load() - should resolve with correct context");
6896 }
6897
6898
6899
6900
6901
6902 @Test
6903 @Alerts("2")
6904 public void ajax___11402___jQuery_domManip_____script_in_comments_are_properly_evaluated() throws Exception {
6905 runTest("ajax: #11402 - jQuery.domManip() - script in comments are properly evaluated");
6906 }
6907
6908
6909
6910
6911
6912 @Test
6913 @Alerts("2")
6914 public void ajax__jQuery_get__String__Hash__Function_____parse_xml_and_use_text___on_nodes() throws Exception {
6915 runTest("ajax: jQuery.get( String, Hash, Function ) - parse xml and use text() on nodes");
6916 }
6917
6918
6919
6920
6921
6922 @Test
6923 @Alerts("1")
6924 public void ajax___8277___jQuery_get__String__Function_____data_in_ajaxSettings() throws Exception {
6925 runTest("ajax: #8277 - jQuery.get( String, Function ) - data in ajaxSettings");
6926 }
6927
6928
6929
6930
6931
6932 @Test
6933 @Alerts("5")
6934 public void ajax__jQuery_getJSON__String__Hash__Function_____JSON_array() throws Exception {
6935 runTest("ajax: jQuery.getJSON( String, Hash, Function ) - JSON array");
6936 }
6937
6938
6939
6940
6941
6942 @Test
6943 @Alerts("2")
6944 public void ajax__jQuery_getJSON__String__Function_____JSON_object() throws Exception {
6945 runTest("ajax: jQuery.getJSON( String, Function ) - JSON object");
6946 }
6947
6948
6949
6950
6951
6952 @Test
6953 @Alerts("2")
6954 public void ajax__jQuery_getJSON__String__Function_____JSON_object_with_absolute_url_to_local_content() throws Exception {
6955 runTest("ajax: jQuery.getJSON( String, Function ) - JSON object with absolute url to local content");
6956 }
6957
6958
6959
6960
6961
6962 @Test
6963 @Alerts("2")
6964 public void ajax__jQuery_getScript__String__Function_____with_callback() throws Exception {
6965 runTest("ajax: jQuery.getScript( String, Function ) - with callback");
6966 }
6967
6968
6969
6970
6971
6972 @Test
6973 @Alerts("1")
6974 public void ajax__jQuery_getScript__String__Function_____no_callback() throws Exception {
6975 runTest("ajax: jQuery.getScript( String, Function ) - no callback");
6976 }
6977
6978
6979
6980
6981
6982 @Test
6983 @Alerts("2")
6984 public void ajax___8082___jQuery_getScript__String__Function_____source_as_responseText() throws Exception {
6985 runTest("ajax: #8082 - jQuery.getScript( String, Function ) - source as responseText");
6986 }
6987
6988
6989
6990
6991
6992 @Test
6993 @Alerts("2")
6994 public void ajax__jQuery_fn_load__String__() throws Exception {
6995 runTest("ajax: jQuery.fn.load( String )");
6996 }
6997
6998
6999
7000
7001
7002 @Test
7003 @Alerts("6")
7004 public void ajax__jQuery_fn_load_____404_error_callbacks() throws Exception {
7005 runTest("ajax: jQuery.fn.load() - 404 error callbacks");
7006 }
7007
7008
7009
7010
7011
7012 @Test
7013 @Alerts("2")
7014 public void ajax__jQuery_fn_load__String__null__() throws Exception {
7015 runTest("ajax: jQuery.fn.load( String, null )");
7016 }
7017
7018
7019
7020
7021
7022 @Test
7023 @Alerts("2")
7024 public void ajax__jQuery_fn_load__String__undefined__() throws Exception {
7025 runTest("ajax: jQuery.fn.load( String, undefined )");
7026 }
7027
7028
7029
7030
7031
7032 @Test
7033 @Alerts("1")
7034 public void ajax__jQuery_fn_load__URL_SELECTOR__() throws Exception {
7035 runTest("ajax: jQuery.fn.load( URL_SELECTOR )");
7036 }
7037
7038
7039
7040
7041
7042 @Test
7043 @Alerts("1")
7044 public void ajax__jQuery_fn_load__URL_SELECTOR_with_spaces__() throws Exception {
7045 runTest("ajax: jQuery.fn.load( URL_SELECTOR with spaces )");
7046 }
7047
7048
7049
7050
7051
7052 @Test
7053 @Alerts("2")
7054 public void ajax__jQuery_fn_load__String__Function_____simple__inject_text_into_DOM() throws Exception {
7055 runTest("ajax: jQuery.fn.load( String, Function ) - simple: inject text into DOM");
7056 }
7057
7058
7059
7060
7061
7062 @Test
7063 @Alerts("7")
7064 @HtmlUnitNYI(CHROME = "1, 8, 9",
7065 EDGE = "1, 8, 9",
7066 FF = "1, 8, 9",
7067 FF_ESR = "1, 8, 9")
7068 public void ajax__jQuery_fn_load__String__Function_____check_scripts() throws Exception {
7069 runTest("ajax: jQuery.fn.load( String, Function ) - check scripts");
7070 }
7071
7072
7073
7074
7075
7076 @Test
7077 @Alerts("3")
7078 public void ajax__jQuery_fn_load__String__Function_____check_file_with_only_a_script_tag() throws Exception {
7079 runTest("ajax: jQuery.fn.load( String, Function ) - check file with only a script tag");
7080 }
7081
7082
7083
7084
7085
7086 @Test
7087 @Alerts("2")
7088 public void ajax__jQuery_fn_load__String__Function_____dataFilter_in_ajaxSettings() throws Exception {
7089 runTest("ajax: jQuery.fn.load( String, Function ) - dataFilter in ajaxSettings");
7090 }
7091
7092
7093
7094
7095
7096 @Test
7097 @Alerts("2")
7098 public void ajax__jQuery_fn_load__String__Object__Function__() throws Exception {
7099 runTest("ajax: jQuery.fn.load( String, Object, Function )");
7100 }
7101
7102
7103
7104
7105
7106 @Test
7107 @Alerts("2")
7108 public void ajax__jQuery_fn_load__String__String__Function__() throws Exception {
7109 runTest("ajax: jQuery.fn.load( String, String, Function )");
7110 }
7111
7112
7113
7114
7115
7116 @Test
7117 @Alerts("8")
7118 public void ajax__jQuery_fn_load_____callbacks_get_the_correct_parameters() throws Exception {
7119 runTest("ajax: jQuery.fn.load() - callbacks get the correct parameters");
7120 }
7121
7122
7123
7124
7125
7126 @Test
7127 @Alerts("1")
7128 public void ajax___2046___jQuery_fn_load__String__Function___with_ajaxSetup_on_dataType_json() throws Exception {
7129 runTest("ajax: #2046 - jQuery.fn.load( String, Function ) with ajaxSetup on dataType json");
7130 }
7131
7132
7133
7134
7135
7136 @Test
7137 @Alerts("1")
7138 public void ajax___10524___jQuery_fn_load_____data_specified_in_ajaxSettings_is_merged_in() throws Exception {
7139 runTest("ajax: #10524 - jQuery.fn.load() - data specified in ajaxSettings is merged in");
7140 }
7141
7142
7143
7144
7145
7146 @Test
7147 @Alerts("3")
7148 public void ajax__jQuery_post_____data() throws Exception {
7149 runTest("ajax: jQuery.post() - data");
7150 }
7151
7152
7153
7154
7155
7156 @Test
7157 @Alerts("4")
7158 public void ajax__jQuery_post__String__Hash__Function_____simple_with_xml() throws Exception {
7159 runTest("ajax: jQuery.post( String, Hash, Function ) - simple with xml");
7160 }
7161
7162
7163
7164
7165
7166 @Test
7167 @Alerts("2")
7168 public void ajax__jQuery_get_post___options_____simple_with_xml() throws Exception {
7169 runTest("ajax: jQuery[get|post]( options ) - simple with xml");
7170 }
7171
7172
7173
7174
7175
7176 @Test
7177 @Alerts("1")
7178 public void ajax__jQuery_active() throws Exception {
7179 runTest("ajax: jQuery.active");
7180 }
7181
7182
7183
7184
7185
7186 @Test
7187 @Alerts("1")
7188 public void effects__sanity_check() throws Exception {
7189 runTest("effects: sanity check");
7190 }
7191
7192
7193
7194
7195
7196 @Test
7197 @Alerts("2")
7198 public void effects__show___basic() throws Exception {
7199 runTest("effects: show() basic");
7200 }
7201
7202
7203
7204
7205
7206 @Test
7207 @Alerts("27")
7208 public void effects__show__() throws Exception {
7209 runTest("effects: show()");
7210 }
7211
7212
7213
7214
7215
7216 @Test
7217 @Alerts("15")
7218 public void effects__show_Number____other_displays() throws Exception {
7219 runTest("effects: show(Number) - other displays");
7220 }
7221
7222
7223
7224
7225
7226 @Test
7227 @Alerts("3")
7228 public void effects__Persist_correct_display_value() throws Exception {
7229 runTest("effects: Persist correct display value");
7230 }
7231
7232
7233
7234
7235
7236 @Test
7237 @Alerts("1")
7238 public void effects__animate_Hash__Object__Function_() throws Exception {
7239 runTest("effects: animate(Hash, Object, Function)");
7240 }
7241
7242
7243
7244
7245
7246 @Test
7247 @Alerts("12")
7248 public void effects__animate_relative_values() throws Exception {
7249 runTest("effects: animate relative values");
7250 }
7251
7252
7253
7254
7255
7256 @Test
7257 @Alerts("1")
7258 public void effects__animate_negative_height() throws Exception {
7259 runTest("effects: animate negative height");
7260 }
7261
7262
7263
7264
7265
7266 @Test
7267 @Alerts("1")
7268 public void effects__animate_negative_margin() throws Exception {
7269 runTest("effects: animate negative margin");
7270 }
7271
7272
7273
7274
7275
7276 @Test
7277 @Alerts("1")
7278 public void effects__animate_negative_margin_with_px() throws Exception {
7279 runTest("effects: animate negative margin with px");
7280 }
7281
7282
7283
7284
7285
7286 @Test
7287 @Alerts("1")
7288 @HtmlUnitNYI(CHROME = "1, 0, 1",
7289 EDGE = "1, 0, 1",
7290 FF = "1, 0, 1",
7291 FF_ESR = "1, 0, 1")
7292 public void effects__animate_negative_padding() throws Exception {
7293 runTest("effects: animate negative padding");
7294 }
7295
7296
7297
7298
7299
7300 @Test
7301 @Alerts("3")
7302 public void effects__animate_block_as_inline_width_height() throws Exception {
7303 runTest("effects: animate block as inline width/height");
7304 }
7305
7306
7307
7308
7309
7310 @Test
7311 @Alerts("3")
7312 public void effects__animate_native_inline_width_height() throws Exception {
7313 runTest("effects: animate native inline width/height");
7314 }
7315
7316
7317
7318
7319
7320 @Test
7321 @Alerts("3")
7322 public void effects__animate_block_width_height() throws Exception {
7323 runTest("effects: animate block width/height");
7324 }
7325
7326
7327
7328
7329
7330 @Test
7331 @Alerts("1")
7332 public void effects__animate_table_width_height() throws Exception {
7333 runTest("effects: animate table width/height");
7334 }
7335
7336
7337
7338
7339
7340 @Test
7341 @Alerts("3")
7342 @HtmlUnitNYI(CHROME = "2, 1, 3",
7343 EDGE = "2, 1, 3",
7344 FF = "2, 1, 3",
7345 FF_ESR = "2, 1, 3")
7346 public void effects__animate_table_row_width_height() throws Exception {
7347 runTest("effects: animate table-row width/height");
7348 }
7349
7350
7351
7352
7353
7354 @Test
7355 @Alerts("3")
7356 @HtmlUnitNYI(CHROME = "2, 1, 3",
7357 EDGE = "2, 1, 3",
7358 FF = "2, 1, 3",
7359 FF_ESR = "2, 1, 3")
7360 public void effects__animate_table_cell_width_height() throws Exception {
7361 runTest("effects: animate table-cell width/height");
7362 }
7363
7364
7365
7366
7367
7368 @Test
7369 @Alerts("2")
7370 public void effects__animate_percentage____on_width_height() throws Exception {
7371 runTest("effects: animate percentage(%) on width/height");
7372 }
7373
7374
7375
7376
7377
7378 @Test
7379 @Alerts("2")
7380 public void effects__animate_resets_overflow_x_and_overflow_y_when_finished() throws Exception {
7381 runTest("effects: animate resets overflow-x and overflow-y when finished");
7382 }
7383
7384
7385
7386
7387
7388 @Test
7389 @Alerts("2")
7390 public void effects__animate_option___queue__false__() throws Exception {
7391 runTest("effects: animate option { queue: false }");
7392 }
7393
7394
7395
7396
7397
7398 @Test
7399 @Alerts("2")
7400 public void effects__animate_option___queue__true__() throws Exception {
7401 runTest("effects: animate option { queue: true }");
7402 }
7403
7404
7405
7406
7407
7408 @Test
7409 @Alerts("5")
7410 public void effects__animate_option___queue___name___() throws Exception {
7411 runTest("effects: animate option { queue: 'name' }");
7412 }
7413
7414
7415
7416
7417
7418 @Test
7419 @Alerts("2")
7420 public void effects__animate_with_no_properties() throws Exception {
7421 runTest("effects: animate with no properties");
7422 }
7423
7424
7425
7426
7427
7428 @Test
7429 @Alerts("11")
7430 public void effects__animate_duration_0() throws Exception {
7431 runTest("effects: animate duration 0");
7432 }
7433
7434
7435
7436
7437
7438 @Test
7439 @Alerts("1")
7440 public void effects__animate_hyphenated_properties() throws Exception {
7441 runTest("effects: animate hyphenated properties");
7442 }
7443
7444
7445
7446
7447
7448 @Test
7449 @Alerts("1")
7450 public void effects__animate_non_element() throws Exception {
7451 runTest("effects: animate non-element");
7452 }
7453
7454
7455
7456
7457
7458 @Test
7459 @Alerts("4")
7460 public void effects__stop__() throws Exception {
7461 runTest("effects: stop()");
7462 }
7463
7464
7465
7466
7467
7468 @Test
7469 @Alerts("5")
7470 public void effects__stop_____several_in_queue() throws Exception {
7471 runTest("effects: stop() - several in queue");
7472 }
7473
7474
7475
7476
7477
7478 @Test
7479 @Alerts("4")
7480 public void effects__stop_clearQueue_() throws Exception {
7481 runTest("effects: stop(clearQueue)");
7482 }
7483
7484
7485
7486
7487
7488 @Test
7489 @Alerts("1")
7490 public void effects__stop_clearQueue__gotoEnd_() throws Exception {
7491 runTest("effects: stop(clearQueue, gotoEnd)");
7492 }
7493
7494
7495
7496
7497
7498 @Test
7499 @Alerts("3")
7500 public void effects__stop__queue_______________Stop_single_queues() throws Exception {
7501 runTest("effects: stop( queue, ..., ... ) - Stop single queues");
7502 }
7503
7504
7505
7506
7507
7508 @Test
7509 @Alerts("6")
7510 public void effects__toggle__() throws Exception {
7511 runTest("effects: toggle()");
7512 }
7513
7514
7515
7516
7517
7518 @Test
7519 @Alerts("1, 6, 7")
7520 @HtmlUnitNYI(CHROME = "7",
7521 EDGE = "7",
7522 FF = "7",
7523 FF_ESR = "7")
7524 public void effects__jQuery_fx_prototype_cur______1_8_Back_Compat() throws Exception {
7525 runTest("effects: jQuery.fx.prototype.cur() - <1.8 Back Compat");
7526 }
7527
7528
7529
7530
7531
7532 @Test
7533 @Alerts("4")
7534 public void effects__Overflow_and_Display() throws Exception {
7535 runTest("effects: Overflow and Display");
7536 }
7537
7538
7539
7540
7541
7542 @Test
7543 @Alerts("6")
7544 public void effects__CSS_Auto_to_0() throws Exception {
7545 runTest("effects: CSS Auto to 0");
7546 }
7547
7548
7549
7550
7551
7552 @Test
7553 @Alerts("6")
7554 public void effects__CSS_Auto_to_50() throws Exception {
7555 runTest("effects: CSS Auto to 50");
7556 }
7557
7558
7559
7560
7561
7562 @Test
7563 @Alerts("6")
7564 public void effects__CSS_Auto_to_100() throws Exception {
7565 runTest("effects: CSS Auto to 100");
7566 }
7567
7568
7569
7570
7571
7572 @Test
7573 @Alerts("5")
7574 public void effects__CSS_Auto_to_show() throws Exception {
7575 runTest("effects: CSS Auto to show");
7576 }
7577
7578
7579
7580
7581
7582 @Test
7583 @Alerts("4")
7584 public void effects__CSS_Auto_to_hide() throws Exception {
7585 runTest("effects: CSS Auto to hide");
7586 }
7587
7588
7589
7590
7591
7592 @Test
7593 @Alerts("6")
7594 public void effects__JS_Auto_to_0() throws Exception {
7595 runTest("effects: JS Auto to 0");
7596 }
7597
7598
7599
7600
7601
7602 @Test
7603 @Alerts("6")
7604 public void effects__JS_Auto_to_50() throws Exception {
7605 runTest("effects: JS Auto to 50");
7606 }
7607
7608
7609
7610
7611
7612 @Test
7613 @Alerts("6")
7614 public void effects__JS_Auto_to_100() throws Exception {
7615 runTest("effects: JS Auto to 100");
7616 }
7617
7618
7619
7620
7621
7622 @Test
7623 @Alerts("5")
7624 public void effects__JS_Auto_to_show() throws Exception {
7625 runTest("effects: JS Auto to show");
7626 }
7627
7628
7629
7630
7631
7632 @Test
7633 @Alerts("4")
7634 public void effects__JS_Auto_to_hide() throws Exception {
7635 runTest("effects: JS Auto to hide");
7636 }
7637
7638
7639
7640
7641
7642 @Test
7643 @Alerts("6")
7644 public void effects__CSS_100_to_0() throws Exception {
7645 runTest("effects: CSS 100 to 0");
7646 }
7647
7648
7649
7650
7651
7652 @Test
7653 @Alerts("6")
7654 public void effects__CSS_100_to_50() throws Exception {
7655 runTest("effects: CSS 100 to 50");
7656 }
7657
7658
7659
7660
7661
7662 @Test
7663 @Alerts("6")
7664 public void effects__CSS_100_to_100() throws Exception {
7665 runTest("effects: CSS 100 to 100");
7666 }
7667
7668
7669
7670
7671
7672 @Test
7673 @Alerts("5")
7674 public void effects__CSS_100_to_show() throws Exception {
7675 runTest("effects: CSS 100 to show");
7676 }
7677
7678
7679
7680
7681
7682 @Test
7683 @Alerts("4")
7684 public void effects__CSS_100_to_hide() throws Exception {
7685 runTest("effects: CSS 100 to hide");
7686 }
7687
7688
7689
7690
7691
7692 @Test
7693 @Alerts("6")
7694 public void effects__JS_100_to_0() throws Exception {
7695 runTest("effects: JS 100 to 0");
7696 }
7697
7698
7699
7700
7701
7702 @Test
7703 @Alerts("6")
7704 public void effects__JS_100_to_50() throws Exception {
7705 runTest("effects: JS 100 to 50");
7706 }
7707
7708
7709
7710
7711
7712 @Test
7713 @Alerts("6")
7714 public void effects__JS_100_to_100() throws Exception {
7715 runTest("effects: JS 100 to 100");
7716 }
7717
7718
7719
7720
7721
7722 @Test
7723 @Alerts("5")
7724 public void effects__JS_100_to_show() throws Exception {
7725 runTest("effects: JS 100 to show");
7726 }
7727
7728
7729
7730
7731
7732 @Test
7733 @Alerts("4")
7734 public void effects__JS_100_to_hide() throws Exception {
7735 runTest("effects: JS 100 to hide");
7736 }
7737
7738
7739
7740
7741
7742 @Test
7743 @Alerts("6")
7744 public void effects__CSS_50_to_0() throws Exception {
7745 runTest("effects: CSS 50 to 0");
7746 }
7747
7748
7749
7750
7751
7752 @Test
7753 @Alerts("6")
7754 public void effects__CSS_50_to_50() throws Exception {
7755 runTest("effects: CSS 50 to 50");
7756 }
7757
7758
7759
7760
7761
7762 @Test
7763 @Alerts("6")
7764 public void effects__CSS_50_to_100() throws Exception {
7765 runTest("effects: CSS 50 to 100");
7766 }
7767
7768
7769
7770
7771
7772 @Test
7773 @Alerts("5")
7774 public void effects__CSS_50_to_show() throws Exception {
7775 runTest("effects: CSS 50 to show");
7776 }
7777
7778
7779
7780
7781
7782 @Test
7783 @Alerts("4")
7784 public void effects__CSS_50_to_hide() throws Exception {
7785 runTest("effects: CSS 50 to hide");
7786 }
7787
7788
7789
7790
7791
7792 @Test
7793 @Alerts("6")
7794 public void effects__JS_50_to_0() throws Exception {
7795 runTest("effects: JS 50 to 0");
7796 }
7797
7798
7799
7800
7801
7802 @Test
7803 @Alerts("6")
7804 public void effects__JS_50_to_50() throws Exception {
7805 runTest("effects: JS 50 to 50");
7806 }
7807
7808
7809
7810
7811
7812 @Test
7813 @Alerts("6")
7814 public void effects__JS_50_to_100() throws Exception {
7815 runTest("effects: JS 50 to 100");
7816 }
7817
7818
7819
7820
7821
7822 @Test
7823 @Alerts("5")
7824 public void effects__JS_50_to_show() throws Exception {
7825 runTest("effects: JS 50 to show");
7826 }
7827
7828
7829
7830
7831
7832 @Test
7833 @Alerts("4")
7834 public void effects__JS_50_to_hide() throws Exception {
7835 runTest("effects: JS 50 to hide");
7836 }
7837
7838
7839
7840
7841
7842 @Test
7843 @Alerts("6")
7844 public void effects__CSS_0_to_0() throws Exception {
7845 runTest("effects: CSS 0 to 0");
7846 }
7847
7848
7849
7850
7851
7852 @Test
7853 @Alerts("6")
7854 public void effects__CSS_0_to_50() throws Exception {
7855 runTest("effects: CSS 0 to 50");
7856 }
7857
7858
7859
7860
7861
7862 @Test
7863 @Alerts("6")
7864 public void effects__CSS_0_to_100() throws Exception {
7865 runTest("effects: CSS 0 to 100");
7866 }
7867
7868
7869
7870
7871
7872 @Test
7873 @Alerts("5")
7874 public void effects__CSS_0_to_show() throws Exception {
7875 runTest("effects: CSS 0 to show");
7876 }
7877
7878
7879
7880
7881
7882 @Test
7883 @Alerts("4")
7884 public void effects__CSS_0_to_hide() throws Exception {
7885 runTest("effects: CSS 0 to hide");
7886 }
7887
7888
7889
7890
7891
7892 @Test
7893 @Alerts("6")
7894 public void effects__JS_0_to_0() throws Exception {
7895 runTest("effects: JS 0 to 0");
7896 }
7897
7898
7899
7900
7901
7902 @Test
7903 @Alerts("6")
7904 public void effects__JS_0_to_50() throws Exception {
7905 runTest("effects: JS 0 to 50");
7906 }
7907
7908
7909
7910
7911
7912 @Test
7913 @Alerts("6")
7914 public void effects__JS_0_to_100() throws Exception {
7915 runTest("effects: JS 0 to 100");
7916 }
7917
7918
7919
7920
7921
7922 @Test
7923 @Alerts("5")
7924 public void effects__JS_0_to_show() throws Exception {
7925 runTest("effects: JS 0 to show");
7926 }
7927
7928
7929
7930
7931
7932 @Test
7933 @Alerts("4")
7934 public void effects__JS_0_to_hide() throws Exception {
7935 runTest("effects: JS 0 to hide");
7936 }
7937
7938
7939
7940
7941
7942 @Test
7943 @Alerts("16")
7944 public void effects__Effects_chaining() throws Exception {
7945 runTest("effects: Effects chaining");
7946 }
7947
7948
7949
7950
7951
7952 @Test
7953 @Alerts("4")
7954 public void effects__jQuery_show__fast___doesn_t_clear_radio_buttons__bug__1095_() throws Exception {
7955 runTest("effects: jQuery.show('fast') doesn't clear radio buttons (bug #1095)");
7956 }
7957
7958
7959
7960
7961
7962 @Test
7963 @Alerts("24")
7964 public void effects__interrupt_toggle() throws Exception {
7965 runTest("effects: interrupt toggle");
7966 }
7967
7968
7969
7970
7971
7972 @Test
7973 @Alerts("5")
7974 public void effects__animate_with_per_property_easing() throws Exception {
7975 runTest("effects: animate with per-property easing");
7976 }
7977
7978
7979
7980
7981
7982 @Test
7983 @Alerts("11")
7984 public void effects__animate_with_CSS_shorthand_properties() throws Exception {
7985 runTest("effects: animate with CSS shorthand properties");
7986 }
7987
7988
7989
7990
7991
7992 @Test
7993 @Alerts("3")
7994 public void effects__hide_hidden_elements__with_animation__bug__7141_() throws Exception {
7995 runTest("effects: hide hidden elements, with animation (bug #7141)");
7996 }
7997
7998
7999
8000
8001
8002 @Test
8003 @Alerts("2")
8004 public void effects__animate_unit_less_properties___4966_() throws Exception {
8005 runTest("effects: animate unit-less properties (#4966)");
8006 }
8007
8008
8009
8010
8011
8012 @Test
8013 @Alerts("6")
8014 public void effects__animate_properties_missing_px_w__opacity_as_last___9074_() throws Exception {
8015 runTest("effects: animate properties missing px w/ opacity as last (#9074)");
8016 }
8017
8018
8019
8020
8021
8022 @Test
8023 @Alerts("1")
8024 public void effects__callbacks_should_fire_in_correct_order___9100_() throws Exception {
8025 runTest("effects: callbacks should fire in correct order (#9100)");
8026 }
8027
8028
8029
8030
8031
8032 @Test
8033 @Alerts("2")
8034 public void effects__callbacks_that_throw_exceptions_will_be_removed___5684_() throws Exception {
8035 runTest("effects: callbacks that throw exceptions will be removed (#5684)");
8036 }
8037
8038
8039
8040
8041
8042 @Test
8043 @Alerts("2")
8044 public void effects__animate_will_scale_margin_properties_individually() throws Exception {
8045 runTest("effects: animate will scale margin properties individually");
8046 }
8047
8048
8049
8050
8051
8052 @Test
8053 @Alerts("1")
8054 public void effects__Do_not_append_px_to__fill_opacity___9548() throws Exception {
8055 runTest("effects: Do not append px to 'fill-opacity' #9548");
8056 }
8057
8058
8059
8060
8061
8062 @Test
8063 @Alerts("12")
8064 @HtmlUnitNYI(CHROME = "8, 4, 12",
8065 EDGE = "8, 4, 12",
8066 FF = "8, 4, 12",
8067 FF_ESR = "8, 4, 12")
8068 public void effects__line_height_animates_correctly___13855_() throws Exception {
8069 runTest("effects: line-height animates correctly (#13855)");
8070 }
8071
8072
8073
8074
8075
8076 @Test
8077 @Alerts("4")
8078 public void effects__jQuery_Animation__object__props__opts__() throws Exception {
8079 runTest("effects: jQuery.Animation( object, props, opts )");
8080 }
8081
8082
8083
8084
8085
8086 @Test
8087 @Alerts("1")
8088 public void effects__Animate_Option__step__function__percent__tween__() throws Exception {
8089 runTest("effects: Animate Option: step: function( percent, tween )");
8090 }
8091
8092
8093
8094
8095
8096 @Test
8097 @Alerts("2")
8098 public void effects__Animate_callbacks_have_correct_context() throws Exception {
8099 runTest("effects: Animate callbacks have correct context");
8100 }
8101
8102
8103
8104
8105
8106 @Test
8107 @Alerts("2")
8108 public void effects__User_supplied_callback_called_after_show_when_fx_off___8892_() throws Exception {
8109 runTest("effects: User supplied callback called after show when fx off (#8892)");
8110 }
8111
8112
8113
8114
8115
8116 @Test
8117 @Alerts("18")
8118 public void effects__animate_should_set_display_for_disconnected_nodes() throws Exception {
8119 runTest("effects: animate should set display for disconnected nodes");
8120 }
8121
8122
8123
8124
8125
8126 @Test
8127 @Alerts("1")
8128 public void effects__Animation_callback_should_not_show_animated_element_as__animated___7157_() throws Exception {
8129 runTest("effects: Animation callback should not show animated element as :animated (#7157)");
8130 }
8131
8132
8133
8134
8135
8136 @Test
8137 @Alerts("1")
8138 public void effects__Initial_step_callback_should_show_element_as__animated___14623_() throws Exception {
8139 runTest("effects: Initial step callback should show element as :animated (#14623)");
8140 }
8141
8142
8143
8144
8145
8146 @Test
8147 @Alerts("3")
8148 public void effects__hide_called_on_element_within_hidden_parent_should_set_display_to_none___10045_() throws Exception {
8149 runTest("effects: hide called on element within hidden parent should set display to none (#10045)");
8150 }
8151
8152
8153
8154
8155
8156 @Test
8157 @Alerts("5")
8158 public void effects__hide__fadeOut_and_slideUp_called_on_element_width_height_and_width___0_should_set_display_to_none() throws Exception {
8159 runTest("effects: hide, fadeOut and slideUp called on element width height and width = 0 should set display to none");
8160 }
8161
8162
8163
8164
8165
8166 @Test
8167 @Alerts("2")
8168 public void effects__hide_should_not_leave_hidden_inline_elements_visible___14848_() throws Exception {
8169 runTest("effects: hide should not leave hidden inline elements visible (#14848)");
8170 }
8171
8172
8173
8174
8175
8176 @Test
8177 @Alerts("10")
8178 public void effects__Handle_queue_false_promises() throws Exception {
8179 runTest("effects: Handle queue:false promises");
8180 }
8181
8182
8183
8184
8185
8186 @Test
8187 @Alerts("4")
8188 public void effects__multiple_unqueued_and_promise() throws Exception {
8189 runTest("effects: multiple unqueued and promise");
8190 }
8191
8192
8193
8194
8195
8196 @Test
8197 @Alerts("1")
8198 @HtmlUnitNYI(CHROME = "1, 0, 1",
8199 EDGE = "1, 0, 1",
8200 FF = "1, 0, 1",
8201 FF_ESR = "1, 0, 1")
8202 public void effects__animate_does_not_change_start_value_for_non_px_animation___7109_() throws Exception {
8203 runTest("effects: animate does not change start value for non-px animation (#7109)");
8204 }
8205
8206
8207
8208
8209
8210 @Test
8211 @Alerts("2")
8212 public void effects__non_px_animation_handles_non_numeric_start___11971_() throws Exception {
8213 runTest("effects: non-px animation handles non-numeric start (#11971)");
8214 }
8215
8216
8217
8218
8219
8220 @Test
8221 @Alerts("16")
8222 public void effects__Animation_callbacks___11797_() throws Exception {
8223 runTest("effects: Animation callbacks (#11797)");
8224 }
8225
8226
8227
8228
8229
8230 @Test
8231 @Alerts("8")
8232 public void effects__Animate_properly_sets_overflow_hidden_when_animating_width_height___12117_() throws Exception {
8233 runTest("effects: Animate properly sets overflow hidden when animating width/height (#12117)");
8234 }
8235
8236
8237
8238
8239
8240 @Test
8241 @Alerts("3")
8242 public void effects__Each_tick_of_the_timer_loop_uses_a_fresh_time___12837_() throws Exception {
8243 runTest("effects: Each tick of the timer loop uses a fresh time (#12837)");
8244 }
8245
8246
8247
8248
8249
8250 @Test
8251 @Alerts("1")
8252 public void effects__Animations_with_0_duration_don_t_ease___12273_() throws Exception {
8253 runTest("effects: Animations with 0 duration don't ease (#12273)");
8254 }
8255
8256
8257
8258
8259
8260 @Test
8261 @Alerts("4")
8262 public void effects__toggle_state_tests__toggle___8685_() throws Exception {
8263 runTest("effects: toggle state tests: toggle (#8685)");
8264 }
8265
8266
8267
8268
8269
8270 @Test
8271 @Alerts("4")
8272 public void effects__toggle_state_tests__slideToggle___8685_() throws Exception {
8273 runTest("effects: toggle state tests: slideToggle (#8685)");
8274 }
8275
8276
8277
8278
8279
8280 @Test
8281 @Alerts("4")
8282 public void effects__toggle_state_tests__fadeToggle___8685_() throws Exception {
8283 runTest("effects: toggle state tests: fadeToggle (#8685)");
8284 }
8285
8286
8287
8288
8289
8290 @Test
8291 @Alerts("3")
8292 public void effects__jQuery_fx_start___jQuery_fx_stop_hook_points() throws Exception {
8293 runTest("effects: jQuery.fx.start & jQuery.fx.stop hook points");
8294 }
8295
8296
8297
8298
8299
8300 @Test
8301 @Alerts("11")
8302 public void effects___finish___completes_all_queued_animations() throws Exception {
8303 runTest("effects: .finish() completes all queued animations");
8304 }
8305
8306
8307
8308
8309
8310 @Test
8311 @Alerts("10")
8312 public void effects___finish__false_____unqueued_animations() throws Exception {
8313 runTest("effects: .finish( false ) - unqueued animations");
8314 }
8315
8316
8317
8318
8319
8320 @Test
8321 @Alerts("11")
8322 public void effects___finish___custom______custom_queue_animations() throws Exception {
8323 runTest("effects: .finish( \"custom\" ) - custom queue animations");
8324 }
8325
8326
8327
8328
8329
8330 @Test
8331 @Alerts("6")
8332 public void effects___finish___calls_finish_of_custom_queue_functions() throws Exception {
8333 runTest("effects: .finish() calls finish of custom queue functions");
8334 }
8335
8336
8337
8338
8339
8340 @Test
8341 @Alerts("3")
8342 public void effects___finish___is_applied_correctly_when_multiple_elements_were_animated___13937_() throws Exception {
8343 runTest("effects: .finish() is applied correctly when multiple elements were animated (#13937)");
8344 }
8345
8346
8347
8348
8349
8350 @Test
8351 @Alerts("2")
8352 public void effects__slideDown___after_stop_____13483_() throws Exception {
8353 runTest("effects: slideDown() after stop() (#13483)");
8354 }
8355
8356
8357
8358
8359
8360 @Test
8361 @Alerts("2")
8362 public void effects__Respect_display_value_on_inline_elements___14824_() throws Exception {
8363 runTest("effects: Respect display value on inline elements (#14824)");
8364 }
8365
8366
8367
8368
8369
8370 @Test
8371 @Alerts("2")
8372 public void offset__empty_set() throws Exception {
8373 runTest("offset: empty set");
8374 }
8375
8376
8377
8378
8379
8380 @Test
8381 @Alerts("2")
8382 public void offset__object_without_getBoundingClientRect() throws Exception {
8383 runTest("offset: object without getBoundingClientRect");
8384 }
8385
8386
8387
8388
8389
8390 @Test
8391 @Alerts("2")
8392 public void offset__disconnected_element() throws Exception {
8393 runTest("offset: disconnected element");
8394 }
8395
8396
8397
8398
8399
8400 @Test
8401 @Alerts("178")
8402 @HtmlUnitNYI(CHROME = "4",
8403 EDGE = "4",
8404 FF = "4",
8405 FF_ESR = "4")
8406 public void offset__absolute() throws Exception {
8407 runTest("offset: absolute");
8408 }
8409
8410
8411
8412
8413
8414 @Test
8415 @Alerts("60")
8416 @HtmlUnitNYI(CHROME = "4, 56, 60",
8417 EDGE = "4, 56, 60",
8418 FF = "4, 56, 60",
8419 FF_ESR = "4, 56, 60")
8420 public void offset__relative() throws Exception {
8421 runTest("offset: relative");
8422 }
8423
8424
8425
8426
8427
8428 @Test
8429 @Alerts("80")
8430 public void offset__static() throws Exception {
8431 runTest("offset: static");
8432 }
8433
8434
8435
8436
8437
8438 @Test
8439 @Alerts("34")
8440 public void offset__fixed() throws Exception {
8441 runTest("offset: fixed");
8442 }
8443
8444
8445
8446
8447
8448 @Test
8449 @Alerts("4")
8450 @HtmlUnitNYI(CHROME = "2, 2, 4",
8451 EDGE = "2, 2, 4",
8452 FF = "2, 2, 4",
8453 FF_ESR = "2, 2, 4")
8454 public void offset__table() throws Exception {
8455 runTest("offset: table");
8456 }
8457
8458
8459
8460
8461
8462 @Test
8463 @Alerts(CHROME = "6, 18, 24",
8464 EDGE = "6, 18, 24",
8465 FF = "2, 22, 24",
8466 FF_ESR = "2, 22, 24")
8467 @HtmlUnitNYI(CHROME = "3, 21, 24",
8468 EDGE = "3, 21, 24",
8469 FF = "3, 21, 24",
8470 FF_ESR = "3, 21, 24")
8471 public void offset__scroll() throws Exception {
8472 runTest("offset: scroll");
8473 }
8474
8475
8476
8477
8478
8479 @Test
8480 @Alerts("4")
8481 @HtmlUnitNYI(CHROME = "4, 0, 4",
8482 EDGE = "4, 0, 4",
8483 FF = "4, 0, 4",
8484 FF_ESR = "4, 0, 4")
8485 public void offset__body() throws Exception {
8486 runTest("offset: body");
8487 }
8488
8489
8490
8491
8492
8493 @Test
8494 @Alerts("3")
8495 public void offset__chaining() throws Exception {
8496 runTest("offset: chaining");
8497 }
8498
8499
8500
8501
8502
8503 @Test
8504 @Alerts("13")
8505 public void offset__offsetParent() throws Exception {
8506 runTest("offset: offsetParent");
8507 }
8508
8509
8510
8511
8512
8513 @Test
8514 @Alerts("2")
8515 public void offset__fractions__see__7730_and__7885_() throws Exception {
8516 runTest("offset: fractions (see #7730 and #7885)");
8517 }
8518
8519
8520
8521
8522
8523 @Test
8524 @Alerts("2")
8525 @HtmlUnitNYI(CHROME = "2, 0, 2",
8526 EDGE = "2, 0, 2",
8527 FF = "2, 0, 2",
8528 FF_ESR = "2, 0, 2")
8529 public void offset__iframe_scrollTop_Left__see_gh_1945_() throws Exception {
8530 runTest("offset: iframe scrollTop/Left (see gh-1945)");
8531 }
8532
8533
8534
8535
8536
8537 @Test
8538 @Alerts("9")
8539 public void dimensions__width__() throws Exception {
8540 runTest("dimensions: width()");
8541 }
8542
8543
8544
8545
8546
8547 @Test
8548 @Alerts("9")
8549 public void dimensions__width_Function_() throws Exception {
8550 runTest("dimensions: width(Function)");
8551 }
8552
8553
8554
8555
8556
8557 @Test
8558 @Alerts("2")
8559 public void dimensions__width_Function_args__() throws Exception {
8560 runTest("dimensions: width(Function(args))");
8561 }
8562
8563
8564
8565
8566
8567 @Test
8568 @Alerts("9")
8569 public void dimensions__height__() throws Exception {
8570 runTest("dimensions: height()");
8571 }
8572
8573
8574
8575
8576
8577 @Test
8578 @Alerts("9")
8579 public void dimensions__height_Function_() throws Exception {
8580 runTest("dimensions: height(Function)");
8581 }
8582
8583
8584
8585
8586
8587 @Test
8588 @Alerts("2")
8589 public void dimensions__height_Function_args__() throws Exception {
8590 runTest("dimensions: height(Function(args))");
8591 }
8592
8593
8594
8595
8596
8597 @Test
8598 @Alerts("6")
8599 public void dimensions__innerWidth__() throws Exception {
8600 runTest("dimensions: innerWidth()");
8601 }
8602
8603
8604
8605
8606
8607 @Test
8608 @Alerts("6")
8609 public void dimensions__innerHeight__() throws Exception {
8610 runTest("dimensions: innerHeight()");
8611 }
8612
8613
8614
8615
8616
8617 @Test
8618 @Alerts("11")
8619 public void dimensions__outerWidth__() throws Exception {
8620 runTest("dimensions: outerWidth()");
8621 }
8622
8623
8624
8625
8626
8627 @Test
8628 @Alerts("16")
8629 public void dimensions__child_of_a_hidden_elem__or_unconnected_node__has_accurate_inner_outer_Width___Height___see__9441__9300() throws Exception {
8630 runTest("dimensions: child of a hidden elem (or unconnected node) has accurate inner/outer/Width()/Height() see #9441 #9300");
8631 }
8632
8633
8634
8635
8636
8637 @Test
8638 @Alerts("1")
8639 public void dimensions__getting_dimensions_shouldn_t_modify_runtimeStyle_see__9233() throws Exception {
8640 runTest("dimensions: getting dimensions shouldn't modify runtimeStyle see #9233");
8641 }
8642
8643
8644
8645
8646
8647 @Test
8648 @Alerts("2")
8649 public void dimensions__table_dimensions() throws Exception {
8650 runTest("dimensions: table dimensions");
8651 }
8652
8653
8654
8655
8656
8657 @Test
8658 @Alerts("16")
8659 public void dimensions__box_sizing_border_box_child_of_a_hidden_elem__or_unconnected_node__has_accurate_inner_outer_Width___Height___see__10413() throws Exception {
8660 runTest("dimensions: box-sizing:border-box child of a hidden elem (or unconnected node) has accurate inner/outer/Width()/Height() see #10413");
8661 }
8662
8663
8664
8665
8666
8667 @Test
8668 @Alerts("11")
8669 public void dimensions__outerHeight__() throws Exception {
8670 runTest("dimensions: outerHeight()");
8671 }
8672
8673
8674
8675
8676
8677 @Test
8678 @Alerts("4")
8679 public void dimensions__passing_undefined_is_a_setter__5571() throws Exception {
8680 runTest("dimensions: passing undefined is a setter #5571");
8681 }
8682
8683
8684
8685
8686
8687 @Test
8688 @Alerts("8")
8689 public void dimensions__getters_on_non_elements_should_return_null() throws Exception {
8690 runTest("dimensions: getters on non elements should return null");
8691 }
8692
8693
8694
8695
8696
8697 @Test
8698 @Alerts("20")
8699 public void dimensions__setters_with_and_without_box_sizing_border_box() throws Exception {
8700 runTest("dimensions: setters with and without box-sizing:border-box");
8701 }
8702
8703
8704
8705
8706
8707 @Test
8708 @Alerts("1")
8709 public void dimensions__window_vs__small_document() throws Exception {
8710 runTest("dimensions: window vs. small document");
8711 }
8712
8713
8714
8715
8716
8717 @Test
8718 @Alerts("2")
8719 @HtmlUnitNYI(CHROME = "2, 0, 2",
8720 EDGE = "2, 0, 2",
8721 FF = "2, 0, 2",
8722 FF_ESR = "2, 0, 2")
8723 public void dimensions__window_vs__large_document() throws Exception {
8724 runTest("dimensions: window vs. large document");
8725 }
8726
8727
8728
8729
8730
8731 @Test
8732 @Alerts("1")
8733 public void dimensions__allow_modification_of_coordinates_argument__gh_1848_() throws Exception {
8734 runTest("dimensions: allow modification of coordinates argument (gh-1848)");
8735 }
8736
8737
8738
8739
8740
8741 @Test
8742 @Alerts("1")
8743 @HtmlUnitNYI(CHROME = "Test #6719e036 runs too long (longer than 60s)",
8744 EDGE = "Test #6719e036 runs too long (longer than 60s)",
8745 FF = "Test #6719e036 runs too long (longer than 60s)",
8746 FF_ESR = "Test #6719e036 runs too long (longer than 60s)")
8747 public void dimensions__outside_view_position__gh_2836_() throws Exception {
8748 runTest("dimensions: outside view position (gh-2836)");
8749 }
8750 }