[wp-trac] [WordPress Trac] #33349: Synchronous XMLHttpRequest on the main thread is deprecated

WordPress Trac noreply at wordpress.org
Mon Oct 26 18:31:47 UTC 2015


#33349: Synchronous XMLHttpRequest on the main thread is deprecated
-------------------------------------+------------------------------
 Reporter:  atomicjack               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Administration           |     Version:  4.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+------------------------------

Comment (by azaozz):

 Replying to [comment:6 swissspidy]:

 Right, `async: false` was producing the best results when testing in all
 current browsers at the time. It was and still is a bit of hit-and-miss,
 the request doesn't seem to fire in some browsers and in some
 circumstances. Thinking we can remove the `async` setting as it is/will be
 ignored by the browsers.

 The removal of post locks (AJAX request on page unload) needs another
 round of testing in all current browsers, and perhaps a better way to do
 it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33349#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list