blob: d9e4a9ed9b50625320d1d2032d0d8c8bee22b7e7 [file] [edit]
<!doctype html>
<!--
Copyright (C) 2026 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Component test harness. Mounts a single registered fixture in isolation so
that Playwright can test widgets without booting the full UI. Only built when
ui/build is run with --enable-component-harness; never shipped.
Query string:
fixture=<name> fixture to mount, e.g. widgets/popup/scroll_container for
the 'scroll_container' export of widgets/popup.fixture.ts.
Omit for a list.
theme=dark use the dark theme (default light)
<anything else> passed to the fixture as string args
-->
<html>
<head>
<meta charset="utf-8" />
<title>Perfetto component harness</title>
<link rel="stylesheet" href="./component_harness.css" />
</head>
<body>
<script src="./component_harness_bundle.js"></script>
</body>
</html>