Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1222)

Issue 1220833002: Make the setCustomValidity() error argument not nullable (Closed)

Created:
5 years, 5 months ago by shiva.jm
Modified:
5 years, 5 months ago
Reviewers:
tkent, pdr., philipj_slow
CC:
Habib Virji
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Make the setCustomValidity() error argument not nullable As per spec link: https://html.spec.whatwg.org/#dom-cva-setcustomvalidity, setCustomValidity() error argument should not be nullable, i.e [TreatUndefinedAs=NullString] bit should also be removed. Gecko has already done these changes. BUG=504576 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198678

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -46 lines) Patch
A LayoutTests/fast/dom/setCustomValidity-null-undefined.html View 1 2 3 4 5 6 7 1 chunk +40 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/ValidityState-customError.html View 1 2 3 4 5 6 3 chunks +15 lines, -15 lines 0 comments Download
M LayoutTests/fast/forms/ValidityState-customError-expected.txt View 1 2 3 4 5 6 2 chunks +15 lines, -15 lines 0 comments Download
M Source/core/html/HTMLButtonElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLFieldSetElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLInputElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLKeygenElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLObjectElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLOutputElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLSelectElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/html/HTMLTextAreaElement.idl View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
shiva.jm
pls have a look.
5 years, 5 months ago (2015-06-30 05:07:31 UTC) #2
shiva.jm
5 years, 5 months ago (2015-07-01 12:04:12 UTC) #4
philipj_slow
https://codereview.chromium.org/1220833002/diff/1/Source/core/html/HTMLButtonElement.idl File Source/core/html/HTMLButtonElement.idl (right): https://codereview.chromium.org/1220833002/diff/1/Source/core/html/HTMLButtonElement.idl#newcode42 Source/core/html/HTMLButtonElement.idl:42: void setCustomValidity(DOMString? error); You should also remove the "?", ...
5 years, 5 months ago (2015-07-02 09:53:00 UTC) #5
tkent
https://codereview.chromium.org/1220833002/diff/1/LayoutTests/fast/forms/ValidityState-customError.html File LayoutTests/fast/forms/ValidityState-customError.html (right): https://codereview.chromium.org/1220833002/diff/1/LayoutTests/fast/forms/ValidityState-customError.html#newcode115 LayoutTests/fast/forms/ValidityState-customError.html:115: Please add tests for <keygen>, <obejct>, and <output>. https://codereview.chromium.org/1220833002/diff/1/LayoutTests/fast/forms/ValidityState-customError.html#newcode153 ...
5 years, 5 months ago (2015-07-03 00:39:24 UTC) #6
shiva.jm
Update the tests and review comments, pls have a look.
5 years, 5 months ago (2015-07-06 09:51:27 UTC) #7
philipj_slow
https://codereview.chromium.org/1220833002/diff/20001/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html File LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html (right): https://codereview.chromium.org/1220833002/diff/20001/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html#newcode12 LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html:12: shouldBeUndefined("b.setCustomValidity(null)"); shouldNotThrow() would be a more explicit way of ...
5 years, 5 months ago (2015-07-06 12:36:18 UTC) #8
shiva.jm
Update the tests and review comments, pls have a look. https://codereview.chromium.org/1220833002/diff/20001/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html File LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html (right): https://codereview.chromium.org/1220833002/diff/20001/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html#newcode12 ...
5 years, 5 months ago (2015-07-07 10:33:42 UTC) #9
philipj_slow
https://codereview.chromium.org/1220833002/diff/80001/LayoutTests/fast/dom/setCustomValidity-validationMessage.html File LayoutTests/fast/dom/setCustomValidity-validationMessage.html (right): https://codereview.chromium.org/1220833002/diff/80001/LayoutTests/fast/dom/setCustomValidity-validationMessage.html#newcode8 LayoutTests/fast/dom/setCustomValidity-validationMessage.html:8: description('Test how setCustomValidity.validationMessage reacts to too few arguments.'); There's ...
5 years, 5 months ago (2015-07-07 11:48:53 UTC) #10
tkent
https://codereview.chromium.org/1220833002/diff/80001/LayoutTests/fast/forms/ValidityState-customError.html File LayoutTests/fast/forms/ValidityState-customError.html (left): https://codereview.chromium.org/1220833002/diff/80001/LayoutTests/fast/forms/ValidityState-customError.html#oldcode107 LayoutTests/fast/forms/ValidityState-customError.html:107: shouldBeFalse('customErrorFor("fieldset-many-changes")'); On 2015/07/07 11:48:52, philipj wrote: > Do you ...
5 years, 5 months ago (2015-07-08 00:31:06 UTC) #11
philipj_slow
https://codereview.chromium.org/1220833002/diff/80001/LayoutTests/fast/forms/ValidityState-customError.html File LayoutTests/fast/forms/ValidityState-customError.html (left): https://codereview.chromium.org/1220833002/diff/80001/LayoutTests/fast/forms/ValidityState-customError.html#oldcode107 LayoutTests/fast/forms/ValidityState-customError.html:107: shouldBeFalse('customErrorFor("fieldset-many-changes")'); On 2015/07/08 00:31:06, tkent wrote: > On 2015/07/07 ...
5 years, 5 months ago (2015-07-08 08:08:46 UTC) #12
shiva.jm
Update the tests and review comments, pls have a look.
5 years, 5 months ago (2015-07-10 04:35:03 UTC) #13
shiva.jm
Fixed the tests failed in last patch, pls have a look.
5 years, 5 months ago (2015-07-10 05:55:45 UTC) #14
philipj_slow
lgtm
5 years, 5 months ago (2015-07-10 08:45:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220833002/120001
5 years, 5 months ago (2015-07-10 08:45:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220833002/120001
5 years, 5 months ago (2015-07-10 08:48:43 UTC) #20
philipj_slow
Some test nits, but this is already going through CQ so never mind. If you ...
5 years, 5 months ago (2015-07-10 08:49:45 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/37483)
5 years, 5 months ago (2015-07-10 08:51:50 UTC) #23
shiva.jm
On 2015/07/10 08:49:45, philipj wrote: > Some test nits, but this is already going through ...
5 years, 5 months ago (2015-07-10 08:58:03 UTC) #24
shiva.jm
Updated nits and presubmit check error, pls have a look. https://codereview.chromium.org/1220833002/diff/120001/LayoutTests/fast/dom/setCustomValidity-null-undefined.html File LayoutTests/fast/dom/setCustomValidity-null-undefined.html (right): https://codereview.chromium.org/1220833002/diff/120001/LayoutTests/fast/dom/setCustomValidity-null-undefined.html#newcode2 ...
5 years, 5 months ago (2015-07-10 09:09:28 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220833002/140001
5 years, 5 months ago (2015-07-10 09:10:00 UTC) #28
philipj_slow
lgtm
5 years, 5 months ago (2015-07-10 09:20:01 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-10 10:33:13 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1220833002/140001
5 years, 5 months ago (2015-07-10 10:35:33 UTC) #33
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 10:39:27 UTC) #34
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198678

Powered by Google App Engine
This is Rietveld 408576698