<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>183993</bug_id>
          
          <creation_ts>2009-02-11 04:35:41 +0000</creation_ts>
          <short_desc>possible case insensitive object treatment</short_desc>
          <delta_ts>2009-02-14 19:10:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>khtml ecma</component>
          <version>4.2.0</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Michael Kreitzer">mrgrim</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>715314</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kreitzer">mrgrim</who>
    <bug_when>2009-02-11 04:35:41 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

attached is a test case

The test case defines a simple object that initializes itself with a single property. There are 3 functions that initialize a new instance. The object is called &quot;Sidebar&quot;. When initializing a &quot;Sidebar&quot; instance and trying to store it in a variable called &quot;sidebar&quot; the initialization fails. The variable has the type &quot;[object sidebar]&quot; instead of &quot;[object Object]&quot;, and the property is undefined. Using any other name for the variable (even &quot;sideBar&quot;) works as expected.

I discovered this trying to debug the failure of the Pitchfork MPD Client and was able to reduce the problem to this simple test case. It should be noted that this is a regression. I upgraded straight from kde 3.5.9 to kde 4.2, and the client functions perfectly in 3.5.9.

Thanks,
Michael</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715315</commentid>
    <comment_count>1</comment_count>
      <attachid>31216</attachid>
    <who name="Michael Kreitzer">mrgrim</who>
    <bug_when>2009-02-11 04:36:46 +0000</bug_when>
    <thetext>Created attachment 31216
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715316</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kreitzer">mrgrim</who>
    <bug_when>2009-02-11 04:44:04 +0000</bug_when>
    <thetext>OK, I&apos;m even more confused now. It seems that the name of the object doesn&apos;t matter. All that seems to matter is the use of the variable name sidebar. Is this a reserved word?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715326</commentid>
    <comment_count>3</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2009-02-11 06:40:05 +0000</bug_when>
    <thetext>It&apos;s a browser window object property (Mozilla extension). I should make it writeable, I guess.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>715448</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kreitzer">mrgrim</who>
    <bug_when>2009-02-11 15:14:34 +0000</bug_when>
    <thetext>If it&apos;s a mozilla extension then it should be noted that this test case produces the results I was expecting in firefox.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716727</commentid>
    <comment_count>5</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2009-02-14 19:06:26 +0000</bug_when>
    <thetext>SVN commit 926141 by orlovich:

We want the sidebar property writeable (but also DontEnum)
BUG: 183993


 M  +1 -1      kjs_window.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=926141
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716728</commentid>
    <comment_count>6</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2009-02-14 19:07:23 +0000</bug_when>
    <thetext>SVN commit 926142 by orlovich:

Merged revision 926141:
We want the sidebar property writeable (but also DontEnum)
BUG: 183993

 M  +1 -1      kjs_window.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=926142
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>716730</commentid>
    <comment_count>7</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2009-02-14 19:10:11 +0000</bug_when>
    <thetext>SVN commit 926144 by orlovich:

Update for 183993
CCBUG:183993


 M  +8 -4      baseline/ecma/readonly.html-dom  
 M             baseline/ecma/readonly.html-dump.png  
 M  +13 -10    baseline/ecma/readonly.html-render  
 M  +2 -0      tests/ecma/readonly.html  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=926144
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>31216</attachid>
            <date>2009-02-11 04:36:46 +0000</date>
            <delta_ts>2009-02-11 04:36:46 +0000</delta_ts>
            <desc>test case</desc>
            <filename>js.html</filename>
            <type>text/html</type>
            <size>1031</size>
            <attacher name="Michael Kreitzer">mrgrim</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8dGl0bGU+a29ucXVlcm9yIGpzIHRlc3QgY2FzZTwvdGl0bGU+CjwvaGVh
ZD4KPGJvZHk+CjxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij4KPCEtLQp2YXIgc2lkZWJh
ciA9IG51bGw7CnZhciBzaWRlQmFyID0gbnVsbDsKCmZ1bmN0aW9uIFNpZGViYXIoKSB7CiAgICAg
ICAgdGhpcy5QTFNFQVJDSF9PUFRTID0gbmV3IEFycmF5KCJBbnkiLCAiQXJ0aXN0IiwgIlRpdGxl
IiwgIkFsYnVtIiwgIkdlbnJlIiwgIkZpbGVuYW1lIiwgIkNvbXBvc2VyI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