[go: nahoru, domu]

Skip to content

Commit

Permalink
Make web tests start with an empty title (flutter#43846)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hixie committed Aug 23, 2023
1 parent 7d56840 commit 6477233
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/web_ui/dev/test_platform.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 6477233

Please sign in to comment.