LibWeb: Wait for the iframe load before completing the beforeunload test

Commit be9071834e pushed by 0ct0pu5master