Append test case for issue 1669

Append test case for issue #1669.
This bug exists if nw's version >=0.9.0 on all platform.
I need chromedriver because if I set all test text with JavaScript, I could not reproduce the issue.
But if I move mouse to click nw's window and then type something, or in another way ,use chromedriver to type something automatically,I can reproduce it.
I will try to dig root cause later.