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

RFC 73 : Add testdriver.js support for the timeZone WebDriver command. #73

Closed
wants to merge 2 commits into from

Conversation

stephenmcgruer
Copy link
Contributor

No description provided.

@stephenmcgruer stephenmcgruer changed the title RFC ?? : Add testdriver.js support for the timeZone WebDriver command. RFC 73 : Add testdriver.js support for the timeZone WebDriver command. Nov 24, 2020
## Summary
Add testdriver.js support for the `timeZone` WebDriver extension, which will
allow setting the current timezone in the browser. This extension is specced as
part of the [HTML spec](https://github.com/whatwg/html/pull/3047).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The proposed text is currently in this comment: whatwg/html#3047 (comment)

This RFC should not be merged until the comment text is (a) part of the PR, and (b) the PR is either landed or fully LGTM'd and about to be landed.

Ultimately this link should be updated to point at the relevant HTML spec section rather than a PR.

Choose a reason for hiding this comment

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

My comment text is now part of the PR: whatwg/html#3047

@stephenmcgruer stephenmcgruer force-pushed the smcgruer/timezonechange_testdriver branch from 6797392 to 375e23f Compare November 24, 2020 14:02
rfcs/testdriver_set_time_zone.md Outdated Show resolved Hide resolved
Changing the time zone is not available via normal web APIs. To test the effect
of changing time zone on the `ontimezonechange` event there needs to be a way
to instruct the browser to act as if the time zone is changing: this WebDriver
extension provides that ability.

Choose a reason for hiding this comment

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

Worth mentioning that this command is also useful to test PWAs that take into account the user's local time zone? IOW, it's useful even if timezonechange didn't exist.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Are you thinking from the context of WPT still, or from the context of a web-developer (or PWA developer) who might want to test their site/app?

Choose a reason for hiding this comment

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

Oh yeah, I was talking about the WebDriver command, not the testdriver.js change. Ignore me! :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not at all - that info helps inform us that this WebDriver extension is probably useful outside of the scope of WPT. Those tend to be even easier to accept, since there's a valid use for them in the 'real world' :)

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
@mathiasbynens
Copy link

mathiasbynens commented Feb 24, 2021

Update re: @stephenmcgruer's earlier comment:

This RFC should not be merged until the comment text is (a) part of the PR, and (b) the PR is either landed or fully LGTM'd and about to be landed.

a) happened, but we're still working on b).

@jgraham
Copy link
Contributor

jgraham commented May 2, 2023

As per current policy this can be added to testdriver without an RFC, so I'm going to close this issue, but that shouldn't be interpreted as a rejection; just file a PR on testdriver when the feature lands and it can go through the normal code review process.

@jgraham jgraham closed this May 2, 2023
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.

None yet

3 participants