Commit 0cd7819f authored by mustaq's avatar mustaq Committed by Commit bot
Browse files

Make PointerEvent an experimental web platform feature.

This CL also nukes the virtual/pointerevent test
suite after moving the pointerevent layouttests to the main test suite.

BUG=471824

Review-Url: https://codereview.chromium.org/2098883002
Cr-Commit-Position: refs/heads/master@{#402321}
parent aa398062
......@@ -229,10 +229,8 @@ void SetRuntimeFeaturesDefaultsAndUpdateFromArgs(
WebRuntimeFeatures::enableMediaDocumentDownloadButton(
base::FeatureList::IsEnabled(features::kMediaDocumentDownloadButton));
if (base::FeatureList::IsEnabled(features::kPointerEvents)) {
WebRuntimeFeatures::enableFeatureFromString(
std::string("PointerEvent"), true);
}
if (base::FeatureList::IsEnabled(features::kPointerEvents))
WebRuntimeFeatures::enableFeatureFromString("PointerEvent", true);
WebRuntimeFeatures::enableFeatureFromString(
"FontCacheScaling",
......
......@@ -59,7 +59,6 @@ crbug.com/480769 http/tests/inspector/service-workers/user-agent-override.html [
crbug.com/506529 fast/mediastream/MediaStreamConstructor.html [ Leak ]
crbug.com/506529 fast/events/constructors/media-stream-event-constructor.html [ Leak ]
crbug.com/506529 fast/files/workers/worker-read-blob-async-crash.html [ Leak ]
crbug.com/506529 virtual/pointerevent/fast/events/constructors/media-stream-event-constructor.html [ Leak ]
# -----------------------------------------------------------------
# Untriaged but known leaks of ActiveDOMObject (IndexedDB).
......
......@@ -32,7 +32,6 @@ fast/harness/sample-fail-mismatch-reftest.html [ WontFix ]
# Chrome uses different keyboard accelerators from those used by Safari, so
# this test will always fail.
[ Linux Win ] fast/events/option-tab.html [ WontFix ]
[ Linux Win ] virtual/pointerevent/fast/events/option-tab.html [ WontFix ]
# This test only applies to overlay scrollbar platforms.
[ Win Linux ] fast/dom/partial-layout-overlay-scrollbars.html [ WontFix ]
......@@ -54,14 +53,6 @@ fast/harness/sample-fail-mismatch-reftest.html [ WontFix ]
[ Linux Mac ] fast/events/panScroll-nested-divs.html [ WontFix ]
[ Linux Mac ] fast/events/panScroll-panIcon.html [ WontFix ]
[ Linux Mac ] fast/events/panScroll-nested-divs-forbidden.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-click.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-click-hyperlink.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-drag.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-event-fired.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-in-iframe.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-nested-divs.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-panIcon.html [ WontFix ]
[ Linux Mac ] virtual/pointerevent/fast/events/panScroll-nested-divs-forbidden.html [ WontFix ]
# These tests are specific to Windows and Linux.
[ Mac ] fast/forms/calendar-picker/date-open-picker-with-f4-key.html [ WontFix ]
......@@ -75,10 +66,6 @@ fast/harness/sample-fail-mismatch-reftest.html [ WontFix ]
[ Mac ] fast/events/menu-key-context-menu.html [ WontFix ]
[ Mac ] fast/events/menu-key-context-menu-position.html [ WontFix ]
[ Mac ] fast/events/menu-key-context-menu-reveal-focus.html [ WontFix ]
[ Mac ] virtual/pointerevent/fast/events/menu-key-context-menu-document.html [ WontFix ]
[ Mac ] virtual/pointerevent/fast/events/menu-key-context-menu.html [ WontFix ]
[ Mac ] virtual/pointerevent/fast/events/menu-key-context-menu-position.html [ WontFix ]
[ Mac ] virtual/pointerevent/fast/events/menu-key-context-menu-reveal-focus.html [ WontFix ]
# Link Highlighting is only supported on Windows and Linux
[ Mac ] compositing/gestures [ WontFix ]
......
......@@ -74,7 +74,7 @@ crbug.com/24182 fast/encoding/char-encoding.html [ Slow ]
crbug.com/24182 fast/frames/sandboxed-iframe-navigation-targetlink.html [ Slow ]
crbug.com/24182 fast/html/marquee-destroyed-without-removed-from-crash.html [ Slow ]
crbug.com/24182 fast/js/regress/string-cons-tower.html [ Slow ]
crbug.com/24182 virtual/pointerevent/fast/events/tabindex-focus-blur-all.html [ Slow ]
crbug.com/24182 fast/events/tabindex-focus-blur-all.html [ Slow ]
crbug.com/24182 [ Debug ] svg/hixie/perf/003.xml [ Slow ]
crbug.com/24182 [ Debug ] svg/hixie/perf/004.xml [ Slow ]
crbug.com/24182 [ Debug ] svg/hixie/perf/005.xml [ Slow ]
......@@ -101,7 +101,6 @@ crbug.com/451577 [ Win ] http/tests/inspector/network/network-datareceived.html
# Debugger and profiler tests are slow in Release as well.
crbug.com/450493 inspector/sources/ [ Slow ]
crbug.com/450493 virtual/pointerevent/inspector/sources/ [ Slow ]
crbug.com/450493 inspector-enabled/sources/ [ Slow ]
crbug.com/450493 http/tests/inspector/sources/ [ Slow ]
crbug.com/450493 http/tests/inspector/stacktraces/ [ Slow ]
......
......@@ -157,21 +157,6 @@
"base": "fast/events/touch/gesture",
"args": ["--enable-smooth-scrolling"]
},
{
"prefix": "pointerevent",
"base": "fast/events",
"args": ["--enable-blink-features=PointerEvent"]
},
{
"prefix": "pointerevent",
"base": "imported/wpt/pointerevents",
"args": ["--enable-blink-features=PointerEvent"]
},
{
"prefix": "pointerevent",
"base": "inspector/sources/debugger-breakpoints",
"args": ["--enable-blink-features=PointerEvent"]
},
{
"prefix": "mediasession",
"base": "media/mediasession",
......
......@@ -53,7 +53,6 @@ crbug.com/608457 imported/wpt/mediacapture-streams/MediaStream-add-audio-track.h
# These tests timeout with --enable-wptserve enabled
crbug.com/508734 imported/wpt/html/semantics/document-metadata/the-link-element/link-style-error-01.html [ Timeout ]
crbug.com/508734 virtual/pointerevent/imported/wpt/pointerevents/pointerevent_button_attribute_mouse-manual.html [ Timeout ]
crbug.com/508734 imported/wpt/html/rendering/replaced-elements/svg-embedded-sizing/svg-in-iframe-fixed.html [ Timeout ]
# These tests fail with --enable-wptserve due to blocked cross-origin frame (crbug.com/619746)
......
......@@ -124,6 +124,14 @@ PASS oldChildWindow.onpageshow is newChildWindow.onpageshow
PASS oldChildWindow.onpause is newChildWindow.onpause
PASS oldChildWindow.onplay is newChildWindow.onplay
PASS oldChildWindow.onplaying is newChildWindow.onplaying
PASS oldChildWindow.onpointercancel is newChildWindow.onpointercancel
PASS oldChildWindow.onpointerdown is newChildWindow.onpointerdown
PASS oldChildWindow.onpointerenter is newChildWindow.onpointerenter
PASS oldChildWindow.onpointerleave is newChildWindow.onpointerleave
PASS oldChildWindow.onpointermove is newChildWindow.onpointermove
PASS oldChildWindow.onpointerout is newChildWindow.onpointerout
PASS oldChildWindow.onpointerover is newChildWindow.onpointerover
PASS oldChildWindow.onpointerup is newChildWindow.onpointerup
PASS oldChildWindow.onpopstate is newChildWindow.onpopstate
PASS oldChildWindow.onprogress is newChildWindow.onprogress
PASS oldChildWindow.onratechange is newChildWindow.onratechange
......
......@@ -124,6 +124,14 @@ PASS childWindow.onpageshow is null
PASS childWindow.onpause is null
PASS childWindow.onplay is null
PASS childWindow.onplaying is null
PASS childWindow.onpointercancel is null
PASS childWindow.onpointerdown is null
PASS childWindow.onpointerenter is null
PASS childWindow.onpointerleave is null
PASS childWindow.onpointermove is null
PASS childWindow.onpointerout is null
PASS childWindow.onpointerover is null
PASS childWindow.onpointerup is null
PASS childWindow.onpopstate is null
PASS childWindow.onprogress is null
PASS childWindow.onratechange is null
......
......@@ -123,6 +123,14 @@ PASS childWindow.onpageshow is null
PASS childWindow.onpause is null
PASS childWindow.onplay is null
PASS childWindow.onplaying is null
PASS childWindow.onpointercancel is null
PASS childWindow.onpointerdown is null
PASS childWindow.onpointerenter is null
PASS childWindow.onpointerleave is null
PASS childWindow.onpointermove is null
PASS childWindow.onpointerout is null
PASS childWindow.onpointerover is null
PASS childWindow.onpointerup is null
PASS childWindow.onpopstate is null
PASS childWindow.onprogress is null
PASS childWindow.onratechange is null
......
pointermove
mousemove
pointermove
mousemove
Verifies that fake mouse events have correct pointer type for pointer events.
......@@ -6,8 +8,10 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
--- move mouse into target ---
1 Received mousemove
1 Received pointermove mouse
2 Received mousemove
3 Received pointermove mouse
4 Received mousemove
PASS successfullyParsed is true
TEST COMPLETE
......
<!DOCTYPE HTML>
<script src="../../../../../resources/js-test.js"></script>
<script src="../../../resources/js-test.js"></script>
<style>
div.box {
margin: 5px;
......
<!DOCTYPE HTML>
<script src="../../../../../resources/js-test.js"></script>
<script src="../../../resources/js-test.js"></script>
<style>
div.box {
margin: 5px;
......
<!DOCTYPE HTML>
<script src="../../../../../resources/js-test.js"></script>
<script src="../../../resources/js-test.js"></script>
<style>
div.box {
margin: 5px;
......
......@@ -3,7 +3,9 @@ Verifies that pointerup/down are fired correctly for correponding mouse events o
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Received pointerdown
Received mousedown
Received pointerup
Received mouseup
PASS successfullyParsed is true
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment