--- a/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py Mon Sep 02 18:58:29 2019 +0200 +++ b/eric6/WebBrowser/GreaseMonkey/GreaseMonkeyScript.py Tue Sep 03 19:27:46 2019 +0200 @@ -375,7 +375,6 @@ @return prepared script object @rtype QWebEngineScript - @exception ValueError raised to indicate an unsupported start point """ script = QWebEngineScript() script.setSourceCode("{0}\n{1}".format( @@ -386,19 +385,6 @@ script.setRunsOnSubFrames(not self.__noFrames) return script - # TODO: get rid of it - def __toJavaScriptList(self, patterns): - """ - Private method to convert a list of str to a string containing a valid - JavaScript list definition. - - @param patterns list of match patterns - @type list of str - @return JavaScript script containing the list - @rtype str - """ - return "" - def updateScript(self): """ Public method to updated the script.