W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22866] New: remove Object.prototype.toString override and use ES6 @@toStringTag instead

From: <bugzilla@jessica.w3.org>
Date: Sat, 03 Aug 2013 05:07:44 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22866-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22866

            Bug ID: 22866
           Summary: remove Object.prototype.toString override and use ES6
                    @@toStringTag instead
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: cam@mcc.id.au
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

With ES6 we can get rid of the overridden Object.prototype.toString function
and define @@toStringTag properties on objects to get the same effect. 
http://www.w3.org/mid/CAJ8+Gogzsgr4Quw-SVvKwJX7y5LsaeSG+fWL8DHzLrvaCfrj=Q@mail.gmail.com
describes the solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 3 August 2013 05:07:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC