diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 07:47:06 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-01 07:47:06 +0000 |
commit | 6db4b6c354f638cfe9beb849ca0ad0beb1bb4a8d (patch) | |
tree | 11755a262eac67de13cbcc570abe7c3ea3351406 /chrome/renderer | |
parent | e50130bb863d3d904d8c1bccb9ab86c1bdcf88e5 (diff) | |
download | chromium_src-6db4b6c354f638cfe9beb849ca0ad0beb1bb4a8d.zip chromium_src-6db4b6c354f638cfe9beb849ca0ad0beb1bb4a8d.tar.gz chromium_src-6db4b6c354f638cfe9beb849ca0ad0beb1bb4a8d.tar.bz2 |
Always percent-escape the copied URL when all the text in the address bar is selected.
BUG=29397
TEST=Visit http://www.google.com/search?ie=UTF-8&q=上地 and select entire text in Omnibox, then copy the text.
Paste the copied text into other applications such as gedit and check if the pasted text contains %E4%B8%8A%E5%9C%B0, not 上地.
Paste the copied text into Firefox's URL bar and type return. Check if you are navigated to the same website.
Paste the copied text into textareas in Chrome and check if the pasted text contains %E4%B8%8A%E5%9C%B0.
TEST=Visit http://www.google.com/search?ie=UTF-8&q=上地 again and select "q=上地" in Omnibox, then copy the text.
Paste it into somewhere and check if you see "q=上地".
TEST=Copy "上地" from somewhere and paste it into Omnibox.
Copy from Omnibox and paste it into other apps such as gedit. Then check if the pasted text is NOT encoded.
TEST=Paste the copied text into Gmail's rich text editing mode and check if the pasted text contains 上地. Right click the link you pasted in Gmail and check if you see "Go to: http://www.google.com/...%E4%B8%8A%E5%9C%B0".
TEST=Steps described in http://codereview.chromium.org/173098.
Review URL: http://codereview.chromium.org/465053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
0 files changed, 0 insertions, 0 deletions