XMLHttpRequest in Internet Explorer 7 - no more ActiveX

T

Thomas 'PointedEars' Lahn

Martin said:
Randy said:
[According to Sunava Dutta, an IE Program Manager,] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[1]
starting in IE7 XMLHttpRequest will be a plain JavaScript object.

Yes it will.
[...]
<URL: http://blogs.msdn.com/ie/ >

<quote>

In IE7, XMLHTTP is now also exposed as a native script object

It will still be a host object accessible through _JScript_.
Read the blog. Its a "native script object".

[...]
Running the following WSH script with cscript

WScript.Echo('typeof XMLHttpRequest: ' + (typeof XMLHttpRequest));

shows

typeof XMLHttpRequest: undefined

with IE 7 Beta 2 preview installed so there is no native XMLHttpRequest
object in JScript.

The MSDN documentation [...] lists XMLHttpRequest as a host object of
Internet Explorer not as part of the JScript engine.

The check at
<http://home.arcor.de/martin.honnen/javascript/msxmlVersionCheck1.html>
indicates it is MSXML 3 behind the scenes in IE 7 (at least for
responseXML).

(You should not declare something as UTF-8 when it is not. And you should
include an appropriate `charset' parameter in your Content-Type header.)
So whoever wrote that blog does not use the term "native object" with ^^^^^^^^^^^^^^^^^^^^^^^[^1]
the meaning defined in the ECMAScript edition 3 specification:

"4.3.6 Native Object
A native object is any object supplied by an ECMAScript implementation
independent of the host environment."

Thanks, I am still smiling.


PointedEars, amused
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top