WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
108969
formenctype to have empty string as default value.
https://bugs.webkit.org/show_bug.cgi?id=108969
Summary
formenctype to have empty string as default value.
Vineet Chaudhary (vineetc)
Reported
2013-02-05 12:50:15 PST
Specification :
http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fs-formenctype
:
http://www.whatwg.org/specs/web-apps/current-work/#attr-fs-formenctype
:
https://bugzilla.mozilla.org/show_bug.cgi?id=787095
The spec says formEnctype should only have an invalid value default, not a missing value default. Tests affected : fast/forms/submit-form-attributes.html
Attachments
patch
(20.07 KB, patch)
2013-02-05 13:00 PST
,
Vineet Chaudhary (vineetc)
tkent
: review+
Details
Formatted Diff
Diff
updated_patch
(17.80 KB, patch)
2013-02-05 15:04 PST
,
Vineet Chaudhary (vineetc)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Vineet Chaudhary (vineetc)
Comment 1
2013-02-05 13:00:47 PST
Created
attachment 186684
[details]
patch As per discussion from bug
https://bugs.webkit.org/show_bug.cgi?id=108263
Modified test case fast/forms/submit-form-attributes.html to replace shouldBe() with shouldBeEqualToString()
Kent Tamura
Comment 2
2013-02-05 14:26:31 PST
Comment on
attachment 186684
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=186684&action=review
> LayoutTests/fast/forms/submit-form-attributes.html:23 > input.setAttribute('formAction', '
http://localhost
'); > -shouldBe('input.formAction', '"
http://localhost/
"'); > +shouldBeEqualToString("input.formAction", "
http://localhost/
"); > input.setAttribute('formAction', '
http://localhost/
');
It seems the primary quote mark in this file is single quote. Please use consistent quote marks.
Vineet Chaudhary (vineetc)
Comment 3
2013-02-05 15:04:15 PST
Created
attachment 186714
[details]
updated_patch (In reply to
comment #2
)
> (From update of
attachment 186684
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=186684&action=review
> > > LayoutTests/fast/forms/submit-form-attributes.html:23 > > input.setAttribute('formAction', '
http://localhost
'); > > -shouldBe('input.formAction', '"
http://localhost/
"'); > > +shouldBeEqualToString("input.formAction", "
http://localhost/
"); > > input.setAttribute('formAction', '
http://localhost/
'); > > It seems the primary quote mark in this file is single quote. Please use consistent quote marks.
Updated test to use single quote as primary quote mark. Thank you tkent for review comments.
Kent Tamura
Comment 4
2013-02-05 15:05:35 PST
Comment on
attachment 186714
[details]
updated_patch ok
WebKit Review Bot
Comment 5
2013-02-05 16:07:07 PST
Comment on
attachment 186714
[details]
updated_patch Clearing flags on attachment: 186714 Committed
r141947
: <
http://trac.webkit.org/changeset/141947
>
WebKit Review Bot
Comment 6
2013-02-05 16:07:11 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug