@samitouri / QOS-React / commits / 1e1a989422

Re-enabled DevTools context menu option in Firefox to inspect function prop source (#17838)

Brian Vaughn committed Jan 14, 2020 at 14:00 UTC 1e1a98942225771f86d8a81b5ac561a9fbff9263
2 files changed +2 -4
packages/react-devtools-extensions/firefox/build.js
+1 -1
@@ -28,7 +28,7 @@ const main = async () => {
28 console.log('WEB_EXT_FIREFOX=nightly yarn run test:firefox');
29 console.log(chalk.gray('\n# You can test against older versions too:'));
30 console.log(
31 - 'WEB_EXT_FIREFOX=/Applications/Firefox52.app/Contents/MacOS/firefox-bin yarn run test:firefox'
31 + 'WEB_EXT_FIREFOX=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin yarn run test:firefox'
32 );
33 };
34
packages/react-devtools-extensions/src/main.js
+1 -3
@@ -216,9 +216,7 @@ function createPanelIfReactLoaded() {
216 showTabBar: false,
217 store,
218 warnIfUnsupportedVersionDetected: true,
219 - viewAttributeSourceFunction: isChrome
220 - ? viewAttributeSourceFunction
221 - : null,
219 + viewAttributeSourceFunction,
220 viewElementSourceFunction,
221 }),
222 );