-
ggaren authored
- Merged test-prototypes.html into global-constructors.html - Added prototypes.html, which tests for some missing prototypes in DOM objects * fast/dom/global-constructors-expected.txt: * fast/dom/global-constructors.html: * fast/dom/prototypes-expected.txt: Added. * fast/dom/prototypes.html: Added. * fast/dom/test-prototypes-expected.txt: Removed. * fast/dom/test-prototypes.html: Removed. * fast/dom/undetectable-document-all-expected.txt: Updated to reflect change from "HTMLCollection" to "Collection" WebCore: Reviewed by Darin. - http://bugzilla.opendarwin.org/show_bug.cgi?id=9310 Add missing DOM prototypes and other DOM cleanup - Added the built-in object prototype to DOM objects that were missing it so that primitive operations like == work on them. - Removed dead EventConstructor class (it's autogenerated now) - Changed HTML collections to describe themselves as "[object Collection]", to match IE. - Made DOMCSSRule constructor private because JSCSSRule is the class to use. * bindings/js/JSHTMLOptionElementConstructor.cpp: (WebCore::JSHTMLOptionElementConstructor::JSHTMLOptionElementConstructor): * bindings/js/kjs_css.cpp: (KJS::DOMStyleSheet::DOMStyleSheet): (KJS::DOMStyleSheetList::DOMStyleSheetList): (KJS::DOMCSSRule::DOMCSSRule): (KJS::DOMCSSValue::DOMCSSValue): (KJS::toJS): (KJS::DOMRGBColor::DOMRGBColor): (KJS::getDOMRGBColor): (KJS::DOMRect::DOMRect): * bindings/js/kjs_css.h: * bindings/js/kjs_dom.cpp: (KJS::DOMNodeList::DOMNodeList): (KJS::DOMExceptionConstructor::DOMExceptionConstructor): (KJS::DOMExceptionConstructor::getOwnPropertySlot): (KJS::): (KJS::DOMNamedNodesCollection::DOMNamedNodesCollection): * bindings/js/kjs_dom.h: (KJS::DOMNamedNodesCollection::classInfo): * bindings/js/kjs_events.h: * bindings/js/kjs_html.cpp: (KJS::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
27b705a1