diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-21 01:42:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-21 01:42:29 +0800 |
commit | 87f50659db7a4bf194769b05f541d2ccf02f4fc8 (patch) | |
tree | 066052bdebf5a74b3a5b1b03efd227143b27bf63 | |
parent | 9845029a7535672746139084138f3e894e604e44 (diff) | |
download | go-tangerine-87f50659db7a4bf194769b05f541d2ccf02f4fc8.tar.gz go-tangerine-87f50659db7a4bf194769b05f541d2ccf02f4fc8.tar.zst go-tangerine-87f50659db7a4bf194769b05f541d2ccf02f4fc8.zip |
fixed url bug in browser
-rw-r--r-- | cmd/mist/assets/qml/browser.qml | 5 | ||||
-rw-r--r-- | whisper/whisper_test.go | 9 |
2 files changed, 0 insertions, 14 deletions
diff --git a/cmd/mist/assets/qml/browser.qml b/cmd/mist/assets/qml/browser.qml index 9cf1fe8be..a89c3c97d 100644 --- a/cmd/mist/assets/qml/browser.qml +++ b/cmd/mist/assets/qml/browser.qml @@ -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) diff --git a/whisper/whisper_test.go b/whisper/whisper_test.go index 107cb8c97..c5ad73021 100644 --- a/whisper/whisper_test.go +++ b/whisper/whisper_test.go @@ -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() |