Fix tst_QWebEngineFrame::setHtmlWithJSAlert test case

Change-Id: I27e6baa24cefabc29c44c76f3e9747ebafaa5078
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>