Remove alternate hosts from tooling probes
Keep the probe suite on the Material composition so browser fixtures and capture drivers no longer render or select Cupertino hosts. Record the final residual legacy arguments and implementation checks for the delivery gate.
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
// The normal application composition with an explicit host, for browser
|
||||
// captures of the Cupertino app (the web build is Material by design, see
|
||||
// `prefersCupertino`).
|
||||
// The normal application composition for browser captures.
|
||||
//
|
||||
// Build and capture (from app/):
|
||||
// flutter build web --target tool/app_host_probe_entry.dart \
|
||||
// -o build/probe-app-host
|
||||
// serve it with the runs or pipelines fixture server
|
||||
// (`tool/runs_probe_server.mjs`, `tool/pipelines_wiring_probe_server.mjs`)
|
||||
// and open `/runs?host=cupertino`; without `host=cupertino` it is Material.
|
||||
// and open `/runs`.
|
||||
//
|
||||
// It connects only to the page's own origin, like the web app.
|
||||
import 'package:flutter/widgets.dart';
|
||||
@@ -20,7 +18,7 @@ void main() {
|
||||
runApp(
|
||||
PipelinesApp(
|
||||
server: ServerEndpoint.resolve(base: Uri.base, web: true),
|
||||
cupertino: Uri.base.queryParameters['host'] == 'cupertino',
|
||||
cupertino: false,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user