Bug 984813 - Remove deprecated promise.js usage in Firefox for Metro. r=mbrubeck