Bug 86177

Summary: Sanitization algorithm for input type=email should strip whitespaces
Product: WebKit Reporter: Keishi Hattori <keishi>
Component: FormsAssignee: Keishi Hattori <keishi>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, tkent, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ec2-cr-linux-03
none
Patch none

Description Keishi Hattori 2012-05-10 23:35:38 PDT
According to the spec http://www.whatwg.org/specs/web-apps/current-work/#e-mail-state-(type=email)
> The value sanitization algorithm is as follows: Strip line breaks from the value, then strip leading and trailing whitespace from the value.
Comment 1 Keishi Hattori 2012-05-10 23:45:00 PDT
Firefox does this. Opera doesn't.
Comment 2 Keishi Hattori 2012-05-10 23:47:30 PDT
Created attachment 141335 [details]
Patch
Comment 3 Kent Tamura 2012-05-10 23:59:41 PDT
Comment on attachment 141335 [details]
Patch

ok
Comment 4 WebKit Review Bot 2012-05-11 02:43:37 PDT
Comment on attachment 141335 [details]
Patch

Attachment 141335 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/12669348

New failing tests:
fast/forms/input-value-sanitization.html
Comment 5 WebKit Review Bot 2012-05-11 02:43:41 PDT
Created attachment 141364 [details]
Archive of layout-test-results from ec2-cr-linux-03

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-03  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment 6 Keishi Hattori 2012-05-11 04:21:12 PDT
Created attachment 141377 [details]
Patch
Comment 7 WebKit Review Bot 2012-05-11 06:03:20 PDT
Comment on attachment 141377 [details]
Patch

Clearing flags on attachment: 141377

Committed r116757: <http://trac.webkit.org/changeset/116757>
Comment 8 WebKit Review Bot 2012-05-11 06:03:27 PDT
All reviewed patches have been landed.  Closing bug.