706 @param url url requesting the feature |
706 @param url url requesting the feature |
707 @type QUrl |
707 @type QUrl |
708 @param feature requested feature |
708 @param feature requested feature |
709 @type QWebEnginePage.Feature |
709 @type QWebEnginePage.Feature |
710 """ |
710 """ |
711 # TODO: Feature Permission |
711 manager = WebBrowser.WebBrowserWindow.WebBrowserWindow\ |
712 ## manager = WebBrowser.WebBrowserWindow.WebBrowserWindow\ |
712 .featurePermissionManager() |
713 ## .featurePermissionManager() |
713 manager.requestFeaturePermission(self, url, feature) |
714 ## manager.requestFeaturePermission(self, frame, feature) |
|
715 |
714 |
716 def execJavaScript(self, script): |
715 def execJavaScript(self, script): |
717 """ |
716 """ |
718 Public method to execute a JavaScript function synchroneously. |
717 Public method to execute a JavaScript function synchroneously. |
719 |
718 |