W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2012

[Bug 15765] Replaceable interface

From: <bugzilla@jessica.w3.org>
Date: Sun, 29 Jan 2012 01:16:14 +0000
To: public-script-coord@w3.org
Message-Id: <E1RrJNO-0002Kg-N6@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15765

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #1 from Boris Zbarsky <bzbarsky@mit.edu> 2012-01-29 01:16:14 UTC ---
What does that even mean?  "Replaceable" is needed for accessor properties
because otherwise assignment won't create an own property.  But doing this:

  URL = whatever

(with or without var) would work fine.  The only weird thing I can think of is
if you want something like this:

  <script>
    var URL;
    alert(URL)
  </script>

to alert undefined.  Is that what the URL spec wants?  That runs right back
into the whole "there is no way to express this in ES5 terms" issue we just had
with named properties on Window.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Sunday, 29 January 2012 01:16:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC