I want to open the URL in the same window I'm actually using the lightning component inside vf page so I can't use "Navigate To Url" as it only works in one.app container. It’s supported in Lightning Experience and Salesforce1 only. that's the reason I'm using Window.open is there is a way I can open the URL in the same window the way we can do this using "Navigate to URL".
handleOpenNewWindowWithRecordId : function(component, event, helper){
console.log('called');
window.open("/006/o");
}
and if i use window.open("/006/o","_self"); if just refresh the component and open the url there only
window.open("/006/o","_parent");
, I would still handle the actual navigation in Visualforce page after listening to navigation event from the component..