<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx</link><description>With Internet Explorer 8 we introduced several new JScript language features including native JSON support and accessor methods for Mutable DOM prototypes. Of course, any new language feature introduces compatibility risk and one of the main pieces of</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Versioning Language Features in JScript | ASP NET Hosting</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9553601</link><pubDate>Fri, 17 Apr 2009 02:32:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9553601</guid><dc:creator>Versioning Language Features in JScript | ASP NET Hosting</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://asp-net-hosting.simplynetdev.com/versioning-language-features-in-jscript/"&gt;http://asp-net-hosting.simplynetdev.com/versioning-language-features-in-jscript/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>JScript Blog : Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9554262</link><pubDate>Fri, 17 Apr 2009 17:02:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554262</guid><dc:creator>DotNetShoutout</dc:creator><description>&lt;p&gt;Thank you for submitting this cool story - Trackback from DotNetShoutout&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9554945</link><pubDate>Sat, 18 Apr 2009 12:35:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9554945</guid><dc:creator>Stoyan</dc:creator><description>&lt;p&gt;I find this.JSON is not very robust change too easy to fail if I forget var anywhere in the code&lt;/p&gt;
&lt;p&gt;mby something more verbose?&lt;/p&gt;
&lt;p&gt;if (typeof JSON === &amp;quot;object&amp;quot; &amp;amp;&amp;amp; typeof JSON.encode === &amp;quot;function&amp;quot;){&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;//&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9559076</link><pubDate>Tue, 21 Apr 2009 15:40:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9559076</guid><dc:creator>OMFG</dc:creator><description>&lt;p&gt;Are you seriously out to lunch?! or did you fail to clarify that this DOES NOT apply to normal IE web browser development?&lt;/p&gt;
&lt;p&gt;if in IE8 I need to check/set variables:&lt;/p&gt;
&lt;p&gt;SCRIPTLANGUAGEVERSION_5_7&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;SCRIPTLANGUAGEVERSION_5_8&lt;/p&gt;
&lt;p&gt;In order to get/not get method availability in ===&amp;gt; JAVASCRIPT &amp;lt;===&lt;/p&gt;
&lt;p&gt;Then this plan is seriously mega-flawed.&lt;/p&gt;
&lt;p&gt;the language attribute on script tags is already deprecated because IE !@#$ed it up in earlier versions so we no longer do stuff like:&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&amp;quot;JavaScript1.2&amp;quot;&amp;gt;...&lt;/p&gt;
&lt;p&gt;Please clarify that developers DO NOT NEED TO SET ANYTHING to get the MAXIMUM JavaScript implementation that IE8 supports.&lt;/p&gt;
&lt;p&gt;If you can't, please jump on the IE Blog and disclose this disaster to the developers that will be affected by this and start ducking when they start throwing the furniture.&lt;/p&gt;
&lt;p&gt;OMFG!&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9559834</link><pubDate>Tue, 21 Apr 2009 20:34:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9559834</guid><dc:creator>Smith</dc:creator><description>&lt;p&gt;OMFG,&lt;/p&gt;
&lt;p&gt;I think you are mistaken. The usage of IActiveScriptProperty::SetProperty is in my opinion for other JSCript hosts like WScript, CScript etc. For IE8, the feature is aligned with whether you are running your sire in standards mode or not which makes sense to me at least. IE8 standards mode is to enable IE run as a browser which is more compatible with standards. So running the new JScript compliant feature in a different/default would break this.&lt;/p&gt;
&lt;p&gt;However I would like to hear what happens if I call IActiveScriptProperty::SetProperty from JScript running within the browser (IE).&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Smith&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9560661</link><pubDate>Wed, 22 Apr 2009 02:29:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9560661</guid><dc:creator>GauravS</dc:creator><description>&lt;p&gt;@OMFG: Smith’s reasoning is correct. The JScript language features are tied to the document mode chosen by a web page. If the document mode is “IE8 Standards”, all the nine features mentioned above are switched on. For all other document modes, these features are not available (equates to language support as it existed in IE7).&lt;/p&gt;
&lt;p&gt;One of the ways in which a web developer can choose to use the IE8 Standards mode (and get the most of the JScript language changes) is by using the X-UA-Compatible meta tag &amp;lt;meta http-equiv=&amp;quot;X-UA-Compatible&amp;quot; content=&amp;quot;IE=IE8&amp;quot;&amp;gt; as described in &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/cc288325"&gt;http://msdn.microsoft.com/en-us/library/cc288325&lt;/a&gt;(VS.85).aspx.&lt;/p&gt;
&lt;p&gt;The SCRIPTLANGUAGEVERSION flags are not for use by web developers. They are meant for developers creating new JScript hosts by using the IActiveScript interfaces (like developers creating a browser, WScript host etc.)&lt;/p&gt;
&lt;p&gt;@Smith: From versioning perspective, calling IActiveScriptProperty::SetProperty from JScript running within the browser (IE) is not a supported scenario. It will not impact the language support chosen by the page (which is based on the document mode) and cannot be used to switch between the different support levels.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9573457</link><pubDate>Tue, 28 Apr 2009 14:52:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9573457</guid><dc:creator>AndyE</dc:creator><description>&lt;p&gt;So there's no way of activating the new JScript features without enabling IE8 standards mode for the DOM?&lt;/p&gt;
&lt;p&gt;That seems pretty poor if you're a Windows Desktop Gadget developer - using the new JScript features is impossible without risking backwards compatibility with IE7 users.&lt;/p&gt;
&lt;p&gt;It seems like Gadget design is going the way of the web design - we can't adopt new standards until years after they appear when IE7 market share drops to below 5%/10%&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9575918</link><pubDate>Wed, 29 Apr 2009 18:19:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9575918</guid><dc:creator>Mitch 74</dc:creator><description>&lt;p&gt;@AndyE: you can still use the software-only implementation of the JSON object - which would allow your gadget to work with &amp;quot;native&amp;quot; IE6 and IE7 too.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9615217</link><pubDate>Thu, 14 May 2009 11:28:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9615217</guid><dc:creator>CB</dc:creator><description>&lt;p&gt;Why won't you support the latest scripting and html features in your releases ? You are always behind competitors for absolutely no good reason.&lt;/p&gt;
&lt;p&gt;Where is for example the HTML5 support for things like &amp;lt;CANVAS&amp;gt; currently supported (for a long time) by Firefox and Chrome.&lt;/p&gt;
&lt;p&gt;Is it because you fear nobody would use Silverlight if there was an easy browser independent way to do animations and video without plugins ??&lt;/p&gt;
&lt;p&gt;SVG support is aboslutely not the same thing since it isn't even fully scriptable.&lt;/p&gt;
&lt;p&gt;And why did we need to wait until IE8 to get standards support ?? Amazing.&lt;/p&gt;
&lt;p&gt;You need to lead the development, not lagg behind competitors all the time !!!&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9617105</link><pubDate>Fri, 15 May 2009 00:22:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9617105</guid><dc:creator>warrens</dc:creator><description>&lt;p&gt;CB, I realise it's &amp;quot;cool&amp;quot; to complain anonymously on the Internet. &amp;nbsp;But, try and be reasonable. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, CSS3, HTML5 and SVG are important, but Microsoft has taken the right path so far with fixing the much more widely-used CSS 2.1 standard first, before moving on to the emerging standards.&lt;/p&gt;
&lt;p&gt;It's what they told us they were going to do, and it's what they've delivered: IE8 actually has a more complete implementation of CSS 2.1 than Firefox and Opera. &amp;nbsp;One of the big standards-testing web sites measures IE8's CSS 2.1 compatibility at 99%... the other browsers are in the low-90s, mainly due to broken / incomplete implementations of CSS 2.1 pseudo-elements and at-elements.&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.webdevout.net/browser-support-summary?IE7=on&amp;amp;IE8=on&amp;amp;FX2=on&amp;amp;FX3=on&amp;amp;OP9=on&amp;amp;SF2=on&amp;amp;uas=CUSTOM"&gt;http://www.webdevout.net/browser-support-summary?IE7=on&amp;amp;IE8=on&amp;amp;FX2=on&amp;amp;FX3=on&amp;amp;OP9=on&amp;amp;SF2=on&amp;amp;uas=CUSTOM&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You might as well be asking why we're still waiting for Firefox to get &amp;quot;standards support&amp;quot;, especially considering they've been saying they've had it for years.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9642222</link><pubDate>Wed, 27 May 2009 00:05:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9642222</guid><dc:creator>-TNO-</dc:creator><description>&lt;p&gt;Maybe I'm just ignorant, but is there a better example on how to enable the new JScript version in WSH/ASP? A registry setting perhaps? The example given doesn't quite lend itself to web developers and system administrators seeking to use these new features.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9645296</link><pubDate>Thu, 28 May 2009 03:49:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9645296</guid><dc:creator>GauravS</dc:creator><description>&lt;p&gt;@TNO: These new language features are currently not supported/versioned by hosts other than Internet Explorer. Hosts other than IE such as WSH/ASP will automatically use the latest vesrion of JScript installed on the machine. However, the language feature support is equivalent to that of JScript v5.7.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9702605</link><pubDate>Sat, 06 Jun 2009 09:53:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9702605</guid><dc:creator>Neiyuki</dc:creator><description>&lt;p&gt;Is there any way to enable the 5.8 features in WSH?&lt;/p&gt;
&lt;p&gt;Or will you going to change the WSH executables?&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9797898</link><pubDate>Mon, 22 Jun 2009 19:21:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9797898</guid><dc:creator>GauravS (MSFT)</dc:creator><description>&lt;P&gt;@Neiyuki: The WSH currently does not support the 5.8 features. However, you can use script based work-arounds for some of the 5.8 features like JSON.&lt;/P&gt;</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9859678</link><pubDate>Fri, 07 Aug 2009 02:24:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9859678</guid><dc:creator>John</dc:creator><description>&lt;p&gt;@GauravS: There is a growing demand for being able to use these new features in hosts other than IE, such as WSH/ASP. Is there any reason why there is no option to select the 5.8 feature set for these hosts?&lt;/p&gt;
&lt;p&gt;Could a method for selecting a version be provided? Possibly a Registry setting, or better still:&lt;/p&gt;
&lt;p&gt;ScriptEngine.set('5.8');&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9860435</link><pubDate>Fri, 07 Aug 2009 20:33:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9860435</guid><dc:creator>GauravS</dc:creator><description>&lt;p&gt;@John: Due to the possible side-effects, there is no simple mechanism which can enable these features unless the host makes a change to enable the new feature-set. &lt;/p&gt;
&lt;p&gt;If the feature you are looking at is JSON support, you can use the JSON imlementation from www.JSON.org as a workaround.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9860571</link><pubDate>Fri, 07 Aug 2009 22:44:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9860571</guid><dc:creator>John</dc:creator><description>&lt;p&gt;@GauravS: What sort of side-effects are you referring to? Things could work in exactly the same manner as IE8, the developer opts-in. As far as I am aware the whole point of the IE8 &amp;quot;opt-in&amp;quot; was to avoid side-effects.&lt;/p&gt;
&lt;p&gt;Surely the JScript feature set could provide a script based opt-in such as:&lt;/p&gt;
&lt;p&gt;ScriptEngine.set('5.8');&lt;/p&gt;
&lt;p&gt;What would be the problem in implementing such a feature in a future revision?&lt;/p&gt;
&lt;p&gt;Server-side JavaScript is gaining momentum and Microsoft has an excellent platform for this in ASP 3.0. It seems wrong using script based JSON implementations when the native feature is there, just no way to access it.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;John &lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9860670</link><pubDate>Sat, 08 Aug 2009 00:09:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9860670</guid><dc:creator>GauravS</dc:creator><description>&lt;p&gt;@John: I was referring to the use of registry keys to switch versions. No such support is available. &lt;/p&gt;
&lt;p&gt;Thanks for your feedback! Will consider the approach you suggest for the future versions.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9861021</link><pubDate>Sat, 08 Aug 2009 07:45:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9861021</guid><dc:creator>Sergei</dc:creator><description>&lt;p&gt;Are you saying the side effect is registry keys? I was thinking side effect meant something in functionality. And why only registry key to switch version? You can as well do it at runtime. Can you tell us why other hosts apart from IE cannot do this switch at runtime. I understand the IActive* way of integrating with JavaScript, but I cannot understand why one host can do it from native code while others can't and need registry settings to do the same? Can you explain please.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9861456</link><pubDate>Sat, 08 Aug 2009 18:38:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9861456</guid><dc:creator>John</dc:creator><description>&lt;p&gt;@Sergei: I was under the same impression, that the side-effects were to do with the functionality being exposed to other hosts, however, this doesn't seem to be the case. There aren't any registry keys to enable the hidden functionality, I had just suggested it. Obviously a registry setting would be a less than ideal solution.&lt;/p&gt;
&lt;p&gt;@GauravS: If there aren't any side-effects related to exposing the hidden functionality, then I really can't understand why a script based method isn't provided to switch between engines? This would provide much more flexibility to the developer whilst also making it host independent. I would imagine that it would be a trivial thing to implement?&lt;/p&gt;
&lt;p&gt;I appreciate your comment on considering this for a future release, if this type of thing isn't implemented, then any new features that are added will again be inaccessible which would be a real shame.&lt;/p&gt;
&lt;p&gt;Hopefully you could push this through sooner rather than later, and we could all enjoy the hard work the JScript team has done in bringing us these new features.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;
</description></item><item><title>re: Versioning Language Features in JScript</title><link>http://blogs.msdn.com/jscript/archive/2009/04/17/versioning-language-features-in-jscript.aspx#9932341</link><pubDate>Fri, 04 Dec 2009 04:42:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932341</guid><dc:creator>Nigel</dc:creator><description>&lt;p&gt;So, how do you actually set IActiveScriptProperty::SetProperty for WSF script? &lt;/p&gt;
</description></item></channel></rss>