Keep populating the Events pane even in the presence of event listeners with no associated Debugger.Script (bug 942899). r=vporof

This commit is contained in:
Panos Astithas 2014-02-06 18:33:26 +02:00
Родитель 0b03756ba8
Коммит 733def00a1
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -1696,11 +1696,10 @@ EventListeners.prototype = {
if (aResponse.error) {
const msg = "Error getting function definition site: " + aResponse.message;
DevToolsUtils.reportException("scheduleEventListenersFetch", msg);
deferred.reject(msg);
return;
} else {
aListener.function.url = aResponse.url;
}
aListener.function.url = aResponse.url;
deferred.resolve(aListener);
});