Skip to content

Commit 1bb94c1

Browse files
sgrekhovsgrekhov
and
sgrekhov
authored
Fixes #1313. Pre-nnbd tests for focus_A01_t01 and blur_A01_t01 updated to their version in master (#1345)
Co-authored-by: sgrekhov <[email protected]>
1 parent b2034a1 commit 1bb94c1

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

LibTest/html/Element/blur_A01_t01.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ main() {
1616
var x = new ButtonElement();
1717
body.append(x);
1818

19-
asyncStart();
20-
x.onBlur.listen((e) {
21-
asyncEnd();
22-
});
23-
2419
x.focus();
2520
x.blur();
21+
Expect.notEquals(x, document.activeElement);
2622
}

LibTest/html/Element/focus_A01_t01.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ main() {
1616
var x = new ButtonElement();
1717
body.append(x);
1818

19-
asyncStart();
20-
x.onFocus.listen((e) {
21-
asyncEnd();
22-
});
23-
2419
x.focus();
20+
Expect.equals(x, document.activeElement);
2521
}

0 commit comments

Comments
 (0)