XMLHttpRequest, window and other Javascript objects

May 15, 2015 at 1:22 PM
Hello,

I have not been able to get XMLHttpRequest nor "window" to work. For example:
window.open("http://www.example.com");
or
var xmlhttp = new XMLHttpRequest();
I know that I can implement my own XMLHttpRequest and window objects. My question is, if it is possible to use the standard native objects implemented in the V8 javascript motor and how?

Thank you!
Coordinator
May 15, 2015 at 6:01 PM
Greetings!

The window and XMLHttpRequest objects are part of the Web API and are implemented by web browsers. They're not part of the JavaScript language standard and are not provided by V8 or JScript.

Good luck!
May 18, 2015 at 7:15 AM
Good, now I know :-)
Thank you for the answer!
Nov 15, 2015 at 6:18 AM