<?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>178606</bug_id>
          
          <creation_ts>2017-10-20 16:07:07 -0700</creation_ts>
          <short_desc>http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin.html is flaky</short_desc>
          <delta_ts>2017-11-15 12:58:34 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=178422</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Lewis">jlewis3</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1362895</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lewis">jlewis3</who>
    <bug_when>2017-10-20 16:07:07 -0700</bug_when>
    <thetext>http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin.html is a flaky failure according to the dashboard.

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2Fsecurity%2Fclipboard%2Fdrag-drop-html-cross-origin-iframe-in-same-origin.html


https://build.webkit.org/results/Apple%20El%20Capitan%20Release%20WK1%20(Tests)/r223795%20(5616)/results.html
https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20WK1%20(Tests)/builds/5616

--- /Volumes/Data/slave/elcapitan-release-tests-wk1/build/layout-test-results/http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin-expected.txt
+++ /Volumes/Data/slave/elcapitan-release-tests-wk1/build/layout-test-results/http/tests/security/clipboard/drag-drop-html-cross-origin-iframe-in-same-origin-actual.txt
@@ -1,4 +1,3 @@
-CONSOLE MESSAGE: line 233: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match.
 This tests draggin and dropping HTML by the default action. WebKit should not sanitize the HTML in the same document.
 To manually test, drag &amp; drop the content in the block above to the blue box on the right.
 
@@ -17,7 +16,7 @@
 PASS destination.innerHTML.includes(&quot;dangerousCode&quot;) is false
 PASS destination.querySelector(&quot;img&quot;); !!img is true
 PASS new URL(img.src).protocol is &quot;http:&quot;
-PASS destination.querySelector(&quot;iframe&quot;).contentDocument is null
+FAIL destination.querySelector(&quot;iframe&quot;).contentDocument should be null. Was [object HTMLDocument].
 PASS successfullyParsed is true
 
 TEST COMPLETE

This was flaky on WK1 since it was added</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1362915</commentid>
    <comment_count>1</comment_count>
      <attachid>324467</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-10-20 16:49:39 -0700</bug_when>
    <thetext>Created attachment 324467
Fixes the bug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1362917</commentid>
    <comment_count>2</comment_count>
      <attachid>324467</attachid>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2017-10-20 16:51:44 -0700</bug_when>
    <thetext>Comment on attachment 324467
Fixes the bug

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

&gt; LayoutTests/ChangeLog:10
&gt; +        Waiting for message event wasn&apos;t doing anything useful because it was receivinv the message from

receivinv =&gt; receiving</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1362919</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2017-10-20 16:55:40 -0700</bug_when>
    <thetext>Committed r223800: &lt;https://trac.webkit.org/changeset/223800&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1372290</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-11-15 12:58:34 -0800</bug_when>
    <thetext>&lt;rdar://problem/35568523&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>324467</attachid>
            <date>2017-10-20 16:49:39 -0700</date>
            <delta_ts>2017-10-20 16:51:44 -0700</delta_ts>
            <desc>Fixes the bug</desc>
            <filename>bug-178606-20171020164938.patch</filename>
            <type>text/plain</type>
            <size>2173</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDIyMzc5OSkKKysrIExheW91dFRlc3RzL0NoYW5nZUxvZwkod29y
a2luZyBjb3B5KQpAQCAtMSwzICsxLDIwIEBACisyMDE3LTEwLTIwICBSeW9zdWtlIE5pd2EgIDxy
bml3YUB3ZWJraXQub3JnPgorCisgICAgICAgIGh0dHAvdGVzdHMvc2VjdXJpdHkvY2xpcGJvYXJk
L2RyYWctZHJvcC1odG1sLWNyb3NzLW9yaWdpbi1pZnJhbWUtaW4tc2FtZS1vcmlnaW4uaHRtbCBp
cyBmbGFreQorICAgICAg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ZXN0UnVubmVyKSB7CkBAIC01OCw4ICs2Niw2IEBAIGZ1bmN0aW9uIGRvRHJvcChl
dmVudCkgewogICAgICAgICB9CiAgICAgfSk7CiAgICAgb2JzZXJ2ZXIub2JzZXJ2ZShkZXN0aW5h
dGlvbiwge2NoaWxkTGlzdDogdHJ1ZSwgc3VidHJlZTogdHJ1ZX0pOwotCi0gICAgd2luZG93Lm9u
bWVzc2FnZSA9IGNoZWNrRnJhbWVBY2Nlc3M7CiB9CiAKIGZ1bmN0aW9uIGNoZWNrRnJhbWVBY2Nl
c3MoKSB7Cg==
</data>
<flag name="review"
          id="344087"
          type_id="1"
          status="+"
          setter="wenson_hsieh"
    />
          </attachment>
      

    </bug>

</bugzilla>