Bug 119784 - [EFL] fast/forms/datalist/input-list.html is failing
Summary: [EFL] fast/forms/datalist/input-list.html is failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-13 23:07 PDT by Ryuan Choi
Modified: 2013-08-16 05:37 PDT (History)
6 users (show)

See Also:


Attachments
Patch (1.68 KB, patch)
2013-08-15 02:52 PDT, Santosh Mahto
no flags Details | Formatted Diff | Diff
Patch (3.71 KB, patch)
2013-08-16 03:33 PDT, Santosh Mahto
no flags Details | Formatted Diff | Diff
Patch (3.70 KB, patch)
2013-08-16 04:07 PDT, Santosh Mahto
no flags Details | Formatted Diff | Diff
Patch (3.76 KB, patch)
2013-08-16 05:06 PDT, Santosh Mahto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryuan Choi 2013-08-13 23:07:26 PDT
fast/forms/datalist/input-list.html is failing on all EFL platforms.
Comment 1 Santosh Mahto 2013-08-15 02:52:35 PDT
Created attachment 208800 [details]
Patch
Comment 2 Ryuan Choi 2013-08-15 03:03:25 PDT
Comment on attachment 208800 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=208800&action=review

> LayoutTests/platform/efl/fast/forms/datalist/input-list-expected.txt:10
> -FAIL datalist.className should be former. Threw exception TypeError: 'null' is not an object (evaluating 'datalist.className')
> +FAIL datalist.className should be former. Threw exception TypeError: null is not an object (evaluating 'datalist.className')
>  FAIL document.getElementById("text").list should be [object HTMLDataListElement]. Was null.

Chris, is this fine although result mentioned FAIL ?
Comment 3 Chris Dumez 2013-08-15 03:06:19 PDT
(In reply to comment #2)
> (From update of attachment 208800 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=208800&action=review
> 
> > LayoutTests/platform/efl/fast/forms/datalist/input-list-expected.txt:10
> > -FAIL datalist.className should be former. Threw exception TypeError: 'null' is not an object (evaluating 'datalist.className')
> > +FAIL datalist.className should be former. Threw exception TypeError: null is not an object (evaluating 'datalist.className')
> >  FAIL document.getElementById("text").list should be [object HTMLDataListElement]. Was null.
> 
> Chris, is this fine although result mentioned FAIL ?

It was already FAIL before so it is not any worse IMO.
Comment 4 Chris Dumez 2013-08-15 03:16:38 PDT
Comment on attachment 208800 [details]
Patch

Ryuan wants to skip it, which is indeed the right approach IMO. So r-.
Comment 5 Santosh Mahto 2013-08-15 09:22:58 PDT
(In reply to comment #4)
> (From update of attachment 208800 [details])
> Ryuan wants to skip it, which is indeed the right approach IMO. So r-.

I doubt about skipping this test.
This test has test cases for all input type="test/color/speech/email/range/search/url/date/time/week/..........."

in efl datalist is supported only for input type="email/range/search/url"

So this test is used as test for input type="email/range/search/url". for these type it succeeds.For other type we have FAIL as xx-expected.txt.

WhenEver we implement datalist UI for new type we just need to change  expected output from FAIL to PASS.
Comment 6 Chris Dumez 2013-08-15 09:32:33 PDT
(In reply to comment #5)
> (In reply to comment #4)
> > (From update of attachment 208800 [details] [details])
> > Ryuan wants to skip it, which is indeed the right approach IMO. So r-.
> 
> I doubt about skipping this test.
> This test has test cases for all input type="test/color/speech/email/range/search/url/date/time/week/..........."
> 
> in efl datalist is supported only for input type="email/range/search/url"
> 
> So this test is used as test for input type="email/range/search/url". for these type it succeeds.For other type we have FAIL as xx-expected.txt.
> 
> WhenEver we implement datalist UI for new type we just need to change  expected output from FAIL to PASS.

Right, I overlooked that it was testing all the input types. Then, rebaselining makes sense since we can only improve the situation gradually. I say let's land this. BTW, this is a gardening patch so you don't need review. Just get rid of the "reviewed by" line in the Changelog and add "Unreviewed" to your Changelog.
Comment 7 Ryuan Choi 2013-08-15 16:43:45 PDT
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > (From update of attachment 208800 [details] [details] [details])
> > > Ryuan wants to skip it, which is indeed the right approach IMO. So r-.
> > 
> > I doubt about skipping this test.
> > This test has test cases for all input type="test/color/speech/email/range/search/url/date/time/week/..........."
> > 
> > in efl datalist is supported only for input type="email/range/search/url"
> > 
> > So this test is used as test for input type="email/range/search/url". for these type it succeeds.For other type we have FAIL as xx-expected.txt.
> > 
> > WhenEver we implement datalist UI for new type we just need to change  expected output from FAIL to PASS.
> 
> Right, I overlooked that it was testing all the input types. Then, rebaselining makes sense since we can only improve the situation gradually. I say let's land this. BTW, this is a gardening patch so you don't need review. Just get rid of the "reviewed by" line in the Changelog and add "Unreviewed" to your Changelog.

OK, I just focused "FAIL" and does not consider gradual improvement.

I thought that skipped test is easier to find what is missing for EFL port.
Comment 8 Santosh Mahto 2013-08-16 03:33:11 PDT
Created attachment 208903 [details]
Patch
Comment 9 Chris Dumez 2013-08-16 03:44:28 PDT
Comment on attachment 208903 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=208903&action=review

> LayoutTests/ChangeLog:3
> +        <https://webkit.org/b/119784> [EFL] fast/forms/datalist/input-list.html is failing

This does not look right. Please regenerate the Changelog.

> LayoutTests/ChangeLog:5
> +        [EFL] Unreviwed gardening.

"Unreviewed"
Comment 10 Santosh Mahto 2013-08-16 04:07:30 PDT
Created attachment 208909 [details]
Patch
Comment 11 Chris Dumez 2013-08-16 04:32:20 PDT
Comment on attachment 208909 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=208909&action=review

> LayoutTests/ChangeLog:5
> +        [EFL] Unreviewed gardening.

No "[EFL]" as this is not a bug title ("Unreviewed EFL gardening, blablabla." would be OK though). Also please add a quick description of your change. We cannot land changes without Changelog as per WK policy.
Comment 12 Santosh Mahto 2013-08-16 05:06:16 PDT
Created attachment 208917 [details]
Patch
Comment 13 WebKit Commit Bot 2013-08-16 05:37:33 PDT
Comment on attachment 208917 [details]
Patch

Clearing flags on attachment: 208917

Committed r154177: <http://trac.webkit.org/changeset/154177>
Comment 14 WebKit Commit Bot 2013-08-16 05:37:36 PDT
All reviewed patches have been landed.  Closing bug.