Index: LayoutTests/pointer-lock/pointer-lock-api.html |
diff --git a/LayoutTests/pointer-lock/pointer-lock-api.html b/LayoutTests/pointer-lock/pointer-lock-api.html |
index f313634a577ed1552a89e2bad806ce98efb37ea6..fa8cc96a4f1db5aa27404a76d0fe9335b2187a75 100644 |
--- a/LayoutTests/pointer-lock/pointer-lock-api.html |
+++ b/LayoutTests/pointer-lock/pointer-lock-api.html |
@@ -11,7 +11,7 @@ |
shouldBeDefined("document.onwebkitpointerlockerror"); |
shouldBeDefined("document.webkitExitPointerLock"); |
shouldEvaluateTo("document.webkitPointerLockElement", null); |
- element = document.createElement(); |
+ element = document.createElement('x'); |
shouldBeDefined("element.webkitRequestPointerLock"); |
</script> |
</body> |