
Update test expectations from application/javascript -> text/javascript `package:mime` now uses `text/javascript` and not `application/javascript`. See https://github.com/dart-lang/mime/pull/76. See https://datatracker.ietf.org/doc/html/rfc9239. > This document defines equivalent processing requirements for the various script media types. The most widely supported media type in use is `text/javascript`; all others are considered historical and obsolete aliases of `text/javascript`.
Tracing tests
"Application"
The lib/test.dart
and lib/control.dart
files in this directory are
used by dev/bots/test.dart
's runTracingTests
function to check
whether aspects of the tracing logic in the framework get compiled out
in profile and release builds. They're not meant to be run directly.
The strings in these files are used in dev/bots/test.dart
.
Tests
The tests in this folder must be run with flutter test --enable-vmservice
,
since they test that trace data is written to the timeline by connecting to
the observatory.
These tests will fail if run without this flag.