久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<legend id='7hYEE'><style id='7hYEE'><dir id='7hYEE'><q id='7hYEE'></q></dir></style></legend>
  • <i id='7hYEE'><tr id='7hYEE'><dt id='7hYEE'><q id='7hYEE'><span id='7hYEE'><b id='7hYEE'><form id='7hYEE'><ins id='7hYEE'></ins><ul id='7hYEE'></ul><sub id='7hYEE'></sub></form><legend id='7hYEE'></legend><bdo id='7hYEE'><pre id='7hYEE'><center id='7hYEE'></center></pre></bdo></b><th id='7hYEE'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7hYEE'><tfoot id='7hYEE'></tfoot><dl id='7hYEE'><fieldset id='7hYEE'></fieldset></dl></div>

    <tfoot id='7hYEE'></tfoot>

      <small id='7hYEE'></small><noframes id='7hYEE'>

        • <bdo id='7hYEE'></bdo><ul id='7hYEE'></ul>
      1. 突然設置 XMLHttpRequest.responseType 被禁止?

        Setting XMLHttpRequest.responseType forbidden all of a sudden?(突然設置 XMLHttpRequest.responseType 被禁止?)
          <bdo id='txRIY'></bdo><ul id='txRIY'></ul>
            <tbody id='txRIY'></tbody>

              <tfoot id='txRIY'></tfoot>

              <small id='txRIY'></small><noframes id='txRIY'>

              <i id='txRIY'><tr id='txRIY'><dt id='txRIY'><q id='txRIY'><span id='txRIY'><b id='txRIY'><form id='txRIY'><ins id='txRIY'></ins><ul id='txRIY'></ul><sub id='txRIY'></sub></form><legend id='txRIY'></legend><bdo id='txRIY'><pre id='txRIY'><center id='txRIY'></center></pre></bdo></b><th id='txRIY'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='txRIY'><tfoot id='txRIY'></tfoot><dl id='txRIY'><fieldset id='txRIY'></fieldset></dl></div>

                <legend id='txRIY'><style id='txRIY'><dir id='txRIY'><q id='txRIY'></q></dir></style></legend>
                  本文介紹了突然設置 XMLHttpRequest.responseType 被禁止?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我一直在使用同步 XMLHttpRequest 并將 responseType 設置為arraybuffer"來加載二進制文件并等待它加載.今天,我收到了這個錯誤:Die Verwendung des responseType-Attributes von XMLHttpRequest wird im synchronen Modus im window-Kontekt nicht mehr unterstützt."大致翻譯為不再支持在 window-context(?) 中以同步模式對 XMLHttpRequest 使用 responseType."

                  I've been using synchronous XMLHttpRequest with responseType set to "arraybuffer" for quite a while to load a binary file and wait until it is loaded. Today, I got this error: "Die Verwendung des responseType-Attributes von XMLHttpRequest wird im synchronen Modus im window-Kontekt nicht mehr unterstützt." which roughly translates to "Usage of responseType for XMLHttpRequest in synchronous mode in window-context(?) no longer supported."

                  有誰知道如何解決這個問題?我真的不想對這樣的事情使用異步請求.

                  Does anyone know how to fix this? I realy don't want to use an asynchronous request for something like this.

                  var xhr = new XMLHttpRequest();
                  xhr.open('GET', url, false);
                  xhr.responseType = 'arraybuffer';
                  

                  在 chrome 中運行良好.

                  Works fine in chrome.

                  推薦答案

                  這是正確的行為,如 XMLHttpRequest的規范:

                  This is correct behaviour, as defined in the Specification of XMLHttpRequest:

                  設置時:拋出 "InvalidAccessError" 異常,如果 同步flag 已設置,并且有一個關聯的 XMLHttpRequest 文檔.

                  When set: throws an "InvalidAccessError" exception if the synchronous flag is set and there is an associated XMLHttpRequest document.

                  XMLHttpRequest非異步即同步時,不能設置responseType屬性.將open的第三個參數設置為false會導致請求同步.

                  The responseType property cannot be set when the XMLHttpRequest is not async, that is, synchronous. Setting the third parameter of open to false causes the request to be synchronous.

                  這篇關于突然設置 XMLHttpRequest.responseType 被禁止?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發技術分
                  Is it possible for XHR HEAD requests to not follow redirects (301 302)(XHR HEAD 請求是否有可能不遵循重定向 (301 302))
                  NETWORK_ERROR: XMLHttpRequest Exception 101(NETWORK_ERROR:XMLHttpRequest 異常 101)
                  XMLHttpRequest 206 Partial Content(XMLHttpRequest 206 部分內容)
                  1. <i id='gIiWd'><tr id='gIiWd'><dt id='gIiWd'><q id='gIiWd'><span id='gIiWd'><b id='gIiWd'><form id='gIiWd'><ins id='gIiWd'></ins><ul id='gIiWd'></ul><sub id='gIiWd'></sub></form><legend id='gIiWd'></legend><bdo id='gIiWd'><pre id='gIiWd'><center id='gIiWd'></center></pre></bdo></b><th id='gIiWd'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='gIiWd'><tfoot id='gIiWd'></tfoot><dl id='gIiWd'><fieldset id='gIiWd'></fieldset></dl></div>

                        <tbody id='gIiWd'></tbody>

                      <tfoot id='gIiWd'></tfoot>
                    • <legend id='gIiWd'><style id='gIiWd'><dir id='gIiWd'><q id='gIiWd'></q></dir></style></legend>

                      <small id='gIiWd'></small><noframes id='gIiWd'>

                            <bdo id='gIiWd'></bdo><ul id='gIiWd'></ul>
                            主站蜘蛛池模板: 国产欧美精品区一区二区三区 | aaaa日韩 | 亚洲综合无码一区二区 | 日韩欧美国产精品一区二区三区 | 日本在线网站 | 午夜av电影 | 欧美精品在线一区二区三区 | 在线伊人网 | a在线视频 | 99色视频| 91精品久久久 | 久久亚洲综合 | 婷婷国产一区二区三区 | 国产一级在线观看 | 日韩免费视频一区二区 | 欧美国产精品一区二区三区 | 色视频网站 | 久草在线中文888 | 亚洲视频在线观看免费 | 在线不卡一区 | 成人免费观看男女羞羞视频 | 91资源在线观看 | 日韩视频成人 | 国产美女免费视频 | 亚洲一区在线日韩在线深爱 | 欧美日韩国产一区二区三区 | 国产精品久久精品 | 国产精品日女人 | 日韩1区 | 欧美日韩在线观看视频网站 | 天天碰夜夜操 | av在线一区二区三区 | 美女毛片 | 午夜一区二区三区在线观看 | av三级| 国产日韩一区二区三区 | 国产 欧美 日韩 一区 | 羞羞视频网站免费看 | 天天操精品视频 | 日本精品久久 | a级大片免费观看 |