Opened 3 years ago

Closed 3 years ago

#18863 closed defect (wontfix)

Deprecation of xhr sync impacts sync loader

Reported by: dylan Owned by: dylan
Priority: undecided Milestone: 1.12
Component: Loader Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:

Description

XHR 2.0 no longer includes sync requests, and Google has announced that they will remove sync requests with their release in September.

Impact:

  • All non-xd builds prior to Dojo 1.7
  • i18n and text loading even in xd build in Dojo prior to 1.7
  • Anyone not setting async: true by default in their dojoConfig

Given these changes, we need to do the following:

  • Formally deprecate usage of sync xhr
  • Resolve issues around non-xd for old users, if possible
  • Change default in all 1.7+ releases to use async:true
  • Spread the word
  • Determine if there are other issues we need to solve

Change History (1)

comment:1 Changed 3 years ago by dylan

Milestone: 1.11.31.12
Resolution: wontfix
Status: newclosed

sync xhr is not being removed by any browser at this time (even though its usage is discouraged), so the answer is to upgrade your version of Dojo.

Note: See TracTickets for help on using tickets.