Bug 86177 - Sanitization algorithm for input type=email should strip whitespaces
Summary: Sanitization algorithm for input type=email should strip whitespaces
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Keishi Hattori
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 23:35 PDT by Keishi Hattori
Modified: 2012-05-11 06:03 PDT (History)
3 users (show)

See Also:


Attachments
Patch (6.58 KB, patch)
2012-05-10 23:47 PDT, Keishi Hattori
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ec2-cr-linux-03 (736.56 KB, application/zip)
2012-05-11 02:43 PDT, WebKit Review Bot
no flags Details
Patch (8.04 KB, patch)
2012-05-11 04:21 PDT, Keishi Hattori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.