![]() The Internet Explorer adds DOM objects to the JScript. Therefore even an Internet Explorer 3.x may be able to run JsUnit, if the engine was updated separately. The Internet Explorer's JScript capabilities are inherited from the installed Windows Script. Such files are also available for the unit tests of JsUnit itself. JsUnit delivers in the examples AllTests.js and f for both variants. js files or the JScript files can be included using a Windows Script Host file (.wsf). wscript will execute them in a GUI environment, while cscript is a console application running the script in the console. Both utilities recognize the file extension and will run JScript files directly. The Windows Script host has two utilities running scripts from command-line: cscript and wscript. Microsoft Internet Information Server (ASP).Early versions also miss the Array::push and Array::pop member functions that are in this case provided by JsUnit. The JScript implementation up-to version 5.6 has an incompatible definition of the Error class, they do not provide the Error::name and Error::message members. Therefore even and old Internet Explorer can use an up-to-date JScript version. Since it is used as a system wide service, upgrading this engine to a newer version will also upgrade the languages delivered with Windows Script. Please recognize, that products using Windows Script are often delivered with a specific version of the engine. Any application may embed the script engine and process scripts in any of the registered languages. Microsoft offers in the package JScript and VBScript, other vendors offer other languages that can be plugged into the engine. This contains a generic engine that is able to run a lot of languages, JScript is just one among others. This is a service offered by the Operating System. Microsoft's JavaScript implementation named JScript is part of the Windows Script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |