Bug 1261311 - Fix storage inspector promise rejection syntax error r=mratcliffe
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Fri, 01 Apr 2016 16:32:35 +0100
changeset 291369 b73dfc2916f959611cc90ee906678a5bf11a0b5f
parent 291368 f82243c637f027297dfa2b79545aeeed34088d8d
child 291370 24134582d0ce49abdb224820c95e5ae5dae60174
push id74545
push userkwierso@gmail.com
push dateFri, 01 Apr 2016 23:05:42 +0000
treeherdermozilla-inbound@c410d4e20586 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmratcliffe
bugs1261311
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1261311 - Fix storage inspector promise rejection syntax error r=mratcliffe Should have been a catch.
devtools/client/storage/ui.js
--- a/devtools/client/storage/ui.js
+++ b/devtools/client/storage/ui.js
@@ -148,17 +148,17 @@ StorageUI.prototype = {
   },
 
   makeFieldsEditable: function() {
     let actor = this.getCurrentActor();
 
     if (typeof actor.getEditableFields !== "undefined") {
       actor.getEditableFields().then(fields => {
         this.table.makeFieldsEditable(fields);
-      }).then(() => {
+      }).catch(() => {
         // Do nothing
       });
     } else if (this.table._editableFieldsEngine) {
       this.table._editableFieldsEngine.destroy();
     }
   },
 
   editItem: function(eventType, data) {