Commit 87f50659 authored by obscuren's avatar obscuren

fixed url bug in browser

parent 9845029a
...@@ -162,11 +162,6 @@ Rectangle { ...@@ -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)
......
...@@ -6,15 +6,6 @@ import ( ...@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment