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 +12
-5
lines changed
web_sdk/web_engine_tester Expand file tree Collapse file tree 4 files changed +12
-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
@@ -30,17 +33,23 @@ external _TestRunner? get testRunner; // ignore: library_private_types_in_public
30
33
///
31
34
/// These are exposed so that tools like IDEs can interact with them via remote
32
35
/// debugging.
36
+ /// debugging.
33
37
@JS ()
34
38
@anonymous
39
+ @staticInterop
35
40
class _JSApi {
36
41
external factory _JSApi ({void Function () resume, void Function () restartCurrent});
42
+ }
37
43
44
+ extension _JSApiExtension on _JSApi {
38
45
/// Causes the test runner to resume running, as though the user had clicked
39
46
/// the "play" button.
47
+ // ignore: unused_element
40
48
external Function get resume;
41
49
42
50
/// Causes the test runner to restart the current test once it finishes
43
51
/// running.
52
+ // ignore: unused_element
44
53
external Function get restartCurrent;
45
54
}
46
55
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