Addon native messaging: Firefox does not send the stated number of bytes.
Categories
(Firefox :: Extension Compatibility, defect)
Tracking
()
People
(Reporter: poudyal.riwaz.7, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
My addon communicates with a native component and frequently sends messages. The protocol for the messages is Firefox first sends 4 bytes that contain the size of the incoming msg followed by the message itself.
In about two devices so far, Firefox consistently does not send a msg of the size stated in the first 4 bytes. I have a repro available so please let me know what you'd need to investigate.
Actual results:
First four bytes of the msg specify the size to be X but msg is less than X bytes. Because I have a blocking call reading the msg on the native side, several instances of the native will not die waiting for the bytes. Using a non blocking call does not solve the problem either as the bytes never appear.
Expected results:
X bytes should be sent from Firefox. This works for 20+ firefox browsers and 100+ chrome browsers.
Comment 1•5 years ago
|
||
I can't reproduce this due to unavailable test-ware. I am placing this under Firefox: Extension Compatibility, so someone from that team can assist you with this issue. Thanks!
Reporter | ||
Comment 2•5 years ago
|
||
Thanks! The last time I checked I had a repro but don't how what logs would be useful or how to collect them.
Reporter | ||
Comment 3•5 years ago
|
||
Update: This is now showing up in at least 7 total devices on Firefox.
Comment 4•4 years ago
|
||
Closing due to lack of STR.
Description
•