From: Cheng Zhao Date: Fri, 6 Nov 2015 13:00:38 +0000 (+0800) Subject: spec: Fix refreshing on Windows X-Git-Tag: v0.34.3~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c4ee8c1b1f8d335931f6a8fdce6a37ecab2e3d07;p=electron.git spec: Fix refreshing on Windows --- diff --git a/spec/api-crash-reporter-spec.coffee b/spec/api-crash-reporter-spec.coffee index 9aedb0c8..618adaaf 100644 --- a/spec/api-crash-reporter-spec.coffee +++ b/spec/api-crash-reporter-spec.coffee @@ -53,5 +53,6 @@ describe 'crash-reporter module', -> protocol: 'file' pathname: path.join fixtures, 'api', 'crash.html' search: "?port=#{port}" - crashReporter.start {'submitUrl': 'http://127.0.0.1:' + port} + if process.platform is 'darwin' + crashReporter.start {'submitUrl': 'http://127.0.0.1:' + port} w.loadUrl url