Skip to content

Update the pointerevents IDL file + tests - #11922

Merged
lukebjerring merged 6 commits into
web-platform-tests:masterfrom
lukebjerring:idl-file-updates-pointerevents
Jul 25, 2018
Merged

lukebjerring merged 6 commits into
web-platform-tests:masterfrom
lukebjerring:idl-file-updates-pointerevents

Conversation

@lukebjerring

Copy link
Copy Markdown
Contributor

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).

@lukebjerring
lukebjerring force-pushed the idl-file-updates-pointerevents branch from e5373e3 to e801b05 Compare July 20, 2018 15:23
@foolip

foolip commented Jul 21, 2018

Copy link
Copy Markdown
Member

@lukebjerring, changes from another PR somehow got entangled here, I merged to resolve conflicts and made those changes go away. This PR should definitely be squashed when landed though.

@foolip

foolip commented Jul 21, 2018

Copy link
Copy Markdown
Member

http://w3c-test.org/pointerevents/idlharness.html is entirely broken now so this is an improvement for sure, but I see a problem. Subtest 'GlobalEventHandlers interface: window must inherit property "ongotpointercapture" with the proper type' and others like it are failing because ongotpointercapture is an own property of the global object, and there's apparently no special casing to avoid that check. @lukebjerring, this probably affects other tests you've recently updated. I'll hold off merging this until you can react.

@foolip foolip 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.

LGTM % GlobalEventHandlers problem

@lukebjerring
lukebjerring merged commit efef417 into web-platform-tests:master Jul 25, 2018
@lukebjerring
lukebjerring deleted the idl-file-updates-pointerevents branch October 5, 2018 13:20
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.

3 participants