Skip to content

Instantly share code, notes, and snippets.

@guest271314
Created March 7, 2023 03:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guest271314/20e70fc51ae9441d006130fa5266ab18 to your computer and use it in GitHub Desktop.
Save guest271314/20e70fc51ae9441d006130fa5266ab18 to your computer and use it in GitHub Desktop.
Banning a user doesn't magically make your bugs go away

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment