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

WordPress Trac noreply at wordpress.org
Mon Oct 26 13:18:02 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
-------------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 Perhaps @azaozz can tell us why `async` is set to `false` here.

 I assume it was done to ensure the call was ''really'' made before leaving
 the page (blocking), but it should also work with `async: true`. The
 attached patch removes the option. Just needs some testing.

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


More information about the wp-trac mailing list