Sitepatching updates

tweaking the broken code until it works, one site at a time

Hotlook?!

,

If the new Hotmail / Outlook.com site doesn't work for you, check if the browser.js documentation page says browser.js is active and dated August 3rd or later. If you don't have the August 3rd file, try to choose "Help / Check for updates" and re-load or wait a day or two and let Opera update browser.js automatically.

Microsoft seems to be rolling out a Hotmail update, more or less merging Hotmail and the Outlook-like UI from outlook.com. Are they planning to brand it "Hotlook" now, by any chance?

As usual, there are both Opera and Hotmail bugs that cause problems.

Microsoft is using some JS generator that tends to put a lot of stuff inside the brackets of for() and if() statements. Like this, for example:
for(u.handler&&(y=u,u=y.handler,e=y.selector),u.guid||(u.guid=i.guid++),a=v.events,a||(v.events=a={}),h=v.handle,h||(v.handle=h=function(n){return typeof i!="undefined"&&(!n||i.event.triggered!==n.type)?i.event.dispatch.apply(h.elem,arguments):t},h.elem=n),r=i.trim(wt(r)).split(" "),w=0;w<r.length;w++)

The most interesting issue is an Opera bug that makes compilation fail for code like this:
for( a, (bar in baz); a<b; a++)


Actually, the ECMAScript spec is pretty clear that the 'in' keyword isn't allowed in a for(a;b;c)-type loop, so when our developers first saw this problem they thought throwing was the right thing to do. However, a close reading of the spec shows that the parenthesizes makes it non-ambiguous and valid. This was fixed in core a while ago - unfortunately not early enough to get into a desktop release before the "Hotlook" rollout..

There is also some confusion regarding event.button for mouse events. I don't understand the full details there, I just realised that tweaking the existing patch that made drag-and-drop work in the old Hotmail now makes all the buttons and toolbars work in the new one.

Added patches


  • PATCH-766, Make mouse scrolling work in Zoho spreadsheets (sheet.zoho.com)
  • PATCH-767, Avoid number truncation bug on Grooveshark (grooveshark.com)
  • PATCH-770, Fix minified jQuery on Hotmail (mail.live.com)
  • PATCH-769, Opera throws when XSL variable has disable-output-escaping attribute, breaks sorting on staples.com (staples.com)
  • PATCH-762, Credit Suisse second-guesses GMaps GBrowserIsCompatible, adds extra Opera blocking (credit-suisse.com)
  • PATCH-751, Work around cached value bug that makes JSON.stringify() remove one digit from input (facebook.com)
  • PATCH-756, wikisky.org - Fix mouse controls (wikisky.org)

Changed patches


  • CORE-17444, Fix drag and drop in Hotmail (mail.live.com)


Update: bugs have been fixed, new version is live.
Changelog for update:
staples.com fix no longer throws if accessing the responseXML of an Ajax request with a non-XML response
Fixed hostname.endsWith method to not return true for all domain names one character longer than what you're looking for..

Fail whale updateMarlin sync

Comments

Charles SchlossChas4 Friday, August 3, 2012 12:46:44 AM

Target version and time stamp of the active browser.js file is Opera Desktop 12.01 core 2.10.289, August 1, 2012. Active patches: 223 .

I got the patch sometime this morning after the Opera 12.01 update

Is there a hot and lively outlook here? http://files.myopera.com/Tamil/Smilies/Wink.gif -

attachments don't work http://files.myopera.com/Tamil/Smilies/Sad.gif -

The GUI of the hotmail replacement outlook is taken from Windows 8 ui

CoreRouter Friday, August 3, 2012 7:49:37 AM

