Added code to intercept the WebKit error 102 'Loading is handled by the media engine' in the web page. 5_4_x

Sun, 15 Jun 2014 19:00:42 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 15 Jun 2014 19:00:42 +0200
branch
5_4_x
changeset 3634
5b13937a3765
parent 3632
2424e64d384f
child 3637
5ac63ebd5c4e

Added code to intercept the WebKit error 102 'Loading is handled by the media engine' in the web page.

Helpviewer/HelpBrowserWV.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/HelpBrowserWV.py	Tue Jun 10 22:12:32 2014 +0200
+++ b/Helpviewer/HelpBrowserWV.py	Sun Jun 15 19:00:42 2014 +0200
@@ -331,6 +331,10 @@
                info.errorString == "eric5:No Error":
                 return False
             
+            if info.domain == QWebPage.WebKit and info.error == 203:
+                # "Loading is handled by the media engine"
+                return False
+            
             title = self.trUtf8("Error loading page: {0}").format(urlString)
             htmlFile = QFile(":/html/notFoundPage.html")
             htmlFile.open(QFile.ReadOnly)

eric ide

mercurial