On 4/5/18 1:11 PM, Ben Kelly wrote:
1. Make sure you set the nsIGlobalObject owner by passing it to the DETH
constructor or by calling BindToOwner().

Can we just enforce that by:

1)  Removing the no-arg constructor from DETH.
2)  Making the arg-taking constructors MOZ_ASSERT that the arg is not null.

? We'd need to fix some existing code, but after that should hopefully be in a better place...

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to