diff --git a/spec/api-browser-view-spec.ts b/spec/api-browser-view-spec.ts index bb2c1e19a4..58ff7a087d 100644 --- a/spec/api-browser-view-spec.ts +++ b/spec/api-browser-view-spec.ts @@ -90,7 +90,7 @@ describe('BrowserView module', () => { w.show(); w.setBounds(display.bounds); w.setBackgroundColor(WINDOW_BACKGROUND_COLOR); - await w.loadURL('about:blank'); + await w.loadURL('data:text/html,'); view = new BrowserView(); view.setBounds(display.bounds); @@ -109,7 +109,7 @@ describe('BrowserView module', () => { w.show(); w.setBounds(display.bounds); w.setBackgroundColor(WINDOW_BACKGROUND_COLOR); - await w.loadURL('about:blank'); + await w.loadURL('data:text/html,'); view = new BrowserView(); view.setBounds(display.bounds);