[Bug 18362] Make stringifiers not take into account expandos

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18362

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> ---
I don't know, I tend to think that for example

  interface Blah {
    stringifier readonly attribute DOMString something;
  };

means

  Object.defineProperty(Blah.prototype, "something",
                        { get: function() { return <internal state>; }, ...);
  Blah.prototype.toString = function() { return this.something; }

rather than

  Object.defineProperty(Blah.prototype, "something",
                        { get: function() { return <internal state>; }, ...);
  Blah.prototype.toString = function() { return <internal state>; }

and I feel like it is a more natural way of implementing it.  It's in line with
what we're doing for [PutForwards], too.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 10 December 2012 04:43:44 UTC