google / google/webcrypto.dart

Fix warnings from integration tests with chromedriver

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
cleanup
Dominant language
Dart
Stars
116
Forks
110
Avg merge
6d 8h
Merged PRs (30d)
9

Description

Currently, we have the follow warnings in tests:
```
Warning: In index.html:53: Local variable for "serviceWorkerVersion" is deprecated. Use "{{flutter_service_worker_version}}" template token instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
Warning: In index.html:62: "FlutterLoader.loadEntrypoint" is deprecated. Use "FlutterLoader.load" instead. See https://docs.flutter.dev/platform-integration/web/initialization for more details.
```

I'm guessing this is something to do with `example/web/index.html`:
https://github.com/google/webcrypto.dart/blob/master/example/web/index.html

Perhaps we should try to create a new template and copy/cargo-cult the setup from there.

It's unclear if this will fix chromedriver tests on macos.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.