Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: wire will-navigate up to a navigation throttle instead of OpenURL #25110

Merged
merged 3 commits into from Aug 28, 2020

Conversation

MarshallOfSound
Copy link
Member

Backport of #25065

See that PR for details.

Notes: no-notes

…penURL (#25065)

* refactor: wire will-navigate up to a navigation throttle instead of OpenURL

* spec: add test for x-site _top navigation
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 24, 2020
@trop trop bot added 8-x-y backport This is a backport PR labels Aug 24, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 24, 2020

it('is triggered when a cross-origin iframe navigates _top', async () => {
await w.loadURL(`data:text/html,<iframe src="http://127.0.0.1:${(server.address() as AddressInfo).port}/navigate-top"></iframe>`);
await delay(1000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(node:1098) UnhandledPromiseRejectionWarning: TSError: ⨯ Unable to compile TypeScript:
electron/spec-main/api-browser-window-spec.ts(507,17): error TS2304: Cannot find name 'delay'.

@MarshallOfSound MarshallOfSound merged commit 9f1b24d into 8-x-y Aug 28, 2020
@release-clerk
Copy link

release-clerk bot commented Aug 28, 2020

No Release Notes

@MarshallOfSound MarshallOfSound deleted the refactor-will-navigate-8 branch August 28, 2020 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8-x-y backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants