зеркало из https://github.com/mozilla/pjs.git
Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi
This commit is contained in:
Родитель
1195cf2d78
Коммит
c8da25aa8b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче