Skip to content

HTML: the condition for opening a popup by window.open, and BarProp values for each case - #28243

Merged
domenic merged 2 commits into
web-platform-tests:masterfrom
arai-a:window-open-features
Oct 29, 2021
Merged

domenic merged 2 commits into
web-platform-tests:masterfrom
arai-a:window-open-features

Conversation

@arai-a

@arai-a arai-a commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

@@ -0,0 +1,15 @@
<script src="/common/PrefixedPostMessage.js"></script>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is neat, didn't know about this.

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Found a minor issue while running these locally.

@arai-a
arai-a force-pushed the window-open-features branch from 2677196 to 7c2c947 Compare April 20, 2021 12:06
@arai-a
arai-a force-pushed the window-open-features branch 2 times, most recently from 796dac4 to 12ebca4 Compare October 12, 2021 14:47
@arai-a

arai-a commented Oct 25, 2021

Copy link
Copy Markdown
Contributor Author

Is there any rule about how many new windows single test can open?

the current test opens ~50 new windows,
and for Firefox's case, the debug build takes so long time to open all of them (more than 3 minutes).

I wonder if it's better splitting it in order to reduce the time taken by single test file.

@annevk

annevk commented Oct 25, 2021

Copy link
Copy Markdown
Member

There are no rules. See https://web-platform-tests.org/writing-tests/testharness.html#variants for what you probably want to use if you go down this route.

@arai-a
arai-a force-pushed the window-open-features branch from 12ebca4 to 85ce509 Compare October 27, 2021 10:39

<!-- user agents are not required to support open features other than `noopener`
and on some platforms position and size features don't make sense -->
<meta name="flags" content="may" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think user agents are required to support everything in this test now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants