<?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>66017</bug_id>
          
          <creation_ts>2011-08-10 15:26:48 -0700</creation_ts>
          <short_desc>REGRESSION (r78383): Mobile gmail authentication is broken</short_desc>
          <delta_ts>2012-01-30 12:07:11 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>54090</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>adauria</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>eae</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>449430</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-10 15:26:48 -0700</bug_when>
    <thetext>Steps to reproduce:
1. In Safari 5.1 or Chrome 13, spoof user agent string. iPad string is Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5
2. Go to gmail.com
3. Enter credentials, check Remember Me.
4. Click &quot;Sign in&quot; button.
   ... you are logged in successfully.
5. Sign out.
6. Go to gmail.com again, try to log in.
 Results: instead of being logged in, you are sent to another page asking for your password.

I am not sure if this is a server side or client side issue. We may fail to find some cookies internally because of using a different domain than network loader level had. Or the server may choke on a different Host header field.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449434</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-10 15:27:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/9451715&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449444</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-08-10 15:43:01 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/78383 (to save folks the copy/paste URL forming)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449954</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-08-11 12:56:27 -0700</bug_when>
    <thetext>Chrome and Safari have different network layers.  So it would seem that if this bug reproduces when spoofing iPad in either it&apos;s likely to be a server issue.

It would be interesting to know what the behavior in FF is when spoofing as iPad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449956</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2011-08-11 12:57:28 -0700</bug_when>
    <thetext>I&apos;m confused by step 5.  Shouldn&apos;t &quot;sign out&quot; clear your &quot;Remember me&quot; cookie?

I assume you meant just to close the browser on the iPad, not click the &quot;sign out&quot; link?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449991</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-11 13:27:54 -0700</bug_when>
    <thetext>No, the steps to reproduce are correct. In step 6, you enter the credentials again, but they don&apos;t work this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450001</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-11 13:35:56 -0700</bug_when>
    <thetext>&gt; It would be interesting to know what the behavior in FF is when spoofing as iPad.

That&apos;s a great question! Rendering is quite broken, but this bug doesn&apos;t occur in Firefox.

My specific (but completely unfounded) idea was that we may not show cookies set on https://mail.google.com:443 in documents with origin https://mail.google.com (without port number).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450002</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-11 13:36:48 -0700</bug_when>
    <thetext>&gt; No, the steps to reproduce are correct. In step 6, you enter the credentials again, but they don&apos;t work this time.

Also note that you need to follow the steps to reproduce exactly, and go to gmail.com, not just enter your password on a page that appear after signing out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450005</commentid>
    <comment_count>8</comment_count>
    <who name="Emil A Eklund">eae</who>
    <bug_when>2011-08-11 13:43:03 -0700</bug_when>
    <thetext>Escalated to the gmail team in case it&apos;s a problem on their side.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>542440</commentid>
    <comment_count>9</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2012-01-25 10:45:46 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; Escalated to the gmail team in case it&apos;s a problem on their side.

Emil, is there a status update on this?  It seems to be working now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>545272</commentid>
    <comment_count>10</comment_count>
    <who name="Emil A Eklund">eae</who>
    <bug_when>2012-01-30 12:07:11 -0800</bug_when>
    <thetext>This was confirmed to be a problem on the gmail side. It has since been resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>