<?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>71653</bug_id>
          
          <creation_ts>2011-11-07 00:00:48 -0800</creation_ts>
          <short_desc>[Chromium] Layout Test platform/chromium-cg-mac/editing/input/ime-candidate-window-position.html is flaky</short_desc>
          <delta_ts>2013-04-09 16:28:24 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=platform%2Fchromium-cg-mac%2Fediting%2Finput%2Fime-candidate-window-position.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yuta Kitamura">yutak</reporter>
          <assigned_to name="Kenichi Ishibashi">bashi</assigned_to>
          <cc>bashi</cc>
    
    <cc>enrica</cc>
    
    <cc>morrita</cc>
    
    <cc>rniwa</cc>
    
    <cc>tkent</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>497002</commentid>
    <comment_count>0</comment_count>
    <who name="Yuta Kitamura">yutak</who>
    <bug_when>2011-11-07 00:00:48 -0800</bug_when>
    <thetext>The following layout test is flaky (pass / timeout) on all platforms.

platform/chromium-cg-mac/editing/input/ime-candidate-window-position.html

See http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=platform%2Fchromium-cg-mac%2Fediting%2Finput%2Fime-candidate-window-position.html

Probable cause:

Unknown, as it&apos;s not clear when this flakiness started. This test is less flaky on DEPS bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497014</commentid>
    <comment_count>1</comment_count>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2011-11-07 01:18:24 -0800</bug_when>
    <thetext>Umm, I don&apos;t have any idea. Maybe recent editing changes trigger this flaky?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497219</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-11-07 09:03:26 -0800</bug_when>
    <thetext>My suspicion is that doTest() is called before iframe is loaded, and doTest is encountering some javascript error and end up not calling finishJSTest.

We should probably move finishJSTest above if with setTimeout(~, 0) so that we can see the diff.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497709</commentid>
    <comment_count>3</comment_count>
      <attachid>113983</attachid>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2011-11-07 20:58:02 -0800</bug_when>
    <thetext>Created attachment 113983
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497710</commentid>
    <comment_count>4</comment_count>
    <who name="Kenichi Ishibashi">bashi</who>
    <bug_when>2011-11-07 21:00:16 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; My suspicion is that doTest() is called before iframe is loaded, and doTest is encountering some javascript error and end up not calling finishJSTest.
&gt; 
&gt; We should probably move finishJSTest above if with setTimeout(~, 0) so that we can see the diff.

It seems you are right. I changed the test to call doTest() after iframe is loaded and iterated layout test 10 times, but no timeout occurred.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497712</commentid>
    <comment_count>5</comment_count>
      <attachid>113983</attachid>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-11-07 21:03:01 -0800</bug_when>
    <thetext>Comment on attachment 113983
Patch

ok, let&apos;s land this and watch the dashboard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497713</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-11-07 21:03:48 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; It seems you are right. I changed the test to call doTest() after iframe is loaded and iterated layout test 10 times, but no timeout occurred.

Could you reproduce the issue (intermittent failure) without your patch? It&apos;s still odd that load event is fired before the iframe is loaded though. HTML5 spec is explicit about delaying load event until the iframe&apos;s content is loaded.

Adam, do you know anything about this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497756</commentid>
    <comment_count>7</comment_count>
      <attachid>113983</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-11-07 22:50:09 -0800</bug_when>
    <thetext>Comment on attachment 113983
Patch

Clearing flags on attachment: 113983

Committed r99524: &lt;http://trac.webkit.org/changeset/99524&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497757</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-11-07 22:50:13 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497841</commentid>
    <comment_count>9</comment_count>
    <who name="Kent Tamura">tkent</who>
    <bug_when>2011-11-08 01:27:16 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Committed r99524: &lt;http://trac.webkit.org/changeset/99524&gt;

It seems this didn&apos;t fix the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>497845</commentid>
    <comment_count>10</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-11-08 01:33:55 -0800</bug_when>
    <thetext>Hm...
http://trac.webkit.org/browser/trunk/LayoutTests/platform/chromium-cg-mac/editing/resources/ime-candidate-window-position-iframe.html
and
http://trac.webkit.org/browser/trunk/LayoutTests/platform/chromium-cg-mac/editing/input/ime-candidate-window-position.html#L27

both try to focus the same node. So maybe there&apos;s some race condition there?

Also, can we do setTimeout(finishJSTest, 0) before if statement so that we can at least see the diff if the test were to fail?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872326</commentid>
    <comment_count>11</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-09 16:28:24 -0700</bug_when>
    <thetext>Marking test failures as WontFix. Bug is still accessible and recording in TestExpectations.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>113983</attachid>
            <date>2011-11-07 20:58:02 -0800</date>
            <delta_ts>2011-11-07 22:50:09 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-71653-20111108135801.patch</filename>
            <type>text/plain</type>
            <size>2217</size>
            <attacher name="Kenichi Ishibashi">bashi</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogOTk1MTUKZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5n
ZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxvZwpvbGQgbW9kZSAxMDA3NTUKbmV3IG1vZGUgMTAw
NjQ0CmluZGV4IDE5ZDdlZjBiZDMzMmRkYzIzNGQyNjQ1NzhhNDkwYmIxZmNlYzc2ZmEuLmVmZjBm
ODFiYTg0NzUzNzljZTBiNzA5ZGIxMjE0ZjllN2YxMWRkNGIKLS0tIGEvTGF5b3V0VGVzdHMvQ2hh
bmdlTG9nCisrKyBiL0xheW91dFRlc3RzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDEx
LTExLTA3ICBLZW5pY2hpIElzaGliYXNoaSAgPGJhc2hpQGNocm9taXVtLm9yZz4KKworICAgICAg
ICBbQ2hyb21pdW1dIExheW91dCBUZXN0IHBsYXRmb3JtL2Nocm9taXVtLWNnLW1hYy9lZGl0aW5n
L2lucHV0L2ltZS1jYW5kaWRhdGUtd2luZG93LXBvc2l0aW9uLmh0bWwgaX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