Skip to content

Conversation

@yury-s
Copy link
Member

@yury-s yury-s commented Mar 6, 2025

Fixes: #1731

@yury-s yury-s changed the title chore: roll 1.50.0 driver, implement new features chore: roll 1.51.0 driver, implement new features Mar 6, 2025
assertEquals(false, page.evaluate("() => matchMedia('(prefers-contrast: no-preference)').matches"));
}

static boolean tempDirCanBeOnDifferentRoot() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks phishy. Why this doesn't happen on the other language ports.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is java's implementation detail of file name relativization. The other ports probably handle it differently or their temp dir is on the same disk.

Copy link
Member Author

Choose a reason for hiding this comment

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

The code was incorrect though, it's only for Windows and I accidentally committed isMac that I experimented with 😄

@yury-s yury-s merged commit c090824 into microsoft:main Mar 8, 2025
15 of 22 checks passed
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

Successfully merging this pull request may close these issues.

[Ports]: Backport client side changes for 1.51

2 participants