-
(Have not checked into details, just rough ideas.) Maybe we can utilize the tests inside official dart repo, so that we get a ton of test cases to verify dart-eval is correct, at least up to those tes…
-
A customer reports the following stack trace when trying to interpolate a `GwtException` from a GWT app in the page (paths anonymized).
Clearly it should not crash. It seems like the dart.str help…
-
Hi
I'm working with dart_eval and the current goal is to await an async function which has parameters.
Without parameters everything is fine:
`void start() async {
await aa();
}
Future aa…
-
(ngSubmit) and (submit) do not prevent default form submit causing a page reload
* [x] Dart VM version: 2.7.1 (Thu Jan 23 13:02:26 2020 +0100) on "windows_x64"
* [x] AngularDart Version ^5.3.0
* …
-
```dart
import 'dart:js_interop';
@JS()
external void eval(String code);
@JS()
external void throwFunction();
void main() {
eval('''
self.throwFunction = function() {
throw …
-
* Dart SDK Version: 1.24.3
* Windows 10
* Internet Explorer 11 / Edge 16
* macOS
* FIrefox 60.0.1
When Dart's JS interop tries to auto-convert objects to Dart objects, it accesses `.c…
-
Any examples of how to correctly use the executeScript method?
This doesn't seem to output anything to the browser devtools console.
```
chrome.scripting.executeScript(ScriptInjection(
t…
-
> Having my 'e' variable exception because of same name with exponential operation
`void _expression_creation_and_evaluation() {
Parser p = Parser();
Expression exp = p.parse('e');
Context…
-
my code
`import 'package:flutter/material.dart';
import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
// ignore: prefer_collection_literals
void main() {
// WidgetsFlutter…
-
Dart SDK: Dart SDK version: 3.3.0-edge.2fb83104434e2e07a80c7dc89ae3283d8b6a9eb6 (main) (Wed Nov 29 21:23:45 2023 -0800) on "macos_x64"
Browser: Chrome
```dart
import 'dart:js_util';
import 'pa…