Forum Discussion
Edge Stable crashing on extension function chrome.identity.launchWebAuthFlow
Please check stack overflow link for the solution
sobby Sorry but it's not a solution, it's a workaround and it doesn't even work for me (the workaround returns undefined which means I can't even use it). I also have this issue: https://stackoverflow.com/questions/70286901/edge-extension-crashes-the-whole-browser-on-api-call-after-latest-update-launch
- sobbyDec 18, 2021Copper Contributor
Hi, I agree it's not a solution it is just a workaround but Can you please share some code why it is returning undefined.
- KristofferPKDec 18, 2021Copper Contributor
sobby Sorry didn't notice you asked for code! 😄
const arguments = ''; // Hidden due to privacy const authURL = 'https://login.microsoftonline.com/common/oauth2/authorize' + arguments; const res = chrome.windows.create({ focused: true, height : 800, width: 800, url: authURL }); console.log(res);- diridevDec 18, 2021Copper Contributor
KristofferPK sobby Please keep replies to this question related to the original problem.
Otherwise people subscribed to the thread are receiveing emails for replies they don't care about.
Move questions related to the workaround to one of the stackoverflow threads.
Thanks
- KristofferPKDec 18, 2021Copper ContributorHi, thanks for responding so quickly. I appreciate it.
I don't know! 😄 It creates a window and displays correctly, but it returns undefined (without any other errors) and I'm baffled.
I have no idea why it's returning undefined.
I can't listen to window-changes (to retrieve the window-title) if the API returns nothing! 😛 I'm unable to give you more information of why it returns undefined.