blob: 3cb89934d6a4001133285ec5b6a242568425cf29 [file] [log] [blame]
Make sure that moving focus on an inactive frame fires blur event on existing element focus.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS successfullyParsed is true
TEST COMPLETE
PASS A focus event was dispatched on frame1 input element.
===> Making a first frame with a focused element inactive by focus() for second frame.
PASS A blur event was dispatched on frame1 input element.
PASS frame1.contentDocument.activeElement is input
===> Making the first frame active again by focus() for first frame.
PASS A focus event was dispatched on frame1 input element.
PASS frame1.contentDocument.activeElement is input