JRS: In article <
[email protected]>, dated Sun, 13
Nov 2005 22:27:50, seen in Richard Cornford
Feature detection is not that difficult, you work out what you need to
know and then work out which questions will tell you the answer, then
you code the questions.
ISTM that it might be useful to use "feature detection" as the general
term, comprising such as "method detection", "bug detection", etc.; and
to use also the more specific term when practicable.
Example : IE4 has no native toFixed, and "method detection" detects that
class of browser, as opposed to the class including IE6. IE6 has a
known error in toFixed, sensed by "bug detection". We do not for sure
know how to detect all bugs that it may have, but we do know how to
detect one, and AFAIK know of no other.
Then there's "behaviour detection" - the output of some toString methods
(date) is specified as unspecified by ECMA, and there may be examples
where a specification is interpreted in more than one way though not
specified as such,