Fix js lint
authorCheng Zhao <zcbenz@gmail.com>
Thu, 16 Mar 2017 10:51:43 +0000 (19:51 +0900)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 20 Mar 2017 19:52:46 +0000 (12:52 -0700)
spec/chromium-spec.js

index e0707ec536a13be0076595799feaf7d19f635f68..a54c6744f7c872b7991c0160462a7d36fcfdf882 100644 (file)
@@ -600,7 +600,7 @@ describe('chromium feature', function () {
     })
 
     it('Worker has node integration with nodeIntegrationInWorker', function (done) {
-      let webview = new WebView
+      let webview = new WebView()
       webview.addEventListener('ipc-message', function (e) {
         assert.equal(e.channel, 'object function object function')
         webview.remove()
@@ -630,7 +630,7 @@ describe('chromium feature', function () {
     })
 
     it('SharedWorker has node integration with nodeIntegrationInWorker', function (done) {
-      let webview = new WebView
+      let webview = new WebView()
       webview.addEventListener('console-message', function (e) {
         console.log(e)
       })