Both MDN Native Messaging example and Google Chrome extension samples had a bug in the Python implementation of the Native Messaging host.
Native Messaging host can send 1MB of data to the client (browser) per message.
The Python code was counting space characters.
Additionally, using python
alone in a shell script, and not using
python3
will fail on systems that do not have python
in PATH
,
yet do have python3
in PATH
.
MDN extension samples and content eventually fixed the bug, Eliminate space counted as message length, Eliminate space counted as message length.
Some time after I filed this issue Python Native Messaging host does not process 1MB notifying GoogleChrome/chrome-extensions-samples that their code was broken - and linking to one of the MDN issues - Google Chrome decided to ban me from contributing to their repository.
Folks don't like to hear their gear is broken; can't handle constructive feedback; or have undisclosed biases; etc. - Google Chrome never told me why they banned me.
Not novel banned. Weak.
Nonetheless this brief article is about the fact GoogleChrome/chrome-extensions-samples closed the bug report I filed as "completed" a few days ago.
GoogleChrome/chrome-extensions-samples have not fixed that bug native-messaging-example-host.
Folks will ban users, mark the bugs the banned user filed as "completed", when maintainers ain't touched the code and ain't fixed nothin.
Trust no code. In this case Google Chrome is knowingly publishing broken code.
That's it.
Have a great day!
/guest271314/