OLD | NEW |
(Empty) | |
| 1 // Messages from compiling js_test.dart |
| 2 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 97, col 7) |
| 3 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 269, col 7) |
| 4 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 389, col 3) |
| 5 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 304, col 7) |
| 6 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 367, col 5) |
| 7 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 562, col 7) |
| 8 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 531, col 7) |
| 9 severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart,
line 141, col 39) |
| 10 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 632, col 7) |
| 11 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 598, col 9) |
| 12 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 57, col 5) |
| 13 severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart,
line 675, col 24) |
| 14 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 370, col 7) |
| 15 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 234, col 7) |
| 16 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 612, col 7) |
| 17 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 512, col 5) |
| 18 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 198, col 5) |
| 19 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 693, col 7) |
| 20 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 41, col 5) |
| 21 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 516, col 7) |
| 22 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 136, col 7) |
| 23 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 669, col 9) |
| 24 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 321, col 5) |
| 25 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 363, col 53) |
| 26 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 469, col 7) |
| 27 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 75, col 5) |
| 28 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 288, col 7) |
| 29 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 466, col 5) |
| 30 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 167, col 7) |
| 31 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 270, col 7) |
| 32 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 254, col 7) |
| 33 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 563, col 7) |
| 34 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 119, col 7) |
| 35 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 116, col 5) |
| 36 severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart,
line 187, col 17) |
| 37 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 618, col 9) |
| 38 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 402, col 13) |
| 39 severe: [AnalyzerMessage] The name 'Blob' is not defined and cannot be used in a
n 'is' expression (test/codegen/js_test.dart, line 618, col 24) |
| 40 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 685, col 9) |
| 41 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 499, col 7) |
| 42 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 355, col 40) |
| 43 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 682, col 7) |
| 44 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 287, col 7) |
| 45 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 581, col 7) |
| 46 severe: [AnalyzerMessage] Undefined class 'CanvasElement' (test/codegen/js_test.
dart, line 694, col 9) |
| 47 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 347, col 48) |
| 48 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 220, col 7) |
| 49 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 597, col 9) |
| 50 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 362, col 54) |
| 51 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 639, col 5) |
| 52 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 90, col 5) |
| 53 severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 280, col 17) |
| 54 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 251, col 7) |
| 55 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 560, col 7) |
| 56 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 162, col 5) |
| 57 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 401, col 9) |
| 58 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 339, col 7) |
| 59 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 339, col 43) |
| 60 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 665, col 7) |
| 61 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 582, col 9) |
| 62 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 133, col 7) |
| 63 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 214, col 5) |
| 64 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 149, col 5) |
| 65 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 649, col 7) |
| 66 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 435, col 7) |
| 67 severe: [AnalyzerMessage] The name 'Event' is not defined and cannot be used in
an 'is' expression (test/codegen/js_test.dart, line 603, col 39) |
| 68 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 96, col 7) |
| 69 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 634, col 9) |
| 70 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 498, col 7) |
| 71 severe: [AnalyzerMessage] The name 'Window' is not defined and cannot be used in
an 'is' expression (test/codegen/js_test.dart, line 582, col 37) |
| 72 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 200, col 7) |
| 73 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 481, col 9) |
| 74 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 515, col 7) |
| 75 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 399, col 5) |
| 76 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 182, col 7) |
| 77 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 44, col 7) |
| 78 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 557, col 5) |
| 79 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 530, col 7) |
| 80 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 324, col 7) |
| 81 severe: [AnalyzerMessage] The method 'equals' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 52, col 18) |
| 82 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 545, col 7) |
| 83 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 152, col 7) |
| 84 severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 592, col 31) |
| 85 severe: [AnalyzerMessage] The method 'same' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 225, col 64) |
| 86 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 355, col 7) |
| 87 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 528, col 5) |
| 88 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 418, col 5) |
| 89 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 346, col 47) |
| 90 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 290, col 38) |
| 91 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 342, col 5) |
| 92 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 613, col 9) |
| 93 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 544, col 7) |
| 94 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 39, col 3) |
| 95 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 250, col 7) |
| 96 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 180, col 7) |
| 97 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 92, col 7) |
| 98 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 281, col 7) |
| 99 severe: [AnalyzerMessage] Undefined name 'isNoSuchMethodError' (test/codegen/js_
test.dart, line 113, col 51) |
| 100 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 266, col 7) |
| 101 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 419, col 7) |
| 102 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 391, col 5) |
| 103 severe: [AnalyzerMessage] The name 'DivElement' is not defined and cannot be use
d in an 'is' expression (test/codegen/js_test.dart, line 624, col 24) |
| 104 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 299, col 7) |
| 105 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 338, col 42) |
| 106 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 299, col 34) |
| 107 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 585, col 7) |
| 108 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 338, col 7) |
| 109 severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart,
line 586, col 22) |
| 110 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 230, col 50) |
| 111 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 479, col 7) |
| 112 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 496, col 7) |
| 113 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 230, col 7) |
| 114 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 462, col 9) |
| 115 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 352, col 7) |
| 116 severe: [AnalyzerMessage] Undefined name 'isNoSuchMethodError' (test/codegen/js_
test.dart, line 230, col 58) |
| 117 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 384, col 7) |
| 118 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 497, col 7) |
| 119 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 181, col 7) |
| 120 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 448, col 7) |
| 121 severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart,
line 392, col 49) |
| 122 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 652, col 9) |
| 123 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 216, col 7) |
| 124 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 113, col 43) |
| 125 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 132, col 7) |
| 126 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 559, col 7) |
| 127 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 155, col 5) |
| 128 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 358, col 5) |
| 129 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 353, col 7) |
| 130 severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart,
line 658, col 24) |
| 131 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 510, col 3) |
| 132 severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart,
line 587, col 9) |
| 133 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 203, col 5) |
| 134 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 139, col 5) |
| 135 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 185, col 5) |
| 136 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 195, col 7) |
| 137 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 302, col 5) |
| 138 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 609, col 9) |
| 139 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 298, col 7) |
| 140 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 233, col 5) |
| 141 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 495, col 7) |
| 142 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 229, col 7) |
| 143 severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 597, col 28) |
| 144 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 616, col 7) |
| 145 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 285, col 5) |
| 146 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 298, col 35) |
| 147 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 95, col 5) |
| 148 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 279, col 7) |
| 149 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 364, col 7) |
| 150 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 364, col 45) |
| 151 severe: [AnalyzerMessage] Undefined name 'throws' (test/codegen/js_test.dart, li
ne 410, col 58) |
| 152 severe: [AnalyzerMessage] The name 'Window' is not defined and cannot be used in
an 'is' expression (test/codegen/js_test.dart, line 592, col 49) |
| 153 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 289, col 39) |
| 154 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 578, col 9) |
| 155 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 423, col 5) |
| 156 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 91, col 7) |
| 157 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 71, col 7) |
| 158 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 219, col 5) |
| 159 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 280, col 7) |
| 160 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 629, col 9) |
| 161 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 76, col 7) |
| 162 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 113, col 7) |
| 163 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 593, col 9) |
| 164 severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart,
line 172, col 17) |
| 165 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 129, col 7) |
| 166 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 318, col 7) |
| 167 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 337, col 7) |
| 168 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 572, col 3) |
| 169 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 674, col 7) |
| 170 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 146, col 7) |
| 171 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 375, col 5) |
| 172 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 175, col 7) |
| 173 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 52, col 7) |
| 174 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 622, col 7) |
| 175 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 363, col 45) |
| 176 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 261, col 7) |
| 177 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 429, col 7) |
| 178 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 170, col 5) |
| 179 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 274, col 5) |
| 180 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 521, col 5) |
| 181 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 553, col 7) |
| 182 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 363, col 7) |
| 183 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 49, col 5) |
| 184 severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 603, col 21) |
| 185 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 330, col 5) |
| 186 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 378, col 7) |
| 187 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 506, col 11) |
| 188 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 413, col 7) |
| 189 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 191, col 7) |
| 190 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 112, col 7) |
| 191 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 144, col 5) |
| 192 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 355, col 48) |
| 193 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 504, col 5) |
| 194 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 316, col 7) |
| 195 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 297, col 7) |
| 196 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 525, col 7) |
| 197 severe: [AnalyzerMessage] The name 'Event' is not defined and cannot be used in
an 'is' expression (test/codegen/js_test.dart, line 629, col 25) |
| 198 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 554, col 7) |
| 199 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 396, col 7) |
| 200 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 347, col 40) |
| 201 severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart,
line 180, col 17) |
| 202 severe: [AnalyzerMessage] The name 'Document' is not defined and cannot be used
in an 'is' expression (test/codegen/js_test.dart, line 613, col 39) |
| 203 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 592, col 9) |
| 204 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 550, col 5) |
| 205 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 335, col 7) |
| 206 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 460, col 7) |
| 207 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 192, col 7) |
| 208 severe: [AnalyzerMessage] Undefined class 'Blob' (test/codegen/js_test.dart, lin
e 667, col 28) |
| 209 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 111, col 7) |
| 210 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 677, col 9) |
| 211 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 260, col 7) |
| 212 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 472, col 9) |
| 213 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 172, col 7) |
| 214 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 523, col 7) |
| 215 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 439, col 5) |
| 216 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 240, col 7) |
| 217 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 223, col 5) |
| 218 severe: [AnalyzerMessage] The method 'isNot' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 62, col 20) |
| 219 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 100, col 5) |
| 220 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 88, col 3) |
| 221 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 534, col 5) |
| 222 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 276, col 7) |
| 223 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 657, col 7) |
| 224 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 604, col 11) |
| 225 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 537, col 7) |
| 226 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 125, col 7) |
| 227 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 339, col 51) |
| 228 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 394, col 7) |
| 229 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 485, col 5) |
| 230 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 362, col 7) |
| 231 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 641, col 7) |
| 232 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 362, col 46) |
| 233 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 644, col 9) |
| 234 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 538, col 7) |
| 235 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 82, col 9) |
| 236 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 159, col 7) |
| 237 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 574, col 5) |
| 238 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 505, col 7) |
| 239 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 442, col 7) |
| 240 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 123, col 5) |
| 241 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 395, col 7) |
| 242 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 333, col 7) |
| 243 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 245, col 3) |
| 244 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 257, col 5) |
| 245 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 346, col 39) |
| 246 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 624, col 9) |
| 247 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 459, col 7) |
| 248 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 347, col 7) |
| 249 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 212, col 3) |
| 250 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 409, col 5) |
| 251 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 208, col 7) |
| 252 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 238, col 5) |
| 253 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 456, col 5) |
| 254 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 603, col 11) |
| 255 severe: [AnalyzerMessage] Undefined name 'window' (test/codegen/js_test.dart, li
ne 650, col 24) |
| 256 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 228, col 5) |
| 257 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 187, col 7) |
| 258 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 361, col 7) |
| 259 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 445, col 5) |
| 260 severe: [AnalyzerMessage] The method 'same' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 71, col 30) |
| 261 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 476, col 5) |
| 262 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 410, col 7) |
| 263 severe: [AnalyzerMessage] Undefined name 'isNotNull' (test/codegen/js_test.dart,
line 200, col 39) |
| 264 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 63, col 7) |
| 265 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 536, col 7) |
| 266 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 501, col 7) |
| 267 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 698, col 9) |
| 268 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 627, col 7) |
| 269 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 290, col 7) |
| 270 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 345, col 7) |
| 271 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 308, col 7) |
| 272 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 299, col 42) |
| 273 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 102, col 7) |
| 274 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 290, col 30) |
| 275 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 68, col 5) |
| 276 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 338, col 50) |
| 277 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 225, col 7) |
| 278 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 454, col 3) |
| 279 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 408, col 3) |
| 280 severe: [AnalyzerMessage] Undefined class 'CustomEvent' (test/codegen/js_test.da
rt, line 683, col 28) |
| 281 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 206, col 9) |
| 282 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 188, col 7) |
| 283 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 247, col 5) |
| 284 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 264, col 5) |
| 285 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 310, col 7) |
| 286 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 541, col 5) |
| 287 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 660, col 9) |
| 288 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 178, col 5) |
| 289 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 567, col 7) |
| 290 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 80, col 9) |
| 291 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 346, col 7) |
| 292 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 576, col 7) |
| 293 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 432, col 5) |
| 294 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 239, col 7) |
| 295 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 350, col 5) |
| 296 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 381, col 5) |
| 297 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 518, col 7) |
| 298 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 500, col 7) |
| 299 severe: [AnalyzerMessage] The method 'group' is not defined for the class 'Color
' (test/codegen/js_test.dart, line 107, col 3) |
| 300 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 120, col 7) |
| 301 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 289, col 7) |
| 302 severe: [AnalyzerMessage] The name 'ImageData' is not defined and cannot be used
in an 'is' expression (test/codegen/js_test.dart, line 634, col 24) |
| 303 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 619, col 9) |
| 304 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 547, col 7) |
| 305 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 298, col 43) |
| 306 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 306, col 7) |
| 307 severe: [AnalyzerMessage] The method 'throwsA' is not defined for the class 'Col
or' (test/codegen/js_test.dart, line 289, col 31) |
| 308 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 293, col 4) |
| 309 severe: [AnalyzerMessage] Undefined name 'isRangeError' (test/codegen/js_test.da
rt, line 364, col 53) |
| 310 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 109, col 5) |
| 311 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 470, col 7) |
| 312 severe: [AnalyzerMessage] The name 'Node' is not defined and cannot be used in a
n 'is' expression (test/codegen/js_test.dart, line 597, col 46) |
| 313 severe: [AnalyzerMessage] The name 'CanvasRenderingContext2D' is not a type and
cannot be used in an 'as' expression (test/codegen/js_test.dart, line 695, col 4
6) |
| 314 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 141, col 7) |
| 315 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 372, col 7) |
| 316 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 62, col 7) |
| 317 severe: [AnalyzerMessage] The method 'test' is not defined for the class 'Color'
(test/codegen/js_test.dart, line 313, col 6) |
| 318 severe: [AnalyzerMessage] Undefined name 'document' (test/codegen/js_test.dart,
line 694, col 32) |
| 319 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 344, col 7) |
| 320 severe: [AnalyzerMessage] The method 'expect' is not defined for the class 'Colo
r' (test/codegen/js_test.dart, line 327, col 7) |
| 321 severe: [AnalyzerMessage] Target of URI does not exist: 'minitest.dart' (test/co
degen/js_test.dart, line 11, col 8) |
| 322 severe: [AnalyzerMessage] Target of URI does not exist: 'dom.dart' (test/codegen
/js_test.dart, line 10, col 8) |
| 323 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 16, col 43) |
| 324 info: [DynamicCast] _proxy['a'] (dynamic) will need runtime check to cast to typ
e num (test/codegen/js_test.dart, line 20, col 16) |
| 325 info: [DynamicCast] _proxy.callMethod('bar') (dynamic) will need runtime check t
o cast to type num (test/codegen/js_test.dart, line 21, col 16) |
| 326 info: [DynamicInvoke] group('identity', () {test('context instances should be id
entical', () {var c1 = context; var c2 = context; expect(identical(c1, c2), true
);}); test('identical JS functions should have equal proxies', () {var f1 = cont
ext['Object']; var f2 = context['Object']; expect(f1, equals(f2));}); test('test
proxy equality', () {var foo1 = new JsObject(context['Foo'], [1]); var foo2 = n
ew JsObject(context['Foo'], [2]); context['foo1'] = foo1; context['foo2'] = foo2
; expect(foo1, isNot(context['foo2'])); expect(foo2, context['foo2']); context.d
eleteProperty('foo1'); context.deleteProperty('foo2');}); test('retrieve same da
rt Object', () {final obj = new Object(); context['obj'] = obj; expect(context['
obj'], same(obj)); context.deleteProperty('obj');}); group('caching', () {test('
JS->Dart', () {final proto = context['someProto']; expect(proto['role'], 'proto'
); final obj = context['someObject']; expect(obj['role'], 'object');});});}) req
uires dynamic invoke (test/codegen/js_test.dart, line 39, col 3) |
| 327 info: [DynamicInvoke] test('context instances should be identical', () {var c1 =
context; var c2 = context; expect(identical(c1, c2), true);}) requires dynamic
invoke (test/codegen/js_test.dart, line 41, col 5) |
| 328 info: [DynamicInvoke] expect(identical(c1, c2), true) requires dynamic invoke (t
est/codegen/js_test.dart, line 44, col 7) |
| 329 info: [DynamicInvoke] test('identical JS functions should have equal proxies', (
) {var f1 = context['Object']; var f2 = context['Object']; expect(f1, equals(f2)
);}) requires dynamic invoke (test/codegen/js_test.dart, line 49, col 5) |
| 330 info: [DynamicInvoke] expect(f1, equals(f2)) requires dynamic invoke (test/codeg
en/js_test.dart, line 52, col 7) |
| 331 info: [DynamicInvoke] equals(f2) requires dynamic invoke (test/codegen/js_test.d
art, line 52, col 18) |
| 332 info: [DynamicInvoke] test('test proxy equality', () {var foo1 = new JsObject(co
ntext['Foo'], [1]); var foo2 = new JsObject(context['Foo'], [2]); context['foo1'
] = foo1; context['foo2'] = foo2; expect(foo1, isNot(context['foo2'])); expect(f
oo2, context['foo2']); context.deleteProperty('foo1'); context.deleteProperty('f
oo2');}) requires dynamic invoke (test/codegen/js_test.dart, line 57, col 5) |
| 333 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 58, col 31) |
| 334 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 59, col 31) |
| 335 info: [DynamicInvoke] expect(foo1, isNot(context['foo2'])) requires dynamic invo
ke (test/codegen/js_test.dart, line 62, col 7) |
| 336 info: [DynamicInvoke] isNot(context['foo2']) requires dynamic invoke (test/codeg
en/js_test.dart, line 62, col 20) |
| 337 info: [DynamicInvoke] expect(foo2, context['foo2']) requires dynamic invoke (tes
t/codegen/js_test.dart, line 63, col 7) |
| 338 info: [DynamicInvoke] test('retrieve same dart Object', () {final obj = new Obje
ct(); context['obj'] = obj; expect(context['obj'], same(obj)); context.deletePro
perty('obj');}) requires dynamic invoke (test/codegen/js_test.dart, line 68, col
5) |
| 339 info: [DynamicInvoke] expect(context['obj'], same(obj)) requires dynamic invoke
(test/codegen/js_test.dart, line 71, col 7) |
| 340 info: [DynamicInvoke] same(obj) requires dynamic invoke (test/codegen/js_test.da
rt, line 71, col 30) |
| 341 info: [DynamicInvoke] group('caching', () {test('JS->Dart', () {final proto = co
ntext['someProto']; expect(proto['role'], 'proto'); final obj = context['someObj
ect']; expect(obj['role'], 'object');});}) requires dynamic invoke (test/codegen
/js_test.dart, line 75, col 5) |
| 342 info: [DynamicInvoke] test('JS->Dart', () {final proto = context['someProto']; e
xpect(proto['role'], 'proto'); final obj = context['someObject']; expect(obj['ro
le'], 'object');}) requires dynamic invoke (test/codegen/js_test.dart, line 76,
col 7) |
| 343 info: [DynamicInvoke] expect(proto['role'], 'proto') requires dynamic invoke (te
st/codegen/js_test.dart, line 80, col 9) |
| 344 info: [DynamicInvoke] proto['role'] requires dynamic invoke (test/codegen/js_tes
t.dart, line 80, col 16) |
| 345 info: [DynamicInvoke] expect(obj['role'], 'object') requires dynamic invoke (tes
t/codegen/js_test.dart, line 82, col 9) |
| 346 info: [DynamicInvoke] obj['role'] requires dynamic invoke (test/codegen/js_test.
dart, line 82, col 16) |
| 347 info: [DynamicInvoke] group('context', () {test('read global field', () {expect(
context['x'], 42); expect(context['y'], null);}); test('read global field with u
nderscore', () {expect(context['_x'], 123); expect(context['y'], null);}); test(
'write global field', () {context['y'] = 42; expect(context['y'], 42);});}) requ
ires dynamic invoke (test/codegen/js_test.dart, line 88, col 3) |
| 348 info: [DynamicInvoke] test('read global field', () {expect(context['x'], 42); ex
pect(context['y'], null);}) requires dynamic invoke (test/codegen/js_test.dart,
line 90, col 5) |
| 349 info: [DynamicInvoke] expect(context['x'], 42) requires dynamic invoke (test/cod
egen/js_test.dart, line 91, col 7) |
| 350 info: [DynamicInvoke] expect(context['y'], null) requires dynamic invoke (test/c
odegen/js_test.dart, line 92, col 7) |
| 351 info: [DynamicInvoke] test('read global field with underscore', () {expect(conte
xt['_x'], 123); expect(context['y'], null);}) requires dynamic invoke (test/code
gen/js_test.dart, line 95, col 5) |
| 352 info: [DynamicInvoke] expect(context['_x'], 123) requires dynamic invoke (test/c
odegen/js_test.dart, line 96, col 7) |
| 353 info: [DynamicInvoke] expect(context['y'], null) requires dynamic invoke (test/c
odegen/js_test.dart, line 97, col 7) |
| 354 info: [DynamicInvoke] test('write global field', () {context['y'] = 42; expect(c
ontext['y'], 42);}) requires dynamic invoke (test/codegen/js_test.dart, line 100
, col 5) |
| 355 info: [DynamicInvoke] expect(context['y'], 42) requires dynamic invoke (test/cod
egen/js_test.dart, line 102, col 7) |
| 356 info: [DynamicInvoke] group('new JsObject()', () {test('new Foo()', () {var foo
= new JsObject(context['Foo'], [42]); expect(foo['a'], 42); expect(foo.callMetho
d('bar'), 42); expect(() => foo.callMethod('baz'), throwsA(isNoSuchMethodError))
;}); test('new container.Foo()', () {final Foo2 = context['container']['Foo']; f
inal foo = new JsObject(Foo2, [42]); expect(foo['a'], 42); expect(Foo2['b'], 38)
;}); test('new Array()', () {var a = new JsObject(context['Array']); expect(a, (
a) => a is JsArray); expect(a['length'], 0); a.callMethod('push', ["value 1"]);
expect(a['length'], 1); expect(a[0], "value 1"); a.callMethod('pop'); expect(a['
length'], 0);}); test('new Date()', () {final a = new JsObject(context['Date']);
expect(a.callMethod('getTime'), isNotNull);}); test('new Date(12345678)', () {f
inal a = new JsObject(context['Date'], [12345678]); expect(a.callMethod('getTime
'), 12345678);}); test('new Date("December 17, 1995 03:24:00 GMT")', () {final a
= new JsObject(context['Date'], ["December 17, 1995 03:24:00 GMT"]); expect(a.c
allMethod('getTime'), 819170640000);}); test('new Date(1995,11,17)', () {final a
= new JsObject(context['Date'], [1995, 11, 17]); final b = new DateTime(1995, 1
2, 17); expect(a.callMethod('getTime'), b.millisecondsSinceEpoch);}); test('new
Date(1995,11,17,3,24,0)', () {final a = new JsObject(context['Date'], [1995, 11,
17, 3, 24, 0]); final b = new DateTime(1995, 12, 17, 3, 24, 0); expect(a.callMe
thod('getTime'), b.millisecondsSinceEpoch);}); test('new Object()', () {final a
= new JsObject(context['Object']); expect(a, isNotNull); a['attr'] = "value"; ex
pect(a['attr'], "value");}); test(r'new RegExp("^\w+$")', () {final a = new JsOb
ject(context['RegExp'], [r'^\w+$']); expect(a, isNotNull); expect(a.callMethod('
test', ['true']), true); expect(a.callMethod('test', [' false']), false);}); tes
t('js instantiation via map notation : new Array()', () {final a = new JsObject(
context['Array']); expect(a, isNotNull); expect(a['length'], 0); a.callMethod('p
ush', ["value 1"]); expect(a['length'], 1); expect(a[0], "value 1"); a.callMetho
d('pop'); expect(a['length'], 0);}); test('js instantiation via map notation : n
ew Date()', () {final a = new JsObject(context['Date']); expect(a.callMethod('ge
tTime'), isNotNull);}); test('>10 parameters', () {final o = new JsObject(contex
t['Baz'], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]); for (var i = 1; i <= 11; i++) {e
xpect(o["f$i"], i);} expect(o['constructor'], context['Baz']);});}) requires dyn
amic invoke (test/codegen/js_test.dart, line 107, col 3) |
| 357 info: [DynamicInvoke] test('new Foo()', () {var foo = new JsObject(context['Foo'
], [42]); expect(foo['a'], 42); expect(foo.callMethod('bar'), 42); expect(() =>
foo.callMethod('baz'), throwsA(isNoSuchMethodError));}) requires dynamic invoke
(test/codegen/js_test.dart, line 109, col 5) |
| 358 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 110, col 30) |
| 359 info: [DynamicInvoke] expect(foo['a'], 42) requires dynamic invoke (test/codegen
/js_test.dart, line 111, col 7) |
| 360 info: [DynamicInvoke] expect(foo.callMethod('bar'), 42) requires dynamic invoke
(test/codegen/js_test.dart, line 112, col 7) |
| 361 info: [DynamicInvoke] expect(() => foo.callMethod('baz'), throwsA(isNoSuchMethod
Error)) requires dynamic invoke (test/codegen/js_test.dart, line 113, col 7) |
| 362 info: [DynamicInvoke] throwsA(isNoSuchMethodError) requires dynamic invoke (test
/codegen/js_test.dart, line 113, col 43) |
| 363 info: [DynamicInvoke] test('new container.Foo()', () {final Foo2 = context['cont
ainer']['Foo']; final foo = new JsObject(Foo2, [42]); expect(foo['a'], 42); expe
ct(Foo2['b'], 38);}) requires dynamic invoke (test/codegen/js_test.dart, line 11
6, col 5) |
| 364 info: [DynamicInvoke] context['container']['Foo'] requires dynamic invoke (test/
codegen/js_test.dart, line 117, col 20) |
| 365 info: [DynamicCast] Foo2 (dynamic) will need runtime check to cast to type JsFun
ction (test/codegen/js_test.dart, line 118, col 32) |
| 366 info: [DynamicInvoke] expect(foo['a'], 42) requires dynamic invoke (test/codegen
/js_test.dart, line 119, col 7) |
| 367 info: [DynamicInvoke] expect(Foo2['b'], 38) requires dynamic invoke (test/codege
n/js_test.dart, line 120, col 7) |
| 368 info: [DynamicInvoke] Foo2['b'] requires dynamic invoke (test/codegen/js_test.da
rt, line 120, col 14) |
| 369 info: [DynamicInvoke] test('new Array()', () {var a = new JsObject(context['Arra
y']); expect(a, (a) => a is JsArray); expect(a['length'], 0); a.callMethod('push
', ["value 1"]); expect(a['length'], 1); expect(a[0], "value 1"); a.callMethod('
pop'); expect(a['length'], 0);}) requires dynamic invoke (test/codegen/js_test.d
art, line 123, col 5) |
| 370 info: [DynamicCast] context['Array'] (dynamic) will need runtime check to cast t
o type JsFunction (test/codegen/js_test.dart, line 124, col 28) |
| 371 info: [DynamicInvoke] expect(a, (a) => a is JsArray) requires dynamic invoke (te
st/codegen/js_test.dart, line 125, col 7) |
| 372 info: [DynamicInvoke] expect(a['length'], 0) requires dynamic invoke (test/codeg
en/js_test.dart, line 129, col 7) |
| 373 info: [DynamicInvoke] expect(a['length'], 1) requires dynamic invoke (test/codeg
en/js_test.dart, line 132, col 7) |
| 374 info: [DynamicInvoke] expect(a[0], "value 1") requires dynamic invoke (test/code
gen/js_test.dart, line 133, col 7) |
| 375 info: [DynamicInvoke] expect(a['length'], 0) requires dynamic invoke (test/codeg
en/js_test.dart, line 136, col 7) |
| 376 info: [DynamicInvoke] test('new Date()', () {final a = new JsObject(context['Dat
e']); expect(a.callMethod('getTime'), isNotNull);}) requires dynamic invoke (tes
t/codegen/js_test.dart, line 139, col 5) |
| 377 info: [DynamicCast] context['Date'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 140, col 30) |
| 378 info: [DynamicInvoke] expect(a.callMethod('getTime'), isNotNull) requires dynami
c invoke (test/codegen/js_test.dart, line 141, col 7) |
| 379 info: [DynamicInvoke] test('new Date(12345678)', () {final a = new JsObject(cont
ext['Date'], [12345678]); expect(a.callMethod('getTime'), 12345678);}) requires
dynamic invoke (test/codegen/js_test.dart, line 144, col 5) |
| 380 info: [DynamicCast] context['Date'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 145, col 30) |
| 381 info: [DynamicInvoke] expect(a.callMethod('getTime'), 12345678) requires dynamic
invoke (test/codegen/js_test.dart, line 146, col 7) |
| 382 info: [DynamicInvoke] test('new Date("December 17, 1995 03:24:00 GMT")', () {fin
al a = new JsObject(context['Date'], ["December 17, 1995 03:24:00 GMT"]); expect
(a.callMethod('getTime'), 819170640000);}) requires dynamic invoke (test/codegen
/js_test.dart, line 149, col 5) |
| 383 info: [DynamicCast] context['Date'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 150, col 30) |
| 384 info: [DynamicInvoke] expect(a.callMethod('getTime'), 819170640000) requires dyn
amic invoke (test/codegen/js_test.dart, line 152, col 7) |
| 385 info: [DynamicInvoke] test('new Date(1995,11,17)', () {final a = new JsObject(co
ntext['Date'], [1995, 11, 17]); final b = new DateTime(1995, 12, 17); expect(a.c
allMethod('getTime'), b.millisecondsSinceEpoch);}) requires dynamic invoke (test
/codegen/js_test.dart, line 155, col 5) |
| 386 info: [DynamicCast] context['Date'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 157, col 30) |
| 387 info: [DynamicInvoke] expect(a.callMethod('getTime'), b.millisecondsSinceEpoch)
requires dynamic invoke (test/codegen/js_test.dart, line 159, col 7) |
| 388 info: [DynamicInvoke] test('new Date(1995,11,17,3,24,0)', () {final a = new JsOb
ject(context['Date'], [1995, 11, 17, 3, 24, 0]); final b = new DateTime(1995, 12
, 17, 3, 24, 0); expect(a.callMethod('getTime'), b.millisecondsSinceEpoch);}) re
quires dynamic invoke (test/codegen/js_test.dart, line 162, col 5) |
| 389 info: [DynamicCast] context['Date'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 164, col 30) |
| 390 info: [DynamicInvoke] expect(a.callMethod('getTime'), b.millisecondsSinceEpoch)
requires dynamic invoke (test/codegen/js_test.dart, line 167, col 7) |
| 391 info: [DynamicInvoke] test('new Object()', () {final a = new JsObject(context['O
bject']); expect(a, isNotNull); a['attr'] = "value"; expect(a['attr'], "value");
}) requires dynamic invoke (test/codegen/js_test.dart, line 170, col 5) |
| 392 info: [DynamicCast] context['Object'] (dynamic) will need runtime check to cast
to type JsFunction (test/codegen/js_test.dart, line 171, col 30) |
| 393 info: [DynamicInvoke] expect(a, isNotNull) requires dynamic invoke (test/codegen
/js_test.dart, line 172, col 7) |
| 394 info: [DynamicInvoke] expect(a['attr'], "value") requires dynamic invoke (test/c
odegen/js_test.dart, line 175, col 7) |
| 395 info: [DynamicInvoke] test(r'new RegExp("^\w+$")', () {final a = new JsObject(co
ntext['RegExp'], [r'^\w+$']); expect(a, isNotNull); expect(a.callMethod('test',
['true']), true); expect(a.callMethod('test', [' false']), false);}) requires dy
namic invoke (test/codegen/js_test.dart, line 178, col 5) |
| 396 info: [DynamicCast] context['RegExp'] (dynamic) will need runtime check to cast
to type JsFunction (test/codegen/js_test.dart, line 179, col 30) |
| 397 info: [DynamicInvoke] expect(a, isNotNull) requires dynamic invoke (test/codegen
/js_test.dart, line 180, col 7) |
| 398 info: [DynamicInvoke] expect(a.callMethod('test', ['true']), true) requires dyna
mic invoke (test/codegen/js_test.dart, line 181, col 7) |
| 399 info: [DynamicInvoke] expect(a.callMethod('test', [' false']), false) requires d
ynamic invoke (test/codegen/js_test.dart, line 182, col 7) |
| 400 info: [DynamicInvoke] test('js instantiation via map notation : new Array()', ()
{final a = new JsObject(context['Array']); expect(a, isNotNull); expect(a['leng
th'], 0); a.callMethod('push', ["value 1"]); expect(a['length'], 1); expect(a[0]
, "value 1"); a.callMethod('pop'); expect(a['length'], 0);}) requires dynamic in
voke (test/codegen/js_test.dart, line 185, col 5) |
| 401 info: [DynamicCast] context['Array'] (dynamic) will need runtime check to cast t
o type JsFunction (test/codegen/js_test.dart, line 186, col 30) |
| 402 info: [DynamicInvoke] expect(a, isNotNull) requires dynamic invoke (test/codegen
/js_test.dart, line 187, col 7) |
| 403 info: [DynamicInvoke] expect(a['length'], 0) requires dynamic invoke (test/codeg
en/js_test.dart, line 188, col 7) |
| 404 info: [DynamicInvoke] expect(a['length'], 1) requires dynamic invoke (test/codeg
en/js_test.dart, line 191, col 7) |
| 405 info: [DynamicInvoke] expect(a[0], "value 1") requires dynamic invoke (test/code
gen/js_test.dart, line 192, col 7) |
| 406 info: [DynamicInvoke] expect(a['length'], 0) requires dynamic invoke (test/codeg
en/js_test.dart, line 195, col 7) |
| 407 info: [DynamicInvoke] test('js instantiation via map notation : new Date()', ()
{final a = new JsObject(context['Date']); expect(a.callMethod('getTime'), isNotN
ull);}) requires dynamic invoke (test/codegen/js_test.dart, line 198, col 5) |
| 408 info: [DynamicCast] context['Date'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 199, col 30) |
| 409 info: [DynamicInvoke] expect(a.callMethod('getTime'), isNotNull) requires dynami
c invoke (test/codegen/js_test.dart, line 200, col 7) |
| 410 info: [DynamicInvoke] test('>10 parameters', () {final o = new JsObject(context[
'Baz'], [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]); for (var i = 1; i <= 11; i++) {exp
ect(o["f$i"], i);} expect(o['constructor'], context['Baz']);}) requires dynamic
invoke (test/codegen/js_test.dart, line 203, col 5) |
| 411 info: [DynamicCast] context['Baz'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 204, col 30) |
| 412 info: [DynamicInvoke] expect(o["f$i"], i) requires dynamic invoke (test/codegen/
js_test.dart, line 206, col 9) |
| 413 info: [DynamicInvoke] expect(o['constructor'], context['Baz']) requires dynamic
invoke (test/codegen/js_test.dart, line 208, col 7) |
| 414 info: [DynamicInvoke] group('JsFunction and callMethod', () {test('new JsObject
can return a JsFunction', () {var f = new JsObject(context['Function']); expect(
f, (a) => a is JsFunction);}); test('JsFunction.apply on a function defined in J
S', () {expect(context['razzle'].apply([]), 42);}); test('JsFunction.apply on a
function that uses "this"', () {var object = new Object(); expect(context['retur
nThis'].apply([], thisArg: object), same(object));}); test('JsObject.callMethod
on a function defined in JS', () {expect(context.callMethod('razzle'), 42); expe
ct(() => context.callMethod('dazzle'), throwsA(isNoSuchMethodError));}); test('c
allMethod with many arguments', () {expect(context.callMethod('varArgs', [1, 2,
3, 4, 5, 6, 7, 8, 9, 10]), 55);}); test('access a property of a function', () {e
xpect(context.callMethod('Bar'), "ret_value"); expect(context['Bar']['foo'], "pr
operty_value");});}) requires dynamic invoke (test/codegen/js_test.dart, line 21
2, col 3) |
| 415 info: [DynamicInvoke] test('new JsObject can return a JsFunction', () {var f = n
ew JsObject(context['Function']); expect(f, (a) => a is JsFunction);}) requires
dynamic invoke (test/codegen/js_test.dart, line 214, col 5) |
| 416 info: [DynamicCast] context['Function'] (dynamic) will need runtime check to cas
t to type JsFunction (test/codegen/js_test.dart, line 215, col 28) |
| 417 info: [DynamicInvoke] expect(f, (a) => a is JsFunction) requires dynamic invoke
(test/codegen/js_test.dart, line 216, col 7) |
| 418 info: [DynamicInvoke] test('JsFunction.apply on a function defined in JS', () {e
xpect(context['razzle'].apply([]), 42);}) requires dynamic invoke (test/codegen/
js_test.dart, line 219, col 5) |
| 419 info: [DynamicInvoke] expect(context['razzle'].apply([]), 42) requires dynamic i
nvoke (test/codegen/js_test.dart, line 220, col 7) |
| 420 info: [DynamicInvoke] context['razzle'].apply([]) requires dynamic invoke (test/
codegen/js_test.dart, line 220, col 14) |
| 421 info: [DynamicInvoke] test('JsFunction.apply on a function that uses "this"', ()
{var object = new Object(); expect(context['returnThis'].apply([], thisArg: obj
ect), same(object));}) requires dynamic invoke (test/codegen/js_test.dart, line
223, col 5) |
| 422 info: [DynamicInvoke] expect(context['returnThis'].apply([], thisArg: object), s
ame(object)) requires dynamic invoke (test/codegen/js_test.dart, line 225, col 7
) |
| 423 info: [DynamicInvoke] context['returnThis'].apply([], thisArg: object) requires
dynamic invoke (test/codegen/js_test.dart, line 225, col 14) |
| 424 info: [DynamicInvoke] same(object) requires dynamic invoke (test/codegen/js_test
.dart, line 225, col 64) |
| 425 info: [DynamicInvoke] test('JsObject.callMethod on a function defined in JS', ()
{expect(context.callMethod('razzle'), 42); expect(() => context.callMethod('daz
zle'), throwsA(isNoSuchMethodError));}) requires dynamic invoke (test/codegen/js
_test.dart, line 228, col 5) |
| 426 info: [DynamicInvoke] expect(context.callMethod('razzle'), 42) requires dynamic
invoke (test/codegen/js_test.dart, line 229, col 7) |
| 427 info: [DynamicInvoke] expect(() => context.callMethod('dazzle'), throwsA(isNoSuc
hMethodError)) requires dynamic invoke (test/codegen/js_test.dart, line 230, col
7) |
| 428 info: [DynamicInvoke] throwsA(isNoSuchMethodError) requires dynamic invoke (test
/codegen/js_test.dart, line 230, col 50) |
| 429 info: [DynamicInvoke] test('callMethod with many arguments', () {expect(context.
callMethod('varArgs', [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]), 55);}) requires dynamic
invoke (test/codegen/js_test.dart, line 233, col 5) |
| 430 info: [DynamicInvoke] expect(context.callMethod('varArgs', [1, 2, 3, 4, 5, 6, 7,
8, 9, 10]), 55) requires dynamic invoke (test/codegen/js_test.dart, line 234, c
ol 7) |
| 431 info: [DynamicInvoke] test('access a property of a function', () {expect(context
.callMethod('Bar'), "ret_value"); expect(context['Bar']['foo'], "property_value"
);}) requires dynamic invoke (test/codegen/js_test.dart, line 238, col 5) |
| 432 info: [DynamicInvoke] expect(context.callMethod('Bar'), "ret_value") requires dy
namic invoke (test/codegen/js_test.dart, line 239, col 7) |
| 433 info: [DynamicInvoke] expect(context['Bar']['foo'], "property_value") requires d
ynamic invoke (test/codegen/js_test.dart, line 240, col 7) |
| 434 info: [DynamicInvoke] context['Bar']['foo'] requires dynamic invoke (test/codege
n/js_test.dart, line 240, col 14) |
| 435 info: [DynamicInvoke] group('JsArray', () {test('new JsArray()', () {var array =
new JsArray(); var arrayType = context['Array']; expect(array.instanceof(arrayT
ype), true); expect(array, []); array.addAll([1, 2, 3]); expect(array, [1, 2, 3]
);}); test('new JsArray.from()', () {var array = new JsArray.from([1, 2, 3]); va
r arrayType = context['Array']; expect(array.instanceof(arrayType), true); expec
t(array, [1, 2, 3]);}); test('get Array from JS', () {context['a'] = new JsObjec
t(context['Array'], [1, 2, 3]); expect(context.callMethod('isPropertyInstanceOf'
, ['a', context['Array']]), true); var a = context['a']; expect(a, (a) => a is J
sArray); expect(a, [1, 2, 3]); context.deleteProperty('a');}); test('pass Array
to JS', () {context['a'] = [1, 2, 3]; expect(context.callMethod('isPropertyInsta
nceOf', ['a', context['Array']]), false); var a = context['a']; expect(a, (a) =>
a is List); expect(a, isNot((a) => a is JsArray)); expect(a, [1, 2, 3]); contex
t.deleteProperty('a');}); test('[]', () {var array = new JsArray.from([1, 2]); e
xpect(array[0], 1); expect(array[1], 2); expect(() => array[-1], throwsA(isRange
Error)); expect(() => array[2], throwsA(isRangeError));}); test('[]=', () {var a
rray = new JsArray.from([1, 2]); array[0] = 'd'; array[1] = 'e'; expect(array, [
'd', 'e']); expect(() => array[-1] = 3, throwsA(isRangeError)); expect(() => arr
ay[2] = 3, throwsA(isRangeError));}); test('length', () {var array = new JsArray
.from([1, 2, 3]); expect(array.length, 3); array.add(4); expect(array.length, 4)
; array.length = 2; expect(array, [1, 2]); array.length = 3; expect(array, [1, 2
, null]);}); test('add', () {var array = new JsArray(); array.add('a'); expect(a
rray, ['a']); array.add('b'); expect(array, ['a', 'b']);}); test('addAll', () {v
ar array = new JsArray(); array.addAll(['a', 'b']); expect(array, ['a', 'b']); a
rray.addAll(new Set.from(['c'])); expect(array, ['a', 'b', 'c']);}); test('inser
t', () {var array = new JsArray.from([]); array.insert(0, 'b'); expect(array, ['
b']); array.insert(0, 'a'); expect(array, ['a', 'b']); array.insert(2, 'c'); exp
ect(array, ['a', 'b', 'c']); expect(() => array.insert(4, 'e'), throwsA(isRangeE
rror)); expect(() => array.insert(-1, 'e'), throwsA(isRangeError));}); test('rem
oveAt', () {var array = new JsArray.from(['a', 'b', 'c']); expect(array.removeAt
(1), 'b'); expect(array, ['a', 'c']); expect(() => array.removeAt(2), throwsA(is
RangeError)); expect(() => array.removeAt(-1), throwsA(isRangeError));}); test('
removeLast', () {var array = new JsArray.from(['a', 'b', 'c']); expect(array.rem
oveLast(), 'c'); expect(array, ['a', 'b']); array.length = 0; expect(() => array
.removeLast(), throwsA(isRangeError));}); test('removeRange', () {var array = ne
w JsArray.from(['a', 'b', 'c', 'd']); array.removeRange(1, 3); expect(array, ['a
', 'd']); expect(() => array.removeRange(-1, 2), throwsA(isRangeError)); expect(
() => array.removeRange(0, 3), throwsA(isRangeError)); expect(() => array.remove
Range(2, 1), throwsA(isRangeError));}); test('setRange', () {var array = new JsA
rray.from(['a', 'b', 'c', 'd']); array.setRange(1, 3, ['e', 'f']); expect(array,
['a', 'e', 'f', 'd']); array.setRange(3, 4, ['g', 'h', 'i'], 1); expect(array,
['a', 'e', 'f', 'h']);}); test('sort', () {var array = new JsArray.from(['c', 'a
', 'b']); array.sort(); expect(array, ['a', 'b', 'c']);}); test('sort with a Com
parator', () {var array = new JsArray.from(['c', 'a', 'b']); array.sort((a, b) =
> -(a.compareTo(b))); expect(array, ['c', 'b', 'a']);});}) requires dynamic invo
ke (test/codegen/js_test.dart, line 245, col 3) |
| 436 info: [DynamicInvoke] test('new JsArray()', () {var array = new JsArray(); var a
rrayType = context['Array']; expect(array.instanceof(arrayType), true); expect(a
rray, []); array.addAll([1, 2, 3]); expect(array, [1, 2, 3]);}) requires dynamic
invoke (test/codegen/js_test.dart, line 247, col 5) |
| 437 info: [DynamicInvoke] expect(array.instanceof(arrayType), true) requires dynamic
invoke (test/codegen/js_test.dart, line 250, col 7) |
| 438 info: [DynamicCast] arrayType (dynamic) will need runtime check to cast to type
JsFunction (test/codegen/js_test.dart, line 250, col 31) |
| 439 info: [DynamicInvoke] expect(array, []) requires dynamic invoke (test/codegen/js
_test.dart, line 251, col 7) |
| 440 info: [DynamicInvoke] expect(array, [1, 2, 3]) requires dynamic invoke (test/cod
egen/js_test.dart, line 254, col 7) |
| 441 info: [DynamicInvoke] test('new JsArray.from()', () {var array = new JsArray.fro
m([1, 2, 3]); var arrayType = context['Array']; expect(array.instanceof(arrayTyp
e), true); expect(array, [1, 2, 3]);}) requires dynamic invoke (test/codegen/js_
test.dart, line 257, col 5) |
| 442 info: [DynamicInvoke] expect(array.instanceof(arrayType), true) requires dynamic
invoke (test/codegen/js_test.dart, line 260, col 7) |
| 443 info: [DynamicCast] arrayType (dynamic) will need runtime check to cast to type
JsFunction (test/codegen/js_test.dart, line 260, col 31) |
| 444 info: [DynamicInvoke] expect(array, [1, 2, 3]) requires dynamic invoke (test/cod
egen/js_test.dart, line 261, col 7) |
| 445 info: [DynamicInvoke] test('get Array from JS', () {context['a'] = new JsObject(
context['Array'], [1, 2, 3]); expect(context.callMethod('isPropertyInstanceOf',
['a', context['Array']]), true); var a = context['a']; expect(a, (a) => a is JsA
rray); expect(a, [1, 2, 3]); context.deleteProperty('a');}) requires dynamic inv
oke (test/codegen/js_test.dart, line 264, col 5) |
| 446 info: [DynamicCast] context['Array'] (dynamic) will need runtime check to cast t
o type JsFunction (test/codegen/js_test.dart, line 265, col 35) |
| 447 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['a', co
ntext['Array']]), true) requires dynamic invoke (test/codegen/js_test.dart, line
266, col 7) |
| 448 info: [DynamicInvoke] expect(a, (a) => a is JsArray) requires dynamic invoke (te
st/codegen/js_test.dart, line 269, col 7) |
| 449 info: [DynamicInvoke] expect(a, [1, 2, 3]) requires dynamic invoke (test/codegen
/js_test.dart, line 270, col 7) |
| 450 info: [DynamicInvoke] test('pass Array to JS', () {context['a'] = [1, 2, 3]; exp
ect(context.callMethod('isPropertyInstanceOf', ['a', context['Array']]), false);
var a = context['a']; expect(a, (a) => a is List); expect(a, isNot((a) => a is
JsArray)); expect(a, [1, 2, 3]); context.deleteProperty('a');}) requires dynamic
invoke (test/codegen/js_test.dart, line 274, col 5) |
| 451 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['a', co
ntext['Array']]), false) requires dynamic invoke (test/codegen/js_test.dart, lin
e 276, col 7) |
| 452 info: [DynamicInvoke] expect(a, (a) => a is List) requires dynamic invoke (test/
codegen/js_test.dart, line 279, col 7) |
| 453 info: [DynamicInvoke] expect(a, isNot((a) => a is JsArray)) requires dynamic inv
oke (test/codegen/js_test.dart, line 280, col 7) |
| 454 info: [DynamicInvoke] isNot((a) => a is JsArray) requires dynamic invoke (test/c
odegen/js_test.dart, line 280, col 17) |
| 455 info: [DynamicInvoke] expect(a, [1, 2, 3]) requires dynamic invoke (test/codegen
/js_test.dart, line 281, col 7) |
| 456 info: [DynamicInvoke] test('[]', () {var array = new JsArray.from([1, 2]); expec
t(array[0], 1); expect(array[1], 2); expect(() => array[-1], throwsA(isRangeErro
r)); expect(() => array[2], throwsA(isRangeError));}) requires dynamic invoke (t
est/codegen/js_test.dart, line 285, col 5) |
| 457 info: [DynamicInvoke] expect(array[0], 1) requires dynamic invoke (test/codegen/
js_test.dart, line 287, col 7) |
| 458 info: [DynamicInvoke] expect(array[1], 2) requires dynamic invoke (test/codegen/
js_test.dart, line 288, col 7) |
| 459 info: [DynamicInvoke] expect(() => array[-1], throwsA(isRangeError)) requires dy
namic invoke (test/codegen/js_test.dart, line 289, col 7) |
| 460 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 289, col 31) |
| 461 info: [DynamicInvoke] expect(() => array[2], throwsA(isRangeError)) requires dyn
amic invoke (test/codegen/js_test.dart, line 290, col 7) |
| 462 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 290, col 30) |
| 463 info: [DynamicInvoke] test('[]=', () {var array = new JsArray.from([1, 2]); arra
y[0] = 'd'; array[1] = 'e'; expect(array, ['d', 'e']); expect(() => array[-1] =
3, throwsA(isRangeError)); expect(() => array[2] = 3, throwsA(isRangeError));})
requires dynamic invoke (test/codegen/js_test.dart, line 293, col 4) |
| 464 info: [DynamicInvoke] expect(array, ['d', 'e']) requires dynamic invoke (test/co
degen/js_test.dart, line 297, col 7) |
| 465 info: [DynamicInvoke] expect(() => array[-1] = 3, throwsA(isRangeError)) require
s dynamic invoke (test/codegen/js_test.dart, line 298, col 7) |
| 466 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 298, col 35) |
| 467 info: [DynamicInvoke] expect(() => array[2] = 3, throwsA(isRangeError)) requires
dynamic invoke (test/codegen/js_test.dart, line 299, col 7) |
| 468 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 299, col 34) |
| 469 info: [DynamicInvoke] test('length', () {var array = new JsArray.from([1, 2, 3])
; expect(array.length, 3); array.add(4); expect(array.length, 4); array.length =
2; expect(array, [1, 2]); array.length = 3; expect(array, [1, 2, null]);}) requ
ires dynamic invoke (test/codegen/js_test.dart, line 302, col 5) |
| 470 info: [DynamicInvoke] expect(array.length, 3) requires dynamic invoke (test/code
gen/js_test.dart, line 304, col 7) |
| 471 info: [DynamicInvoke] expect(array.length, 4) requires dynamic invoke (test/code
gen/js_test.dart, line 306, col 7) |
| 472 info: [DynamicInvoke] expect(array, [1, 2]) requires dynamic invoke (test/codege
n/js_test.dart, line 308, col 7) |
| 473 info: [DynamicInvoke] expect(array, [1, 2, null]) requires dynamic invoke (test/
codegen/js_test.dart, line 310, col 7) |
| 474 info: [DynamicInvoke] test('add', () {var array = new JsArray(); array.add('a');
expect(array, ['a']); array.add('b'); expect(array, ['a', 'b']);}) requires dyn
amic invoke (test/codegen/js_test.dart, line 313, col 6) |
| 475 info: [DynamicInvoke] expect(array, ['a']) requires dynamic invoke (test/codegen
/js_test.dart, line 316, col 7) |
| 476 info: [DynamicInvoke] expect(array, ['a', 'b']) requires dynamic invoke (test/co
degen/js_test.dart, line 318, col 7) |
| 477 info: [DynamicInvoke] test('addAll', () {var array = new JsArray(); array.addAll
(['a', 'b']); expect(array, ['a', 'b']); array.addAll(new Set.from(['c'])); expe
ct(array, ['a', 'b', 'c']);}) requires dynamic invoke (test/codegen/js_test.dart
, line 321, col 5) |
| 478 info: [DynamicInvoke] expect(array, ['a', 'b']) requires dynamic invoke (test/co
degen/js_test.dart, line 324, col 7) |
| 479 info: [DynamicInvoke] expect(array, ['a', 'b', 'c']) requires dynamic invoke (te
st/codegen/js_test.dart, line 327, col 7) |
| 480 info: [DynamicInvoke] test('insert', () {var array = new JsArray.from([]); array
.insert(0, 'b'); expect(array, ['b']); array.insert(0, 'a'); expect(array, ['a',
'b']); array.insert(2, 'c'); expect(array, ['a', 'b', 'c']); expect(() => array
.insert(4, 'e'), throwsA(isRangeError)); expect(() => array.insert(-1, 'e'), thr
owsA(isRangeError));}) requires dynamic invoke (test/codegen/js_test.dart, line
330, col 5) |
| 481 info: [DynamicInvoke] expect(array, ['b']) requires dynamic invoke (test/codegen
/js_test.dart, line 333, col 7) |
| 482 info: [DynamicInvoke] expect(array, ['a', 'b']) requires dynamic invoke (test/co
degen/js_test.dart, line 335, col 7) |
| 483 info: [DynamicInvoke] expect(array, ['a', 'b', 'c']) requires dynamic invoke (te
st/codegen/js_test.dart, line 337, col 7) |
| 484 info: [DynamicInvoke] expect(() => array.insert(4, 'e'), throwsA(isRangeError))
requires dynamic invoke (test/codegen/js_test.dart, line 338, col 7) |
| 485 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 338, col 42) |
| 486 info: [DynamicInvoke] expect(() => array.insert(-1, 'e'), throwsA(isRangeError))
requires dynamic invoke (test/codegen/js_test.dart, line 339, col 7) |
| 487 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 339, col 43) |
| 488 info: [DynamicInvoke] test('removeAt', () {var array = new JsArray.from(['a', 'b
', 'c']); expect(array.removeAt(1), 'b'); expect(array, ['a', 'c']); expect(() =
> array.removeAt(2), throwsA(isRangeError)); expect(() => array.removeAt(-1), th
rowsA(isRangeError));}) requires dynamic invoke (test/codegen/js_test.dart, line
342, col 5) |
| 489 info: [DynamicInvoke] expect(array.removeAt(1), 'b') requires dynamic invoke (te
st/codegen/js_test.dart, line 344, col 7) |
| 490 info: [DynamicInvoke] expect(array, ['a', 'c']) requires dynamic invoke (test/co
degen/js_test.dart, line 345, col 7) |
| 491 info: [DynamicInvoke] expect(() => array.removeAt(2), throwsA(isRangeError)) req
uires dynamic invoke (test/codegen/js_test.dart, line 346, col 7) |
| 492 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 346, col 39) |
| 493 info: [DynamicInvoke] expect(() => array.removeAt(-1), throwsA(isRangeError)) re
quires dynamic invoke (test/codegen/js_test.dart, line 347, col 7) |
| 494 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 347, col 40) |
| 495 info: [DynamicInvoke] test('removeLast', () {var array = new JsArray.from(['a',
'b', 'c']); expect(array.removeLast(), 'c'); expect(array, ['a', 'b']); array.le
ngth = 0; expect(() => array.removeLast(), throwsA(isRangeError));}) requires dy
namic invoke (test/codegen/js_test.dart, line 350, col 5) |
| 496 info: [DynamicInvoke] expect(array.removeLast(), 'c') requires dynamic invoke (t
est/codegen/js_test.dart, line 352, col 7) |
| 497 info: [DynamicInvoke] expect(array, ['a', 'b']) requires dynamic invoke (test/co
degen/js_test.dart, line 353, col 7) |
| 498 info: [DynamicInvoke] expect(() => array.removeLast(), throwsA(isRangeError)) re
quires dynamic invoke (test/codegen/js_test.dart, line 355, col 7) |
| 499 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 355, col 40) |
| 500 info: [DynamicInvoke] test('removeRange', () {var array = new JsArray.from(['a',
'b', 'c', 'd']); array.removeRange(1, 3); expect(array, ['a', 'd']); expect(()
=> array.removeRange(-1, 2), throwsA(isRangeError)); expect(() => array.removeRa
nge(0, 3), throwsA(isRangeError)); expect(() => array.removeRange(2, 1), throwsA
(isRangeError));}) requires dynamic invoke (test/codegen/js_test.dart, line 358,
col 5) |
| 501 info: [DynamicInvoke] expect(array, ['a', 'd']) requires dynamic invoke (test/co
degen/js_test.dart, line 361, col 7) |
| 502 info: [DynamicInvoke] expect(() => array.removeRange(-1, 2), throwsA(isRangeErro
r)) requires dynamic invoke (test/codegen/js_test.dart, line 362, col 7) |
| 503 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 362, col 46) |
| 504 info: [DynamicInvoke] expect(() => array.removeRange(0, 3), throwsA(isRangeError
)) requires dynamic invoke (test/codegen/js_test.dart, line 363, col 7) |
| 505 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 363, col 45) |
| 506 info: [DynamicInvoke] expect(() => array.removeRange(2, 1), throwsA(isRangeError
)) requires dynamic invoke (test/codegen/js_test.dart, line 364, col 7) |
| 507 info: [DynamicInvoke] throwsA(isRangeError) requires dynamic invoke (test/codege
n/js_test.dart, line 364, col 45) |
| 508 info: [DynamicInvoke] test('setRange', () {var array = new JsArray.from(['a', 'b
', 'c', 'd']); array.setRange(1, 3, ['e', 'f']); expect(array, ['a', 'e', 'f', '
d']); array.setRange(3, 4, ['g', 'h', 'i'], 1); expect(array, ['a', 'e', 'f', 'h
']);}) requires dynamic invoke (test/codegen/js_test.dart, line 367, col 5) |
| 509 info: [DynamicInvoke] expect(array, ['a', 'e', 'f', 'd']) requires dynamic invok
e (test/codegen/js_test.dart, line 370, col 7) |
| 510 info: [DynamicInvoke] expect(array, ['a', 'e', 'f', 'h']) requires dynamic invok
e (test/codegen/js_test.dart, line 372, col 7) |
| 511 info: [DynamicInvoke] test('sort', () {var array = new JsArray.from(['c', 'a', '
b']); array.sort(); expect(array, ['a', 'b', 'c']);}) requires dynamic invoke (t
est/codegen/js_test.dart, line 375, col 5) |
| 512 info: [DynamicInvoke] expect(array, ['a', 'b', 'c']) requires dynamic invoke (te
st/codegen/js_test.dart, line 378, col 7) |
| 513 info: [DynamicInvoke] test('sort with a Comparator', () {var array = new JsArray
.from(['c', 'a', 'b']); array.sort((a, b) => -(a.compareTo(b))); expect(array, [
'c', 'b', 'a']);}) requires dynamic invoke (test/codegen/js_test.dart, line 381,
col 5) |
| 514 info: [InferredTypeClosure] (a, b) => -(a.compareTo(b)) has inferred type (dynam
ic, dynamic) → int (test/codegen/js_test.dart, line 383, col 18) |
| 515 info: [DynamicInvoke] -(a.compareTo(b)) requires dynamic invoke (test/codegen/js
_test.dart, line 383, col 28) |
| 516 info: [DynamicInvoke] a.compareTo(b) requires dynamic invoke (test/codegen/js_te
st.dart, line 383, col 30) |
| 517 info: [DynamicInvoke] expect(array, ['c', 'b', 'a']) requires dynamic invoke (te
st/codegen/js_test.dart, line 384, col 7) |
| 518 info: [DynamicInvoke] group('JsObject.fromBrowserObject()', () {test('Nodes are
proxied', () {var node = new JsObject.fromBrowserObject(document.createElement('
div')); context.callMethod('addTestProperty', [node]); expect(node is JsObject,
true); expect(node.instanceof(context['HTMLDivElement']), true); expect(node['te
stProperty'], 'test');}); test('primitives and null throw ArgumentError', () {fo
r (var v in ['a', 1, 2.0, true, null]) {expect(() => new JsObject.fromBrowserObj
ect(v), throwsA((a) => a is ArgumentError));}});}) requires dynamic invoke (test
/codegen/js_test.dart, line 389, col 3) |
| 519 info: [DynamicInvoke] test('Nodes are proxied', () {var node = new JsObject.from
BrowserObject(document.createElement('div')); context.callMethod('addTestPropert
y', [node]); expect(node is JsObject, true); expect(node.instanceof(context['HTM
LDivElement']), true); expect(node['testProperty'], 'test');}) requires dynamic
invoke (test/codegen/js_test.dart, line 391, col 5) |
| 520 info: [DynamicInvoke] document.createElement('div') requires dynamic invoke (tes
t/codegen/js_test.dart, line 392, col 49) |
| 521 info: [DynamicInvoke] expect(node is JsObject, true) requires dynamic invoke (te
st/codegen/js_test.dart, line 394, col 7) |
| 522 info: [DynamicInvoke] expect(node.instanceof(context['HTMLDivElement']), true) r
equires dynamic invoke (test/codegen/js_test.dart, line 395, col 7) |
| 523 info: [DynamicCast] context['HTMLDivElement'] (dynamic) will need runtime check
to cast to type JsFunction (test/codegen/js_test.dart, line 395, col 30) |
| 524 info: [DynamicInvoke] expect(node['testProperty'], 'test') requires dynamic invo
ke (test/codegen/js_test.dart, line 396, col 7) |
| 525 info: [DynamicInvoke] test('primitives and null throw ArgumentError', () {for (v
ar v in ['a', 1, 2.0, true, null]) {expect(() => new JsObject.fromBrowserObject(
v), throwsA((a) => a is ArgumentError));}}) requires dynamic invoke (test/codege
n/js_test.dart, line 399, col 5) |
| 526 info: [DynamicInvoke] expect(() => new JsObject.fromBrowserObject(v), throwsA((a
) => a is ArgumentError)) requires dynamic invoke (test/codegen/js_test.dart, li
ne 401, col 9) |
| 527 info: [DynamicInvoke] throwsA((a) => a is ArgumentError) requires dynamic invoke
(test/codegen/js_test.dart, line 402, col 13) |
| 528 info: [DynamicInvoke] group('Dart functions', () {test('invoke Dart callback fro
m JS', () {expect(() => context.callMethod('invokeCallback'), throws); context['
callback'] = () => 42; expect(context.callMethod('invokeCallback'), 42); context
.deleteProperty('callback');}); test('callback as parameter', () {expect(context
.callMethod('getTypeOf', [context['razzle']]), "function");}); test('invoke Dart
callback from JS with this', () {final constructor = new JsFunction.withThis(($
this, arg1) {$this['a'] = 42;}); var o = new JsObject(constructor, ["b"]); expec
t(o['a'], 42);}); test('invoke Dart callback from JS with 11 parameters', () {co
ntext['callbackWith11params'] = (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11) =
> '$p1$p2$p3$p4$p5$p6$p7$p8$p9$p10$p11'; expect(context.callMethod('invokeCallba
ckWith11params'), '1234567891011');}); test('return a JS proxy to JavaScript', (
) {var result = context.callMethod('testJsMap', [() => new JsObject.jsify({'valu
e' : 42})]); expect(result, 42);}); test('emulated functions should be callable
in JS', () {context['callable'] = new Callable(); var result = context.callMetho
d('callable'); expect(result, 'called'); context.deleteProperty('callable');}, s
kip: "https://github.com/dart-lang/dev_compiler/issues/244");}) requires dynamic
invoke (test/codegen/js_test.dart, line 408, col 3) |
| 529 info: [DynamicInvoke] test('invoke Dart callback from JS', () {expect(() => cont
ext.callMethod('invokeCallback'), throws); context['callback'] = () => 42; expec
t(context.callMethod('invokeCallback'), 42); context.deleteProperty('callback');
}) requires dynamic invoke (test/codegen/js_test.dart, line 409, col 5) |
| 530 info: [DynamicInvoke] expect(() => context.callMethod('invokeCallback'), throws)
requires dynamic invoke (test/codegen/js_test.dart, line 410, col 7) |
| 531 info: [DynamicInvoke] expect(context.callMethod('invokeCallback'), 42) requires
dynamic invoke (test/codegen/js_test.dart, line 413, col 7) |
| 532 info: [DynamicInvoke] test('callback as parameter', () {expect(context.callMetho
d('getTypeOf', [context['razzle']]), "function");}) requires dynamic invoke (tes
t/codegen/js_test.dart, line 418, col 5) |
| 533 info: [DynamicInvoke] expect(context.callMethod('getTypeOf', [context['razzle']]
), "function") requires dynamic invoke (test/codegen/js_test.dart, line 419, col
7) |
| 534 info: [DynamicInvoke] test('invoke Dart callback from JS with this', () {final c
onstructor = new JsFunction.withThis(($this, arg1) {$this['a'] = 42;}); var o =
new JsObject(constructor, ["b"]); expect(o['a'], 42);}) requires dynamic invoke
(test/codegen/js_test.dart, line 423, col 5) |
| 535 info: [DynamicInvoke] $this['a'] requires dynamic invoke (test/codegen/js_test.d
art, line 426, col 9) |
| 536 info: [DynamicInvoke] expect(o['a'], 42) requires dynamic invoke (test/codegen/j
s_test.dart, line 429, col 7) |
| 537 info: [DynamicInvoke] test('invoke Dart callback from JS with 11 parameters', ()
{context['callbackWith11params'] = (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
1) => '$p1$p2$p3$p4$p5$p6$p7$p8$p9$p10$p11'; expect(context.callMethod('invokeCa
llbackWith11params'), '1234567891011');}) requires dynamic invoke (test/codegen/
js_test.dart, line 432, col 5) |
| 538 info: [DynamicInvoke] expect(context.callMethod('invokeCallbackWith11params'), '
1234567891011') requires dynamic invoke (test/codegen/js_test.dart, line 435, co
l 7) |
| 539 info: [DynamicInvoke] test('return a JS proxy to JavaScript', () {var result = c
ontext.callMethod('testJsMap', [() => new JsObject.jsify({'value' : 42})]); expe
ct(result, 42);}) requires dynamic invoke (test/codegen/js_test.dart, line 439,
col 5) |
| 540 info: [DynamicInvoke] expect(result, 42) requires dynamic invoke (test/codegen/j
s_test.dart, line 442, col 7) |
| 541 info: [DynamicInvoke] test('emulated functions should be callable in JS', () {co
ntext['callable'] = new Callable(); var result = context.callMethod('callable');
expect(result, 'called'); context.deleteProperty('callable');}, skip: "https://
github.com/dart-lang/dev_compiler/issues/244") requires dynamic invoke (test/cod
egen/js_test.dart, line 445, col 5) |
| 542 info: [DynamicInvoke] expect(result, 'called') requires dynamic invoke (test/cod
egen/js_test.dart, line 448, col 7) |
| 543 info: [DynamicInvoke] group('JsObject.jsify()', () {test('convert a List', () {f
inal list = [1, 2, 3, 4, 5, 6, 7, 8]; var array = new JsObject.jsify(list); expe
ct(context.callMethod('isArray', [array]), true); expect(array['length'], list.l
ength); for (var i = 0; i < list.length; i++) {expect(array[i], list[i]);}}); te
st('convert an Iterable', () {final set = new Set.from([1, 2, 3, 4, 5, 6, 7, 8])
; var array = new JsObject.jsify(set); expect(context.callMethod('isArray', [arr
ay]), true); expect(array['length'], set.length); for (var i = 0; i < array['len
gth']; i++) {expect(set.contains(array[i]), true);}}); test('convert a Map', ()
{var map = {'a' : 1, 'b' : 2, 'c' : 3}; var jsMap = new JsObject.jsify(map); exp
ect(!context.callMethod('isArray', [jsMap]), true); for (final key in map.keys)
{expect(context.callMethod('checkMap', [jsMap, key, map[key]]), true);}}); test(
'deep convert a complex object', () {final object = {'a' : [1, [2, 3]], 'b' : {'
c' : 3, 'd' : new JsObject(context['Foo'], [42])}, 'e' : null}; var jsObject = n
ew JsObject.jsify(object); expect(jsObject['a'][0], object['a'][0]); expect(jsOb
ject['a'][1][0], object['a'][1][0]); expect(jsObject['a'][1][1], object['a'][1][
1]); expect(jsObject['b']['c'], object['b']['c']); expect(jsObject['b']['d'], ob
ject['b']['d']); expect(jsObject['b']['d'].callMethod('bar'), 42); expect(jsObje
ct['e'], null);}); test('throws if object is not a Map or Iterable', () {expect(
() => new JsObject.jsify('a'), throwsA((a) => a is ArgumentError));});}) require
s dynamic invoke (test/codegen/js_test.dart, line 454, col 3) |
| 544 info: [DynamicInvoke] test('convert a List', () {final list = [1, 2, 3, 4, 5, 6,
7, 8]; var array = new JsObject.jsify(list); expect(context.callMethod('isArray
', [array]), true); expect(array['length'], list.length); for (var i = 0; i < li
st.length; i++) {expect(array[i], list[i]);}}) requires dynamic invoke (test/cod
egen/js_test.dart, line 456, col 5) |
| 545 info: [DynamicInvoke] expect(context.callMethod('isArray', [array]), true) requi
res dynamic invoke (test/codegen/js_test.dart, line 459, col 7) |
| 546 info: [DynamicInvoke] expect(array['length'], list.length) requires dynamic invo
ke (test/codegen/js_test.dart, line 460, col 7) |
| 547 info: [DynamicInvoke] expect(array[i], list[i]) requires dynamic invoke (test/co
degen/js_test.dart, line 462, col 9) |
| 548 info: [DynamicInvoke] test('convert an Iterable', () {final set = new Set.from([
1, 2, 3, 4, 5, 6, 7, 8]); var array = new JsObject.jsify(set); expect(context.ca
llMethod('isArray', [array]), true); expect(array['length'], set.length); for (v
ar i = 0; i < array['length']; i++) {expect(set.contains(array[i]), true);}}) re
quires dynamic invoke (test/codegen/js_test.dart, line 466, col 5) |
| 549 info: [DynamicInvoke] expect(context.callMethod('isArray', [array]), true) requi
res dynamic invoke (test/codegen/js_test.dart, line 469, col 7) |
| 550 info: [DynamicInvoke] expect(array['length'], set.length) requires dynamic invok
e (test/codegen/js_test.dart, line 470, col 7) |
| 551 info: [DynamicCast] array['length'] (dynamic) will need runtime check to cast to
type num (test/codegen/js_test.dart, line 471, col 27) |
| 552 info: [DynamicInvoke] expect(set.contains(array[i]), true) requires dynamic invo
ke (test/codegen/js_test.dart, line 472, col 9) |
| 553 info: [DynamicInvoke] test('convert a Map', () {var map = {'a' : 1, 'b' : 2, 'c'
: 3}; var jsMap = new JsObject.jsify(map); expect(!context.callMethod('isArray'
, [jsMap]), true); for (final key in map.keys) {expect(context.callMethod('check
Map', [jsMap, key, map[key]]), true);}}) requires dynamic invoke (test/codegen/j
s_test.dart, line 476, col 5) |
| 554 info: [DynamicInvoke] expect(!context.callMethod('isArray', [jsMap]), true) requ
ires dynamic invoke (test/codegen/js_test.dart, line 479, col 7) |
| 555 info: [DynamicCast] context.callMethod('isArray', [jsMap]) (dynamic) will need r
untime check to cast to type bool (test/codegen/js_test.dart, line 479, col 15) |
| 556 info: [DynamicInvoke] expect(context.callMethod('checkMap', [jsMap, key, map[key
]]), true) requires dynamic invoke (test/codegen/js_test.dart, line 481, col 9) |
| 557 info: [DynamicInvoke] test('deep convert a complex object', () {final object = {
'a' : [1, [2, 3]], 'b' : {'c' : 3, 'd' : new JsObject(context['Foo'], [42])}, 'e
' : null}; var jsObject = new JsObject.jsify(object); expect(jsObject['a'][0], o
bject['a'][0]); expect(jsObject['a'][1][0], object['a'][1][0]); expect(jsObject[
'a'][1][1], object['a'][1][1]); expect(jsObject['b']['c'], object['b']['c']); ex
pect(jsObject['b']['d'], object['b']['d']); expect(jsObject['b']['d'].callMethod
('bar'), 42); expect(jsObject['e'], null);}) requires dynamic invoke (test/codeg
en/js_test.dart, line 485, col 5) |
| 558 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 490, col 29) |
| 559 info: [DynamicInvoke] expect(jsObject['a'][0], object['a'][0]) requires dynamic
invoke (test/codegen/js_test.dart, line 495, col 7) |
| 560 info: [DynamicInvoke] jsObject['a'][0] requires dynamic invoke (test/codegen/js_
test.dart, line 495, col 14) |
| 561 info: [DynamicInvoke] object['a'][0] requires dynamic invoke (test/codegen/js_te
st.dart, line 495, col 32) |
| 562 info: [DynamicInvoke] expect(jsObject['a'][1][0], object['a'][1][0]) requires dy
namic invoke (test/codegen/js_test.dart, line 496, col 7) |
| 563 info: [DynamicInvoke] jsObject['a'][1][0] requires dynamic invoke (test/codegen/
js_test.dart, line 496, col 14) |
| 564 info: [DynamicInvoke] jsObject['a'][1] requires dynamic invoke (test/codegen/js_
test.dart, line 496, col 14) |
| 565 info: [DynamicInvoke] object['a'][1][0] requires dynamic invoke (test/codegen/js
_test.dart, line 496, col 35) |
| 566 info: [DynamicInvoke] object['a'][1] requires dynamic invoke (test/codegen/js_te
st.dart, line 496, col 35) |
| 567 info: [DynamicInvoke] expect(jsObject['a'][1][1], object['a'][1][1]) requires dy
namic invoke (test/codegen/js_test.dart, line 497, col 7) |
| 568 info: [DynamicInvoke] jsObject['a'][1][1] requires dynamic invoke (test/codegen/
js_test.dart, line 497, col 14) |
| 569 info: [DynamicInvoke] jsObject['a'][1] requires dynamic invoke (test/codegen/js_
test.dart, line 497, col 14) |
| 570 info: [DynamicInvoke] object['a'][1][1] requires dynamic invoke (test/codegen/js
_test.dart, line 497, col 35) |
| 571 info: [DynamicInvoke] object['a'][1] requires dynamic invoke (test/codegen/js_te
st.dart, line 497, col 35) |
| 572 info: [DynamicInvoke] expect(jsObject['b']['c'], object['b']['c']) requires dyna
mic invoke (test/codegen/js_test.dart, line 498, col 7) |
| 573 info: [DynamicInvoke] jsObject['b']['c'] requires dynamic invoke (test/codegen/j
s_test.dart, line 498, col 14) |
| 574 info: [DynamicInvoke] object['b']['c'] requires dynamic invoke (test/codegen/js_
test.dart, line 498, col 34) |
| 575 info: [DynamicInvoke] expect(jsObject['b']['d'], object['b']['d']) requires dyna
mic invoke (test/codegen/js_test.dart, line 499, col 7) |
| 576 info: [DynamicInvoke] jsObject['b']['d'] requires dynamic invoke (test/codegen/j
s_test.dart, line 499, col 14) |
| 577 info: [DynamicInvoke] object['b']['d'] requires dynamic invoke (test/codegen/js_
test.dart, line 499, col 34) |
| 578 info: [DynamicInvoke] expect(jsObject['b']['d'].callMethod('bar'), 42) requires
dynamic invoke (test/codegen/js_test.dart, line 500, col 7) |
| 579 info: [DynamicInvoke] jsObject['b']['d'].callMethod('bar') requires dynamic invo
ke (test/codegen/js_test.dart, line 500, col 14) |
| 580 info: [DynamicInvoke] jsObject['b']['d'] requires dynamic invoke (test/codegen/j
s_test.dart, line 500, col 14) |
| 581 info: [DynamicInvoke] expect(jsObject['e'], null) requires dynamic invoke (test/
codegen/js_test.dart, line 501, col 7) |
| 582 info: [DynamicInvoke] test('throws if object is not a Map or Iterable', () {expe
ct(() => new JsObject.jsify('a'), throwsA((a) => a is ArgumentError));}) require
s dynamic invoke (test/codegen/js_test.dart, line 504, col 5) |
| 583 info: [DynamicInvoke] expect(() => new JsObject.jsify('a'), throwsA((a) => a is
ArgumentError)) requires dynamic invoke (test/codegen/js_test.dart, line 505, co
l 7) |
| 584 info: [DynamicInvoke] throwsA((a) => a is ArgumentError) requires dynamic invoke
(test/codegen/js_test.dart, line 506, col 11) |
| 585 info: [DynamicInvoke] group('JsObject methods', () {test('hashCode and ==', () {
final o1 = context['Object']; final o2 = context['Object']; expect(o1 == o2, tru
e); expect(o1.hashCode == o2.hashCode, true); final d = context['document']; exp
ect(o1 == d, false);}); test('toString', () {var foo = new JsObject(context['Foo
'], [42]); expect(foo.toString(), "I'm a Foo a=42"); var container = context['co
ntainer']; expect(container.toString(), "[object Object]");}); test('toString re
turns a String even if the JS object does not', () {var foo = new JsObject(conte
xt['Liar']); expect(foo.callMethod('toString'), 1); expect(foo.toString(), '1');
}); test('instanceof', () {var foo = new JsObject(context['Foo'], [1]); expect(f
oo.instanceof(context['Foo']), true); expect(foo.instanceof(context['Object']),
true); expect(foo.instanceof(context['String']), false);}); test('deleteProperty
', () {var object = new JsObject.jsify({}); object['a'] = 1; expect(context['Obj
ect'].callMethod('keys', [object])['length'], 1); expect(context['Object'].callM
ethod('keys', [object])[0], "a"); object.deleteProperty("a"); expect(context['Ob
ject'].callMethod('keys', [object])['length'], 0);}); test('hasProperty', () {va
r object = new JsObject.jsify({}); object['a'] = 1; expect(object.hasProperty('a
'), true); expect(object.hasProperty('b'), false);}); test('[] and []=', () {fin
al myArray = context['myArray']; expect(myArray['length'], 1); expect(myArray[0]
, "value1"); myArray[0] = "value2"; expect(myArray['length'], 1); expect(myArray
[0], "value2"); final foo = new JsObject(context['Foo'], [1]); foo["getAge"] = (
) => 10; expect(foo.callMethod('getAge'), 10);});}) requires dynamic invoke (tes
t/codegen/js_test.dart, line 510, col 3) |
| 586 info: [DynamicInvoke] test('hashCode and ==', () {final o1 = context['Object'];
final o2 = context['Object']; expect(o1 == o2, true); expect(o1.hashCode == o2.h
ashCode, true); final d = context['document']; expect(o1 == d, false);}) require
s dynamic invoke (test/codegen/js_test.dart, line 512, col 5) |
| 587 info: [DynamicInvoke] expect(o1 == o2, true) requires dynamic invoke (test/codeg
en/js_test.dart, line 515, col 7) |
| 588 info: [DynamicInvoke] expect(o1.hashCode == o2.hashCode, true) requires dynamic
invoke (test/codegen/js_test.dart, line 516, col 7) |
| 589 info: [DynamicInvoke] expect(o1 == d, false) requires dynamic invoke (test/codeg
en/js_test.dart, line 518, col 7) |
| 590 info: [DynamicInvoke] test('toString', () {var foo = new JsObject(context['Foo']
, [42]); expect(foo.toString(), "I'm a Foo a=42"); var container = context['cont
ainer']; expect(container.toString(), "[object Object]");}) requires dynamic inv
oke (test/codegen/js_test.dart, line 521, col 5) |
| 591 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 522, col 30) |
| 592 info: [DynamicInvoke] expect(foo.toString(), "I'm a Foo a=42") requires dynamic
invoke (test/codegen/js_test.dart, line 523, col 7) |
| 593 info: [DynamicInvoke] expect(container.toString(), "[object Object]") requires d
ynamic invoke (test/codegen/js_test.dart, line 525, col 7) |
| 594 info: [DynamicInvoke] test('toString returns a String even if the JS object does
not', () {var foo = new JsObject(context['Liar']); expect(foo.callMethod('toStr
ing'), 1); expect(foo.toString(), '1');}) requires dynamic invoke (test/codegen/
js_test.dart, line 528, col 5) |
| 595 info: [DynamicCast] context['Liar'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 529, col 30) |
| 596 info: [DynamicInvoke] expect(foo.callMethod('toString'), 1) requires dynamic inv
oke (test/codegen/js_test.dart, line 530, col 7) |
| 597 info: [DynamicInvoke] expect(foo.toString(), '1') requires dynamic invoke (test/
codegen/js_test.dart, line 531, col 7) |
| 598 info: [DynamicInvoke] test('instanceof', () {var foo = new JsObject(context['Foo
'], [1]); expect(foo.instanceof(context['Foo']), true); expect(foo.instanceof(co
ntext['Object']), true); expect(foo.instanceof(context['String']), false);}) req
uires dynamic invoke (test/codegen/js_test.dart, line 534, col 5) |
| 599 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 535, col 30) |
| 600 info: [DynamicInvoke] expect(foo.instanceof(context['Foo']), true) requires dyna
mic invoke (test/codegen/js_test.dart, line 536, col 7) |
| 601 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 536, col 29) |
| 602 info: [DynamicInvoke] expect(foo.instanceof(context['Object']), true) requires d
ynamic invoke (test/codegen/js_test.dart, line 537, col 7) |
| 603 info: [DynamicCast] context['Object'] (dynamic) will need runtime check to cast
to type JsFunction (test/codegen/js_test.dart, line 537, col 29) |
| 604 info: [DynamicInvoke] expect(foo.instanceof(context['String']), false) requires
dynamic invoke (test/codegen/js_test.dart, line 538, col 7) |
| 605 info: [DynamicCast] context['String'] (dynamic) will need runtime check to cast
to type JsFunction (test/codegen/js_test.dart, line 538, col 29) |
| 606 info: [DynamicInvoke] test('deleteProperty', () {var object = new JsObject.jsify
({}); object['a'] = 1; expect(context['Object'].callMethod('keys', [object])['le
ngth'], 1); expect(context['Object'].callMethod('keys', [object])[0], "a"); obje
ct.deleteProperty("a"); expect(context['Object'].callMethod('keys', [object])['l
ength'], 0);}) requires dynamic invoke (test/codegen/js_test.dart, line 541, col
5) |
| 607 info: [DynamicInvoke] expect(context['Object'].callMethod('keys', [object])['len
gth'], 1) requires dynamic invoke (test/codegen/js_test.dart, line 544, col 7) |
| 608 info: [DynamicInvoke] context['Object'].callMethod('keys', [object])['length'] r
equires dynamic invoke (test/codegen/js_test.dart, line 544, col 14) |
| 609 info: [DynamicInvoke] context['Object'].callMethod('keys', [object]) requires dy
namic invoke (test/codegen/js_test.dart, line 544, col 14) |
| 610 info: [DynamicInvoke] expect(context['Object'].callMethod('keys', [object])[0],
"a") requires dynamic invoke (test/codegen/js_test.dart, line 545, col 7) |
| 611 info: [DynamicInvoke] context['Object'].callMethod('keys', [object])[0] requires
dynamic invoke (test/codegen/js_test.dart, line 545, col 14) |
| 612 info: [DynamicInvoke] context['Object'].callMethod('keys', [object]) requires dy
namic invoke (test/codegen/js_test.dart, line 545, col 14) |
| 613 info: [DynamicInvoke] expect(context['Object'].callMethod('keys', [object])['len
gth'], 0) requires dynamic invoke (test/codegen/js_test.dart, line 547, col 7) |
| 614 info: [DynamicInvoke] context['Object'].callMethod('keys', [object])['length'] r
equires dynamic invoke (test/codegen/js_test.dart, line 547, col 14) |
| 615 info: [DynamicInvoke] context['Object'].callMethod('keys', [object]) requires dy
namic invoke (test/codegen/js_test.dart, line 547, col 14) |
| 616 info: [DynamicInvoke] test('hasProperty', () {var object = new JsObject.jsify({}
); object['a'] = 1; expect(object.hasProperty('a'), true); expect(object.hasProp
erty('b'), false);}) requires dynamic invoke (test/codegen/js_test.dart, line 55
0, col 5) |
| 617 info: [DynamicInvoke] expect(object.hasProperty('a'), true) requires dynamic inv
oke (test/codegen/js_test.dart, line 553, col 7) |
| 618 info: [DynamicInvoke] expect(object.hasProperty('b'), false) requires dynamic in
voke (test/codegen/js_test.dart, line 554, col 7) |
| 619 info: [DynamicInvoke] test('[] and []=', () {final myArray = context['myArray'];
expect(myArray['length'], 1); expect(myArray[0], "value1"); myArray[0] = "value
2"; expect(myArray['length'], 1); expect(myArray[0], "value2"); final foo = new
JsObject(context['Foo'], [1]); foo["getAge"] = () => 10; expect(foo.callMethod('
getAge'), 10);}) requires dynamic invoke (test/codegen/js_test.dart, line 557, c
ol 5) |
| 620 info: [DynamicInvoke] expect(myArray['length'], 1) requires dynamic invoke (test
/codegen/js_test.dart, line 559, col 7) |
| 621 info: [DynamicInvoke] myArray['length'] requires dynamic invoke (test/codegen/js
_test.dart, line 559, col 14) |
| 622 info: [DynamicInvoke] expect(myArray[0], "value1") requires dynamic invoke (test
/codegen/js_test.dart, line 560, col 7) |
| 623 info: [DynamicInvoke] myArray[0] requires dynamic invoke (test/codegen/js_test.d
art, line 560, col 14) |
| 624 info: [DynamicInvoke] myArray[0] requires dynamic invoke (test/codegen/js_test.d
art, line 561, col 7) |
| 625 info: [DynamicInvoke] expect(myArray['length'], 1) requires dynamic invoke (test
/codegen/js_test.dart, line 562, col 7) |
| 626 info: [DynamicInvoke] myArray['length'] requires dynamic invoke (test/codegen/js
_test.dart, line 562, col 14) |
| 627 info: [DynamicInvoke] expect(myArray[0], "value2") requires dynamic invoke (test
/codegen/js_test.dart, line 563, col 7) |
| 628 info: [DynamicInvoke] myArray[0] requires dynamic invoke (test/codegen/js_test.d
art, line 563, col 14) |
| 629 info: [DynamicCast] context['Foo'] (dynamic) will need runtime check to cast to
type JsFunction (test/codegen/js_test.dart, line 565, col 32) |
| 630 info: [DynamicInvoke] expect(foo.callMethod('getAge'), 10) requires dynamic invo
ke (test/codegen/js_test.dart, line 567, col 7) |
| 631 info: [DynamicInvoke] group('transferrables', () {group('JS->Dart', () {test('Da
teTime', () {var date = context.callMethod('getNewDate'); expect(date is DateTim
e, true);}); test('window', () {expect(context['window'] is Window, true);}); te
st('foreign browser objects should be proxied', () {var iframe = document.create
Element('iframe'); document.body.appendChild(iframe); var proxy = new JsObject.f
romBrowserObject(iframe); var contentWindow = proxy['contentWindow']; expect(con
tentWindow, isNot((a) => a is Window)); expect(contentWindow, (a) => a is JsObje
ct); var foreignDoc = contentWindow['document']; expect(foreignDoc, isNot((a) =>
a is Node)); expect(foreignDoc, (a) => a is JsObject); var clicked = false; for
eignDoc['onclick'] = (e) {expect(e, isNot((a) => a is Event)); expect(e, (a) =>
a is JsObject); clicked = true;}; context.callMethod('fireClickEvent', [contentW
indow]); expect(clicked, true);}); test('document', () {expect(context['document
'] is Document, true);}); test('Blob', () {var blob = context.callMethod('getNew
Blob'); expect(blob is Blob, true); expect(blob.type, 'text/html');}); test('una
ttached DivElement', () {var node = context.callMethod('getNewDivElement'); expe
ct(node is DivElement, true);}); test('Event', () {var event = context.callMetho
d('getNewEvent'); expect(event is Event, true);}); test('ImageData', () {var nod
e = context.callMethod('getNewImageData'); expect(node is ImageData, true);});})
; group('Dart->JS', () {test('Date', () {context['o'] = new DateTime(1995, 12, 1
7); var dateType = context['Date']; expect(context.callMethod('isPropertyInstanc
eOf', ['o', dateType]), true); context.deleteProperty('o');}); test('window', ()
{context['o'] = window; var windowType = context['Window']; expect(context.call
Method('isPropertyInstanceOf', ['o', windowType]), true); context.deleteProperty
('o');}); test('document', () {context['o'] = document; var documentType = conte
xt['Document']; expect(context.callMethod('isPropertyInstanceOf', ['o', document
Type]), true); context.deleteProperty('o');}); test('Blob', () {var fileParts =
['<a id="a"><b id="b">hey!</b></a>']; context['o'] = new Blob(fileParts, type: '
text/html'); var blobType = context['Blob']; expect(context.callMethod('isProper
tyInstanceOf', ['o', blobType]), true); context.deleteProperty('o');}); test('un
attached DivElement', () {context['o'] = document.createElement('div'); var divT
ype = context['HTMLDivElement']; expect(context.callMethod('isPropertyInstanceOf
', ['o', divType]), true); context.deleteProperty('o');}); test('Event', () {con
text['o'] = new CustomEvent('test'); var eventType = context['Event']; expect(co
ntext.callMethod('isPropertyInstanceOf', ['o', eventType]), true); context.delet
eProperty('o');}); test('ImageData', () {CanvasElement canvas = document.createE
lement('canvas'); var ctx = canvas.getContext('2d') as CanvasRenderingContext2D;
context['o'] = ctx.createImageData(1, 1); var imageDataType = context['ImageDat
a']; expect(context.callMethod('isPropertyInstanceOf', ['o', imageDataType]), tr
ue); context.deleteProperty('o');});});}) requires dynamic invoke (test/codegen/
js_test.dart, line 572, col 3) |
| 632 info: [DynamicInvoke] group('JS->Dart', () {test('DateTime', () {var date = cont
ext.callMethod('getNewDate'); expect(date is DateTime, true);}); test('window',
() {expect(context['window'] is Window, true);}); test('foreign browser objects
should be proxied', () {var iframe = document.createElement('iframe'); document.
body.appendChild(iframe); var proxy = new JsObject.fromBrowserObject(iframe); va
r contentWindow = proxy['contentWindow']; expect(contentWindow, isNot((a) => a i
s Window)); expect(contentWindow, (a) => a is JsObject); var foreignDoc = conten
tWindow['document']; expect(foreignDoc, isNot((a) => a is Node)); expect(foreign
Doc, (a) => a is JsObject); var clicked = false; foreignDoc['onclick'] = (e) {ex
pect(e, isNot((a) => a is Event)); expect(e, (a) => a is JsObject); clicked = tr
ue;}; context.callMethod('fireClickEvent', [contentWindow]); expect(clicked, tru
e);}); test('document', () {expect(context['document'] is Document, true);}); te
st('Blob', () {var blob = context.callMethod('getNewBlob'); expect(blob is Blob,
true); expect(blob.type, 'text/html');}); test('unattached DivElement', () {var
node = context.callMethod('getNewDivElement'); expect(node is DivElement, true)
;}); test('Event', () {var event = context.callMethod('getNewEvent'); expect(eve
nt is Event, true);}); test('ImageData', () {var node = context.callMethod('getN
ewImageData'); expect(node is ImageData, true);});}) requires dynamic invoke (te
st/codegen/js_test.dart, line 574, col 5) |
| 633 info: [DynamicInvoke] test('DateTime', () {var date = context.callMethod('getNew
Date'); expect(date is DateTime, true);}) requires dynamic invoke (test/codegen/
js_test.dart, line 576, col 7) |
| 634 info: [DynamicInvoke] expect(date is DateTime, true) requires dynamic invoke (te
st/codegen/js_test.dart, line 578, col 9) |
| 635 info: [DynamicInvoke] test('window', () {expect(context['window'] is Window, tru
e);}) requires dynamic invoke (test/codegen/js_test.dart, line 581, col 7) |
| 636 info: [DynamicInvoke] expect(context['window'] is Window, true) requires dynamic
invoke (test/codegen/js_test.dart, line 582, col 9) |
| 637 info: [DynamicInvoke] test('foreign browser objects should be proxied', () {var
iframe = document.createElement('iframe'); document.body.appendChild(iframe); va
r proxy = new JsObject.fromBrowserObject(iframe); var contentWindow = proxy['con
tentWindow']; expect(contentWindow, isNot((a) => a is Window)); expect(contentWi
ndow, (a) => a is JsObject); var foreignDoc = contentWindow['document']; expect(
foreignDoc, isNot((a) => a is Node)); expect(foreignDoc, (a) => a is JsObject);
var clicked = false; foreignDoc['onclick'] = (e) {expect(e, isNot((a) => a is Ev
ent)); expect(e, (a) => a is JsObject); clicked = true;}; context.callMethod('fi
reClickEvent', [contentWindow]); expect(clicked, true);}) requires dynamic invok
e (test/codegen/js_test.dart, line 585, col 7) |
| 638 info: [DynamicInvoke] document.createElement('iframe') requires dynamic invoke (
test/codegen/js_test.dart, line 586, col 22) |
| 639 info: [DynamicInvoke] document.body.appendChild(iframe) requires dynamic invoke
(test/codegen/js_test.dart, line 587, col 9) |
| 640 info: [DynamicInvoke] document.body requires dynamic invoke (test/codegen/js_tes
t.dart, line 587, col 9) |
| 641 info: [DynamicInvoke] expect(contentWindow, isNot((a) => a is Window)) requires
dynamic invoke (test/codegen/js_test.dart, line 592, col 9) |
| 642 info: [DynamicInvoke] isNot((a) => a is Window) requires dynamic invoke (test/co
degen/js_test.dart, line 592, col 31) |
| 643 info: [DynamicInvoke] expect(contentWindow, (a) => a is JsObject) requires dynam
ic invoke (test/codegen/js_test.dart, line 593, col 9) |
| 644 info: [DynamicInvoke] contentWindow['document'] requires dynamic invoke (test/co
degen/js_test.dart, line 596, col 26) |
| 645 info: [DynamicInvoke] expect(foreignDoc, isNot((a) => a is Node)) requires dynam
ic invoke (test/codegen/js_test.dart, line 597, col 9) |
| 646 info: [DynamicInvoke] isNot((a) => a is Node) requires dynamic invoke (test/code
gen/js_test.dart, line 597, col 28) |
| 647 info: [DynamicInvoke] expect(foreignDoc, (a) => a is JsObject) requires dynamic
invoke (test/codegen/js_test.dart, line 598, col 9) |
| 648 info: [DynamicInvoke] foreignDoc['onclick'] requires dynamic invoke (test/codege
n/js_test.dart, line 602, col 9) |
| 649 info: [DynamicInvoke] expect(e, isNot((a) => a is Event)) requires dynamic invok
e (test/codegen/js_test.dart, line 603, col 11) |
| 650 info: [DynamicInvoke] isNot((a) => a is Event) requires dynamic invoke (test/cod
egen/js_test.dart, line 603, col 21) |
| 651 info: [DynamicInvoke] expect(e, (a) => a is JsObject) requires dynamic invoke (t
est/codegen/js_test.dart, line 604, col 11) |
| 652 info: [DynamicInvoke] expect(clicked, true) requires dynamic invoke (test/codege
n/js_test.dart, line 609, col 9) |
| 653 info: [DynamicInvoke] test('document', () {expect(context['document'] is Documen
t, true);}) requires dynamic invoke (test/codegen/js_test.dart, line 612, col 7) |
| 654 info: [DynamicInvoke] expect(context['document'] is Document, true) requires dyn
amic invoke (test/codegen/js_test.dart, line 613, col 9) |
| 655 info: [DynamicInvoke] test('Blob', () {var blob = context.callMethod('getNewBlob
'); expect(blob is Blob, true); expect(blob.type, 'text/html');}) requires dynam
ic invoke (test/codegen/js_test.dart, line 616, col 7) |
| 656 info: [DynamicInvoke] expect(blob is Blob, true) requires dynamic invoke (test/c
odegen/js_test.dart, line 618, col 9) |
| 657 info: [DynamicInvoke] expect(blob.type, 'text/html') requires dynamic invoke (te
st/codegen/js_test.dart, line 619, col 9) |
| 658 info: [DynamicInvoke] blob.type requires dynamic invoke (test/codegen/js_test.da
rt, line 619, col 16) |
| 659 info: [DynamicInvoke] test('unattached DivElement', () {var node = context.callM
ethod('getNewDivElement'); expect(node is DivElement, true);}) requires dynamic
invoke (test/codegen/js_test.dart, line 622, col 7) |
| 660 info: [DynamicInvoke] expect(node is DivElement, true) requires dynamic invoke (
test/codegen/js_test.dart, line 624, col 9) |
| 661 info: [DynamicInvoke] test('Event', () {var event = context.callMethod('getNewEv
ent'); expect(event is Event, true);}) requires dynamic invoke (test/codegen/js_
test.dart, line 627, col 7) |
| 662 info: [DynamicInvoke] expect(event is Event, true) requires dynamic invoke (test
/codegen/js_test.dart, line 629, col 9) |
| 663 info: [DynamicInvoke] test('ImageData', () {var node = context.callMethod('getNe
wImageData'); expect(node is ImageData, true);}) requires dynamic invoke (test/c
odegen/js_test.dart, line 632, col 7) |
| 664 info: [DynamicInvoke] expect(node is ImageData, true) requires dynamic invoke (t
est/codegen/js_test.dart, line 634, col 9) |
| 665 info: [DynamicInvoke] group('Dart->JS', () {test('Date', () {context['o'] = new
DateTime(1995, 12, 17); var dateType = context['Date']; expect(context.callMetho
d('isPropertyInstanceOf', ['o', dateType]), true); context.deleteProperty('o');}
); test('window', () {context['o'] = window; var windowType = context['Window'];
expect(context.callMethod('isPropertyInstanceOf', ['o', windowType]), true); co
ntext.deleteProperty('o');}); test('document', () {context['o'] = document; var
documentType = context['Document']; expect(context.callMethod('isPropertyInstanc
eOf', ['o', documentType]), true); context.deleteProperty('o');}); test('Blob',
() {var fileParts = ['<a id="a"><b id="b">hey!</b></a>']; context['o'] = new Blo
b(fileParts, type: 'text/html'); var blobType = context['Blob']; expect(context.
callMethod('isPropertyInstanceOf', ['o', blobType]), true); context.deleteProper
ty('o');}); test('unattached DivElement', () {context['o'] = document.createElem
ent('div'); var divType = context['HTMLDivElement']; expect(context.callMethod('
isPropertyInstanceOf', ['o', divType]), true); context.deleteProperty('o');}); t
est('Event', () {context['o'] = new CustomEvent('test'); var eventType = context
['Event']; expect(context.callMethod('isPropertyInstanceOf', ['o', eventType]),
true); context.deleteProperty('o');}); test('ImageData', () {CanvasElement canva
s = document.createElement('canvas'); var ctx = canvas.getContext('2d') as Canva
sRenderingContext2D; context['o'] = ctx.createImageData(1, 1); var imageDataType
= context['ImageData']; expect(context.callMethod('isPropertyInstanceOf', ['o',
imageDataType]), true); context.deleteProperty('o');});}) requires dynamic invo
ke (test/codegen/js_test.dart, line 639, col 5) |
| 666 info: [DynamicInvoke] test('Date', () {context['o'] = new DateTime(1995, 12, 17)
; var dateType = context['Date']; expect(context.callMethod('isPropertyInstanceO
f', ['o', dateType]), true); context.deleteProperty('o');}) requires dynamic inv
oke (test/codegen/js_test.dart, line 641, col 7) |
| 667 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', da
teType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 644, co
l 9) |
| 668 info: [DynamicInvoke] test('window', () {context['o'] = window; var windowType =
context['Window']; expect(context.callMethod('isPropertyInstanceOf', ['o', wind
owType]), true); context.deleteProperty('o');}) requires dynamic invoke (test/co
degen/js_test.dart, line 649, col 7) |
| 669 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', wi
ndowType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 652,
col 9) |
| 670 info: [DynamicInvoke] test('document', () {context['o'] = document; var document
Type = context['Document']; expect(context.callMethod('isPropertyInstanceOf', ['
o', documentType]), true); context.deleteProperty('o');}) requires dynamic invok
e (test/codegen/js_test.dart, line 657, col 7) |
| 671 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', do
cumentType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 660
, col 9) |
| 672 info: [DynamicInvoke] test('Blob', () {var fileParts = ['<a id="a"><b id="b">hey
!</b></a>']; context['o'] = new Blob(fileParts, type: 'text/html'); var blobType
= context['Blob']; expect(context.callMethod('isPropertyInstanceOf', ['o', blob
Type]), true); context.deleteProperty('o');}) requires dynamic invoke (test/code
gen/js_test.dart, line 665, col 7) |
| 673 warning: [MissingTypeError] type analysis didn't compute the type of: new Blob(f
ileParts, type: 'text/html') InstanceCreationExpression (test/codegen/js_test.da
rt, line 667, col 24) |
| 674 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', bl
obType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 669, co
l 9) |
| 675 info: [DynamicInvoke] test('unattached DivElement', () {context['o'] = document.
createElement('div'); var divType = context['HTMLDivElement']; expect(context.ca
llMethod('isPropertyInstanceOf', ['o', divType]), true); context.deleteProperty(
'o');}) requires dynamic invoke (test/codegen/js_test.dart, line 674, col 7) |
| 676 info: [DynamicInvoke] document.createElement('div') requires dynamic invoke (tes
t/codegen/js_test.dart, line 675, col 24) |
| 677 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', di
vType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 677, col
9) |
| 678 info: [DynamicInvoke] test('Event', () {context['o'] = new CustomEvent('test');
var eventType = context['Event']; expect(context.callMethod('isPropertyInstanceO
f', ['o', eventType]), true); context.deleteProperty('o');}) requires dynamic in
voke (test/codegen/js_test.dart, line 682, col 7) |
| 679 warning: [MissingTypeError] type analysis didn't compute the type of: new Custom
Event('test') InstanceCreationExpression (test/codegen/js_test.dart, line 683, c
ol 24) |
| 680 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', ev
entType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 685, c
ol 9) |
| 681 info: [DynamicInvoke] test('ImageData', () {CanvasElement canvas = document.crea
teElement('canvas'); var ctx = canvas.getContext('2d') as CanvasRenderingContext
2D; context['o'] = ctx.createImageData(1, 1); var imageDataType = context['Image
Data']; expect(context.callMethod('isPropertyInstanceOf', ['o', imageDataType]),
true); context.deleteProperty('o');}) requires dynamic invoke (test/codegen/js_
test.dart, line 693, col 7) |
| 682 info: [DynamicInvoke] document.createElement('canvas') requires dynamic invoke (
test/codegen/js_test.dart, line 694, col 32) |
| 683 info: [DynamicInvoke] canvas.getContext('2d') requires dynamic invoke (test/code
gen/js_test.dart, line 695, col 19) |
| 684 info: [DynamicInvoke] ctx.createImageData(1, 1) requires dynamic invoke (test/co
degen/js_test.dart, line 696, col 24) |
| 685 info: [DynamicInvoke] expect(context.callMethod('isPropertyInstanceOf', ['o', im
ageDataType]), true) requires dynamic invoke (test/codegen/js_test.dart, line 69
8, col 9) |
OLD | NEW |