W3C home > Mailing lists > Public > www-dom-ts@w3.org > October 2001

isSupported12.xml

From: Mary Brady <mbrady@nist.gov>
Date: Thu, 25 Oct 2001 11:44:12 -0400
Message-ID: <001201c15d6b$e4b9cbf0$293b0681@HAPPY>
To: <www-dom-ts@w3.org>
This test case currently runs through all the features documented in 
the Conformance section, first with version=1.0, and then with 
version=3.0.  The 3.0 is obviously a mistake and should be 2.0.

In the spec, it doesn't say anything regarding specifying 1.0 as the 
version for isSupported, but under hasFeature does indicate that 1.0 
is also valid.  I suspect that since isSupported was introduced in 
Level 2, version was only supposed to be 2.0?

The spec also indicates that no version may be specified, and that 
isSupported should return true if any version of the specified feature 
is supported.

This test is somewhat problematic in that both true and false are valid 
for each of these features.  Is there a way to specify an assertion 
that just checks that the method is available and returns either 
true or false?

If so, I would suspect that we should rewrite the test to check for 
case-insensitive features for version="" and version="2.0".

--Mary
Received on Thursday, 25 October 2001 11:55:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:45 GMT