зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1237798 - Use correct Components object inside CommonJS. r=Yoric
--HG-- extra : rebase_source : f401e4dd2cc3a47976617e4fbbf9d18a3ca47a7e
This commit is contained in:
Родитель
d69c074e5e
Коммит
1ea3b20493
|
@ -188,7 +188,7 @@ var PendingErrors = {
|
||||||
stack = error.location;
|
stack = error.location;
|
||||||
} else {
|
} else {
|
||||||
// Components.stack to the rescue!
|
// Components.stack to the rescue!
|
||||||
stack = Components.stack;
|
stack = Components_.stack;
|
||||||
// Remove those top frames that refer to Promise.jsm.
|
// Remove those top frames that refer to Promise.jsm.
|
||||||
while (stack) {
|
while (stack) {
|
||||||
if (!stack.filename.endsWith("/Promise.jsm")) {
|
if (!stack.filename.endsWith("/Promise.jsm")) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче