Skip to content
Permalink
Browse files
LayoutTests/fast/forms/number/input-number-events.html is failing sin…
…ce r108228

https://bugs.webkit.org/show_bug.cgi?id=79329

Update input-number-events.html test for r108228. Spin buttons of number input field
fire both input and change events.

Patch by Yoshifumi Inoue <yosin@chromium.org> on 2012-02-26
Reviewed by Kent Tamura.

* fast/forms/number/input-number-events-expected.txt: We get one change event from spin button click.
* fast/forms/number/input-number-events.html: Change to one for change event.

Canonical link: https://commits.webkit.org/96725@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@108955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
yosinch authored and webkit-commit-queue committed Feb 27, 2012
1 parent d955d35 commit 7052ec9c5465a3d6a75b9d23fe6801a6f6b9d12f
Showing with 17 additions and 4 deletions.
  1. +13 −0 LayoutTests/ChangeLog
  2. +2 −2 LayoutTests/fast/forms/number/input-number-events-expected.txt
  3. +2 −2 LayoutTests/fast/forms/number/input-number-events.html
@@ -1,3 +1,16 @@
2012-02-26 Yoshifumi Inoue <yosin@chromium.org>

LayoutTests/fast/forms/number/input-number-events.html is failing since r108228
https://bugs.webkit.org/show_bug.cgi?id=79329

Update input-number-events.html test for r108228. Spin buttons of number input field
fire both input and change events.

Reviewed by Kent Tamura.

* fast/forms/number/input-number-events-expected.txt: We get one change event from spin button click.
* fast/forms/number/input-number-events.html: Change to one for change event.

2012-02-26 Filip Pizlo <fpizlo@apple.com>

Unreviewed, update expectation files due to slight changes in the text
@@ -8,11 +8,11 @@ PASS changeEventCounter is 0
PASS inputEventCounter is 0
Click the upper button
PASS numberInput.value is "1"
PASS changeEventCounter is 0
PASS changeEventCounter is 1
PASS inputEventCounter is 1
Click again, but the value is not changed.
PASS numberInput.value is "1"
PASS changeEventCounter is 0
PASS changeEventCounter is 1
PASS inputEventCounter is 1
Focus on another field
PASS changeEventCounter is 1
@@ -29,14 +29,14 @@
eventSender.mouseDown();
eventSender.mouseUp();
shouldBe('numberInput.value', '"1"');
shouldBe('changeEventCounter', '0');
shouldBe('changeEventCounter', '1');
shouldBe('inputEventCounter', '1');

debug('Click again, but the value is not changed.');
eventSender.mouseDown();
eventSender.mouseUp();
shouldBe('numberInput.value', '"1"');
shouldBe('changeEventCounter', '0');
shouldBe('changeEventCounter', '1');
shouldBe('inputEventCounter', '1');

debug('Focus on another field');

0 comments on commit 7052ec9

Please sign in to comment.