Status: Unconfirmed
Owner: [email protected]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 7120 by iSephr: accessors are not behaving correctly on the  
document
http://code.google.com/p/chromium/issues/detail?id=7120

Chrome Version       : 2.0.159.0
URLs (if applicable) : http://code.eligrey.com/testcases/google-
chrome/accessors-testcase.html
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3: OK
     Firefox 3: OK
     Opera 9.6: OK
      IE 8 RC1: OK (by means of IE8's Object.defineProperty and
Object.getOwnPropertyDescriptor methods)

What steps will reproduce the problem?
For looking up accessors
1. Use document.__define[GS]etter__ to define an accessor
2. Try to do document.__lookup[GS]etter__ to lookup the accessor.

For strange behavior while setting accessors
1. Use document.__defineGetter__ and define an accessor
2. Define another one of the same

What is the expected result?
For looking up accessors: The getter or setter function is returned.

Behavior while setting accessors: Both accessors are set.

What happens instead?
For looking up accessors: It always returns undefined.

For strange behavior while setting accessors: The first attempt to set an
accessor seems to be ignored.

for strange behaviors while setting accessors: always returns undefined

Please provide any additional information below. Attach a screenshot if
possible.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to