[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
- Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa, (continued)
- Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa, Stefan Monnier, 2019/06/03
- Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa, Paul Eggert, 2019/06/03
- [PATCH v2] Add xwidget webkit support for macOS Cocoa, Sungbin Jo, 2019/06/03
- Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa, Stefan Monnier, 2019/06/03
- Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa, Andreas Schwab, 2019/06/04
- [PATCH v2] Add xwidget webkit support for macOS Cocoa, Sungbin Jo, 2019/06/04
- [PATCH v3] Add xwidget webkit support for macOS Cocoa, Sungbin Jo, 2019/06/04
- Re: [PATCH v3] Add xwidget webkit support for macOS Cocoa, Stefan Monnier, 2019/06/05
- Re: [PATCH v3] Add xwidget webkit support for macOS Cocoa, Eli Zaretskii, 2019/06/05
- Re: [PATCH v3] Add xwidget webkit support for macOS Cocoa, Alan Third, 2019/06/23
- Re: [PATCH v2] Add xwidget webkit support for macOS Cocoa,
Alan Third <=