Bug 949682 part 2. Make gamepad use frozen sequences. r=ted

This commit is contained in:
Boris Zbarsky 2013-12-16 13:06:35 -05:00
parent 45faf1e000
commit 62323b2df8

View File

@ -37,13 +37,13 @@ interface Gamepad {
* The current state of all buttons on the device, an
* array of GamepadButton.
*/
[Pure, Cached]
[Pure, Cached, Frozen]
readonly attribute sequence<GamepadButton> buttons;
/**
* The current position of all axes on the device, an
* array of doubles.
*/
[Pure, Cached]
[Pure, Cached, Frozen]
readonly attribute sequence<double> axes;
};