function test()
{
// FIXME: Remove once taken out of experiments. Also a hack below should be removed.
- WebInspector.experimentsSettings.canvasInspection = {};
- WebInspector.experimentsSettings.canvasInspection.isEnabled = function() { return true; };
+ Runtime.experiments.enableForTest("canvasInspection");
WebInspector.inspectorView.showPanel("profiles");
var profilesPanel = WebInspector.panels.profiles;