[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

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