Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.5.0
-
None
Description
I use QWebView to open an webpage that has infinite loop javascript code like below:
<body>
<script type="text/javascript">
while(1){}
</script>
</body>
</html>
In QT4.8, QWebView will show MessageBox after a while.
But in QT5.5, the UI thread block forever, it seems shouldInterruptJavaScript never called by underying webkit.
Attachments
Issue Links
- duplicates
-
QTBUG-48886 Regression[4-5] QWebPage.shouldInterruptJavaScript has no effect
- Closed