- From: <bugzilla@jessica.w3.org>
- Date: Wed, 09 Mar 2011 08:16:01 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12267 --- Comment #5 from Philip Jägenstedt <philipj@opera.com> 2011-03-09 08:16:00 UTC --- (In reply to comment #4) > I think we need some examples of events and consequent actions, where the > requested action is no longer possible or appropriate because of a race > condition. Examples, anyone? The problem isn't that the action isn't appropriate anymore, but that it depends on chance if it is taken or not. Take this code for example: var v = document.createElement('video'); v.onloadstart = function() { v.currentTime = 10; } v.src = 'video.webm'; When the loadstart event is fired, it currently depends on the speed of the network and decoding if readyState has increased past HAVE_NOTHING or not. If it has, then the video will seek to offset 10 seconds. If it has not, an exception will be thrown. People *will* come to depend on the most common outcome of race conditions like this and have their scripts fail randomly when the outcome is something else. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Wednesday, 9 March 2011 08:16:03 UTC