<?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>121535</bug_id>
          
          <creation_ts>2013-09-17 21:02:07 -0700</creation_ts>
          <short_desc>WinLauncher needs better url handling</short_desc>
          <delta_ts>2013-09-18 10:20:54 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alex Christensen">alex.christensen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>930502</commentid>
    <comment_count>0</comment_count>
    <who name="Alex Christensen">alex.christensen</who>
    <bug_when>2013-09-17 21:02:07 -0700</bug_when>
    <thetext>BrowserWindowController.m has a function called addProtocolIfNecessary which prepends &quot;http://&quot; if &quot;://&quot; is not found in the url of MiniBrowser.  A similar behaviour can be achieved with a simple one line change that makes it so if you type &quot;webkit.org&quot; into WinLauncher you&apos;ll get to your favourite website instead of having to type &quot;http://www.webkit.org/&quot;.

Also, we defined our own macro MAX_URL_LENGTH which is 1024 instead of INTERNET_MAX_URL_LENGTH from WinInet.h which is 2083.  This should be consistent.

This makes WinLauncher more stable and user friendly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>930504</commentid>
    <comment_count>1</comment_count>
      <attachid>211969</attachid>
    <who name="Alex Christensen">alex.christensen</who>
    <bug_when>2013-09-17 21:05:31 -0700</bug_when>
    <thetext>Created attachment 211969
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>930514</commentid>
    <comment_count>2</comment_count>
      <attachid>211969</attachid>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2013-09-17 21:55:43 -0700</bug_when>
    <thetext>Comment on attachment 211969
Patch

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

R=me

&gt; Tools/WinLauncher/WinLauncher.cpp:-875
&gt; -

Good!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>930665</commentid>
    <comment_count>3</comment_count>
      <attachid>211969</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-09-18 10:20:53 -0700</bug_when>
    <thetext>Comment on attachment 211969
Patch

Clearing flags on attachment: 211969

Committed r156048: &lt;http://trac.webkit.org/changeset/156048&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>930666</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2013-09-18 10:20:54 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>211969</attachid>
            <date>2013-09-17 21:05:31 -0700</date>
            <delta_ts>2013-09-18 10:20:53 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-121535-20130917220539.patch</filename>
            <type>text/plain</type>
            <size>1867</size>
            <attacher name="Alex Christensen">alex.christensen</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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sQlN0ciwgTCI6Ly8iKSA/IHVybEJTdHIgOiBfYnN0cl90KEwiaHR0
cDovLyIpICsgdXJsQlN0ciwgV2ViVVJMUmVxdWVzdFVzZVByb3RvY29sQ2FjaGVQb2xpY3ksIDYw
KTsKICAgICBpZiAoRkFJTEVEKGhyKSkKICAgICAgICAgcmV0dXJuOwogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>