[Webkit-unassigned] [Bug 13626] New: A weird error message when trying to invoke "new Element"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 8 10:34:12 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13626

           Summary: A weird error message when trying to invoke "new
                    Element"
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: javascript:new Element
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P4
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


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'.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list