<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>149151</bug_id>
          
          <creation_ts>2015-09-14 21:45:51 -0700</creation_ts>
          <short_desc>[GTK] Extend default timeout value for release build.</short_desc>
          <delta_ts>2015-09-21 01:12:02 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>149112</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="ChangSeok Oh">changseok</reporter>
          <assigned_to name="ChangSeok Oh">changseok</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>glenn</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>pnormand</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1125882</commentid>
    <comment_count>0</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2015-09-14 21:45:51 -0700</bug_when>
    <thetext>Currently the default value of timeout for release build is 6000ms. But this is too short to pass some media tests.
For example, ./LayoutTests/media/media-controls-timeline-updates.html and mine posted in bug149112.
Those tests wait until a video play is done. However, the used video&apos;s runtime is 6.02 second so it fails with timeout.
Thus, I propose to extend the default value to 7000ms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125884</commentid>
    <comment_count>1</comment_count>
      <attachid>261170</attachid>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2015-09-14 21:50:04 -0700</bug_when>
    <thetext>Created attachment 261170
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125907</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2015-09-14 23:55:17 -0700</bug_when>
    <thetext>This seems more like a workaround. Shouldn&apos;t the test be fixed instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125908</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2015-09-14 23:56:05 -0700</bug_when>
    <thetext>Instead of waiting normal playback is finished you should seek to video.duration - someSmallValue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125909</commentid>
    <comment_count>4</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2015-09-15 00:16:43 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Instead of waiting normal playback is finished you should seek to
&gt; video.duration - someSmallValue.

Well, it could be. but it sounds more like a workaround. The video has been used for a long time. there are many testes using it already. IMHO, fixing the test itself is not a good idea to avoid timeout for a specific port. Fixing the tests itself requires extra effort. Also, it is hard to believe for somebody working on other port to add some extra code manipulating runtime for gtk port in a his/her new test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125910</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2015-09-15 00:33:13 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Instead of waiting normal playback is finished you should seek to
&gt; video.duration - someSmallValue.

This is (or used to be) a common technique in the media tests, fwiw. Doesn&apos;t feel like a workaround to me, we need tests to finish as fast as possible, waiting 6 or 7 seconds for a single test is bad if it can be easily avoided.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1126306</commentid>
    <comment_count>6</comment_count>
    <who name="ChangSeok Oh">changseok</who>
    <bug_when>2015-09-16 00:43:59 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #3)
&gt; &gt; Instead of waiting normal playback is finished you should seek to
&gt; &gt; video.duration - someSmallValue.
&gt; 
&gt; This is (or used to be) a common technique in the media tests, fwiw. Doesn&apos;t
&gt; feel like a workaround to me, we need tests to finish as fast as possible,
&gt; waiting 6 or 7 seconds for a single test is bad if it can be easily avoided.

O.K. I modified my test for bug149112.
media-controls-timeline-updates.html should be changed later as well.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>261170</attachid>
            <date>2015-09-14 21:50:04 -0700</date>
            <delta_ts>2015-09-21 01:12:02 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-149151-20150915134953.patch</filename>
            <type>text/plain</type>
            <size>2497</size>
            <attacher name="ChangSeok Oh">changseok</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTg5NzM0CmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggOTk1ZWM0MjAwNDNhNDZmZTAxZmJlYWM0MjE0NjlmNjk3
ZDRmZjUwMS4uOGI3MmNmY2IwNmI1YTQwYTc1YWNlY2RhM2IyYTg4OTdiOWU1ZmIyMyAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE5
IEBACisyMDE1LTA5LTE0ICBDaGFuZ1Nlb2sgT2ggIDxjaGFuZ3Nlb2sub2hAY29sbGFib3JhLmNv
bT4KKworICAgICAgICBbR1RLXSBFeHRlbmQgZGVmYXVsdCB0aW1lb3V0IHZhbHVlIGZvciByZWxl
YXNlIGJ1aWxkLgorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J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0X291dHB1dHMo
c2VsZiwgcG9ydC5zaG93X3Jlc3VsdHNfaHRtbF9maWxlLCBbInRlc3QuaHRtbCJdLCBleHBlY3Rl
ZF9sb2dzPWV4cGVjdGVkX2xvZ3MpCiAKICAgICBkZWYgdGVzdF9kZWZhdWx0X3RpbWVvdXRfbXMo
c2VsZik6Ci0gICAgICAgIHNlbGYuYXNzZXJ0RXF1YWwoc2VsZi5tYWtlX3BvcnQob3B0aW9ucz1N
b2NrT3B0aW9ucyhjb25maWd1cmF0aW9uPSdSZWxlYXNlJykpLmRlZmF1bHRfdGltZW91dF9tcygp
LCA2MDAwKQorICAgICAgICBzZWxmLmFzc2VydEVxdWFsKHNlbGYubWFrZV9wb3J0KG9wdGlvbnM9
TW9ja09wdGlvbnMoY29uZmlndXJhdGlvbj0nUmVsZWFzZScpKS5kZWZhdWx0X3RpbWVvdXRfbXMo
KSwgNzAwMCkKICAgICAgICAgc2VsZi5hc3NlcnRFcXVhbChzZWxmLm1ha2VfcG9ydChvcHRpb25z
PU1vY2tPcHRpb25zKGNvbmZpZ3VyYXRpb249J0RlYnVnJykpLmRlZmF1bHRfdGltZW91dF9tcygp
LCAxMjAwMCkKIAogICAgIGRlZiB0ZXN0X2dldF9jcmFzaF9sb2coc2VsZik6Cg==
</data>
<flag name="review"
          id="286380"
          type_id="1"
          status="-"
          setter="changseok"
    />
          </attachment>
      

    </bug>

</bugzilla>