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
Read the blog. Its a "native script object".It will still be a host object accessible through _JScript_.
[...]
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