RESOLVED CONFIGURATION CHANGED 13626
A weird error message when trying to invoke "new Element"
https://bugs.webkit.org/show_bug.cgi?id=13626
Summary A weird error message when trying to invoke "new Element"
Alexey Proskuryakov
Reported 2007-05-08 10:34:11 PDT
When executing the code in bug URL, the following message appears in JavaScript console: "TypeError: Value [object ElementConstructor] (result of expression Element) is not a constructor. Cannot be used with new." It seems confusing to say that ElementConstructor is not a constructor. Firefox says: 'Object cannot be created in this context" code: "9'.
Attachments
Alexey Proskuryakov
Comment 1 2008-10-02 07:36:28 PDT
Oliver, do you think this has any value?
Ahmad Saleem
Comment 2 2023-02-18 06:25:37 PST
Is this still applicable or we can close this?
Alexey Proskuryakov
Comment 3 2023-02-20 10:03:30 PST
The error in shipping Safari/WebKit is now "TypeError: Illegal constructor".
Note You need to log in before you can comment on or make changes to this bug.