Bug 134974 - [EFL] Need to fix failing media source tests after enabling MEDIA_SOURCE option for WK2 Efl
Summary: [EFL] Need to fix failing media source tests after enabling MEDIA_SOURCE opti...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 95296 (view as bug list)
Depends on: 143635
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-16 08:23 PDT by KwangHyuk
Modified: 2017-03-11 10:40 PST (History)
12 users (show)

See Also:


Attachments
Patch (3.17 KB, patch)
2014-07-16 08:25 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Patch (3.23 KB, patch)
2014-07-17 09:54 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Patch (3.57 KB, patch)
2014-10-30 09:21 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Patch (5.35 KB, patch)
2014-10-31 09:07 PDT, KwangHyuk
no flags Details | Formatted Diff | Diff
Patch (5.35 KB, patch)
2014-10-31 09:09 PDT, KwangHyuk
gyuyoung.kim: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KwangHyuk 2014-07-16 08:23:16 PDT
Add MEDIA_SOURCE option to OptionEfl.cmake and specify the video dependency.
Comment 1 KwangHyuk 2014-07-16 08:25:30 PDT
Created attachment 234996 [details]
Patch
Comment 2 Gyuyoung Kim 2014-07-16 17:30:52 PDT
Comment on attachment 234996 [details]
Patch

LGTM, but could you check what was the build error on efl ews ?
Comment 3 KwangHyuk 2014-07-17 09:54:22 PDT
Created attachment 235070 [details]
Patch

update the Changelog.
Comment 4 Gyuyoung Kim 2014-10-10 22:45:33 PDT
Comment on attachment 235070 [details]
Patch

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

> Source/cmake/OptionsEfl.cmake:77
> +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_SOURCE OFF)

Why do you off it in OptionsEfl.cmake ?
Comment 5 Gyuyoung Kim 2014-10-10 22:46:04 PDT
And isn't there any unskip test regarding media source ?
Comment 6 KwangHyuk 2014-10-11 10:39:22 PDT
(In reply to comment #4)
> (From update of attachment 235070 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=235070&action=review
> 
> > Source/cmake/OptionsEfl.cmake:77
> > +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_SOURCE OFF)
> 
> Why do you off it in OptionsEfl.cmake ?

Fortunately or unfortunately, It's applied as default features if any option is supported in the Tools/Scripts/webkitperl/FeatureList.pm.
Comment 7 KwangHyuk 2014-10-11 10:41:13 PDT
(In reply to comment #5)
> And isn't there any unskip test regarding media source ?

Need to check. :)
However MSE is not mature for WebKit EFL yet.
Comment 8 Csaba Osztrogonác 2014-10-14 06:07:07 PDT
*** Bug 95296 has been marked as a duplicate of this bug. ***
Comment 9 Gyuyoung Kim 2014-10-14 16:57:10 PDT
Comment on attachment 235070 [details]
Patch

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

>>> Source/cmake/OptionsEfl.cmake:77
>>> +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_SOURCE OFF)
>> 
>> Why do you off it in OptionsEfl.cmake ?
> 
> Fortunately or unfortunately, It's applied as default features if any option is supported in the Tools/Scripts/webkitperl/FeatureList.pm.

This option is used when we build EFL port by using cmake command directly. So need to enable it too.
Comment 10 KwangHyuk 2014-10-15 05:56:08 PDT
(In reply to comment #9)
> (From update of attachment 235070 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=235070&action=review
> 
> >>> Source/cmake/OptionsEfl.cmake:77
> >>> +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_MEDIA_SOURCE OFF)
> >> 
> >> Why do you off it in OptionsEfl.cmake ?
> > 
> > Fortunately or unfortunately, It's applied as default features if any option is supported in the Tools/Scripts/webkitperl/FeatureList.pm.
> 
> This option is used when we build EFL port by using cmake command directly. So need to enable it too.

Ok, I will do it. :)
Comment 11 Gyuyoung Kim 2014-10-26 23:41:44 PDT
Comment on attachment 235070 [details]
Patch

r- due to the missing disabling MEDIA_SOURCE in OptionsEfl.cmake.
Comment 12 KwangHyuk 2014-10-30 09:21:56 PDT
Created attachment 240677 [details]
Patch
Comment 13 KwangHyuk 2014-10-30 09:23:55 PDT
(In reply to comment #11)
> Comment on attachment 235070 [details]
> Patch
> 
> r- due to the missing disabling MEDIA_SOURCE in OptionsEfl.cmake.

Turn MEDIA_SOURCE on as the status of it is almost same with GTK. :)
Comment 14 Gyuyoung Kim 2014-10-30 18:53:19 PDT
Comment on attachment 240677 [details]
Patch

Patch looks good to me now. However I think we can unskip tests regarding media source. I think we have to land this patch with the tests. Could you check it ?

# Requires MEDIA_SOURCE support.
webkit.org/b/95296 http/tests/media/media-source [ Skip ]
webkit.org/b/95296 media/media-source [ Skip ]
Comment 15 KwangHyuk 2014-10-31 09:07:54 PDT
Created attachment 240737 [details]
Patch
Comment 16 KwangHyuk 2014-10-31 09:09:26 PDT
Created attachment 240738 [details]
Patch
Comment 17 Gyuyoung Kim 2015-02-03 07:48:58 PST
Comment on attachment 240738 [details]
Patch

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

> LayoutTests/platform/efl/TestExpectations:1115
> +webkit.org/b/134974 media/media-source/media-source-addsourcebuffer.html [ Pass ]

hmm... I doubt whether you understand how to maintain failing tests on TestExpectations. All media-source tests are skipped just in above line. Thus below your update is not meaningful.
Comment 18 Gyuyoung Kim 2015-04-12 05:28:07 PDT
I file a new bug (Bug 143635) to enable MEDIA_SOURCE. However there are failing tests as below,

http/tests/media/media-source [ Skip ]
media/media-source/media-source-append-failed.html [ Timeout ]
media/media-source/media-source-seek-complete.html [ Timeout ]
media/media-source/media-source-stalled-holds-sleep-assertion.html [ Timeout ]
media/track/track-cues-pause-on-exit.html [ Timeout ]
media/media-source/media-source-duplicate-seeked.html [ Failure ]
media/media-source/media-source-play.html [ Failure ]
media/media-source/media-source-append-buffer-with-append-window.html [ Failure Pass ]

I hope this bug tries to fix the tests.
Comment 19 Michael Catanzaro 2017-03-11 10:40:13 PST
Closing this bug because the EFL port has been removed from trunk.

If you feel this bug applies to a different upstream WebKit port and was closed in error, please either update the title and reopen the bug, or leave a comment to request this.