This test ensures beforeunload event fires exactly once in a subframe even if the frame was adopted to a frame that appears later in the tree.
PASS: fired on parent
PASS: fired on a
PASS: fired on adoptee
adopting
adopted
PASS: fired on b
DONE
This test ensures beforeunload event fires exactly once in a subframe even if the frame was adopted to a frame that appears later in the tree.
PASS: fired on parent
PASS: fired on a
PASS: fired on adoptee
adopting
adopted
PASS: fired on b
DONE