mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 12:35:58 +00:00
Bug 341872: Break the cyclic reference between the HelperApps object and the RDF datasource to avoid leaks when downloading a file and choosing 'open with', patch by Regis Caspar <regis.caspar+bz@gmail.com>, r=me
This commit is contained in:
parent
24de37da87
commit
8e01a1d287
@ -50,7 +50,7 @@
|
||||
|
||||
<dialog id="unknownContentType"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="dialog.initDialog();" onunload="this.HelperApps = null; if (dialog) dialog.onCancel();"
|
||||
onload="dialog.initDialog();" onunload="if (dialog) dialog.onCancel();"
|
||||
onblur="if (dialog) dialog.onBlur(event);" onfocus="dialog.onFocus(event);"
|
||||
style="width: 34em;"
|
||||
screenX="" screenY=""
|
||||
|
@ -827,6 +827,7 @@ nsUnknownContentTypeDialog.prototype = {
|
||||
updateHelperAppPref: function() {
|
||||
var ha = new this.mDialog.HelperApps();
|
||||
ha.updateTypeInfo(this.mLauncher.MIMEInfo);
|
||||
ha.destroy();
|
||||
},
|
||||
|
||||
// onOK:
|
||||
|
Loading…
x
Reference in New Issue
Block a user