--- a/WebBrowser/WebBrowserPage.py Fri Feb 19 19:55:56 2016 +0100 +++ b/WebBrowser/WebBrowserPage.py Sat Feb 20 12:26:28 2016 +0100 @@ -47,6 +47,7 @@ except ImportError: SSL_AVAILABLE = False +# TODO: ExternalJsObject: move this to the object ############################################################################### ## ## @@ -727,7 +728,6 @@ """ Private method to setup a web channel to our external object. """ -## self.__externalJsObject = ExternalJsObject(self) oldChannel = self.webChannel() newChannel = QWebChannel(self) newChannel.registerObject("eric_object", ExternalJsObject(self)) @@ -753,5 +753,6 @@ ## Methods below deal with JavaScript messages ############################################## + # TODO: JavaScript messages: do this right and add the others def javaScriptConsoleMessage(self, level, message, lineNumber, sourceId): print("JS-console:", message, lineNumber, sourceId)