Closed Bug 6125 Opened 26 years ago Closed 26 years ago

[PP]DOMImplementation::hasFeature returning true for all versions

Categories

(Core :: DOM: Core & HTML, defect, P3)

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: vidur)

References

()

Details

(Whiteboard: linux still problematic; will verify next working build)

DOMImplementation::hasFeature("HTML", "x") returns true no matter what x is. It should only return true for the strings "1.0" and *possibly* "2.0".
QA Contact: 4015 → 4120
Status: NEW → ASSIGNED
Target Milestone: M6
Yup. Have a fix - it'll go in with my next checkin.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fix checked in 5/11/1999.
According to above test, still not working on MacOS 8.5.1 & Win95, build 1999-05- 21-08. Linux is still having problems - will verify later.
Whiteboard: linux still problematic; will verify next working build
Checked in a more accurate fix on 5/27/1999.
Status: RESOLVED → REOPENED
Good job on the linux fix Vidur! Verified fixed on: Win95 apprunner 1999-06-01-09-M7 Linux6 viewer 1999-06-01-12-M7 And now Mac viewer 1999-06-01-19-M6 is busted.
OS: other → Mac System 8.5
Summary: DOMImplementation::hasFeature returning true for all versions → [PP]DOMImplementation::hasFeature returning true for all versions
Target Milestone: M6 → M7
M6 is outta here...moving to M7.
I don't get it - this is just XP code. Does it crash on the Mac, or is the test just failing? Patrick, could you run the test on the Mac and give me a stack trace if there is a crash?
I'm sorry Vidur, I wasn't at all specific. The Mac build will fail on some of the tests at the test URL.
Target Milestone: M7 → M8
Darn. Can't seem to get a Mac build today. Pushing it off for one more milestone.
Resolution: FIXED → ---
Clearing Fixed resolution.
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
This specific test works on all platforms. There is a problem switching from the bug report to the test page on Linux. I'm investigating it and may file a new bug on the Linux folks for that. Either way, that crash has nothing to do with this bug.
Status: RESOLVED → VERIFIED
Verified fixed in 1999-07-08-08 builds: - MacOS85 - Win95 - Linux6
I just looked at David Baron's test and according to that it fails some tests. Should this bug be reopened or is it a known defiency?
Keywords: css1
I'm not sure about those tests. But, maybe...?
Keywords: css1
Looking at some other tests it seems to be quite common to return "" instead of null. Is that acceptable maybe? I know nothing about DOM, I'm just trying to exercise the DOM code.
Davids tests fail because it asks about support for a DOM Level 2 module with the version string "1.0", if you change that to "2.0" or leave it empty it works... Returning "" in stead of null is not really acceptable but there are existing bugs on that, if you find problems in mozilla that are not filed in bugzilla then please file separate bugs for those problems, thanks!
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.