<?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>21717</bug_id>
          
          <creation_ts>2008-10-17 14:47:28 -0700</creation_ts>
          <short_desc>Need to test Geolocation when platform doesn&apos;t have implementation</short_desc>
          <delta_ts>2009-09-04 12:59:20 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>28264</dup_id>
          
          <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="Greg Bolsinga">bolsinga</reporter>
          <assigned_to name="Greg Bolsinga">bolsinga</assigned_to>
          <cc>abarth</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95781</commentid>
    <comment_count>0</comment_count>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2008-10-17 14:47:28 -0700</bug_when>
    <thetext>For bug https://bugs.webkit.org/show_bug.cgi?id=21475 a GeolocationServiceFake was attempted when the platform doesn&apos;t have a GeolocationService of its own. This would also have to not &apos;leak&apos; into WebCore as a property on navigator when not in testing mode. The ways in the patches in that bug would leak this property out.

I have attached the files here for the tests and the implementation of GeolocationServiceFake. For Geolocation and Navigator, custom toJS and IDL and hasOwnProperty methods are probably in the mix for what is necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95782</commentid>
    <comment_count>1</comment_count>
      <attachid>24464</attachid>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2008-10-17 14:48:54 -0700</bug_when>
    <thetext>Created attachment 24464
This is a GeolocationServiceFake implementation and test cases</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130518</commentid>
    <comment_count>2</comment_count>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2009-07-08 14:28:43 -0700</bug_when>
    <thetext>-r45634 with an oddly super-long svn commit log.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130519</commentid>
    <comment_count>3</comment_count>
    <who name="Greg Bolsinga">bolsinga</who>
    <bug_when>2009-07-08 14:29:26 -0700</bug_when>
    <thetext>Crap. Not supposed close that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144903</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-09-04 12:59:20 -0700</bug_when>
    <thetext>Looks like this is going to be worked on in Bug 28264.

*** This bug has been marked as a duplicate of bug 28264 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24464</attachid>
            <date>2008-10-17 14:48:54 -0700</date>
            <delta_ts>2008-10-17 14:48:54 -0700</delta_ts>
            <desc>This is a GeolocationServiceFake implementation and test cases</desc>
            <filename>geolocation-fake.tar.gz</filename>
            <type>application/octet-stream</type>
            <size>2307</size>
            <attacher name="Greg Bolsinga">bolsinga</attacher>
            
              <data encoding="base64">H4sIADcI+UgAA+1b727byBFXCxSH8ku/9b5OHSAnGzStf7YS2zFAU7RNVBZVkorPn3IUtZLYo0iC
pOwYQe5J+gRt36N/36Yv0NmlZFOSFUmOpTNw+0MY0dzZ2dmZnZ2ZpdQjgRc4duIG/m7X/pHs5Z4f
BUR1fz/9PEg/C6VK+pkiVyxiU6lQKJequUKxXK1UcrC/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