Opened 4 years ago

Last modified 4 years ago

#18943 closed defect

[regression] dojo/util parseArgs breaking on IE8 — at Version 1

Reported by: yohanleafheart Owned by: dylan
Priority: high Milestone: 1.11.4
Component: Core Version: 1.11.3
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

This is a regression from ticket https://bugs.dojotoolkit.org/ticket/18816 . Since ArrayBuffer? and Blob do not exist in IE8 it throws an error when using a POST request with a simple object using dojo/request/xhr. it does not post:

--- Example

require(['dojo/request/xhr'], function (xhr) {
xhr.post(targetUrl, {"handleAs": "json", data: {"a": 1. "b": 2}}).then({
function (result){
console.log(result)
}
});
});

-- Expected behavior

The log should bring the result

-- Actual behavior 'ArrayBuffer?' is undefined Object doesn't support this property or method The exception is generated at dojo/util.js:124

Change History (1)

comment:1 Changed 4 years ago by bill

Description: modified (diff)
Owner: set to dylan
Status: newassigned
Summary: dojo/util parseArgs breaking on IE8[regression] dojo/util parseArgs breaking on IE8

Sounds like [that part of] dojo/request is broken on IE8 in general.

I think IE8 and Windows XP are already EOL, but OTOH https://github.com/dojo/docs/blob/master/releasenotes/1.12.rst#user-agent-support says that dojo still supports IE8.

Note: See TracTickets for help on using tickets.