Bug 1016560.  Remove the footgun of rejecting promises with arbitrary objects.  r=khuey
Bug 1019163.  Hold a weak ref to the principal in AutoEntryScript, to reduce call overhead.  r=bholley