-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Update the hr-time IDL file #11862
Update the hr-time IDL file #11862
Conversation
interfaces/hr-time.idl
Outdated
readonly attribute DOMHighResTimeStamp timeOrigin; | ||
[Default] object toJSON(); | ||
}; | ||
|
||
partial interface WindowOrWorkerGlobalScope { | ||
partial interface mixin WindowOrWorkerGlobalScope { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in spec here? Doesn't this parse error break the test entirely?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's supposed to be a typo?
EDIT: discussed offline; it is supposed to be interface mixin
(not just mixin
).
0f60ab7
to
e2deb12
Compare
Tweaked the test to cover |
e2deb12
to
0229a36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally in Chrome and Firefox, 20/20 pass in both.
Hello reviewer(s),
This PR is intended to consolidate the spec’s IDL definition with the WPT test suite’s copy, and any idlharness tests.
The up-to-date copy of the IDL file was automatically extracted from the reffy-reports repo (https://github.com/tidoust/reffy-reports/tree/master/whatwg/idl) which scrapes known specs automatically + regulary.
This PR is part of a migration project which will eventually be automatically updating and creating PRs for changes in spec IDL.
Please check that:
The spec (and its source) is correct and up-to-date
All tests which cover the IDL in the spec have been migrated to fetch + use the idl in the
interfaces/
directory (instead of inline copies in the test files).