Bug 150694 - Yahoo! Mail Beta produces login errors
Summary: Yahoo! Mail Beta produces login errors
Alias: None
Product: konqueror
Classification: Unclassified
Component: khtml (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal with 40 votes (vote)
Target Milestone: ---
Assignee: Konqueror Developers
Depends on:
Reported: 2007-10-11 01:45 UTC by Michael
Modified: 2011-07-03 15:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2007-10-11 01:45:45 UTC
Version:            (using KDE KDE 3.94.0)
Installed from:    Compiled From Sources
Compiler:          GCC 4.1.2 
OS:                Linux

Yahoo! Mail Beta produces the following login errors, and refuses to start:
"Yahoo! Mail Beta experienced a login error:
message:Can't find variable: coretoolbar"

"Yahoo! Mail Beta experienced a login error:
message:Null value"

"Yahoo! Mail Beta experienced a login error: Login error:
message:DOM Exception 14"

I tested Yahoo! Mail Beta with Konqueror 3.5 and 4.0svn. I got the same error. The HTML produced by Yahoo! ceases to function in a matter of hours.

It can be reproduced simply by setting your User Agent to Firefox
Comment 1 Maksim Orlovich 2007-10-11 05:21:18 UTC
It has no chance of working in 3.x. Will not happen. For 4.x ... we will have tons of work to do. I did a bit of analysis a bit earlier, and for now we conk out because they use non-HTML tags in HTML, and our HTML parser can't handle that (that's the coretoolbar thing). There is probably a lot more stuff to emulate, too -- it's a super-crufty app. 
Should give an idea of what sort of stuff is in there :(

Comment 2 Michael 2007-10-11 17:11:21 UTC
It looks even worse with the IE user agent.
Comment 3 Allan Sandfeld 2007-10-13 12:56:59 UTC
SVN commit 724766 by carewolf:

 Update HTML-Parser to parse more HTML5 like, and allow custom HTML tags. This
 makes us more compatible with IceWeasel and Opera
 BUG: 109557
 BUG: 102209
 CCBUG: 148715
 CCBUG: 150694

 M  +8 -0      ChangeLog  
 M  +39 -40    html/dtd.cpp  
 M  +19 -2     html/dtd.h  
 M  +3 -3      html/html_elementimpl.cpp  
 M  +73 -34    html/htmlparser.cpp  
 M  +2 -0      html/htmlparser.h  
 M  +8 -6      html/htmltokenizer.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=724766
Comment 4 Michael 2007-10-14 16:57:42 UTC
Ok, coretoolbar error is gone. Now I get:
"Yahoo! Mail experienced a login error: 
message:Value undefined (result of expression s.createNSResolver) is not object."
Comment 5 Michael 2007-10-14 16:58:51 UTC
DOM error is also gone.
Comment 6 Maksim Orlovich 2007-10-14 18:59:45 UTC
Oy. DOM Level 3 XPath...
Comment 7 Anton Rasmussen 2008-05-03 22:35:11 UTC
Like #4 I get get this error when trying to log in to yahoo mail beta (in danish, but the same meaning):

"Log-in-fejl på Yahoo! Mail Beta:

message:Value undefined (result of expression oMainDOM.createNSResolver) is not object."

Then I click ok and get:
"Log-in-fejl på Yahoo! Mail Beta:

message:Null Value"

I press ok and get the first error again. Then Konqueror says a scripts is not responding and asks if I want it to keep running or end.

I let it run and nothing more happens. I can only see the topmost part of the webpage, allowing me to log out. (same thing happens if I end the script)

Installed form SUSE rpm: version 4.0.3 "release 17.2"
Comment 8 Martin Koller 2011-06-24 11:55:40 UTC
Is this still a problem with KDE >= 4.6.4 ? (I have no yahoo account to test...)
Comment 9 Matt Gibbs 2011-06-27 04:11:25 UTC
Just tested using Version 4.6.4 (4.6.4) "release 8" on openSUSE 11.4.  I'm using the latest "new" Yahoo! Mail.  When I try to login, it goes to a page saying "You're almost there, but your web browser doesn’t support the newest version of Yahoo! Mail".  I select the option to proceed to use the previous version of Yahoo mail, which I guess is the original AJAX version.  Once I select that, it shows up, then appears to reload, shows up again, then redirects to the "error" page mentioned above.  If I change the browser ID to Firefox 3.6.0 it will go to the latest version without the "error" page and seems to work.  If I switch the "view mode" to Webkit it will go to the previous version and also seems to work fine.  Hope this information has been helpful.
Comment 10 Martin Koller 2011-07-03 15:56:06 UTC
So it seems konqueror/KHTML can deal with that page as long as the browser fakes its identification to firefox.
So I'd say this is then a problem/limitation on the server side