emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa


From: Alan Third
Subject: Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa
Date: Tue, 4 Jun 2019 17:22:12 +0100
User-agent: Mutt/1.12.0 (2019-05-25)

On Tue, Jun 04, 2019 at 08:51:20AM +0900, Sungbin Jo wrote:
> ---
>  configure.ac                     |  34 +-
>  lisp/xwidget.el                  | 315 ++++++++++++----
>  nextstep/templates/Info.plist.in |  12 +-
>  src/Makefile.in                  |   1 +
>  src/emacs.c                      |   2 +-
>  src/nsterm.m                     |  23 +-
>  src/nsxwidget.h                  |  80 ++++
>  src/nsxwidget.m                  | 611 +++++++++++++++++++++++++++++++
>  src/xwidget.c                    | 261 ++++++++++++-
>  src/xwidget.h                    |  50 ++-
>  10 files changed, 1288 insertions(+), 101 deletions(-)
>  create mode 100644 src/nsxwidget.h
>  create mode 100644 src/nsxwidget.m

This applies fine now. Thanks.

I’ve only had a brief test and it appears to work, but I did something
wrong the first time I tried it.

M‐x xwidget-webkit-browse-url RET idiocy.org RET

it silently fails to load the page, then try the same but with
https://idiocy.org/ and it starts spewing lots of this message into
the terminal:

2019-06-04 17:15:16.041 Emacs[38758:2115790] xwHasFocus: Error 
Domain=WKErrorDomain Code=4 "A JavaScript exception occurred" 
UserInfo={WKJavaScriptExceptionLineNumber=1, 
WKJavaScriptExceptionMessage=ReferenceError: Can't find variable: xwHasFocus, 
WKJavaScriptExceptionColumnNumber=11, WKJavaScriptExceptionSourceURL=undefined, 
NSLocalizedDescription=A JavaScript exception occurred}

If I type in the full correct URL the first time it’s fine.
-- 
Alan Third



reply via email to

[Prev in Thread] Current Thread [Next in Thread]