Created attachment 716055 [details] testcase ###!!! ASSERTION: Should not be initializing plugin without a frame: 'Not Reached', file dom/plugins/base/nsPluginInstanceOwner.cpp, line 2967
I have the "Java Plugin" shim that comes with Mac OS X 10.8, but not Java.
So we're creating a frame for the document that is not an object frame: http://dxr.mozilla.org/mozilla-central/dom/plugins/base/nsPluginInstanceOwner.cpp#l2956 GetPrimaryFrame() succeeds, so we pass the nsObjectLoadingFrame has-frame checks, but bail out because it's not an object frame. This should be harmless due to the bail out, but I'm not sure what the right fix is - other than just refusing to let plugins be the root.
Why is the plugin the root? Don't we automatically add body frames and such? Or is this a problem only because this is xhtml+xml, so we don't follow normal HTML rules?
(In reply to Benjamin Smedberg [:bsmedberg] from comment #4) > Why is the plugin the root? Don't we automatically add body frames and such? > Or is this a problem only because this is xhtml+xml, so we don't follow > normal HTML rules? I have no idea. I tested and this does not happen with object or embed: > <object type="application/x-test" xmlns="http://www.w3.org/1999/xhtml" /> > <embed type="application/x-test" xmlns="http://www.w3.org/1999/xhtml" /> So something about how we make the frame tree for applet is wrong
No longer reproduces.