Commit 6d095ec7 authored by sujiths.s's avatar sujiths.s Committed by Commit Bot

Form reset should clear the dirty flag of HTMLOptionElement

HTMLOptionElement::SetDirty() ignored the argument.  This CL fixes it.
Signed-off-by: default avatarsujiths.s <sujiths.s@samsung.com>
Review-Url: https://codereview.chromium.org/2906883002
Cr-Commit-Position: refs/heads/master@{#476128}
parent 09c6267d
This is a testharness.js-based test.
FAIL integration test on reset for a created-from-script form assert_equals: option should reset dirtyness to false expected false but got true
Harness: the test ran to completion.
...@@ -284,7 +284,7 @@ void HTMLOptionElement::SetSelectedState(bool selected) { ...@@ -284,7 +284,7 @@ void HTMLOptionElement::SetSelectedState(bool selected) {
} }
void HTMLOptionElement::SetDirty(bool value) { void HTMLOptionElement::SetDirty(bool value) {
is_dirty_ = true; is_dirty_ = value;
} }
void HTMLOptionElement::ChildrenChanged(const ChildrenChange& change) { void HTMLOptionElement::ChildrenChanged(const ChildrenChange& change) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment