This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
lib/web_ui/test/canvaskit Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ void testMain() {
58
58
expect (restoredPixels.buffer.asUint8List (), originalPixels.buffer.asUint8List ());
59
59
});
60
60
// TODO: https://github.com/flutter/flutter/issues/60040
61
- }, skip: isIosSafari);
61
+ // TODO: https://github.com/flutter/flutter/issues/71520
62
+ }, skip: isIosSafari || isFirefox);
62
63
}
63
64
64
65
void drawTestPicture (CkCanvas canvas) {
Original file line number Diff line number Diff line change @@ -7,11 +7,14 @@ import 'package:test/test.dart';
7
7
import 'package:ui/src/engine.dart' ;
8
8
import 'package:ui/ui.dart' as ui;
9
9
10
- /// Whether we are running on iOS Safari .
10
+ /// Whether the current browser is Safari on iOS.
11
11
// TODO: https://github.com/flutter/flutter/issues/60040
12
12
bool get isIosSafari => browserEngine == BrowserEngine .webkit &&
13
13
operatingSystem == OperatingSystem .iOs;
14
14
15
+ /// Whether the current browser is Firefox.
16
+ bool get isFirefox => browserEngine == BrowserEngine .firefox;
17
+
15
18
/// Used in tests instead of [ProductionCollector] to control Skia object
16
19
/// collection explicitly, and to prevent leaks across tests.
17
20
///
You can’t perform that action at this time.
0 commit comments