라벨이 browser인 게시물 표시

잘 동작하던 site에서 갑자기 net::ERR_HTTP2_COMPRESSION_ERROR 가 발생하는 현상

 experience 잘 동작하던 site에서 갑자기 ERR_HTTP2_COMPRESSION_ERROR  로그가 발생 원인을 검색해도 잘나오지를 않음  이것저것 검색해보니, charles 프로그램이 떠 있으면, 위 에러가 발생하는 경우가 있는 것으로 보임.   charles 실행해두고, record는 하지 않은 상태인데.. 위와 같은 오류가 발생함 확인.. 신기한 건, charles가 떠있더라도 위 오류가 계속 안나다가 갑자기 발생했다는 점..

크롬(chrome)에서만 LSEP 문자(character)

 experience  가끔 복사 & 붙여넣기로 작성된 웹페이지에 LSEP 문자가 보이는 현상이 발생.. ​  윈도우 크롬에서만 재현되던가 했던듯... ​ 원인은 줄바꿈에 해당하는 Line Separator 문자(U+2028)가 크롬에서 노출되는 현상이라는.. ​ 크롬에서만 감지하는 인쇄 문자로 font와도 연관이 있는듯.. LSEP를 표시하는 font라면 노출이 된다는...   마찬가지로 Paragraph Separator를 의미하는 PSEP(U+2029)도 노출되는 듯.. ​ \u2028 \u2029 를 적절히 replace 해주면 되는 듯.. ​ ​ from : https://stackoverflow.com/questions/39603446/why-is-this-lsep-symbol-showing-up-on-chrome-and-not-firefox-or-edge

크롬(chrome)에서 빠른 ajax(http, https) 요청이 계속 pending(요청이 가지 않는, 먹통이 되는, 중지)되는 이슈

experience one page 웹 서비스 운영중, 크롬에서만 request가 빠르게 진행되는 경우, 요청이 pending되면서 그 이후로의 요청이 전달되지 않는 현상이 계속 발생..  개발자도구(F12)로 보게되면 CAUTION: request is not finished yet! 이라고 되면서, pending됨..  - 찾아보니, 크롬의 경우 origin별로 tcp connection max개수가 6개라고 함. 따라서 max connection을 다 쓰게되면 idle이 될 때까지 대기.. keep alive설정이 켜져있는 상태에서 api 응답이 느리면 connection을 계속 잡고 있게 됨.. connection을 잡지않도록하는 설정이 필요한 듯... from : https://stackoverflow.com/questions/28010156/stalled-and-pending-ajax-requests-by-jquery-in-chrome

로컬 파일 시스템(file:/// 프로토콜)에서 실행한 html(js) 파일의 Same Origin Policy(document.domain) 우회하는 방법

experience 로컬 파일을 https 로 접근해서 test할일이 생김 * 실제로는 서버로 띄워서 http로 접근하면 되지만 file:/// 로 접근할 경우에는 Same Origin Policy때문에 쉽지 않음..   * 간단한 방법으로는 Safari를 이용해서 해당 파일(file:///)로 접근하면 되는 듯...  (safari에서 Develop 메뉴 > Disable local file restrictions 과 disable cache 설정하면 됨)     from : https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally       Procedural content If you use just procedural geometries and don't load any textures, webpages should work straight from the file system, just double-click on HTML file in a file manager and it should appear working in the browser (accessed as file:///example). Content loaded from external files If you load models or textures from external files, due to browsers' "same origin policy" security restrictions, loading from a file system will fail with a security exception. There are two ways how to solve this: Change security for local files in a browser (access page as file:///example) Run files from a local server (...