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

Test: accessing properties of other Windows #63

Open
domenic opened this issue Sep 3, 2019 · 0 comments
Open

Test: accessing properties of other Windows #63

domenic opened this issue Sep 3, 2019 · 0 comments
Milestone

Comments

@domenic
Copy link
Collaborator

domenic commented Sep 3, 2019

Given a setup like

const i = document.createElement('iframe');
scrollBy(0, 100);
i.contentWindow.scrollBy(0, 100);

The result should be (omitting imports)

const i = Reflect_apply(Document_createElement, Window_document_get(), ['iframe']);
Window_scrollBy(0, 100);
Reflect_apply(Window_scrollBy, Reflect_apply(HTMLIFrameElement_contentWindow_get, i), [0, 100]);

This kind of test is blocked on #29 and possible #35.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant