【发布时间】:2015-06-28 10:17:41
【问题描述】:
我在 linux KDE (OpenMandriva 2014.1) 上运行 firefox 38.0.5。当我在 webIDE 下打开我的 firefox-os 项目时,我无法编辑它的文件。我可以在左侧看到项目目录结构,但是在选择文件(例如 index.html)时,它没有在编辑器面板中打开。我不断看到应用程序的一般描述。我无法在项目子目录中导航。
我已启用日志记录,这是我可以看到的错误:
承诺链未能处理拒绝。你忘了'.catch',还是忘了'return'? 见https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Promise.jsm/Promise
日期:Sun Jun 28 2015 12:03:54 GMT+0200 (CEST) 完整消息:destroy 全栈:JS 框架 :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: PendingErrors.register :: line 162 JS 框架 :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend .js :: this.PromiseWalker.completePromise :: line 675 JS 框架 :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: Handler.prototype.process :: line 903 JS 框架 :: resource://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.walkerLoop :: line 746 JS 框架 :: resource ://gre/modules/Promise.jsm -> resource://gre/modules/Promise-backend.js :: this.PromiseWalker.scheduleWalkerLoop/> :: line 688 native frame :: 未知文件名 :: TOP_LEVEL :: line 0
只有 webIDE 编辑器不工作。其余功能运行良好。
我曾尝试在另一台计算机 (MS Windows) 上使用 webIDE 打开和编辑同一个项目,它运行良好。
欢迎任何提示。谢谢!
编辑: 这个问题将在 Firefox 44.0 中得到修复。正如bugzilla bug 1208713 中所建议的那样,我已经用 Firefox Nightly 成功测试了它(当时是 44 个)。
【问题讨论】:
-
您是否尝试过删除 IndexedDB 文件或清理您的 WebIDE 配置文件?
-
@Cod1ngFree - 我删除了 .mozilla/firefox/
/storage/permanent/indexeddb+++fx-devtools,重新启动了 firefox 和 webIDE,但没有任何变化。我找不到我的 webIDE 个人资料。你能指出通常的路径吗? -
那是 wbIDE 配置文件:\ 也许你应该在 Bugzilla 中填写一个错误。
标签: firefox-os