diff --git a/toolkit/modules/Promise-backend.js b/toolkit/modules/Promise-backend.js index 41653a92afb7..21db346ce269 100644 --- a/toolkit/modules/Promise-backend.js +++ b/toolkit/modules/Promise-backend.js @@ -188,7 +188,7 @@ var PendingErrors = { stack = error.location; } else { // Components.stack to the rescue! - stack = Components.stack; + stack = Components_.stack; // Remove those top frames that refer to Promise.jsm. while (stack) { if (!stack.filename.endsWith("/Promise.jsm")) {