Backed out changeset 0685c59d2e94 (bug 1034129) for dt test failures

This commit is contained in:
Carsten "Tomcat" Book
2014-07-04 15:57:55 +02:00
parent d410029a0b
commit 6604a8f8ee
4 changed files with 35 additions and 39 deletions

View File

@@ -1711,10 +1711,6 @@ EventListeners.prototype = {
throw "Error getting event listeners: " + aResponse.message;
}
// Make sure all the listeners are sorted by the event type, since
// they're not guaranteed to be clustered together.
aResponse.listeners.sort((a, b) => a.type > b.type ? 1 : -1);
// Add all the listeners in the debugger view event linsteners container.
for (let listener of aResponse.listeners) {
let definitionSite = yield this._getDefinitionSite(listener.function);