Diff
Modified: trunk/LayoutTests/ChangeLog (101024 => 101025)
--- trunk/LayoutTests/ChangeLog 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/ChangeLog 2011-11-22 21:41:13 UTC (rev 101025)
@@ -1,3 +1,21 @@
+2011-11-17 Vincent Scheib <sch...@chromium.org>
+
+ 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 <ad...@chromium.org>
Unreviewed gardening, remove expectations for now-passing tests.
Modified: trunk/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt (101024 => 101025)
--- trunk/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt 2011-11-22 21:41:13 UTC (rev 101025)
@@ -18,6 +18,7 @@
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.vendor is OK
navigator.vendorSub is OK
navigator.webkitGamepads is OK
+navigator.webkitPointer is OK
Modified: trunk/LayoutTests/platform/efl/Skipped (101024 => 101025)
--- trunk/LayoutTests/platform/efl/Skipped 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/efl/Skipped 2011-11-22 21:41:13 UTC (rev 101025)
@@ -1921,6 +1921,9 @@
# 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/
Modified: trunk/LayoutTests/platform/gtk/Skipped (101024 => 101025)
--- trunk/LayoutTests/platform/gtk/Skipped 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/gtk/Skipped 2011-11-22 21:41:13 UTC (rev 101025)
@@ -1591,6 +1591,9 @@
# 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
Modified: trunk/LayoutTests/platform/mac/Skipped (101024 => 101025)
--- trunk/LayoutTests/platform/mac/Skipped 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/mac/Skipped 2011-11-22 21:41:13 UTC (rev 101025)
@@ -487,6 +487,9 @@
# 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
Modified: trunk/LayoutTests/platform/qt/Skipped (101024 => 101025)
--- trunk/LayoutTests/platform/qt/Skipped 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/qt/Skipped 2011-11-22 21:41:13 UTC (rev 101025)
@@ -2470,6 +2470,9 @@
# 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
Modified: trunk/LayoutTests/platform/win/Skipped (101024 => 101025)
--- trunk/LayoutTests/platform/win/Skipped 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/win/Skipped 2011-11-22 21:41:13 UTC (rev 101025)
@@ -1454,6 +1454,9 @@
# 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
Modified: trunk/LayoutTests/platform/wincairo/Skipped (101024 => 101025)
--- trunk/LayoutTests/platform/wincairo/Skipped 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/LayoutTests/platform/wincairo/Skipped 2011-11-22 21:41:13 UTC (rev 101025)
@@ -1967,5 +1967,8 @@
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
Added: trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt (0 => 101025)
--- trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt (rev 0)
+++ trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt 2011-11-22 21:41:13 UTC (rev 101025)
@@ -0,0 +1,6 @@
+PASS mouseEvent.webkitMovementX is defined.
+PASS mouseEvent.webkitMovementY is defined.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Property changes on: trunk/LayoutTests/pointer-lock/mouse-event-api-expected.txt
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/pointer-lock/mouse-event-api.html (0 => 101025)
--- trunk/LayoutTests/pointer-lock/mouse-event-api.html (rev 0)
+++ trunk/LayoutTests/pointer-lock/mouse-event-api.html 2011-11-22 21:41:13 UTC (rev 101025)
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+</head>
+<body>
+<script>
+ var mouseEvent = document.createEvent("MouseEvent");
+ shouldBeDefined("mouseEvent.webkitMovementX");
+ shouldBeDefined("mouseEvent.webkitMovementY");
+</script>
+<script src=""
+</body>
+</html>
Property changes on: trunk/LayoutTests/pointer-lock/mouse-event-api.html
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt (0 => 101025)
--- trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt (rev 0)
+++ trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt 2011-11-22 21:41:13 UTC (rev 101025)
@@ -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
+
Property changes on: trunk/LayoutTests/pointer-lock/pointer-lock-api-expected.txt
___________________________________________________________________
Added: svn:eol-style
Added: trunk/LayoutTests/pointer-lock/pointer-lock-api.html (0 => 101025)
--- trunk/LayoutTests/pointer-lock/pointer-lock-api.html (rev 0)
+++ trunk/LayoutTests/pointer-lock/pointer-lock-api.html 2011-11-22 21:41:13 UTC (rev 101025)
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
+<html>
+<head>
+<script src=""
+</head>
+<body>
+<script>
+ shouldBeDefined("navigator.webkitPointer");
+ shouldEvaluateTo("navigator.webkitPointer.isLocked()", false);
+ shouldThrow("navigator.webkitPointer.lock()", "'TypeError: Not enough arguments'");
+ shouldEvaluateTo("navigator.webkitPointer.lock(document)", "undefined");
+ shouldEvaluateTo("navigator.webkitPointer.unlock()", "undefined");
+</script>
+<script src=""
+</body>
+</html>
Property changes on: trunk/LayoutTests/pointer-lock/pointer-lock-api.html
___________________________________________________________________
Added: svn:eol-style
Modified: trunk/Tools/ChangeLog (101024 => 101025)
--- trunk/Tools/ChangeLog 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/Tools/ChangeLog 2011-11-22 21:41:13 UTC (rev 101025)
@@ -1,3 +1,14 @@
+2011-11-17 Vincent Scheib <sch...@chromium.org>
+
+ 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 <rsle...@chromium.org>
Update flakiness dashboard for new Chromium builders and tests
Modified: trunk/Tools/DumpRenderTree/chromium/TestShell.cpp (101024 => 101025)
--- trunk/Tools/DumpRenderTree/chromium/TestShell.cpp 2011-11-22 20:39:54 UTC (rev 101024)
+++ trunk/Tools/DumpRenderTree/chromium/TestShell.cpp 2011-11-22 21:41:13 UTC (rev 101025)
@@ -116,6 +116,7 @@
{
WebRuntimeFeatures::enableDataTransferItems(true);
WebRuntimeFeatures::enableGeolocation(true);
+ WebRuntimeFeatures::enablePointerLock(true);
WebRuntimeFeatures::enableIndexedDatabase(true);
WebRuntimeFeatures::enableFileSystem(true);
WebRuntimeFeatures::enableJavaScriptI18NAPI(true);