attached the diff.
And I am adding the test into QT skipped list temporarily while investigating.
Created attachment 90818 [details]
diff in QT
*** Bug 62374 has been marked as a duplicate of this bug. ***
=== Bulk closing of Qt bugs ===
If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary.
If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.