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

Sun, 15 Jun 2014 18:56:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 15 Jun 2014 18:56:56 +0200
changeset 3633
869c7cb9dc15
parent 3631
2f5169646a4a
child 3635
fc024806236d

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

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Helpviewer/HelpBrowserWV.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- a/Helpviewer/HelpBrowserWV.py	Tue Jun 10 22:12:32 2014 +0200
+++ b/Helpviewer/HelpBrowserWV.py	Sun Jun 15 18:56:56 2014 +0200
@@ -338,6 +338,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.tr("Error loading page: {0}").format(urlString)
             htmlFile = QFile(":/html/notFoundPage.html")
             htmlFile.open(QFile.ReadOnly)

eric ide

mercurial