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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27361</bug_id>
          
          <creation_ts>2014-11-18 15:48:24 +0000</creation_ts>
          <short_desc>[Unforgeable] and &quot;[[Enumerable]]: true&quot;</short_desc>
          <delta_ts>2016-01-29 01:58:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>29383</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>allen</cc>
    
    <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>115060</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-11-18 15:48:24 +0000</bug_when>
    <thetext>http://heycam.github.io/webidl/#es-platform-objects

[[
[[Enumerable]]: true
]]

Can we make toString, toJSON and valueOf for [Unforgeable] be not enumerable? It seems annoying to have them enumerated for e.g. Location.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115061</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-11-18 15:58:42 +0000</bug_when>
    <thetext>It&apos;s technically quite easy to do.

It&apos;s not clear to me how it ties in to the current ES thinking on enumerability.  Allen?  The idea here is that we have some objects we want to lock down so we&apos;re defining non-configurable, non-writable toString/toJSON/valueOf on them (with some sort of canonical value).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124738</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-01-29 01:58:23 +0000</bug_when>
    <thetext>I have fixed this in https://github.com/annevk/html-cross-origin-objects/issues/19 which should at some point soon make its way into the HTML standard. If we do want these enumerable after all please let me know.

Closing this since we&apos;ll remove Unforgeable for interfaces from IDL.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>