This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
web_sdk/web_engine_tester Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,8 @@ class Chrome extends Browser {
82
82
final String dir = environment.webUiDartToolDir.createTempSync ('test_chrome_user_data_' ).resolveSymbolicLinksSync ();
83
83
final String jsFlags = enableWasmGC ? < String > [
84
84
'--experimental-wasm-gc' ,
85
- '--wasm-gc-js-interop' ,
86
85
'--experimental-wasm-stack-switching' ,
87
86
'--experimental-wasm-type-reflection' ,
88
- '--wasm-gc-js-interop' ,
89
87
].join (' ' ) : '' ;
90
88
final List <String > args = < String > [
91
89
if (jsFlags.isNotEmpty) '--js-flags=$jsFlags ' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dev_dependencies:
26
26
shelf_static : any
27
27
shelf_web_socket : any
28
28
stack_trace : any
29
- stream_channel : any
29
+ stream_channel : 2.1.1
30
30
test : 1.22.0
31
31
test_api : any
32
32
test_core : any
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ import 'package:ui/src/engine/dom.dart';
18
18
19
19
/// A class defined in content shell, used to control its behavior.
20
20
@JS ()
21
- class _TestRunner {
21
+ @staticInterop
22
+ class _TestRunner {}
23
+
24
+ extension _TestRunnerExtension on _TestRunner {
22
25
external void waitUntilDone ();
23
26
}
24
27
@@ -32,15 +35,20 @@ external _TestRunner? get testRunner; // ignore: library_private_types_in_public
32
35
/// debugging.
33
36
@JS ()
34
37
@anonymous
38
+ @staticInterop
35
39
class _JSApi {
36
40
external factory _JSApi ({void Function () resume, void Function () restartCurrent});
41
+ }
37
42
43
+ extension _JSApiExtension on _JSApi {
38
44
/// Causes the test runner to resume running, as though the user had clicked
39
45
/// the "play" button.
46
+ // ignore: unused_element
40
47
external Function get resume;
41
48
42
49
/// Causes the test runner to restart the current test once it finishes
43
50
/// running.
51
+ // ignore: unused_element
44
52
external Function get restartCurrent;
45
53
}
46
54
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ environment:
6
6
7
7
dependencies :
8
8
js : 0.6.4
9
- stream_channel : 2.1.0
9
+ stream_channel : 2.1.1
10
10
test : 1.22.0
11
11
webkit_inspection_protocol : 1.0.0
12
12
stack_trace : 1.10.0
You can’t perform that action at this time.
0 commit comments