fixed url bug in browser

This commit is contained in:
obscuren 2015-01-20 18:42:29 +01:00
parent 9845029a75
commit 87f50659db
2 changed files with 0 additions and 14 deletions

View File

@ -162,11 +162,6 @@ Rectangle {
top: divider.bottom top: divider.bottom
} }
//property var cleanPath: false
onNavigationRequested: {
window.open(request.url.toString());
}
function injectJs(js) { function injectJs(js) {
webview.experimental.navigatorQtObjectEnabled = true; webview.experimental.navigatorQtObjectEnabled = true;
webview.experimental.evaluateJavaScript(js) webview.experimental.evaluateJavaScript(js)

View File

@ -6,15 +6,6 @@ import (
"time" "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) { func TestEvent(t *testing.T) {
res := make(chan *Message, 1) res := make(chan *Message, 1)
whisper := New() whisper := New()