W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2010

[Bug 10267] What happens if you delete an attribute? For the following test case, Chrome outputs "string undefined", while Firefox and Opera give "string string": data:text/html,<!doctype html><script>var el = document.createElement("a"); var type = typeof el.id; de

From: <bugzilla@jessica.w3.org>
Date: Fri, 30 Jul 2010 00:04:18 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Oed5G-00052z-S0@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10267


Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Simetrical+w3cbug@gmail.com




--- Comment #1 from Aryeh Gregor <Simetrical+w3cbug@gmail.com>  2010-07-30 00:04:18 ---
With manual newlines/spaces so it works reliably:

data:text/html,<!doctype html>
 <script>
 var el = document.createElement("a");
 var type = typeof el.id;
 delete el.id;
 alert(type + " " + typeof el.id);
 </script>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 30 July 2010 00:04:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC