Created attachment 510004 [details] testcase ###!!! ASSERTION: U+0080/U+0100 - U+FFFF data lost: 'legalRange', file js/src/xpconnect/src/xpcconvert.cpp, line 847
XPConnect is asserting correctly here. The web page is passing a non-ASCII string in. Then code in WebContentConverter.js passes that string, as-is, to nsIExternalProtocolService.getProtocolHandlerInfo. This last takes an ACString per idl, so you get dataloss. Either the JS in question needs to sanitize the string, or nsIExternalProtocolService's signature needs to be changed.
Component: XPConnect → General
Product: Core → Firefox
QA Contact: xpconnect → general
You need to log in before you can comment on or make changes to this bug.