<?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>21241</bug_id>
          
          <creation_ts>2008-09-30 07:29:13 -0700</creation_ts>
          <short_desc>REGRESSION (r36977): getRGBColorValue().red returning incorrect value</short_desc>
          <delta_ts>2008-10-08 17:29:29 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Sam Weinig">sam</assigned_to>
          <cc>ggaren</cc>
    
    <cc>marchant</cc>
    
    <cc>sam</cc>
    
    <cc>zwarich</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93363</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-09-30 07:29:13 -0700</bug_when>
    <thetext>I&apos;m getting an assertion failure with today&apos;s ToT, see attached test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93364</commentid>
    <comment_count>1</comment_count>
      <attachid>23940</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-09-30 07:30:19 -0700</bug_when>
    <thetext>Created attachment 23940
test case (assertion failure)

ASSERTION FAILED: getValue
(/Users/ap/Safari/OpenSource/WebKitBuild/Debug/JavaScriptCore.framework/PrivateHeaders/PropertySlot.h:136 void JSC::PropertySlot::setCustom(JSC::JSValue*, JSC::JSValue* (*)(JSC::ExecState*, const JSC::Identifier&amp;, const JSC::PropertySlot&amp;)))

0   com.apple.WebCore             	0x035dbb1b JSC::PropertySlot::setCustom(JSC::JSValue*, JSC::JSValue* (*)(JSC::ExecState*, JSC::Identifier const&amp;, JSC::PropertySlot const&amp;)) + 125 (PropertySlot.h:136)
1   com.apple.WebCore             	0x039ab857 bool JSC::getStaticValueSlot&lt;WebCore::JSRGBColor, WebCore::DOMObject&gt;(JSC::ExecState*, JSC::HashTable const*, WebCore::JSRGBColor*, JSC::Identifier const&amp;, JSC::PropertySlot&amp;) + 197 (lookup.h:199)
2   com.apple.WebCore             	0x039ab5d3 WebCore::JSRGBColor::getOwnPropertySlot(JSC::ExecState*, JSC::Identifier const&amp;, JSC::PropertySlot&amp;) + 55 (JSRGBColor.cpp:55)
3   com.apple.JavaScriptCore      	0x008f09fb JSC::JSValue::get(JSC::ExecState*, JSC::Identifier const&amp;, JSC::PropertySlot&amp;) const + 187 (JSObject.h:430)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93894</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-10-03 07:58:14 -0700</bug_when>
    <thetext>OK, looks like this is just how bug 21235 looks in debug builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94595</commentid>
    <comment_count>3</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2008-10-08 13:33:04 -0700</bug_when>
    <thetext>This is also detectable in Release builds, because the actual value returned is the getter function, rather than a CSSPrimitiveValue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94599</commentid>
    <comment_count>4</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2008-10-08 13:40:31 -0700</bug_when>
    <thetext>*** Bug 21235 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94635</commentid>
    <comment_count>5</comment_count>
    <who name="Cameron Zwarich (cpst)">zwarich</who>
    <bug_when>2008-10-08 16:00:56 -0700</bug_when>
    <thetext>This is caused by r36977:

http://trac.webkit.org/changeset/36977

I am assigning this to Sam, because he knows the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94646</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2008-10-08 17:15:13 -0700</bug_when>
    <thetext>Fixed in 37432.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94650</commentid>
    <comment_count>7</comment_count>
    <who name="Benoit Marchant">marchant</who>
    <bug_when>2008-10-08 17:29:29 -0700</bug_when>
    <thetext>Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>23940</attachid>
            <date>2008-09-30 07:30:19 -0700</date>
            <delta_ts>2008-09-30 07:30:19 -0700</delta_ts>
            <desc>test case (assertion failure)</desc>
            <filename>red-color.html</filename>
            <type>text/html</type>
            <size>217</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGJvZHk+CjxzcGFuIHN0eWxlPSJjb2xvcjojZjAwZmZmIj5mb288L3NwYW4+CjxzY3JpcHQ+CmFs
ZXJ0KGRvY3VtZW50LmRlZmF1bHRWaWV3LmdldENvbXB1dGVkU3R5bGUoZG9jdW1lbnQuZ2V0RWxl
bWVudHNCeVRhZ05hbWUoInNwYW4iKVswXSwgIiIpLmdldFByb3BlcnR5Q1NTVmFsdWUoImNvbG9y
IikuZ2V0UkdCQ29sb3JWYWx1ZSgpLnJlZCk7Cjwvc2NyaXB0Pgo8L2JvZHk+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>