What steps will reproduce the problem?
1. Set up a google.language.detect() call
2. Paste a string such as:
"Lorem ipsum
dolor sit amet,
consectetuer"
What is the expected output? What do you see instead?
The newlines in the string will hang the script, freeze certain browsers
and require a restart of the browser. This happens in Firefox (requires
restart usually), Chrome, and so forth.
The detection does not fail elegantly. If you also paste a snippet of test
code it also fails the same way. If someone accidentally pastes a string of
text in a detect location it should therefore not hang the entire browser.
Original issue reported on code.google.com by brettfo...@gmail.com on 1 Jun 2010 at 7:47
Original issue reported on code.google.com by
brettfo...@gmail.com
on 1 Jun 2010 at 7:47