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

Unified Diff: chrome/browser/resources/tracing/trace_event_importer_test.html

Issue 9584022: Fix ph error on about:tracing startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 | « chrome/browser/resources/tracing/trace_event_importer.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/tracing/trace_event_importer_test.html
diff --git a/chrome/browser/resources/tracing/trace_event_importer_test.html b/chrome/browser/resources/tracing/trace_event_importer_test.html
index 8dc99688a3d803b1b7555e05f3509024c845ac82..3409ba4b6155c27669018a1851bb70f55d06d4e5 100644
--- a/chrome/browser/resources/tracing/trace_event_importer_test.html
+++ b/chrome/browser/resources/tracing/trace_event_importer_test.html
@@ -21,6 +21,11 @@ found in the LICENSE file.
<body>
<script>
+function testCanImportEmpty() {
+ self.assertFalse(tracing.TraceEventImporter.canImport([]));
+ self.assertFalse(tracing.TraceEventImporter.canImport(""));
+}
+
function testBasicSingleThreadNonnestedParsing() {
var events = [
{name: 'a', args: {}, pid: 52, ts: 520, cat: 'foo', tid: 53, ph: 'B'},
« no previous file with comments | « chrome/browser/resources/tracing/trace_event_importer.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698