Bug 12727 - Layout test failure: fast/events/frame-click-focus.html
Summary: Layout test failure: fast/events/frame-click-focus.html
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
Keywords: LayoutTestFailure
Depends on:
Reported: 2007-02-10 12:52 PST by David Kilzer (:ddkilzer)
Modified: 2007-02-10 17:02 PST (History)
1 user (show)

See Also:

Patch v1 (1.97 KB, patch)
2007-02-10 12:58 PST, David Kilzer (:ddkilzer)
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2007-02-10 12:52:04 PST
The fast/events/frame-click-focus.html test started failing with build 5561, but reverting that change does not fix the test.

Comment 1 David Kilzer (:ddkilzer) 2007-02-10 12:58:49 PST
Created attachment 13110 [details]
Patch v1

Proposed fix.

Note that this test has varied results when loaded into Firefox and Opera 9.10.

- Opera 9.10 only blurs/focuses the main frame when the whole window loses/gains focus (e.g., when switching to another application or another browser window/tab), not when the iframe loses/gains focus.
- Firefox fires multiple events each time the iframe is blurred/focused.  It also creates a focus event every time the iframe or main frame is clicked in, even if it already has focus.
Comment 2 Adam Roben (:aroben) 2007-02-10 13:57:09 PST
Comment on attachment 13110 [details]
Patch v1

Comment 3 David Kilzer (:ddkilzer) 2007-02-10 17:02:38 PST
Committed revision 19555.