Index: LayoutTests/pointer-lock/pointer-lock-api-prefixed.html |
diff --git a/LayoutTests/pointer-lock/pointer-lock-api-prefixed.html b/LayoutTests/pointer-lock/pointer-lock-api-prefixed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fa8cc96a4f1db5aa27404a76d0fe9335b2187a75 |
--- /dev/null |
+++ b/LayoutTests/pointer-lock/pointer-lock-api-prefixed.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE HTML> |
+<html> |
+<head> |
+<script src="../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+ description("Basic API existence test for Pointer Lock.") |
+ |
+ shouldBeDefined("document.onwebkitpointerlockchange"); |
+ shouldBeDefined("document.onwebkitpointerlockerror"); |
+ shouldBeDefined("document.webkitExitPointerLock"); |
+ shouldEvaluateTo("document.webkitPointerLockElement", null); |
+ element = document.createElement('x'); |
+ shouldBeDefined("element.webkitRequestPointerLock"); |
+</script> |
+</body> |
+</html> |