Hermes or Static Hermes as Native Messaging host #1802
-
|
I'm trying to integrate Hermes or Static Hermes into my Native Messaging host tests. Here are the Native Messaging protocol documentation for Chrome, Safari, Microsoft Edge, and on MDN https://github.com/guest271314/NativeMessagingHosts?tab=readme-ov-file#native-messaging-documentation and here is the protocol as described by Chrome Developers
I have an existing C implementation that I'm testing using with first, that doesn't work when used with Here's how I try to test Result Expected result using QuickJS I'm trying to ultimately compare Static Hermes to SpiderMonkey, V8 ( |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
I am sorry, I am not sure what you are asking. You are invoking the compiled binary with an invalid command line argument and it is terminating. It clearly says so: You already asked how to access command line arguments in SH compiled binaries and I responded: #1591 |
Beta Was this translation helpful? Give feedback.
-
|
Alright, I somehow got it working by importing a slightly modified working C version of a Native Messaging host. The C code in OP with this change after reading this https://stackoverflow.com/a/13817070 JavaScript Compile Web extension manifest Test First run Second run Third run Standalone
I guess I'm trying to figure out the importance of |
Beta Was this translation helpful? Give feedback.


I am sorry, I am not sure what you are asking. You are invoking the compiled binary with an invalid command line argument and it is terminating. It clearly says so:
You already asked how to access command line arguments in SH compiled binaries and I responded: #1591