window.location.href 最近因 Mac 而停止在 Excel 上工作?
window.location.href stopped working recently on Excel for Mac?
在基于 Javascript 的 Excel 加载项中,它使用以下代码导航到第三方 oauth 登录页面:
window.location.href = "https://app.hubspot.com/oauth/authorize";
直到最近,Mac(版本 16.9 (180116))在 Excel 2016 上运行良好。现在它不会再导航到第 3 方登录页面。加载项清单没有变化,第 3 方域也在其中列入白名单。 Windows 和 Excel Online 的 Excel 仍然使用相同的代码和清单。
<AppDomain>https://app.hubspot.com/</AppDomain>
我认为 Excel Mac 支持 window.location.href
的方式最近发生了变化?
听起来像bug/regression;我已将此转交给我的一位同事进行调查。
我打开了错误 https://github.com/OfficeDev/office-js/issues/59 来跟踪这个。欢迎订阅那里的问题状态——感谢您的报告!
在基于 Javascript 的 Excel 加载项中,它使用以下代码导航到第三方 oauth 登录页面:
window.location.href = "https://app.hubspot.com/oauth/authorize";
直到最近,Mac(版本 16.9 (180116))在 Excel 2016 上运行良好。现在它不会再导航到第 3 方登录页面。加载项清单没有变化,第 3 方域也在其中列入白名单。 Windows 和 Excel Online 的 Excel 仍然使用相同的代码和清单。
<AppDomain>https://app.hubspot.com/</AppDomain>
我认为 Excel Mac 支持 window.location.href
的方式最近发生了变化?
听起来像bug/regression;我已将此转交给我的一位同事进行调查。
我打开了错误 https://github.com/OfficeDev/office-js/issues/59 来跟踪这个。欢迎订阅那里的问题状态——感谢您的报告!