Bug 1419787 - Pass onViewSourceInDebugger prop to the ObjectInspector; r=bgrins.

Test will be enabled in Bug 1406038. This requires some Reps work.

MozReview-Commit-ID: CpU25kiXiR1

--HG--
extra : rebase_source : d0c0f7c04f5c507b9ec17d6358b07cc30179b384
This commit is contained in:
Nicolas Chevobbe 2017-11-22 18:03:48 +01:00
Родитель 045d790150
Коммит 9420ee9d33
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -37,6 +37,7 @@ GripMessageBody.propTypes = {
serviceContainer: PropTypes.shape({
createElement: PropTypes.func.isRequired,
hudProxy: PropTypes.object.isRequired,
onViewSourceInDebugger: PropTypes.func.isRequired,
}),
userProvidedStyle: PropTypes.string,
useQuotes: PropTypes.bool,
@ -102,6 +103,7 @@ function GripMessageBody(props) {
}
serviceContainer.hudProxy.releaseActor(actor);
},
onViewSourceInDebugger: serviceContainer.onViewSourceInDebugger,
openLink: serviceContainer.openLink,
};