Browse Source

Use an existing host name so that it resolves quickly and tests don't time out.

Ales Pergl 7 years ago
parent
commit
82394cc06d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/fixtures/api/native-window-open-cross-origin.html

+ 1 - 1
spec/fixtures/api/native-window-open-cross-origin.html

@@ -2,7 +2,7 @@
 <body>
 <script type="text/javascript" charset="utf-8">
   const {ipcRenderer} = require('electron')
-  const popup = window.open('http://host')
+  const popup = window.open('http://127.0.0.1')
   const intervalID = setInterval(function () {
     try {
       if (popup.location.toString() !== 'about:blank') {