Port bug 939294 (add handles to xpidl jsval) to comm-central, rs=mrosenb to reopen a CLOSED TREE