<?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>185259</bug_id>
          
          <creation_ts>2018-05-03 10:19:27 -0700</creation_ts>
          <short_desc>REGRESSION: Layout Test http/tests/security/location-cross-origin.html is a flaky failure</short_desc>
          <delta_ts>2018-05-03 11:14:29 -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>New Bugs</component>
          <version>Other</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=184801</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="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1420199</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-05-03 10:19:27 -0700</bug_when>
    <thetext>The following layout test is flaky on debug bots.

http/tests/security/location-cross-origin.html

Probable cause:

Unknown.

Flakiness Dashboard:

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&amp;tests=http%2Ftests%2Fsecurity%2Flocation-cross-origin.html

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/http/tests/security/location-cross-origin-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/http/tests/security/location-cross-origin-actual.txt
@@ -49,7 +49,7 @@
 PASS Object.getOwnPropertyDescriptor(window.location, &apos;hash&apos;).set.call(frames[0].location, 1) threw exception SecurityError: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a cross-origin frame. Protocols, domains, and ports must match..
 PASS Object.defineProperty(frames[0].location, &apos;foo&apos;, { value: 1 }) threw exception SecurityError: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a cross-origin frame. Protocols, domains, and ports must match..
 PASS frames[0].location.href = &apos;about:blank&apos; did not throw exception.
-PASS frames[0].location.href is &quot;about:blank&quot;
+FAIL frames[0].location.href should be about:blank. Threw exception SecurityError: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a cross-origin frame. Protocols, domains, and ports must match.
 PASS successfullyParsed is true
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420202</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2018-05-03 10:21:26 -0700</bug_when>
    <thetext>Flakiness dashboard suggests that this regressed with https://trac.webkit.org/changeset/230926, but I have not yet attempted to reproduce the failure locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420206</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-05-03 10:24:08 -0700</bug_when>
    <thetext>(In reply to Ryan Haddad from comment #1)
&gt; Flakiness dashboard suggests that this regressed with
&gt; https://trac.webkit.org/changeset/230926, but I have not yet attempted to
&gt; reproduce the failure locally.

Will look now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420207</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-05-03 10:25:44 -0700</bug_when>
    <thetext>(In reply to Chris Dumez from comment #2)
&gt; (In reply to Ryan Haddad from comment #1)
&gt; &gt; Flakiness dashboard suggests that this regressed with
&gt; &gt; https://trac.webkit.org/changeset/230926, but I have not yet attempted to
&gt; &gt; reproduce the failure locally.
&gt; 
&gt; Will look now.

shouldNotThrow(&quot;frames[0].location.href = &apos;about:blank&apos;&quot;);
    setTimeout(function() {
        shouldBeEqualToString(&quot;frames[0].location.href&quot;, &quot;about:blank&quot;);
        finishJSTest();
    }, 100);

setTimeout 100, great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420210</commentid>
    <comment_count>4</comment_count>
      <attachid>339425</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2018-05-03 10:35:49 -0700</bug_when>
    <thetext>Created attachment 339425
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420229</commentid>
    <comment_count>5</comment_count>
      <attachid>339425</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-05-03 11:13:59 -0700</bug_when>
    <thetext>Comment on attachment 339425
Patch

Clearing flags on attachment: 339425

Committed r231315: &lt;https://trac.webkit.org/changeset/231315&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420230</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-05-03 11:14:00 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1420232</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-05-03 11:14:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/39947471&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>339425</attachid>
            <date>2018-05-03 10:35:49 -0700</date>
            <delta_ts>2018-05-03 11:13:59 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-185259-20180503103549.patch</filename>
            <type>text/plain</type>
            <size>1880</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjMxMjMwCmRpZmYgLS1naXQgYS9MYXlvdXRUZXN0cy9DaGFu
Z2VMb2cgYi9MYXlvdXRUZXN0cy9DaGFuZ2VMb2cKaW5kZXggYzJmNjRkMjk1NWNhNDViNGYzMWRk
ZDczZmU5ZDhjYzMxZDM5NDk4MS4uNTYwNGFkMGExNDgxMjRjYjM5MjI5ODdmY2UwODljMDY4OWQ5
MmI1ZSAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCisrKyBiL0xheW91dFRlc3Rz
L0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBACisyMDE4LTA1LTAzICBDaHJpcyBEdW1leiAgPGNk
dW1lekBhcHBsZS5jb20+CisKKyAgICAgICAgUkVHUkVTU0lPTjogTGF5b3V0IFRlc3QgaHR0cC90
ZXN0cy9zZWN1cml0eS9sb2NhdGlvbi1jcm9zcy1vcmlnaW4uaHRtbCBpcyBhIGZsYWt5IGZhaWx1
cmUKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE4NTI1
OQorCisgICAgICAgIFVucmV2aWV3ZWQsIHN0b3AgcmVseWluZyBvbiBhIHNldEltZW91dCgxMDAp
IGFuZCBlcGVjdCB0aGUgZnJhbWUgbmF2aWdhdGlvbiB0byBoYXZlIGNvbXBsZXRlZC4gSW5zdGVh
ZCwKKyAgICAgICAgdXNlIGEgc2V0SW50ZXJ2YWwoKSB0byBwb2xsIHVudGlsIHRoZSBjcm9zcy1v
cmlnaW4gZnJhbWUgaGFzIG5hdmlnYXRlZC4KKworICAgICAgICAqIGh0dHAvdGVzdHMvc2VjdXJp
dHkvbG9jYXRpb24tY3Jvc3Mtb3JpZ2luLmh0bWw6CisKIDIwMTgtMDUtMDIgIE1zMmdlciAgPE1z
Mmd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oKSB7CisgICAgICAg
IHRyeSB7CisgICAgICAgICAgICBmcmFtZXNbMF0ubG9jYXRpb24uaHJlZjsgLy8gU2hvdWxkIHRo
cm93IGlmIHN0aWxsIGNyb3NzLW9yaWdpbi4KKworICAgICAgICAgICAgc2hvdWxkQmVFcXVhbFRv
U3RyaW5nKCJmcmFtZXNbMF0ubG9jYXRpb24uaHJlZiIsICJhYm91dDpibGFuayIpOworICAgICAg
ICAgICAgY2xlYXJJbnRlcnZhbChoYW5kbGUpOworICAgICAgICAgICAgZmluaXNoSlNUZXN0KCk7
CisgICAgICAgIH0gY2F0Y2ggKGUpIHsgfQorICAgIH0sIDUpOwogfTsKIDwvc2NyaXB0PgogPHNj
cmlwdCBzcmM9Ii4uLy4uLy4uL3Jlc291cmNlcy9qcy10ZXN0LXBvc3QuanMiPjwvc2NyaXB0Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>