fixed url bug in browser
This commit is contained in:
parent
9845029a75
commit
87f50659db
@ -162,11 +162,6 @@ Rectangle {
|
||||
top: divider.bottom
|
||||
}
|
||||
|
||||
//property var cleanPath: false
|
||||
onNavigationRequested: {
|
||||
window.open(request.url.toString());
|
||||
}
|
||||
|
||||
function injectJs(js) {
|
||||
webview.experimental.navigatorQtObjectEnabled = true;
|
||||
webview.experimental.evaluateJavaScript(js)
|
||||
|
@ -6,15 +6,6 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestKeyManagement(t *testing.T) {
|
||||
whisper := New()
|
||||
|
||||
key := whisper.NewIdentity()
|
||||
if !whisper.HasIdentity(key) {
|
||||
t.Error("expected whisper to have identify")
|
||||
}
|
||||
}
|
||||
|
||||
func TestEvent(t *testing.T) {
|
||||
res := make(chan *Message, 1)
|
||||
whisper := New()
|
||||
|
Loading…
Reference in New Issue
Block a user