<?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>138428</bug_id>
          
          <creation_ts>2014-11-05 09:14:28 -0800</creation_ts>
          <short_desc>[GTK] Run layout tests using the network process</short_desc>
          <delta_ts>2014-11-12 06:23:55 -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>Tools / Tests</component>
          <version>528+ (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>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>138460</dependson>
    
    <dependson>138500</dependson>
    
    <dependson>138501</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>clopez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gustavo</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1046488</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-05 09:14:28 -0800</bug_when>
    <thetext>Shared secondary process is the default in the GTK+ port, but we should run the tests using the network process to ensure everything works with the network process. In the future, the shared secondary process model might be a special case of multiple processes with 1 as maximum number of processes, but always using the network process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1046489</commentid>
    <comment_count>1</comment_count>
      <attachid>241031</attachid>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-05 09:16:19 -0800</bug_when>
    <thetext>Created attachment 241031
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1046756</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-06 00:47:39 -0800</bug_when>
    <thetext>Committed r175690: &lt;http://trac.webkit.org/changeset/175690&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1046773</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-11-06 02:26:46 -0800</bug_when>
    <thetext>Re-opened since this is blocked by bug 138460</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047279</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-08 02:51:52 -0800</bug_when>
    <thetext>Let&apos;s try again now :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047280</commentid>
    <comment_count>5</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-08 02:53:27 -0800</bug_when>
    <thetext>Committed r175776: &lt;http://trac.webkit.org/changeset/175776&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047281</commentid>
    <comment_count>6</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-08 03:50:10 -0800</bug_when>
    <thetext>Ok, no more crashes, but there are still some more failures, most of them are http tests. I&apos;ll look at those in detail and will try to fix them without rolling this out again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047298</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2014-11-08 11:29:54 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; Ok, no more crashes, but there are still some more failures, most of them
&gt; are http tests. I&apos;ll look at those in detail and will try to fix them
&gt; without rolling this out again.

This (r175776) has caused +60 new failures: 

r175775 -&gt; https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/4067

r175776 -&gt; https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Tests%29/builds/4064</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047356</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-11-08 20:29:20 -0800</bug_when>
    <thetext>One big reason for these failures is that shared workers are disabled in multiple web process mode.

Another one that I&apos;m particularly interested in is http/tests/xmlhttprequest/cross-origin-cookie-storage.html. It looks like I independently broke this test on Mac a few revisions later. We&apos;ll need to see what&apos;s going on there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047374</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-11-08 22:34:24 -0800</bug_when>
    <thetext>&gt; Another one that I&apos;m particularly interested in is
&gt; http/tests/xmlhttprequest/cross-origin-cookie-storage.html.

Turns out that it&apos;s simply because testRunner.setAlwaysAcceptCookies is not implemented with NetworkProcess. The test used to pass on Mac by mistake, due to having a cookie leak from a previous test.

I disabled it on Mac.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1047380</commentid>
    <comment_count>10</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-09 02:06:01 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; Ok, no more crashes, but there are still some more failures, most of them
&gt; &gt; are http tests. I&apos;ll look at those in detail and will try to fix them
&gt; &gt; without rolling this out again.
&gt; 
&gt; This (r175776) has caused +60 new failures: 

I know, and I said that I&apos;ll look at those in detail and I&apos;ll try to fix them without rolling it out. If I can&apos;t figure out how to fix the failures, I&apos;ll roll this out, don&apos;t worry.

&gt; r175775 -&gt;
&gt; https://build.webkit.org/builders/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/builds/4067
&gt; 
&gt; r175776 -&gt;
&gt; https://build.webkit.org/builders/GTK%20Linux%2064-
&gt; bit%20Release%20%28Tests%29/builds/4064</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1048146</commentid>
    <comment_count>11</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2014-11-12 06:23:55 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; One big reason for these failures is that shared workers are disabled in
&gt; multiple web process mode.

Thanks, I&apos;ve just skipped the shared workers tests in r176019</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>241031</attachid>
            <date>2014-11-05 09:16:19 -0800</date>
            <delta_ts>2014-11-05 10:11:34 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>wk-tests-network-process.diff</filename>
            <type>text/plain</type>
            <size>1838</size>
            <attacher name="Carlos Garcia Campos">cgarcia</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxvZyBiL1Rvb2xzL0NoYW5nZUxvZwppbmRleCA4Y2Jj
ZmZmLi44ZjRjYTQ0IDEwMDY0NAotLS0gYS9Ub29scy9DaGFuZ2VMb2cKKysrIGIvVG9vbHMvQ2hh
bmdlTG9nCkBAIC0xLDUgKzEsMjIgQEAKIDIwMTQtMTEtMDUgIENhcmxvcyBHYXJjaWEgQ2FtcG9z
ICA8Y2dhcmNpYUBpZ2FsaWEuY29tPgogCisgICAgICAgIFtHVEtdIFJ1biBsYXlvdXQgdGVzdHMg
dXNpbmcgdGhlIG5ldHdvcmsgcHJvY2VzcworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9y
Zy9zaG93X2J1Zy5jZ2k/aWQ9MTM4NDI4CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChP
T1BTISkuCisKKyAgICAgICAgU2hhcmVkIHNlY29uZGFyeSB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lci9UZXN0Q29udHJvbGxlci5j
cHAKKysrIGIvVG9vbHMvV2ViS2l0VGVzdFJ1bm5lci9UZXN0Q29udHJvbGxlci5jcHAKQEAgLTMz
Miw3ICszMzIsNyBAQCB2b2lkIFRlc3RDb250cm9sbGVyOjppbml0aWFsaXplKGludCBhcmdjLCBj
b25zdCBjaGFyKiBhcmd2W10pCiAgICAgbV9jb250ZXh0ID0gYWRvcHRXSyhXS0NvbnRleHRDcmVh
dGVXaXRoQ29uZmlndXJhdGlvbihjb25maWd1cmF0aW9uLmdldCgpKSk7CiAgICAgbV9nZW9sb2Nh
dGlvblByb3ZpZGVyID0gc3RkOjptYWtlX3VuaXF1ZTxHZW9sb2NhdGlvblByb3ZpZGVyTW9jaz4o
bV9jb250ZXh0LmdldCgpKTsKIAotI2lmIFBMQVRGT1JNKElPUykgfHwgKFBMQVRGT1JNKE1BQykg
JiYgX19NQUNfT1NfWF9WRVJTSU9OX01JTl9SRVFVSVJFRCA+IDEwODApCisjaWYgUExBVEZPUk0o
SU9TKSB8fCAoUExBVEZPUk0oTUFDKSAmJiBfX01BQ19PU19YX1ZFUlNJT05fTUlOX1JFUVVJUkVE
ID4gMTA4MCkgfHwgUExBVEZPUk0oR1RLKQogICAgIFdLQ29udGV4dFNldFVzZXNOZXR3b3JrUHJv
Y2VzcyhtX2NvbnRleHQuZ2V0KCksIHRydWUpOwogICAgIFdLQ29udGV4dFNldFByb2Nlc3NNb2Rl
bChtX2NvbnRleHQuZ2V0KCksIGtXS1Byb2Nlc3NNb2RlbE11bHRpcGxlU2Vjb25kYXJ5UHJvY2Vz
c2VzKTsKICNlbmRpZgo=
</data>
<flag name="review"
          id="265830"
          type_id="1"
          status="+"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>