Bug 1845017 - Disable the TestPHCExhaustion test r=glandium
[gecko.git] / browser / actors / PointerLockChild.sys.mjs
blobf042fff98fbd3c26fb2acfe2964e9dd57e588012
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 export class PointerLockChild extends JSWindowActorChild {
6   handleEvent(event) {
7     switch (event.type) {
8       case "MozDOMPointerLock:Entered":
9         this.sendAsyncMessage("PointerLock:Entered");
10         break;
12       case "MozDOMPointerLock:Exited":
13         this.sendAsyncMessage("PointerLock:Exited");
14         break;
15     }
16   }