41 browsing event |
41 browsing event |
42 @signal safeBrowsingBad(threatType, threatMessages) emitted to indicate a |
42 @signal safeBrowsingBad(threatType, threatMessages) emitted to indicate a |
43 malicious web site as determined by safe browsing |
43 malicious web site as determined by safe browsing |
44 @signal printRequested() emitted to indicate a print request of the shown |
44 @signal printRequested() emitted to indicate a print request of the shown |
45 web page |
45 web page |
|
46 @signal navigationRequestAccepted(url, navigation type, main frame) emitted |
|
47 to signal an accepted navigation request |
46 """ |
48 """ |
47 if qVersionTuple() >= (5, 7, 0): |
49 if qVersionTuple() >= (5, 7, 0): |
48 SafeJsWorld = QWebEngineScript.ApplicationWorld |
50 SafeJsWorld = QWebEngineScript.ApplicationWorld |
49 # SafeJsWorld = QWebEngineScript.MainWorld |
51 # SafeJsWorld = QWebEngineScript.MainWorld |
50 else: |
52 else: |