Sometime this morning Opera stops working with my Roundcube (http://roundcube.net/) Installation.
I can log in, but no messages are shown. Worked till ~9.00 German time, stopped afterwards. I can provide a test login if needed.

Tried a 12.01 and a 12.50 as USB Install both show the same (or better do not show any mails at all) FF and Iron work as expected.

Tested:
12.50 with "Opera Desktop 12.00 core 2.10.289, July 17, 2012. Active patches: 218" (b1513)
Works

12.50 with "Opera Desktop 12.50 core 2.9.168, August 1, 2012. Active patches: 254 ." (b1513)
Does not work

12.01 with Opera Desktop 12.01 core 2.10.289, August 1, 2012. Active patches: 223 .
Does not work


hmm strange.. got fixed in the last minutes..

Swapnil RustagiSwapnil99pro Friday, August 3, 2012 9:38:44 AM

"The most interesting issue is an Opera bug that makes compilation fail for code like this:"

That's why I do not ask at MS Answer about it. It's an 80% chance it's got to be a bug in Opera. (the only special case, so fas known to me, is browser sniffing on https://windowsupgradeoffer.com )

@Hallvord, is new Office Web Apps Preview (in case you have an account, use http://skydrive.live.com/?officebeta=1 link to sign-in to your Microsoft account, and then create a new PowerPoint/Excel/Word document) broken in Opera due to Opera bug or browser sniffing?

Charles SchlossChas4 Friday, August 3, 2012 1:12:42 PM

Target version and time stamp of the active browser.js file is Opera Desktop 12.01 core 2.10.289, August 3, 2012. Active patches: 224 .

Got that just now

netwolf Friday, August 3, 2012 2:15:09 PM

Is there a way to get those browser.js updates for 11.64?
Looks like a declined client upgrade doesn't upgrade browser.js either, which would force you to upgrade the client if you want an updated browser.js.

Is this intended behaviour?

Swapnil RustagiSwapnil99pro Friday, August 3, 2012 2:20:58 PM

Originally posted by netwolf:

Is there a way to get those browser.js updates for 11.64?


Download http://get.geo.opera.com/res/servicefiles/userjsfiles/all/browserjs-desktop-11.65-20120803.js (easy way: open the URL in Internet Explorer) save it as browser (browser.js if you have enabled showing file extensions) in your Opera directory (look for it under opera:about.

EDIT: Looks like the August 3 2012 browser.js file does not have those browser.js fixes mentioned. Though http://get.geo.opera.com/res/servicefiles/userjsfiles/all/browserjs-desktop-11.66-20120801.js and http://get.geo.opera.com/res/servicefiles/userjsfiles/all/browserjs-desktop-11.65-20120801.js have them.

netwolf Friday, August 3, 2012 2:27:23 PM

Ah, I see, thank you!

So the files for 11.64 are still there, maintained and available, but not distributed?

What's the reason for that?

EDIT: 11.66?! Sounds interesting...
Well, even if it doesn't contain those fixes it's still better than the browser.js file I currently have, which is several weeks old sad

From what I've read outlook.com isn't fully functional and without issues even with this patch, so I'm gonna have to use a different browser to properly access all features anyway...

norton2001 Friday, August 3, 2012 6:25:44 PM

Can I check when the bug that stops you being able to upload files (I've been testing uploading a 28k contacts file to SkyDrive and it is not going to upload) will be fixed please, as I can't use Opera to acess Outlook until it is.
Also I understand that there is a bug that stops attachments being sent on emails (?) and wondered when a fix was due there.
Many apologies as many of you are off on well needed holidays, but these are killer use the browser/can't use the browser issues as I think the Hotmail upgrade is too good to miss.
Much appreciation to you all from still sunny Devon
up

Hallvord R. M. Steenhallvors Saturday, August 4, 2012 7:02:35 AM

Originally posted by netwolf:

Looks like a declined client upgrade doesn't upgrade browser.js either



I've tested this now and it does indeed happen - this is absolutely not intended and we should fix it. (Unfortunately this fix obviously won't help those who currently decide to stay with 11.64.. but we'll make sure that next time you postphone upgrading from 12.xx you'll get your browser.js..)

Now, because we are still publishing server-side browser.js updates for 11.6x, here's the simplest way to update it manually:

  • Go to http://xml.opera.com/userjs/ - this URL will automatically redirect to the most up-to-date file for the Opera version you're using
  • Use Ctrl-S to save it in your profile folder, make sure you re-name it browser.js and overwrite the existing file



Originally posted by norton2001:

I understand that there is a bug that stops attachments being sent on emails



It is, this is a server-side bug and last time I heard it will get fixed by Microsoft in the near future. (It also hurts some users of other browser, even some IE versions are affected.)

Hallvord R. M. Steenhallvors Saturday, August 4, 2012 1:06:48 PM

Originally posted by Swapnil99pro:

That's why I do not ask at MS Answer about it.



I agree that you probably should not start nagging the website until we have done some analysis of the problem wink

Cases where changing browser ID makes a difference are of course exceptions to this rule.

Originally posted by Swapnil99pro:

new Office Web Apps Preview



I'll have to spend some time on this question..

Jimtoyotabedzrock Monday, August 6, 2012 1:33:31 AM

I guess you are not updating the Github repository anymore?

Hallvord R. M. Steenhallvors Monday, August 6, 2012 8:33:52 AM

Originally posted by toyotabedzrock:

I guess you are not updating the Github repository anymore?



It's just because Ola was on vacation and I haven't gotten around to figuring out if I have access to update it yet. Ola will probably handle the backlog and publish the missing files shortly smile

Ola P. Kleivenolak Monday, August 6, 2012 2:46:03 PM

github up to date

norton2001 Monday, August 6, 2012 10:55:38 PM

How long before we can upload documents on Outlook onto our Skydrive accounts?
All uploading fine on Firefox, haven't tried Chrome because I tend to lose hair if I use it, but full functionality in Opera would be great.
Kind regards

Ola P. Kleivenolak Tuesday, August 7, 2012 1:55:45 PM

Originally posted by hallvors:

Originally posted by netwolf:

Looks like a declined client upgrade doesn't upgrade browser.js either



I've tested this now and it does indeed happen - this is absolutely not intended and we should fix it. (Unfortunately this fix obviously won't help those who currently decide to stay with 11.64.. but we'll make sure that next time you postphone upgrading from 12.xx you'll get your browser.js..)

For reference DSK-353430

Write a comment

New comments have been disabled for this post.