<?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>4310</bug_id>
          
          <creation_ts>2005-08-06 20:19:16 -0700</creation_ts>
          <short_desc>&quot;sheet&quot; method is unimplemented in Obj-C DOM API</short_desc>
          <delta_ts>2005-09-23 11:21:28 -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 API</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</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="Darin Adler">darin</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16047</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-08-06 20:19:16 -0700</bug_when>
    <thetext>There&apos;s a sheet method declared but not implemented in the Objective-C DOM wrappers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16049</commentid>
    <comment_count>1</comment_count>
      <attachid>3247</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-08-06 20:20:08 -0700</bug_when>
    <thetext>Created attachment 3247
patch to implement the method</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16201</commentid>
    <comment_count>2</comment_count>
      <attachid>3247</attachid>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-08-08 09:25:24 -0700</bug_when>
    <thetext>Comment on attachment 3247
patch to implement the method

Patch looks good, but needs some sort of testing. r=me if you find a way to
test it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19809</commentid>
    <comment_count>3</comment_count>
      <attachid>3247</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-09-17 14:57:48 -0700</bug_when>
    <thetext>Comment on attachment 3247
patch to implement the method

Looks great.  (this code actually benifits from the odd behavior of the last
patch, in that it will &quot;correctly&quot; return a DOMCSSStyleSheet or DOMStyleSheet
depending on the impl.)

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19968</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2005-09-18 14:44:45 -0700</bug_when>
    <thetext>As ggaren correctly points out, all of these really should have layout tests.  For better or worse I ignored 
that fact, realizing that we don&apos;t currently (AFAIK) have any way of testing the Obj-C DOM API.  I talked 
with andersca a bit on IRC, he said he started the py-objc Obj-C DOM testing system, but hasn&apos;t finished 
yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20315</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2005-09-23 11:20:16 -0700</bug_when>
    <thetext>Note that the &quot;odd behavior&quot; that Eric mentions here is the design of the DOM wrappers. The class of the 
Objective-C DOM wrapper mirrors the class of the actual DOM object it&apos;s wrapping. That way you can use 
standard Objective-C techniques like &quot;isKindOfClass:&quot; and downcasting on the wrappers.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3247</attachid>
            <date>2005-08-06 20:20:08 -0700</date>
            <delta_ts>2005-09-17 14:57:48 -0700</delta_ts>
            <desc>patch to implement the method</desc>
            <filename>ObjCSheetMethodPatch.txt</filename>
            <type>text/plain</type>
            <size>1859</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">S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ZWxmIGlzS2luZE9mQ2xhc3M6W0RPTUhUTUxTdHlsZUVsZW1lbnQgY2xhc3NdXSkK
KyAgICAgICAgc2hlZXQgPSBzdGF0aWNfY2FzdDxIVE1MU3R5bGVFbGVtZW50SW1wbCAqPihbKERP
TUhUTUxTdHlsZUVsZW1lbnQgKilzZWxmIF9ub2RlSW1wbF0pLT5zaGVldCgpOworICAgIGVsc2UK
KyAgICAgICAgcmV0dXJuIG5pbDsKKworICAgIHJldHVybiBbRE9NU3R5bGVTaGVldCBfRE9NU3R5
bGVTaGVldFdpdGhJbXBsOnNoZWV0XTsKIH0KIAogQGVuZAo=
</data>
<flag name="review"
          id="565"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>