HTMLIsIndexElement should not expose HTMLInputElement properties
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 19:33:22 +0000 (19:33 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2012 19:33:22 +0000 (19:33 +0000)
commita6364ce02e315a15478834fa37b9c4b1a21894c1
treefe20ce2d3fd4561e41f2e5f81eae22e8a2475654
parent6f6af20d97b3634ea6c5d39cd119d2a768ee7d11
HTMLIsIndexElement should not expose HTMLInputElement properties
https://bugs.webkit.org/show_bug.cgi?id=76095

Reviewed by Adam Barth.

Source/WebCore:

document.createElement("isindex") should produce an HTMLUnknownElement
per the HTML5 spec.  The parser automagically translates <isindex> into
a whole dom tree roughly representing what <isindex> used to do 15 years ago. :)

This patch just removes our support for HTMLIsIndexElement.  The parser
support was already in.  Having support for HTMLIsIndexElement was causing
one of the IE TestCenter tests to fail.

Test: fast/dom/HTMLIsIndexElement/prototype-chain.html

* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.order:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/gobject/GNUmakefile.am:
* bindings/gobject/WebKitHTMLElementWrapperFactory.cpp:
(WebKit::createHTMLElementWrapper):
* bindings/objc/DOM.mm:
(WebCore::createElementClassMap):
* bindings/objc/DOMHTML.h:
* bindings/objc/PublicDOMInterfaces.h:
* html/HTMLElementsAllInOne.cpp:
* html/HTMLIsIndexElement.cpp: Removed.
* html/HTMLIsIndexElement.h: Removed.
* html/HTMLIsIndexElement.idl: Removed.
* html/HTMLTagNames.in:
* page/DOMWindow.idl:

Source/WebKit/mac:

* MigrateHeaders.make:

LayoutTests:

* fast/dom/HTMLIsIndexElement/prototype-chain-expected.txt: Added.
* fast/dom/HTMLIsIndexElement/prototype-chain.html: Added.
* fast/dom/HTMLIsIndexElement/script-tests/prototype-chain.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
49 files changed:
LayoutTests/ChangeLog
LayoutTests/dom/xhtml/level2/html/HTMLIsIndexElement01-expected.txt
LayoutTests/dom/xhtml/level2/html/HTMLIsIndexElement02-expected.txt
LayoutTests/dom/xhtml/level2/html/HTMLIsIndexElement03-expected.txt
LayoutTests/fast/dom/HTMLIsIndexElement/prototype-chain-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/HTMLIsIndexElement/prototype-chain.html [new file with mode: 0644]
LayoutTests/fast/dom/HTMLIsIndexElement/script-tests/prototype-chain.js [new file with mode: 0644]
LayoutTests/fast/dom/Window/element-constructors-on-window-expected.txt
LayoutTests/fast/dom/Window/element-constructors-on-window.html
LayoutTests/fast/dom/Window/get-set-properties-expected.txt
LayoutTests/fast/dom/Window/resources/window-properties.js
LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt
LayoutTests/fast/dom/dom-constructors-expected.txt
LayoutTests/fast/dom/dom-constructors.html
LayoutTests/fast/dom/element-attribute-js-null-expected.txt
LayoutTests/fast/dom/element-attribute-js-null.html
LayoutTests/fast/dom/wrapper-classes-expected.txt
LayoutTests/fast/dom/wrapper-classes.html
LayoutTests/fast/forms/implicit-submission-expected.txt
LayoutTests/fast/forms/implicit-submission.html
LayoutTests/http/tests/security/cross-frame-access-put-expected.txt
LayoutTests/http/tests/security/cross-frame-access-put.html
LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt
LayoutTests/platform/mac/fast/dom/Window/window-property-descriptors-expected.txt
LayoutTests/platform/mac/fast/dom/wrapper-classes-objc-expected.txt
LayoutTests/platform/mac/fast/dom/wrapper-classes-objc.html
LayoutTests/platform/mac/fast/js/global-constructors-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.cpp
Source/WebCore/DerivedSources.make
Source/WebCore/GNUmakefile.list.am
Source/WebCore/Target.pri
Source/WebCore/WebCore.exp.in
Source/WebCore/WebCore.gypi
Source/WebCore/WebCore.vcproj/WebCore.vcproj
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/bindings/gobject/GNUmakefile.am
Source/WebCore/bindings/gobject/WebKitHTMLElementWrapperFactory.cpp
Source/WebCore/bindings/objc/DOM.mm
Source/WebCore/bindings/objc/DOMHTML.h
Source/WebCore/bindings/objc/PublicDOMInterfaces.h
Source/WebCore/html/HTMLElementsAllInOne.cpp
Source/WebCore/html/HTMLIsIndexElement.cpp [deleted file]
Source/WebCore/html/HTMLIsIndexElement.h [deleted file]
Source/WebCore/html/HTMLIsIndexElement.idl [deleted file]
Source/WebCore/html/HTMLTagNames.in
Source/WebCore/page/DOMWindow.idl
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/MigrateHeaders.make