Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi

git-svn-id: svn://10.0.0.236/trunk@103728 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2001-09-25 22:04:24 +00:00
parent 34f07e2fe4
commit 934a0ed1b4
2 changed files with 6 additions and 0 deletions

View File

@@ -998,6 +998,9 @@ nsObjectFrame::Reflow(nsIPresContext* aPresContext,
// Create an absolute URL
rv = NS_NewURI(getter_AddRefs(fullURL), src, baseURL);
}
else
fullURL = baseURL;
rv = InstantiatePlugin(aPresContext, aMetrics, aReflowState,
pluginHost, "application/x-java-vm", fullURL);
} else { // traditional plugin