769 self.setWebChannel(newChannel) |
769 self.setWebChannel(newChannel) |
770 |
770 |
771 if oldChannel: |
771 if oldChannel: |
772 del oldChannel.registeredObjects["eric_object"] |
772 del oldChannel.registeredObjects["eric_object"] |
773 del oldChannel |
773 del oldChannel |
|
774 |
|
775 def certificateError(self, error): |
|
776 """ |
|
777 Protected method to handle SSL certificate errors. |
|
778 |
|
779 @param error object containing the certificate error information |
|
780 @type QWebEngineCertificateError |
|
781 @return flag indicating to ignore this error |
|
782 @rtype bool |
|
783 """ |
|
784 return WebBrowser.WebBrowserWindow.WebBrowserWindow.networkManager()\ |
|
785 .certificateError(error, self.view()) |