Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: tests/compiler/dart2js/sourcemaps/sourcemap_html_templates.dart

Issue 1769013002: Add white-listing to sourcemap tests. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Templates used for the HTML visualization of source map information. 5 /// Templates used for the HTML visualization of source map information.
6 6
7 library sourcemap.html.templates; 7 library sourcemap.html.templates;
8 8
9 import 'dart:io'; 9 import 'dart:io';
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 <html> 158 <html>
159 <head> 159 <head>
160 <style> 160 <style>
161 a, a:hover { 161 a, a:hover {
162 text-decoration: none; 162 text-decoration: none;
163 color: #000; 163 color: #000;
164 } 164 }
165 h3 { 165 h3 {
166 cursor: pointer; 166 cursor: pointer;
167 } 167 }
168 .line {
169 margin: 0px;
170 }
168 .lineNumber { 171 .lineNumber {
169 font-size: smaller; 172 font-size: smaller;
170 color: #888; 173 color: #888;
171 } 174 }
172 .buffer, .js-buffer, .dart-buffer, .js-trace-buffer { 175 .buffer, .js-buffer, .dart-buffer, .js-trace-buffer {
173 position:fixed; 176 position:fixed;
174 top:0px; 177 top:0px;
175 height:100%; 178 height:100%;
176 overflow:auto; 179 overflow:auto;
177 } 180 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 </html> 241 </html>
239 '''); 242 ''');
240 } 243 }
241 244
242 /// Outputs [html] in [uri]. 245 /// Outputs [html] in [uri].
243 void output(Uri uri, 246 void output(Uri uri,
244 String html) { 247 String html) {
245 File outputFile = new File.fromUri(uri); 248 File outputFile = new File.fromUri(uri);
246 outputFile.writeAsStringSync(html); 249 outputFile.writeAsStringSync(html);
247 } 250 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/sourcemaps/sourcemap_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698