Make web tests start with an empty title (flutter/engine#43846)

Fixes https://github.com/flutter/flutter/issues/39159
This commit is contained in:
Ian Hickson
2023-08-22 20:22:59 -07:00
committed by GitHub
parent a92054278a
commit 9881f4846b
2 changed files with 0 additions and 3 deletions

View File

@@ -544,7 +544,6 @@ class BrowserPlatform extends PlatformPlugin {
<!DOCTYPE html>
<html>
<head>
<title>${htmlEscape.convert(test)} Test</title>
<meta name="assetBase" content="/">
<script>
window.flutterConfiguration = {

View File

@@ -28,8 +28,6 @@ Future<void> testMain() async {
// Run the unit test without emulating Flutter tester environment.
ui_web.debugEmulateFlutterTesterEnvironment = false;
// TODO(yjbanov): https://github.com/flutter/flutter/issues/39159
domDocument.title = '';
expect(domDocument.title, '');
expect(getCssThemeColor(), isNull);