| Index: tools/testing/dart/browser_test.dart
|
| ===================================================================
|
| --- tools/testing/dart/browser_test.dart (revision 26163)
|
| +++ tools/testing/dart/browser_test.dart (working copy)
|
| @@ -6,12 +6,14 @@
|
|
|
| String getHtmlContents(String title,
|
| String scriptType,
|
| - Path sourceScript) =>
|
| + Path sourceScript,
|
| + bool fancyStacks) =>
|
| """
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| + ${fancyStacks?'':'<meta name="dart.unittest" content="raw-stack-traces">'}
|
| <title> Test $title </title>
|
| <style>
|
| .unittest-table { font-family:monospace; border:1px; }
|
| @@ -36,12 +38,15 @@
|
| </html>
|
| """;
|
|
|
| -String getHtmlLayoutContents(String scriptType, Path sourceScript) =>
|
| +String getHtmlLayoutContents(String scriptType,
|
| + Path sourceScript,
|
| + bool fancyStacks) =>
|
| """
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
| + ${fancyStacks?'':'<meta name="dart.unittest" content="raw-stack-traces">'}
|
| </head>
|
| <body>
|
| <script type="text/javascript">
|
|
|