Touch properties should be on the prototype
https://bugs.webkit.org/show_bug.cgi?id=160174
Reviewed by Ryosuke Niwa.
Source/WebCore:
Touch properties should be on the prototype:
- https://w3c.github.io/touch-events/#idl-def-touch
Chrome agrees with the specification.
Test: platform/ios-simulator/ios/touch/Touch-attributes-prototype.html
* bindings/scripts/CodeGeneratorJS.pm:
(InterfaceRequiresAttributesOnInstanceForCompatibility): Deleted.
LayoutTests:
Add layout test coverage.
* platform/ios-simulator/ios/touch/Touch-attributes-prototype-expected.txt: Added.
* platform/ios-simulator/ios/touch/Touch-attributes-prototype.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203707
268f45cc-cd09-0410-ab3c-
d52691b4dbfc