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