Open main menu

CDOT Wiki β

Changes

Implementing the Mouse Lock API in Firefox

322 bytes added, 19:38, 8 December 2011
no edit summary
## [http://www.x.org/archive/X11R6.8.2/doc/XGrabPointer.3.html XGrabPointer] on Linux
====Tests====
The central repo with all the tests are located [https://github.com/rhung/mozilla-central/tree/mouselock-tests here]. For more information on how to make mochitests and how to send the pull request to the appropriate person, check out the [http://zenit.senecac.on.ca/wiki/index.php/Mochitest_FAQ Mochitest FAQ] List tests we need below:
# <s>test_syntheticMouseEvent.html</s>
# <s>test_userPref.html</s> - mjschranz
====Using the Test Harness===
'''Note: This harness assumes that your test runs properly as a stand-alone application and is not being used as one of the test amongst others.'''
The problem with the test timing out is due to the fact that the Mochitest iframe does not allow fullscreen from the html code inside the frame.
 
====Demos, Docs, Other====
1
edit