IE9 does 0x00 byte truncation after message decoding with MessageEvent#133
IE9 does 0x00 byte truncation after message decoding with MessageEvent#133Nyanna wants to merge 1 commit intogimite:masterfrom Nyanna:master
Conversation
behavior so IE9 should also use the closure fix.
|
Thanks for the patch and sorry for late. I'll take a look soon. |
|
no problem, its not urgent. |
|
I tried sending "foo\0bar" to IE9 and it was handled correctly. Have you tried the same code with Chrome? If it happens in Chrome too, it's likely that your server has problem sending null bytes, not client. |
|
Tobias and i had several tests, under chrome it did functioning. Maybe its related to a specific library IE9 is using, windows service packs, hotfixes, windows version etc. Maybe on the next release we can send u the real usecase u can test on. |
|
I found that IE9 doesn't define either document.createEvent nor window.MessageEvent. So usually it doesn't go to code path using document.createEvent in IE9 anyway. Maybe one of the libraries you are using defines document.createEvent and window.MessageEvent, and the implementation has a bug truncating after null byte? |
not only Opera shows the 0x00 byte truncation bug. IE9 shows the same behavior so IE9 should also use the closure fix.