tag:blogger.com,1999:blog-34454975.post6789566363472794355..comments2023-06-28T16:58:41.189+02:00Comments on Web Reflection: Opera, Inevitably UnexpectedAndrea Giammarchihttp://www.blogger.com/profile/16277820774810688474noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-34454975.post-84074158632750835602010-10-24T23:06:03.799+02:002010-10-24T23:06:03.799+02:00Hi Jules, the reason I write posts is to share so ...Hi Jules, the reason I write posts is to share so ... the more my share reaches, the more I feel "not wasting time" ;)<br /><br />In few words, do whatever you want with this blog posts, and I surely appreciate a backlink, thanks.Andrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-38190035953377420882010-10-24T18:25:40.404+02:002010-10-24T18:25:40.404+02:00Hello there,
This is a message for the webmaste...Hello there,<br /> <br /> This is a message for the webmaster/admin here at www.blogger.com.<br /><br />Can I use some of the information from your post above if I provide a backlink back to this website?<br /><br />Thanks,<br />JulesAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-31196890420426331372010-09-30T13:25:28.249+02:002010-09-30T13:25:28.249+02:00The new file is released and you are now credited ...The new file is released and you are now credited on http://my.opera.com/sitepatching/blog/2010/09/29/facebook-orkut :-)Hallvord R. M. Steenhttp://my.opera.com/hallvors/blognoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-85996521743838144832010-09-28T09:03:47.786+02:002010-09-28T09:03:47.786+02:00Yeah Hallvord R. M. Steen, that's a Hell of a ...Yeah Hallvord R. M. Steen, that's a Hell of a Turnaround, great stuff!<br /><br />I can imagine the method should have not be there, but at the same time I don't know why you don't have a sort of "<i>host exposure test</i>" for host objects, you would have catched that undefined instantly.<br /><br />In few words, I believe it's kinda weird I can easily spot a problem in the higher level, JavaScript, while you can flag methods without implementing them and forgive them on the lower, I am sure you know what I mean.<br /><br />Thanks a lot for the effort and the quick fix guys, all the best and keep doing your hard work there ;)<br /><br />RegardsAndrea Giammarchihttps://www.blogger.com/profile/16277820774810688474noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-1567448363865319792010-09-28T08:03:05.193+02:002010-09-28T08:03:05.193+02:00I assume you filled a bug report at https://bugs.o...I assume you filled a bug report at https://bugs.opera.com/wizard/ right ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-34454975.post-16663437075773530122010-09-28T04:03:47.263+02:002010-09-28T04:03:47.263+02:00Hi Andrea,
love the title of this post. Doing QA a...Hi Andrea,<br />love the title of this post. Doing QA and testing for Opera, I know that exact feeling :)<br /><br />Anyway, somebody brought this post to my attention this morning, and I have to confess that this is my fault entirely. The good news is that since it's my fault I'm also able to fix it, and the fix will go live today or tomorrow. <b>Within a week or so, all existing Opera installations should handle your test code as WRU expects</b>. Not bad turnaround for a blogged bug report, right?<br /><br />Background story: we will some day have proper support for XHR objects as DOM-style event target, complete with addEventListener. Unfortunately, while releasing Web Workers in desktop builds, an entirely non-functional addEventListener method left the building attached to XMLHttpRequest.prototype. Yeah, I know that sucks - but I'm sure you can tell why we forgot to test that something we expected not to be there, wasn't.<br /><br />Anyway, so to avoid breaking feature detection we <a href="http://my.opera.com/sitepatching/blog/split-file-for-10-70-and-ebay-tvguide-patches" rel="nofollow">shipped a browser.js patch</a> removing this method - but only by setting it to undefined on the prototype. Oops, I obviously only thought about typeof checks and not about the in operator. This is fixed at source, next browser.js file to go live will use 'delete' and since Opera calls home once a week, the problem will soon be history. Thanks for bringing it to my attention :)Hallvord R. M. Steenhttp://my.opera.com/hallvors/noreply@blogger.comtag:blogger.com,1999:blog-34454975.post-3584777573404673162010-09-28T01:29:13.708+02:002010-09-28T01:29:13.708+02:00XHR.addEventListener was added in Opera together w...XHR.addEventListener was added in Opera together with the web workers work. But it was just a stub, letovers of incomplete work. Given that the feature was never supported, there were no tests to check for it and that it works properly. Hence, to prevent broken feature detection, XHR.addEventListener is removed by browser.js http://xml.opera.com/userjs (Search for "PATCH-272") while this isn't fixed in the core.Sauronhttps://www.blogger.com/profile/04491342260202121159noreply@blogger.com