Ensure PointerEvent is not visible when disabled
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Sep 2018 17:35:39 +0000 (17:35 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Sep 2018 17:35:39 +0000 (17:35 +0000)
commit251cca1c95e5fbecc25392d71ab28e86c4e6c928
treedbcb0b0829791b8179935ff534f4abffe2021a3e
parenta19306a4cfa6403c75235a9d1d7b180afc68af2d
Ensure PointerEvent is not visible when disabled
https://bugs.webkit.org/show_bug.cgi?id=189889
<rdar://problem/44708253>

Reviewed by Eric Carlson.

Source/WebCore:

Test: pointerevents/disabled.html

* bindings/js/WebCoreBuiltinNames.h: Now that it is enabled at runtime, it needs
a built-in name.
* dom/PointerEvent.idl: Add EnabledAtRuntime.

LayoutTests:

A test that explicitly disables PointerEvents and checks
that the interface is not visible.

* pointerevents/disabled-expected.html: Added.
* pointerevents/disabled.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/pointerevents/disabled-expected.html [new file with mode: 0644]
LayoutTests/pointerevents/disabled.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/WebCoreBuiltinNames.h
Source/WebCore/dom/PointerEvent.idl