WebKit change 41727 regressed query param handling for utf16 files. These fail: WebKitTools/Scripts/run-webkit-tests --debug LayoutTests/http/tests/misc/url-in-utf16le.html WebKitTools/Scripts/run-webkit-tests --debug LayoutTests/http/tests/misc/url-in-utf16be.html
Created attachment 28845 [details] Patch. Revert change 41727. Also fixes http://crbug.com/9067 .
With this patch, WebKitTools/Scripts/run-webkit-tests --debug LayoutTests/http/tests/misc/url-in-utf16le.html works fine again.
Created attachment 28846 [details] Patch with better ChangeLog.
Created attachment 28847 [details] Patch with better changelog and no tabs. Sorry for the noise. It's my first time.
Some comments on the change: If `this` is an UTF16-encoding, change 41727 caused wrong results. Since `isNonByteBasedEncoding()` checks `noExtendedTextEncodingNameUsed()` already, and boolean operators are lazy, reverting 41727 does not cause any harm but fixes the regression.
http://trac.webkit.org/changeset/41727
Comment on attachment 28847 [details] Patch with better changelog and no tabs. We can't just roll out this optimization, which was fixing a significant performance problem. We need a new fix rather than just rolling out the bad one. Let me take a look at this.
Comment on attachment 28847 [details] Patch with better changelog and no tabs. I'm about to post an improved patch for this.
Created attachment 28854 [details] patch that fixes regression tests without reintroducing the performance problem
r=me
http://trac.webkit.org/changeset/41916