Opened 7 years ago
Closed 7 years ago
#18544 closed defect (fixed)
Fix dojo/request/xhr not to use event property "position"
Reported by: | Gavin R | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.10.5 |
Component: | Core | Version: | 1.10.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When making an XHR request, Chrome gives a warning:
The XMLHttpRequest progress event property 'position' is deprecated. Please use 'loaded' instead.
I believe this has to do with this line: https://github.com/dojo/dojo/blob/1.10.4/request/xhr.js#L118
Chrome's deprication: https://groups.google.com/a/chromium.org/forum/#!topic/blink-checkins/IHxYBwuwBL4
Simplified test case: http://jsbin.com/semoreduyi/3/edit?html,js,output
I don't know if this is a fix that needs to go into Dojo, though, since it seems to be only affecting Chrome (for now). If I can get a confirmation from the team that this seems to be a reasonable change, I'd be happy to submit a PR.
Thanks!
Attachments (1)
Change History (5)
Changed 7 years ago by
Attachment: | test-case.PNG added |
---|
comment:1 Changed 7 years ago by
Updated test case to point to file that exists: http://jsbin.com/zakiri/1/edit?html,js,output
comment:2 Changed 7 years ago by
Milestone: | tbd → 1.11 |
---|
comment:4 Changed 7 years ago by
Milestone: | 1.11 → 1.10.5 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
test case in chrome