Bug 854350 - [OS.File] Clean up code by using default arguments. r=Yoric
Bug 854350 - Add some cleanup code which fixes mochitest failures. r=Yoric
Bug 853449 - Dispatching an event that's already being dispatched should throw InvalidStateError; r=smaug