I'm using the new embedding API and have found that if there's an error during InitEmbedding, say for example GRE_HOME isn't set, there is no way to catch the error because it is called during the constructor of the MozView class. In fact, the constructor doesn't check for errors in InitEmbedding and continues to initialize the MozView object, so that when CreateBrowser is called it raises an exception while trying to work with the uninitialized embedding libraries. Is this a known issue or is there a method of detecting issues in InitEmbedding that I've missed?
Jonathan _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
