Opera: please use bug detection, not browser detection
1–9 of 9 posts
Re: Opera: please use bug detection, not browser detection
#2On the bright side, it is often possible to write your fix in a non-invasive way, or adjust your code to not depend on the buggy behaviour. (For example, some browsers will still fire a keypress event if you cancel the corresponding keydown event. My code editor[1] ended up checking again in the keypress handler for keys that should have been handled, and cancelling them again.)
Re: Opera: please use bug detection, not browser detection
#3Respect to Opera for blogging about this.
Re: Opera: please use bug detection, not browser detection
#4Re: Opera: please use bug detection, not browser detection
#5Is anyone sick of Opera asking web developers to do stuff?
Re: Opera: please use bug detection, not browser detection
#6Is anyone sick of Opera asking web developers to do stuff?
Re: Opera: please use bug detection, not browser detection
#7This is exactly as it should be: the burden should be on the browser developers to investigate bugs and write the tests they want web developers to use in their workarounds.
Re: Opera: please use bug detection, not browser detection
#8In general, I agree. Unfortunately, detecting some bugs is either a lot of work or almost impossible -- you can't, for example, generate DOM events programatically, so bugs in event handling are very tricky to test for. On the bright side, it is often possible to write your fix in a non-invasive way, or adjust your code to not depend on the buggy behaviour. (For example, some browsers will still fire a keypress event…
Re: Opera: please use bug detection, not browser detection
#9Is anyone sick of Opera asking web developers to do stuff?
No, I actually like how transparent they are about bug fixing and communicating with developers.... Plus their rant makes sense....
To their credit, they did eventually fix it.