diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 464efc18cae22d9df90cfddadadd0f2a55b2c17d..acb5697908ca3905beb28314bc432cfb2965e2af 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,21 @@ +2011-11-17 Vincent Scheib + + Pointer Lock: Initial Tests for navigator.webkitPonter + https://bugs.webkit.org/show_bug.cgi?id=72659 + + Reviewed by Darin Fisher. + + * platform/efl/Skipped: + * platform/gtk/Skipped: + * platform/mac/Skipped: + * platform/qt/Skipped: + * platform/win/Skipped: + * platform/wincairo/Skipped: + * pointer-lock/mouse-event-api-expected.txt: + * pointer-lock/mouse-event-api.html: + * pointer-lock/pointer-lock-api-expected.txt: + * pointer-lock/pointer-lock-api.html: + 2011-11-22 Adam Klein Unreviewed gardening, remove expectations for now-passing tests. diff --git a/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt b/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt index 70973b2baa56fb13852e902188d7da8bb80ffaf6..d972a72a9858da30a444900e7c48e64b84115cf1 100644 --- a/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt +++ b/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt @@ -18,6 +18,7 @@ navigator.userAgent is OK navigator.vendor is OK navigator.vendorSub is OK navigator.webkitGamepads is OK +navigator.webkitPointer is OK navigator.appCodeName is OK navigator.appName is OK navigator.appVersion is OK @@ -36,4 +37,5 @@ navigator.userAgent is OK navigator.vendor is OK navigator.vendorSub is OK navigator.webkitGamepads is OK +navigator.webkitPointer is OK diff --git a/LayoutTests/platform/efl/Skipped b/LayoutTests/platform/efl/Skipped index 1f200fdf61b016f809732c219e0c7c2ced35aa5e..05103bd6a3fe19fc6955a634465e63066ec815e5 100644 --- a/LayoutTests/platform/efl/Skipped +++ b/LayoutTests/platform/efl/Skipped @@ -1921,6 +1921,9 @@ http/tests/websocket/tests/hybi/ # Microdata DOM API is not yet enabled. fast/dom/MicroData +# Pointer Lock is not implemented. +pointer-lock/ + # Tests for MediaSource API. Feature is not yet functional. # https://bugs.webkit.org/show_bug.cgi?id=64731 http/tests/media/media-source/ diff --git a/LayoutTests/platform/gtk/Skipped b/LayoutTests/platform/gtk/Skipped index a64d8d22e5edd098fde7bedb55daae109237265e..9d3456ad59629e73c7d15b915d1e1948794e4e04 100644 --- a/LayoutTests/platform/gtk/Skipped +++ b/LayoutTests/platform/gtk/Skipped @@ -1591,6 +1591,9 @@ fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling.htm # https://bugs.webkit.org/show_bug.cgi?id=72248 editing/spelling/spelling-unified-emulation.html +# Pointer Lock is not implemented. +pointer-lock/ + # fast/dom/Window/window-postmessage-arrays.html fails on JSC platforms # https://bugs.webkit.org/show_bug.cgi?id=72363 fast/dom/Window/window-postmessage-arrays.html diff --git a/LayoutTests/platform/mac/Skipped b/LayoutTests/platform/mac/Skipped index 4ff78567dce614bcb3bdff25fb7f74f6a6f11920..76817d47a6668d0a0ba5e99c4a301be8cfb7414b 100644 --- a/LayoutTests/platform/mac/Skipped +++ b/LayoutTests/platform/mac/Skipped @@ -487,6 +487,9 @@ fast/repaint/table-extra-bottom-grow.html # DRT doesn't support overridePreference("WebKit*FontMap"...) fast/text/international/locale-sensitive-fonts.html +# Pointer Lock is not implemented. +pointer-lock/ + # https://bugs.webkit.org/show_bug.cgi?id=72435 fast/dom/Window/window-postmessage-arrays.html diff --git a/LayoutTests/platform/qt/Skipped b/LayoutTests/platform/qt/Skipped index 945541c7d05c6910ec8120908aad017c60157381..fa4ac56f2f30b2fd0ea33f0360f8f187f4e26a40 100644 --- a/LayoutTests/platform/qt/Skipped +++ b/LayoutTests/platform/qt/Skipped @@ -2470,6 +2470,9 @@ css3/flexbox/line-wrapping.html # https://bugs.webkit.org/show_bug.cgi?id=72491 http/tests/misc/onload-remove-iframe-crash-2.html +# Pointer Lock is not implemented. +pointer-lock/ + # [Qt] inspector/elements/elements-panel-selection-on-refresh.html crashing # https://bugs.webkit.org/show_bug.cgi?id=72504 inspector/elements/elements-panel-selection-on-refresh.html diff --git a/LayoutTests/platform/win/Skipped b/LayoutTests/platform/win/Skipped index 4c34b493e5705d5f84f24efcf49cdab3ebf2df40..b66f5e7f1eb1bd86f24bbfd64de57ed2eb7bc54d 100644 --- a/LayoutTests/platform/win/Skipped +++ b/LayoutTests/platform/win/Skipped @@ -1454,6 +1454,9 @@ fast/events/platform-wheelevent-paging-y-in-scrolling-page.html # DRT doesn't support overridePreference("WebKit*FontMap"...) fast/text/international/locale-sensitive-fonts.html +# Pointer Lock is not implemented. +pointer-lock/ + # https://bugs.webkit.org/show_bug.cgi?id=72435 fast/dom/Window/window-postmessage-arrays.html diff --git a/LayoutTests/platform/wincairo/Skipped b/LayoutTests/platform/wincairo/Skipped index 6ba23098134610cf78bd382120908bb16cd1c7a4..2627fc8f41e38dee2c63d6ddb3b6bad056c423e9 100644 --- a/LayoutTests/platform/wincairo/Skipped +++ b/LayoutTests/platform/wincairo/Skipped @@ -1967,5 +1967,8 @@ fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html fast/events/platform-wheelevent-paging-y-in-scrolling-div.html fast/events/platform-wheelevent-paging-y-in-scrolling-page.html +# Pointer Lock is not implemented. +pointer-lock/ + # DRT doesn't support overridePreference("WebKit*FontMap"...) fast/text/international/locale-sensitive-fonts.html diff --git a/LayoutTests/pointer-lock/mouse-event-api-expected.txt b/LayoutTests/pointer-lock/mouse-event-api-expected.txt new file mode 100644 index 0000000000000000000000000000000000000000..3542f663fbdebba59e27ec12b194d878e8824bed --- /dev/null +++ b/LayoutTests/pointer-lock/mouse-event-api-expected.txt @@ -0,0 +1,6 @@ +PASS mouseEvent.webkitMovementX is defined. +PASS mouseEvent.webkitMovementY is defined. +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/pointer-lock/mouse-event-api.html b/LayoutTests/pointer-lock/mouse-event-api.html new file mode 100644 index 0000000000000000000000000000000000000000..efb4121d52b708f9e70438bc54ccfe64c46b902d --- /dev/null +++ b/LayoutTests/pointer-lock/mouse-event-api.html @@ -0,0 +1,14 @@ + + + + + + + + + + diff --git a/LayoutTests/pointer-lock/pointer-lock-api-expected.txt b/LayoutTests/pointer-lock/pointer-lock-api-expected.txt new file mode 100644 index 0000000000000000000000000000000000000000..9c38b9d0bdd20dc34d4b424adb7726954755c4fa --- /dev/null +++ b/LayoutTests/pointer-lock/pointer-lock-api-expected.txt @@ -0,0 +1,10 @@ +PASS navigator.webkitPointer is defined. +PASS typeof navigator.webkitPointer.isLocked() is 'boolean' +PASS navigator.webkitPointer.isLocked() is false +PASS navigator.webkitPointer.lock() threw exception TypeError: Not enough arguments. +PASS navigator.webkitPointer.lock(document) is undefined +PASS navigator.webkitPointer.unlock() is undefined +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/pointer-lock/pointer-lock-api.html b/LayoutTests/pointer-lock/pointer-lock-api.html new file mode 100644 index 0000000000000000000000000000000000000000..e840fb569a8f350273ccc881079b486fb53d699f --- /dev/null +++ b/LayoutTests/pointer-lock/pointer-lock-api.html @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/Tools/ChangeLog b/Tools/ChangeLog index 27a855b0d260ab1bd94cff9a3221e57c080a9732..f7efabfba2342c9ef0ba08c40d898b8544d189d7 100644 --- a/Tools/ChangeLog +++ b/Tools/ChangeLog @@ -1,3 +1,14 @@ +2011-11-17 Vincent Scheib + + Pointer Lock: Initial Tests for navigator.webkitPonter + https://bugs.webkit.org/show_bug.cgi?id=72659 + + Reviewed by Darin Fisher. + + * DumpRenderTree/chromium/TestShell.cpp: + (TestShell::TestShell): + Enabling PointerLock in TestShell + 2011-11-22 Ryan Sleevi Update flakiness dashboard for new Chromium builders and tests diff --git a/Tools/DumpRenderTree/chromium/TestShell.cpp b/Tools/DumpRenderTree/chromium/TestShell.cpp index 8507f24c02233bcd108811f0bc717b563de7cf08..5c464a4fb766c58980d2ff31ac7f927713c39ec3 100644 --- a/Tools/DumpRenderTree/chromium/TestShell.cpp +++ b/Tools/DumpRenderTree/chromium/TestShell.cpp @@ -116,6 +116,7 @@ TestShell::TestShell(bool testShellMode) { WebRuntimeFeatures::enableDataTransferItems(true); WebRuntimeFeatures::enableGeolocation(true); + WebRuntimeFeatures::enablePointerLock(true); WebRuntimeFeatures::enableIndexedDatabase(true); WebRuntimeFeatures::enableFileSystem(true); WebRuntimeFeatures::enableJavaScriptI18NAPI(true);