Re: browser-pane-navigate and file:// URLs
"Marco Antoniotti (as marco dot antoniotti at unimib dot it)" <[email protected]> Fri, 29 May 2026 21:17:45 +0200
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <CAG0Nw2mng6Dn130amcrZaUN1x7HvsqbnY=CnU0mzaG+mo6g3qw@mail.gmail.com> |
What I see - on a Mac - is that if you have a document that contains links to be displayed that reside in another file, you get an error. HTTP Error, status = 0 Are there Javascript issues maybe? MA On Fri, May 29, 2026 at 4:20 AM John DeSoi <[email protected]> wrote: > On the Mac I don't see any issue browsing links from a page in the > LispWorks documentation. > > (setf browser (capi:contain (make-instance 'capi:browser-pane :url > "file:///Applications/LispWorks%208.1%20(64-bit)/Library/lib/8-1-0-0/manual/html-m/capi/capi-capi-ref-15.htm"))) > > (capi:apply-in-pane-process browser 'capi:browser-pane-navigate browser > "file:///Applications/LispWorks%208.1%20(64-bit)/Library/lib/8-1-0-0/manual/html-m/capi/capi-capi-ref-452.htm#CAPI)simple-pane") > > > John DeSoi, Ph.D. > > > > On May 28, 2026, at 5:42 PM, Marco Antoniotti (as marco dot antoniotti at > unimib dot it) <[email protected]> wrote: > > browser-pane-navigate does not like links relative to a file:// url. The > issue is CORS. But having even a small server always running in your image > is a bit annoying. > > Am I out of luck and I do need a http server running in my image to avoid > such an issue? > Any alternatives? > > > -- Marco Antoniotti, Professor, Director tel. +39 - 02 64 48 79 01 DISCo, University of Milan-Bicocca U14 2043 http://dcb.disco.unimib.it Viale Sarca 336 I-20126 Milan (MI) ITALY REGAINS: https://regains.disco.unimib.it/