--- original +++ modified @@ -141,6 +141,7 @@ task_source_functions!(self, dom_manipulation_task_source, DOMManipulation); task_source_functions!(self, file_reading_task_source, FileReading); task_source_functions!(self, font_loading_task_source, FontLoading); + #[cfg(feature = "gamepad")] task_source_functions!(self, gamepad_task_source, Gamepad); // FIXME(arihant2math): uncomment when geolocation is implemented. // task_source_functions!(self, geolocation_task_source, Geolocation);