[device-orientation] Upstream web tests to WPT
This CL upstreams most device orientation tests to WPT.
- Moves device orientation tests from
web_tests/device_orientation/,
web_tests/http/tests/security/powerfuFeatureRestrictions/,
to web_tests/external/wpt/orientation-event with some necessary
updates to adapt to WPT test framework.
- Retains two page-visibility.html tests as which could not be
automated in WPT at present and adds two similar manual tests
there to keep test coverage sufficient.
- Leaves existing tests as is, further improvement (e.g. remove duplicate
tests, use EventWatcher, etc.) will be arranged in a follow-up.
- Updates test paths in some profiles.
Bug: 816462
Change-Id: I1b91168c5362fc6e059b2529dd4a1d8119f5dad6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135059
Commit-Queue: Wanming Lin <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Cr-Commit-Position: refs/heads/master@{#758443}
diff --git a/WATCHLISTS b/WATCHLISTS
index b3104cc..906b6ee 100644
--- a/WATCHLISTS
+++ b/WATCHLISTS
@@ -361,7 +361,7 @@
'filepath': 'content/browser/device_sensors/' \
'|content/test/data/device_sensors/' \
'|third_party/blink/renderer/modules/device_orientation/' \
- '|third_party/blink/web_tests/device_orientation/' \
+ '|third_party/blink/web_tests/external/wpt/orientation-event/' \
'|third_party/blink/renderer/core/frame/platform_event_(controller|dispatcher)' \
'|third_party/blink/renderer/core/frame/device_single_window_event_controller'
},