Skip to content

Commit 03d8066

Browse files
Brian Vaughntrueadm
Brian Vaughn
authored andcommitted
Re-enabled DevTools context menu option in Firefox to inspect function prop source (facebook#17838)
1 parent bc5bab1 commit 03d8066

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/react-devtools-extensions/firefox/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const main = async () => {
2828
console.log('WEB_EXT_FIREFOX=nightly yarn run test:firefox');
2929
console.log(chalk.gray('\n# You can test against older versions too:'));
3030
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'
3232
);
3333
};
3434

packages/react-devtools-extensions/src/main.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ function createPanelIfReactLoaded() {
216216
showTabBar: false,
217217
store,
218218
warnIfUnsupportedVersionDetected: true,
219-
viewAttributeSourceFunction: isChrome
220-
? viewAttributeSourceFunction
221-
: null,
219+
viewAttributeSourceFunction,
222220
viewElementSourceFunction,
223221
}),
224222
);

0 commit comments

Comments
 (0)