mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 553956: AddonProviders that contain syntax errors can break everything. r=robstrong
This commit is contained in:
parent
323f5e8b90
commit
3a9b45decd
@ -213,7 +213,12 @@ var AddonManagerInternal = {
|
||||
|
||||
// Ensure all default providers have had a chance to register themselves
|
||||
PROVIDERS.forEach(function(url) {
|
||||
Components.utils.import(url, {});
|
||||
try {
|
||||
Components.utils.import(url, {});
|
||||
}
|
||||
catch (e) {
|
||||
ERROR("Exception loading provider \"" + url + "\": " + e);
|
||||
}
|
||||
});
|
||||
|
||||
let needsRestart = false;
|
||||
|
Loading…
Reference in New Issue
Block a user