Bug 22768 - LayoutTests/fast/frames/cross-site-this.html might test wrong thing
Summary: LayoutTests/fast/frames/cross-site-this.html might test wrong thing
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 16:55 PST by Feng Qian
Modified: 2008-12-09 16:55 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Feng Qian 2008-12-09 16:55:45 PST
LayoutTests/fast/frames/cross-site-this.html fails in Chrome, Safari 3.2 and FF 3.1 beta 1. It looks like is testing wrong thing:

In resources/cross-site-this-helper.html:
var eff = parent.foo;
eff(this);

the default receiver passed to eff, this, is the current frame in FF Safari 3.2 and Chrome. The comment seems wrong. Can you verify with other browsers?