eric7/WebBrowser/WebBrowserPage.py

branch
eric7
changeset 8692
9c72f9bc9d72
parent 8687
f671fd72dfb6
child 8881
54e42bc2437a
equal deleted inserted replaced
8691:5dfa59f73de3 8692:9c72f9bc9d72
430 if url.scheme() in ("eric", "qthelp") else 430 if url.scheme() in ("eric", "qthelp") else
431 self.SafeJsWorld 431 self.SafeJsWorld
432 ) 432 )
433 if worldId != self.__channelWorldId: 433 if worldId != self.__channelWorldId:
434 self.__channelWorldId = worldId 434 self.__channelWorldId = worldId
435 try: 435 self.setWebChannel(channel, self.__channelWorldId)
436 self.setWebChannel(channel, self.__channelWorldId)
437 except TypeError:
438 # pre Qt 5.7.0
439 self.setWebChannel(channel)
440 436
441 def certificateError(self, error): 437 def certificateError(self, error):
442 """ 438 """
443 Public method to handle SSL certificate errors. 439 Public method to handle SSL certificate errors.
444 440

eric ide

mercurial