Bug 34407

Summary: wont load facebook inbox
Product: WebKit Reporter: Ryan <ryan.Gottlieb>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Major CC: nschmidt
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.facebook.com/inbox/?drop&ref=mb
Attachments:
Description Flags
Screenshot none

Description Ryan 2010-01-31 21:58:08 PST
Created attachment 47812 [details]
Screenshot 

Facebook inbox fails to render,  but in Safari 4.04 inbox loads perfectly.
Comment 1 Nathan Schmidt 2010-02-01 15:29:20 PST
(In reply to comment #0)
> Created an attachment (id=47812) [details]
> Screenshot 
> 
> Facebook inbox fails to render,  but in Safari 4.04 inbox loads perfectly.

Only happening in WebKit nightly r54122 - Firefox etc unaffected.

Console message is:

TypeError: Result of expression 'i' [undefined] is not a valid argument for 'in'.

static.ak.fbcdn.net/rsrc.php/z4RT5/hash/e5pvn624.js:31



The offending code appears to be (whitespace added):

var a=function(g,k) {
var h='on'+k,i=DataStore.get(g,b);
if(k in i) {
 if(g[h]!==d) throw new Error("`"+h+"' listen handler gone!");
 return;
}
i[k]={};
var j=g[h];
g[h]=d;
if(j)Event.listen(g,k,j,Event.Priority.TRADITIONAL);
}

Implying an unexpected results from the DataStore object.