• Lock and flush stdout in Window#alert.

    We use alert() to communicate test results to wptrunner. Unfortunately,
    sometimes the alert output is interleaved with other output on stdout,
    causing wptrunner to classify the test result as a timeout. I hope this will
    avoid that scenario.
    Ms2ger committed Aug 3, 2015