Consider removing debugEmulateFlutterTesterEnvironment
flag
#145779
Labels
c: tech-debt
Technical debt, code quality, testing, etc.
engine
flutter/engine repository. See also e: labels.
P1
High-priority issues at the top of the work list
platform-web
Web applications specifically
team-web
Owned by Web platform team
triaged-web
Triaged by Web platform team
We have a number of backdoor flags in the web engine that the framework uses to set up its test environment. Out of all of them, I dislike
debugEmulateFlutterTesterEnvironment
the most.From what I can tell, this flag does a couple different things:
PlatformDispatcher
. I'm not entirely sure why this is necessary, but I have to imagine it can be possible to suppress these at the framework level. If not, and we truly need a flag for suppressing these, I would rather have an explicit flag as part of theui_web
API or something similar, rather than it just being a undocumented side effect of this flag.UrlStrategy
. This could also be done from the framework side with normal APIs.I think we should consider removing this flag and being more explicit about how we set up any given test.
The text was updated successfully, but these errors were encountered: