Bug 958709 - enable webapps to kill their tasks; r=mfinkle,mhaigh

--HG--
extra : amend_source : d57e9195baa5eaf3d9847fef0a5b9d78ae8d3af4