Re: [webkit-dev] Constant readonly

2010-11-30 Thread Mario Bensi
Hi Darin, I understand. thanks for your help. Mario On lundi 22 novembre 2010 17:23:18 Darin Adler wrote: On Nov 22, 2010, at 2:41 AM, Mario Bensi wrote: I tested if the constant in idl was readonly, like that : var node = document.getElementById('console');

[webkit-dev] Constant readonly

2010-11-22 Thread Mario Bensi
Hi, I tested if the constant in idl was readonly, like that : var node = document.getElementById('console'); alert(node.ELEMENT_NODE); node.ELEMENT_NODE = 666; alert(node.ELEMENT_NODE); And it's strange, I can change ELEMENT_NODE value. I know it's stupid to do this but is it the correct

Re: [webkit-dev] Constant readonly

2010-11-22 Thread Darin Adler
On Nov 22, 2010, at 2:41 AM, Mario Bensi wrote: I tested if the constant in idl was readonly, like that : var node = document.getElementById('console'); alert(node.ELEMENT_NODE); node.ELEMENT_NODE = 666; alert(node.ELEMENT_NODE); And it's strange, I can change ELEMENT_NODE value. I