Mouse lock pointer not working for quake demo

RESOLVED INVALID

Status

()

defect
RESOLVED INVALID
7 years ago
7 years ago

People

(Reporter: virgil.dicu, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120429 Firefox/14.0a2

1. Make sure the "full-screen-api.pointer-lock.enabled" pref.
2. Load http://media.tojicode.com/q3bsp/
3. Enter full screen using the full screen button in the lower right part of the video.

Expected: Mouse should control movement without moving the cursor around. 
Actual: Demo is displayed on a quarter of the screen. Mouse lock pointer not working.
This is throwing:

[10:27:55.841] NS_ERROR_XPC_BAD_OP_ON_WN_PROTO: Illegal operation on WrappedNative prototype object @ http://media.tojicode.com/q3bsp/js/main.js:323

Which is:

    viewport.addEventListener("click", function(event) {
-->      viewport.requestPointerLock();
    }, false);
Issue with the demo's code, now fixed.

https://twitter.com/#!/Tojiro/status/197000050440798208
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.