Index: tracing/tracing/extras/importer/gzip_importer_test.html |
diff --git a/tracing/tracing/extras/importer/gzip_importer_test.html b/tracing/tracing/extras/importer/gzip_importer_test.html |
index 92816cb61986d444069eaa984b9b1320882d06d4..4ff8f05c6722621647f52d138b43aef98f33b4e8 100644 |
--- a/tracing/tracing/extras/importer/gzip_importer_test.html |
+++ b/tracing/tracing/extras/importer/gzip_importer_test.html |
@@ -6,6 +6,7 @@ found in the LICENSE file. |
--> |
<link rel="import" href="/tracing/base/base64.html"> |
+<link rel="import" href="/tracing/base/trace_stream.html"> |
<link rel="import" href="/tracing/core/test_utils.html"> |
<link rel="import" href="/tracing/extras/importer/gzip_importer.html"> |
<link rel="import" href="/tracing/extras/importer/trace_event_importer.html"> |
@@ -35,7 +36,8 @@ tr.b.unittest.testSuite(function() { |
var gzipData = Base64.atob(GZIP_DATA_BASE_64); |
var importer = new tr.e.importer.GzipImporter(null, gzipData); |
assert.isTrue(tr.e.importer.GzipImporter.canImport(gzipData)); |
- assert.strictEqual(importer.extractSubtraces()[0], ORIGINAL_DATA); |
+ assert.strictEqual( |
+ importer.extractSubtraces()[0].toString(), ORIGINAL_DATA); |
}); |
test('inflateArrayBuffer', function() { |
@@ -48,7 +50,8 @@ tr.b.unittest.testSuite(function() { |
} |
var importer = new tr.e.importer.GzipImporter(null, buffer); |
assert.isTrue(tr.e.importer.GzipImporter.canImport(buffer)); |
- assert.strictEqual(importer.extractSubtraces()[0], ORIGINAL_DATA); |
+ assert.strictEqual( |
+ importer.extractSubtraces()[0].toString(), ORIGINAL_DATA); |
}); |
test('import', function() { |