mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
63965d781c
The inspector was using an outdated Reps bundle for some time because some non-trivial changed were made to the ObjectInspector that we wanted to do as a follow up for in the inspector, but never took the time to do so. This will become a painpoint soon as we're planning to do changes in reps for Fission. This patch removes the old bundle, and mov the inspector usage of Reps to the new bundle. We introduce a new middleware, thunk-with-options, that is similar to thunk but cab be bound with an options object (on which we add dispatch and getState), that will be then passed as parameter to the actions. Since the task middelware is executed before the thunk one, and given that it handles async function, it would bypass the thunk-with-action middleware, making some objectInspector actions fail. To workaround that, we add an option to createStore to add the ability to disable the task middleware (which isn't needed in the inspector). The ObjectInspector reducer is also added to the inspector store. Differential Revision: https://phabricator.services.mozilla.com/D46141 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
aboutdebugging | ||
accessibility | ||
application | ||
bin | ||
debugger | ||
dom | ||
framework | ||
inspector | ||
jsonview | ||
locales | ||
memory | ||
netmonitor | ||
performance | ||
performance-new | ||
preferences | ||
responsive | ||
scratchpad | ||
shared | ||
storage | ||
styleeditor | ||
themes | ||
webconsole | ||
webide | ||
webreplay | ||
.eslintrc.js | ||
definitions.js | ||
jar.mn | ||
menus.js | ||
moz.build |