<?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>193320</bug_id>
          
          <creation_ts>2019-01-10 07:26:39 -0800</creation_ts>
          <short_desc>[GTK] Several resourceLoadStatistics tests are failing since r239816 &quot;Create a WebResourceLoadStatisticsStore attached to the NetworkSession&quot;</short_desc>
          <delta_ts>2019-01-22 13:36:38 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Miguel Gomez">magomez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pgriffis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1493288</commentid>
    <comment_count>0</comment_count>
    <who name="Miguel Gomez">magomez</who>
    <bug_when>2019-01-10 07:26:39 -0800</bug_when>
    <thetext>There are 14 failing. Here they are with their diffs:

http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-subresource-redirect-collusion-actual.txt
@@ -7,7 +7,6 @@
 PASS Colluding host 2 got set as prevalent resource.
 PASS Colluding host 3 got set as prevalent resource.
 PASS Colluding host 4 got set as prevalent resource.
-PASS Colluding localhost got set as prevalent resource after actual sub frame redirect.
 PASS successfullyParsed is true
 
 TEST COMPLETE


http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/classify-as-prevalent-based-on-top-frame-redirect-collusion-actual.txt
@@ -7,7 +7,6 @@
 PASS Colluding host 2 got set as prevalent resource.
 PASS Colluding host 3 got set as prevalent resource.
 PASS Colluding host 4 got set as prevalent resource.
-PASS Colluding localhost got set as prevalent resource after actual navigational redirect.
 PASS successfullyParsed is true
 
 TEST COMPLETE


http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE


http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE


http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/non-sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-ip-to-localhost-to-ip-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-iframe-redirect-localhost-to-ip-to-localhost-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-ip-to-localhost-to-ip-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-non-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-ip-to-localhost-to-ip-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE
 


http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost.html [ Failure ]
--- /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-release-tests/build/layout-test-results/http/tests/resourceLoadStatistics/sandboxed-nesting-iframe-with-sandboxed-iframe-redirect-localhost-to-ip-to-localhost-actual.txt
@@ -3,10 +3,11 @@
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-PASS testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) is true
-PASS testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) is true
+FAIL testRunner.isStatisticsRegisteredAsSubFrameUnder(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://localhost&quot;, &quot;http://127.0.0.1&quot;) should be true. Was false.
+FAIL testRunner.isStatisticsRegisteredAsRedirectingTo(&quot;http://127.0.0.1&quot;, &quot;http://localhost&quot;) should be true. Was false.
 PASS successfullyParsed is true
+Some tests failed.
 
 TEST COMPLETE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1493312</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2019-01-10 08:49:23 -0800</bug_when>
    <thetext>My guess is that I broke it with this change:

Index: trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
===================================================================
--- a/trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
+++ b/trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
@@ -4452,6 +4448,9 @@
     WebFrameProxy* originatingFrame = m_process-&gt;webFrame(originatingFrameInfoData.frameID);
 
+#if ENABLE(RESOURCE_LOAD_STATISTICS)
     if (auto* resourceLoadStatisticsStore = websiteDataStore().resourceLoadStatistics())
         resourceLoadStatisticsStore-&gt;logFrameNavigation(frame, URL(URL(), m_pageLoadState.url()), request, redirectResponse.url());
+    logFrameNavigation(frame, URL(URL(), m_pageLoadState.url()), request, redirectResponse.url());
+#endif
 
     if (m_policyClient)
@@ -4475,4 +4474,36 @@
     m_shouldSuppressAppLinksInNextNavigationPolicyDecision = false;
 }

I was a little confused with this code on GTK/WPE, since the feature defines for non-Apple builds seems to have it off:

WebKitFeatures.cmake:    WEBKIT_OPTION_DEFINE(ENABLE_RESOURCE_LOAD_STATISTICS &quot;Toggle resource load statistics support&quot; PRIVATE OFF)

So, I moved the websiteDataStore().resourceLoadStatistics() access inside a macro, since that stuff shouldn&apos;t exist if the build flag is turned off. GTK (and probably others) seem to be building a weird half on/half off version of the feature.

I think GTK either needs to turn the feature flag on, or disable the tests.

As a quick fix, you could just remove the &quot;#if ENABLE(RESOURCE_LOAD_STATISTICS)&quot; I added in WebPageProxy.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496916</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-22 12:58:39 -0800</bug_when>
    <thetext>(In reply to Brent Fulgham from comment #1)
&gt; I was a little confused with this code on GTK/WPE, since the feature defines
&gt; for non-Apple builds seems to have it off:
&gt; 
&gt; WebKitFeatures.cmake:   
&gt; WEBKIT_OPTION_DEFINE(ENABLE_RESOURCE_LOAD_STATISTICS &quot;Toggle resource load
&gt; statistics support&quot; PRIVATE OFF)

Yes, we&apos;re working on turning it on for WPE and GTK, but not there yet.

&gt; So, I moved the websiteDataStore().resourceLoadStatistics() access inside a
&gt; macro, since that stuff shouldn&apos;t exist if the build flag is turned off. GTK
&gt; (and probably others) seem to be building a weird half on/half off version
&gt; of the feature.

Well we build with it OFF, as you see. If the code doesn&apos;t respect the flag, I&apos;d say that&apos;s a bug. Seems almost all the tests passed for a long time even though it&apos;s turned OFF, which is surprising.

&gt; I think GTK either needs to turn the feature flag on, or disable the tests.
&gt; 
&gt; As a quick fix, you could just remove the &quot;#if
&gt; ENABLE(RESOURCE_LOAD_STATISTICS)&quot; I added in WebPageProxy.cpp.

I think I&apos;m just going to skip the tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496920</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2019-01-22 13:00:22 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #2)
&gt; &gt; As a quick fix, you could just remove the &quot;#if
&gt; &gt; ENABLE(RESOURCE_LOAD_STATISTICS)&quot; I added in WebPageProxy.cpp.
&gt; 
&gt; I think I&apos;m just going to skip the tests.

That sounds reasonable. These tests make no sense if the feature is off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1496946</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-01-22 13:36:38 -0800</bug_when>
    <thetext>Skipped in r240293.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>