Bug 12727

Summary: Layout test failure: fast/events/frame-click-focus.html
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: aroben
Priority: P2 Keywords: LayoutTestFailure
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Description Flags
Patch v1 aroben: review+

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.