electron/spec/fixtures/api
Alexandre Lacheze b4276835d8 fix: lost window.opener after cross-origin navigation (#18173)
* Get a site instance related to current one instead of creation a new one

Using `GetRelatedSiteInstance` will keep the relation (same browsing instance) between the current and the new site instance.

* Some relies on preloads in opened window

The fact that, now, we always have an opener for opened windows diables note integration in opened windows, except if `nodeIntegrationInSubFrames` is enabled.

* Add a test on window.opener after cross-orgin navigation

* Make sure to unregisterProtocol in tests

* Introduc and use a NetworkSandbox for tests

* Modify tests about zoom persistence to properly simulate cross-origin navigation

* Revert "Modify tests about zoom persistence to properly simulate cross-origin navigation"

This reverts commit 0a7537f2eb7f183ddec16637e8a2e92a0d600321.
2019-06-03 13:23:15 -07:00
..
command-line feat: add app.commandLine.hasSwitch() / app.commandLine.getSwitchValue() (#16282) 2019-01-07 07:48:27 -08:00
cookie-app feat: promisify cookies api (#16464) 2019-01-25 12:11:35 -06:00
default-menu feat: use default-app behavior in packaged apps (#16310) 2019-01-15 21:35:53 +01:00
electron-main-module refactor: allow embedder overriding of internal FS calls (#17906) (#18183) 2019-05-07 06:44:32 -07:00
electron-module-app
exit-closes-all-windows-app chore: update to standard 12 2018-09-14 14:57:01 +10:00
ipc-main-listeners refactor: use separate ipc-renderer-internal / ipc-main-internal APIs for Electron internals (#13940) 2018-10-07 00:48:00 +13:00
locale-check chore: update to standard 12 2018-09-14 14:57:01 +10:00
mixed-sandbox-app feat: enable mixed-sandbox mode by default (#15894) 2019-01-22 10:44:28 -08:00
quit-app refactor: replace var with const / let (#14866) 2018-09-29 09:17:00 +10:00
relaunch refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
service-worker feat: promisify webContents.hasServiceWorker() (#16535) 2019-01-26 10:23:16 -08:00
singleton test: add test for second-instance event parameter (#16798) 2019-03-12 11:56:28 -04:00
site-instance-overrides feat: Add option to conditionally disable site instance patches (#18396) 2019-05-31 15:47:18 -07:00
window-all-closed feat: use default-app behavior in packaged apps (#16310) 2019-01-15 21:35:53 +01:00
allocate-memory.html
beforeunload-false-prevent3.html
beforeunload-false.html
blank.html
close-beforeunload-empty-string.html
close-beforeunload-false.html
close-beforeunload-undefined.html
close.html
crash-restart.html chore: make crash-reporter specs not use URL module (#16840) 2019-02-08 13:22:07 -08:00
crash.html chore: make crash-reporter specs not use URL module (#16840) 2019-02-08 13:22:07 -08:00
did-fail-load-iframe.html
execute-javascript.html feat: make zoomLevel/zoomFactor sync (#16410) 2019-01-20 23:40:27 -08:00
frame-subscriber.html
gpu-info.js test: slightly rewrite getGPUInfo() tests (#14863) 2018-10-01 18:34:52 -07:00
isolated-fetch-preload.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
isolated-preload.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
isolated.html
leak-exit-browserview.js fix: destroy WebContents synchronously on shutdown (#15541) 2018-11-08 07:57:28 -08:00
leak-exit-webcontents.js fix: destroy WebContents synchronously on shutdown (#15541) 2018-11-08 07:57:28 -08:00
leak-exit-webcontentsview.js fix: destroy WebContents synchronously on shutdown (#15541) 2018-11-08 07:57:28 -08:00
loaded-from-dataurl.js
localstorage.html test: move several session specs to the main runner (#18433) 2019-05-28 14:12:59 -07:00
native-window-open-argv.html fix: child window with nativeWindowOpen should disable node integration (#15213) 2018-10-25 15:31:07 +09:00
native-window-open-blank.html
native-window-open-child.html
native-window-open-cross-origin.html
native-window-open-file.html
native-window-open-iframe.html
native-window-open-isolated-preload.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
native-window-open-isolated.html
native-window-open-native-addon.html feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
native-window-open-no-allowpopups.html
new-window-preload.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
new-window.html
no-leak.html fix: ensure the sandboxed preloads globals do not leak (#17712) 2019-04-16 10:57:02 -07:00
offscreen-rendering.html
preload.html spec: add test for syncronous access to blink APIs (#14637) 2018-09-25 10:40:15 +12:00
preloads.html
remote-event-handler.html
render-view-deleted.html
sandbox.html test: remove non-applicable processMemoryInfo specs (#17679) 2019-04-05 07:53:25 -07:00
send-sync-message.html
unload.html
window-open-location-change.html
window-open-location-final.html
window-open-location-open.html
window-open-preload.js fix: lost window.opener after cross-origin navigation (#18173) 2019-06-03 13:23:15 -07:00