Bug 340494: Accessing document.domain at about:plugins does not produces NS_ERROR_FAILURE anymore; r=bz
Bug 1087851 part 1.  Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does.  r=peterv for the idea; patch itself is just search-and-replace
Bug 1087851 part 2.  Add a GetOrCreateDOMReflectorNoWrap API that can be used to do what GetOrCreateDOMReflector does but without wrapping into the caller compartment.  r=bholley