Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

RubyLandProxy#length (and #size) Masking Problems

#10

The current implementation of length/size on Proxy masks properties and function calls of the same name on the proxied JS object.

Reported by John Barnette · March 19th, 2008 @ 08:32 PM

State: invalid
Milestone: none
Assigned to: John Barnette John Barnette

Activity

  1. John Barnette
    John Barnette
    • State changed from new to open
    • Title changed from Proxy#length (and #size) Masking Problems to RubyProxy#length (and #size) Masking Problems

    I think this is okay for 1.0. Let's address it when something blows up. We can always provide a js property that sidesteps all of the proxy methods:

    # calls/gets the JSland size method/property,
    # not the RubyProxy/Enumerable method
    proxy.js.size 
    

    April 3rd, 2008 @ 10:35 AM

  2. John Barnette
  3. John Barnette
    John Barnette
    • Title changed from RubyProxy#length (and #size) Masking Problems to RubyLandProxy#length (and #size) Masking Problems

    April 21st, 2008 @ 09:52 PM

  4. John Barnette
    John Barnette
    • State changed from open to invalid

    July 29th, 2009 @ 02:37 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.