From d938748880bdccff39b74d074176cfd7208eb04d Mon Sep 17 00:00:00 2001 From: Nicholas Shahan Date: Mon, 21 Apr 2025 17:07:51 -0700 Subject: [PATCH] [ddc] Update ddb script for new ddc modules Add a body tag to the html dart:html can work when running in chrome. Change-Id: I0d046d8033a734bd610091c52d1410cc72edec84 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423521 Reviewed-by: Srujan Gaddam Commit-Queue: Nicholas Shahan --- pkg/dev_compiler/tool/ddb | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkg/dev_compiler/tool/ddb b/pkg/dev_compiler/tool/ddb index d21d910efb3..129c1ff74bf 100755 --- a/pkg/dev_compiler/tool/ddb +++ b/pkg/dev_compiler/tool/ddb @@ -349,14 +349,19 @@ sdk.dart.jsInteropNonNullAsserts($jsInteropNonNullAsserts); for (var output in outputs) '' ].join('\n'); var ddcModulesHtml = ''' - - - -$ddcModuleScriptTags - + + + + + + + $ddcModuleScriptTags + + + '''; var htmlFile = p.setExtension(entryPoint, '.html'); File(htmlFile)