在更新到最新的Google Chrome版本后,当我们在我们的网站上打开彩盒时,我们会收到错误:
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
[Violation] 'readystatechange' handler took 760ms
[Violation] Forced reflow while executing JavaScript took 51ms
[Violation] Forced reflow while executing JavaScript took 43ms
[Violation] Forced reflow while executing JavaScript took 38ms
这种情况有时只会发生,当我们收到错误时,彩盒不能正常工作,谷歌浏览器上是否有错误?
编辑:Magento合并javascript导致错误,它无法正常工作,如果我不合并它们我没有收到这些错误并且正确加载
VM23586:4 Uncaught TypeError: Cannot set property 'value' of null at choose (eval at <anonymous> (0a9e2e3….js:11743), <anonymous>:4:73) at HTMLImageElement.onclick (letto-moderno-imbottito-prisma.html:1)
Uncaught TypeError: Cannot read property 'close' of undefined at HTMLDivElement.onclick (letto-moderno-imbottito-prisma.html:1)