The TestNetscapePlugin can not be loaded in gecko because WebKit's NPNetscapeFuncs contain two more entries.
Created attachment 32864 [details] [GTK+] Update the focus handling code. Make sure to call FocusController::setFocusedFrame when we didn't set a focused frame yet. We are doing this in the grab-focus and focus-in routine. --- 2 files changed, 30 insertions(+), 3 deletions(-)
Created attachment 32866 [details] [GTK+] Make TestNescpaePlugin loadable in mozilla Currently the NPNetscapeFuncs of WebKit contains two more entries than the gecko version. This means comparing the aMozillaVTable->size with the size of NPNetscpaeFuncs will fail and the plugin will not be loaded. For testing it is nice to be able to load the plugin into gecko and currently we are not using the two extra methods. Remove the test to be able to use the plugin in gecko. --- 2 files changed, 13 insertions(+), 2 deletions(-)
Comment on attachment 32866 [details] [GTK+] Make TestNescpaePlugin loadable in mozilla r=me, I guess the same applies to the check below?
Commited in r46036. Let me think about the other change.