Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22046

Re: How to feature test for window.ActiveXObject?

Message-ID <153872944.a85cXAIuuJ@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2013-11-18 19:35 +0100
Subject Re: How to feature test for window.ActiveXObject?
Newsgroups comp.lang.javascript
References <5287c664$0$9504$9b4e6d93@newsspool1.arcor-online.net> <1581559.TFT1m0cKLP@PointedEars.de> <528a0736$0$6566$9b4e6d93@newsspool4.arcor-online.net> <528a5c8a$0$6567$9b4e6d93@newsspool4.arcor-online.net>

Show all headers | View raw


Martin Honnen wrote:

> Christoph Michael Becker wrote:
>> That is exactly the point.  Calling ActiveXObject() works as expected,
>> but the ActiveXObject property is undefined.
>>
>> It occurs to me, Microsoft has done this to cater for scripts using
>> unrelated existence inference ( if (ActiveXObject) // assume IE ).
>> IMVHO that doesn't seem to be prudent.
> 
> http://msdn.microsoft.com/en-us/library/ff955298%28v=vs.85%29.aspx says
> "For IE11 Mode in Internet Explorer 11, ActiveXObject is supported as
> described in this section except that ActiveXObject detection will fail
> when performed within a conditional statement.".
> 
> So it looks like they are doing the same that Mozilla used to do with
> document.all, that is support its use but don´t support feature checks
> on it.

Only that Mozilla’s move to suddenly support document.all when it was 
already phased out of MSHTML was a stupid one to begin with.

Your apostrophes are accents.

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to feature test for window.ActiveXObject? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-16 20:24 +0100
  Re: How to feature test for window.ActiveXObject? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-17 00:08 +0100
    Re: How to feature test for window.ActiveXObject? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-18 13:25 +0100
      Re: How to feature test for window.ActiveXObject? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-18 18:52 +0100
        Re: How to feature test for window.ActiveXObject? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-21 23:44 +0100
          Re: How to feature test for window.ActiveXObject? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 00:32 +0100
      Re: How to feature test for window.ActiveXObject? Martin Honnen <mahotrash@yahoo.de> - 2013-11-18 19:29 +0100
        Re: How to feature test for window.ActiveXObject? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-18 19:35 +0100
    Re: How to feature test for window.ActiveXObject? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-21 19:13 -0800
      Re: How to feature test for window.ActiveXObject? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 11:56 +0100
        Re: How to feature test for window.ActiveXObject? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-22 06:33 -0800
          Re: How to feature test for window.ActiveXObject? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 15:51 +0100
            Re: How to feature test for window.ActiveXObject? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-22 07:44 -0800
  Re: How to feature test for window.ActiveXObject? JJ <duh@nah.meh> - 2013-11-17 07:27 +0700
    Re: How to feature test for window.ActiveXObject? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-21 18:38 -0800

csiph-web