Bug 1869815 - Return correct class name from RemoteObjectProxy. r=peterv

Differential Revision: https://phabricator.services.mozilla.com/D196317
This commit is contained in:
Tom Schuster 2023-12-13 22:27:06 +00:00
parent 54c0d0666b
commit 20f340b489

View file

@ -123,7 +123,7 @@ const char* RemoteObjectProxyBase::className(
JSContext* aCx, JS::Handle<JSObject*> aProxy) const {
MOZ_ASSERT(js::IsProxy(aProxy));
return "Object";
return NamesOfInterfacesWithProtos(mPrototypeID);
}
void RemoteObjectProxyBase::GetOrCreateProxyObject(