added 'webview-navigate\!' method which works through 'window.location' in javascript. Also changed webview-set-url\! to complete the url to the base-url of the handle when only a single path element is provided (e.g. (webview-set-url\! h "page2.html"))

This commit is contained in:
2026-03-09 11:51:10 +01:00
parent 7f551e1105
commit 0b3f806aac

View File

@@ -452,8 +452,6 @@
(format "window.location = '~a';" (format "window.location = '~a';"
(esc-quote place)))) (esc-quote place))))
(define/contract (webview-base-url wv) (define/contract (webview-base-url wv)
(-> wv? url?) (-> wv? url?)
(string->url (wv-base-url wv))) (string->url (wv-base-url wv)))