One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com
Using 89% of the same design the blog had in 2001.
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike,
always wear white.
As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green.
Tuesday, April 16, 2002
While web programmin', I'm finding that Mozilla might be a tester's best friend. I'm quite impressed with how well behaviour of a particular build works across platforms. Does it work in Windows? Well then you can nearly take it to the bank it'll work the same way on MacMoz or UNIX, which also makes you feel pretty good about being able to get your "advanced dhtml functionality" to the maximum users. Heck, Moz even runs on Mac OS 9. I'm almost to the point that I'd stop testing Moz xplat and know I've got something working, but that's a pretty big no-no even to a lazy feller like myself.
Here's one place where a little dhtml code shows that the browsers are still on different platforms (and any change in behaviour is good to spot). This is a javascript function that I'm using to change the way a cursor looks on a web page when something's loading.
function changeCursor(menuOff) {
if (document.layers) {
daMenuOff = document.layers[menuOff];
} else if (document.all) {
daMenuOff = document.all(menuOff).style;
} else if (document.getElementById) { // DOM1
daMenuOff = document.getElementById(menuOff).style;
}
Half-way expected the wait cursor to be an hourglass in Moz on Mac (like it is on Windows), even though Mac IE 5 shows a watch, like a "good Mac should". Nope. Moz is making a native API call in both builds. Interesting. Wonder how they wrap those calls in an xplat API -- or if they do? Also makes you wonder what other, less innocuous native calls are going on in other places...
Anyhow, just a reminder that you write once, test everywhere, write again, keep testing everywhere.
posted by ruffin
at 4/16/2002 10:19:00 AM
The postings on this site are [usually] my own and do not necessarily reflect the views of any employer, past or present, or other entity. About Our Author