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

Unified Diff: runtime/observatory/web/main.dart

Issue 2310003004: Removed polymer & mirror from Observatory (Closed)
Patch Set: Fixed crash in heap-map page Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/observatory/web/index.html ('k') | tools/observatory_tool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/web/main.dart
diff --git a/runtime/observatory/web/main.dart b/runtime/observatory/web/main.dart
index 36c03ab1165391d55ef8b4c35ad74444bf05ff01..4f63d25bbea960ec722dd58361f24ac32c3d40a8 100644
--- a/runtime/observatory/web/main.dart
+++ b/runtime/observatory/web/main.dart
@@ -4,27 +4,15 @@
import 'dart:html';
import 'package:logging/logging.dart';
-import 'package:polymer/polymer.dart';
import 'package:observatory/elements.dart';
main() async {
Logger.root.level = Level.INFO;
Logger.root.onRecord.listen((LogRecord rec) {
- if (rec.level == Level.WARNING &&
- rec.message.startsWith('Error evaluating expression') &&
- (rec.message.contains("Can't assign to null: ") ||
- rec.message.contains('Expression is not assignable: '))) {
- // Suppress flaky polymer errors.
- return;
- }
print('${rec.level.name}: ${rec.time}: ${rec.message}');
});
await initElements();
Logger.root.info('Starting Observatory');
- await initPolymer();
- Logger.root.info('Polymer initialized');
- await Polymer.onReady;
- Logger.root.info('Polymer elements have been upgraded');
document.body.children
.insert(0, document.createElement('observatory-application'));
}
« no previous file with comments | « runtime/observatory/web/index.html ('k') | tools/observatory_tool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698