WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
76632
[GTK] fast/forms/implicit-submission.html fails
https://bugs.webkit.org/show_bug.cgi?id=76632
Summary
[GTK] fast/forms/implicit-submission.html fails
Philippe Normand
Reported
2012-01-19 07:12:01 PST
--- /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/forms/implicit-submission-expected.txt +++ /home/slave/webkitgtk/gtk-linux-64-release/build/layout-test-results/fast/forms/implicit-submission-actual.txt @@ -19,7 +19,7 @@ Single checkbox with a submit should submit: PASS Single checkbox with a submit disabled should not submit: PASS Single select should not submit: PASS -Select with a submit should submit: PASS +Select with a submit should submit: FAIL Select with a disabled submit should not submit: PASS Multi-line select with a submit should submit: PASS Multi-line select with a disabled submit should not submit: PASS
Attachments
Patch
(1.65 KB, patch)
2012-01-24 03:09 PST
,
Kaustubh Atrawalkar
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Patch
(2.47 KB, patch)
2012-01-24 04:39 PST
,
Kaustubh Atrawalkar
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Updated Patch
(6.23 KB, patch)
2012-02-10 04:43 PST
,
Kaustubh Atrawalkar
mrobinson
: review-
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
Rebaseline Patch
(2.31 KB, patch)
2012-02-14 05:10 PST
,
Kaustubh Atrawalkar
no flags
Details
Formatted Diff
Diff
Rebaseline Patch
(2.24 KB, patch)
2012-02-14 05:18 PST
,
Kaustubh Atrawalkar
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Kaustubh Atrawalkar
Comment 1
2012-01-24 03:07:14 PST
In the changes - 105253 (
http://trac.webkit.org/changeset/105253
) there were changes made to switch from flag to RenderTheme for getting mode of operation in HTMLSelect element. There was change to submit the form on enter key press for Gtk. But later in change set 105286 (
http://trac.webkit.org/changeset/105286
) changes made to open popup menu in HTMLSelect element on enter key press instead of submitting the form. Need to fix the test case accordingly.
Kaustubh Atrawalkar
Comment 2
2012-01-24 03:09:45 PST
Created
attachment 123710
[details]
Patch
WebKit Review Bot
Comment 3
2012-01-24 03:40:49 PST
Comment on
attachment 123710
[details]
Patch
Attachment 123710
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11336302
New failing tests: fast/forms/implicit-submission.html
Kaustubh Atrawalkar
Comment 4
2012-01-24 04:39:42 PST
Created
attachment 123715
[details]
Patch Update chromium expected results as well
WebKit Review Bot
Comment 5
2012-01-24 05:06:40 PST
Comment on
attachment 123715
[details]
Patch
Attachment 123715
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11337004
New failing tests: media/audio-garbage-collect.html
Kaustubh Atrawalkar
Comment 6
2012-01-24 05:24:31 PST
(In reply to
comment #5
)
> (From update of
attachment 123715
[details]
) >
Attachment 123715
[details]
did not pass chromium-ews (chromium-xvfb): > Output:
http://queues.webkit.org/results/11337004
> > New failing tests: > media/audio-garbage-collect.html
Seems to be unrelated. This is change in other layout test cases. Philippe can u check once? Thanks.
Dimitri Glazkov (Google)
Comment 7
2012-01-24 07:37:51 PST
You guys probably shouldn't change the test to fix it for one platform :)
Kaustubh Atrawalkar
Comment 8
2012-01-25 05:04:53 PST
(In reply to
comment #7
)
> You guys probably shouldn't change the test to fix it for one platform :)
I agree but in this case, there is change in the functionality. So need to fix the test accordingly. Earlier on HTMLSelectElement menu list element, pressing enter was causing submit form. Now it opens the pop up of list box.
Dimitri Glazkov (Google)
Comment 9
2012-01-25 07:30:25 PST
(In reply to
comment #8
)
> (In reply to
comment #7
) > > You guys probably shouldn't change the test to fix it for one platform :) > > I agree but in this case, there is change in the functionality. So need to fix the test accordingly. Earlier on HTMLSelectElement menu list element, pressing enter was causing submit form. Now it opens the pop up of list box.
This change is Qt-only, right? Hitting Enter on a select will (and is expected to) submit form on Mac and Windows ports.
Martin Robinson
Comment 10
2012-01-25 08:22:56 PST
CCing our accessibility people here. There's likely a correct behavior with respect to how keyboards interact with select elements and we need to preserve or fix that.
Kaustubh Atrawalkar
Comment 11
2012-02-10 04:43:14 PST
Created
attachment 126499
[details]
Updated Patch Current behavior on Mac Safari is to submit form on enter key press. Gtk & Chromium port does not match with it. Fixed in the renderTheme port specific files. Please review. Thanks.
WebKit Review Bot
Comment 12
2012-02-10 05:26:53 PST
Comment on
attachment 126499
[details]
Updated Patch
Attachment 126499
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/11484662
New failing tests: fast/forms/select/menulist-onchange-fired-with-key-up-down.html fast/forms/select-popup-pagekeys.html
Kaustubh Atrawalkar
Comment 13
2012-02-10 05:42:22 PST
(In reply to
comment #12
)
> (From update of
attachment 126499
[details]
) >
Attachment 126499
[details]
did not pass chromium-ews (chromium-xvfb): > Output:
http://queues.webkit.org/results/11484662
> > New failing tests: > fast/forms/select/menulist-onchange-fired-with-key-up-down.html > fast/forms/select-popup-pagekeys.html
Seems like need to fix these as well. will work on it.
Martin Robinson
Comment 14
2012-02-10 08:40:11 PST
(In reply to
comment #11
)
> Current behavior on Mac Safari is to submit form on enter key press. Gtk & Chromium port does not match with it. Fixed in the renderTheme port specific files. Please review. Thanks.
It's important that these behaviors match the system default, rather than each other. That's why this is an option in RenderTheme. I also don't think it's right to change the way Chromium works here. If the behavior is correct then perhaps we just need to rebaseline the test on GTK+.
Martin Robinson
Comment 15
2012-02-10 08:41:22 PST
Comment on
attachment 126499
[details]
Updated Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=126499&action=review
> LayoutTests/platform/chromium-win/fast/forms/implicit-submission-expected.txt:22 > -Select with a submit should submit: FAIL > +Select with a submit should submit: PASS
Does the test pass if you keep this baseline intact? Perhaps we just need to unskip the test...
> LayoutTests/platform/chromium/test_expectations.txt:-2475 > -BUGCR43890 SLOW DEBUG : fast/forms/implicit-submission.html = PASS TEXT
This line doesn't actually mean the test is failing for Chromium. It just means that it can be slow sometimes. This is a message to the test harness not to time out.
Kaustubh Atrawalkar
Comment 16
2012-02-12 23:13:13 PST
(In reply to
comment #15
)
> (From update of
attachment 126499
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=126499&action=review
> > > LayoutTests/platform/chromium-win/fast/forms/implicit-submission-expected.txt:22 > > -Select with a submit should submit: FAIL > > +Select with a submit should submit: PASS > > Does the test pass if you keep this baseline intact? Perhaps we just need to unskip the test...
> No, this test does not pass. We need to change RenderThemeChromiumLinux.h as suggested.
> > LayoutTests/platform/chromium/test_expectations.txt:-2475 > > -BUGCR43890 SLOW DEBUG : fast/forms/implicit-submission.html = PASS TEXT > > This line doesn't actually mean the test is failing for Chromium. It just means that it can be slow sometimes. This is a message to the test harness not to time out.
Yes, that's right. Just tried now and did not happened to see timeout. So removed the line.
Martin Robinson
Comment 17
2012-02-12 23:18:13 PST
(In reply to
comment #16
)
> > Does the test pass if you keep this baseline intact? Perhaps we just need to unskip the test... > > > No, this test does not pass. We need to change RenderThemeChromiumLinux.h as suggested.
If the test doesn't pass, perhaps we just need to rebaseline it. I don't think we want to modify the behavior be different than the GTK+ behavior.
Kaustubh Atrawalkar
Comment 18
2012-02-14 05:10:49 PST
Created
attachment 126961
[details]
Rebaseline Patch Chromium test expectation are already rebaselined. As per system expectation Select Submit button should not submit on enter. Fixing the expectation and rebaselined as Martin suggested.
WebKit Review Bot
Comment 19
2012-02-14 05:13:59 PST
Attachment 126961
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/update-webkit']" exit_code: 9 Updating OpenSource First, rewinding head to replay your work on top of it... Applying: [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets Using index info to reconstruct a base tree... <stdin>:1578: trailing whitespace. <stdin>:1647: trailing whitespace. <stdin>:1657: trailing whitespace. <stdin>:1672: trailing whitespace. return 0; <stdin>:1674: trailing whitespace. warning: squelched 7 whitespace errors warning: 12 lines add whitespace errors. Falling back to patching base and 3-way merge... warning: too many files (created: 168776 deleted: 3), skipping inexact rename detection Auto-merging LayoutTests/ChangeLog CONFLICT (content): Merge conflict in LayoutTests/ChangeLog Auto-merging Source/WebCore/ChangeLog CONFLICT (content): Merge conflict in Source/WebCore/ChangeLog Auto-merging Source/WebKit2/ChangeLog CONFLICT (content): Merge conflict in Source/WebKit2/ChangeLog Auto-merging Tools/ChangeLog CONFLICT (content): Merge conflict in Tools/ChangeLog Failed to merge in the changes. Patch failed at 0001 [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 164. If any of these errors are false positives, please file a bug against check-webkit-style.
Kaustubh Atrawalkar
Comment 20
2012-02-14 05:18:24 PST
Created
attachment 126962
[details]
Rebaseline Patch
WebKit Review Bot
Comment 21
2012-02-14 05:21:26 PST
Attachment 126962
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/update-webkit']" exit_code: 9 Updating OpenSource First, rewinding head to replay your work on top of it... Applying: [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets Using index info to reconstruct a base tree... <stdin>:1578: trailing whitespace. <stdin>:1647: trailing whitespace. <stdin>:1657: trailing whitespace. <stdin>:1672: trailing whitespace. return 0; <stdin>:1674: trailing whitespace. warning: squelched 7 whitespace errors warning: 12 lines add whitespace errors. Falling back to patching base and 3-way merge... warning: too many files (created: 168776 deleted: 3), skipping inexact rename detection Auto-merging LayoutTests/ChangeLog CONFLICT (content): Merge conflict in LayoutTests/ChangeLog Auto-merging Source/WebCore/ChangeLog CONFLICT (content): Merge conflict in Source/WebCore/ChangeLog Auto-merging Source/WebKit2/ChangeLog CONFLICT (content): Merge conflict in Source/WebKit2/ChangeLog Auto-merging Tools/ChangeLog CONFLICT (content): Merge conflict in Tools/ChangeLog Failed to merge in the changes. Patch failed at 0001 [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets When you have resolved this problem run "git rebase --continue". If you would prefer to skip this patch, instead run "git rebase --skip". To restore the original branch and stop rebasing run "git rebase --abort". rebase refs/remotes/origin/master: command returned error: 1 Died at Tools/Scripts/update-webkit line 164. If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Review Bot
Comment 22
2012-02-14 09:40:15 PST
Comment on
attachment 126962
[details]
Rebaseline Patch Clearing flags on attachment: 126962 Committed
r107713
: <
http://trac.webkit.org/changeset/107713
>
WebKit Review Bot
Comment 23
2012-02-14 09:40:20 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