calls to nsIEmbeddingSiteWindow.GetDimensions() are passing,
x,y as null.
However parameters are typed as int values types, causing exception when x and y are assigned.
If nsIEmbeddingSiteWindow.GetDimensions are changed from:
nsIEmbeddingSiteWindow.GetDimensions(uint flags, out int x, out int y, out int cx, out int cy)
nsIEmbeddingSiteWindow.GetDimensions(uint flags, ref int x, ref int y, ref int cx, ref int cy)
and the initializes for the out parameters are removed, then test case works.
I will plan to regenerate the interfaces tomorrow.
Thanks for reporting this issue,
thank you for your answer
waiting for your new edition