From: Cheng Zhao Date: Thu, 23 Jun 2016 04:29:18 +0000 (+0900) Subject: spec: Set mimeType for protocol's handler X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2893974c05969df16a4067c3903772aa52ed4e4a;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git spec: Set mimeType for protocol's handler --- diff --git a/spec/api-session-spec.js b/spec/api-session-spec.js index f634f1c..71a51e6 100644 --- a/spec/api-session-spec.js +++ b/spec/api-session-spec.js @@ -275,7 +275,7 @@ describe('session module', function () { const partitionProtocol = session.fromPartition(partitionName).protocol const protocol = session.defaultSession.protocol const handler = function (error, callback) { - callback({data: 'test'}) + callback({data: 'test', mimeType: 'text/html'}) } beforeEach(function (done) {