2017-04-07 2 views
0

최신으로 업데이트 후 "위반 readystatechange 핸들러는 760ms했다"우리는 우리의 웹 사이트에 colorbox를 열 때 우리는 오류를 얻고있는 최신 Google 크롬 버전으로 업데이트 한 후 크롬

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 

이는 가끔 발생을 우리가 얻을 때 그 오류 colorbox가 제대로 작동하지 않습니다, 아마도 구글 크롬에 버그가 있습니까?

편집 : 마 젠토는 오류의 원인이되는 자바 스크립트를 병합, 나는 이러한 오류를 얻을하지 않습니다 병합하지 않는 경우는, 바로 작동하지 않는 및 올바르게로드 것

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) 
+0

크롬의 마지막 업데이트 전에 작동 했으므로 너무 무거울 수있는 colorbox 요청이어야합니다. – LaurenFrida

+0

AKA 동기 호출이 잘못되었습니다. – epascarello

+0

중복 된 것으로 보입니다. https://stackoverflow.com/questions/41218507/violation-long-running-javascript-task-took-xx-ms/41218580 – oklas

답변

관련 문제