Changeset 60067 in webkit
- Timestamp:
- May 24, 2010 3:17:20 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r60065 r60067 1 2010-05-21 Jeremy Orlow <jorlow@chromium.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 Add DOMStringList idl, needed for IndexedDB and for HTML5 drag & drop 6 https://bugs.webkit.org/show_bug.cgi?id=39429 7 8 Added new constructor for DOMStringsList, so updating the existing 9 expected results. 10 11 * fast/dom/Window/window-properties-expected.txt: 12 * fast/dom/Window/window-property-descriptors-expected.txt: 13 * fast/dom/prototype-inheritance-2-expected.txt: 14 * fast/dom/prototype-inheritance-expected.txt: 15 * fast/js/global-constructors-expected.txt: 16 1 17 2010-05-24 Shinichiro Hamaji <hamaji@chromium.org> 2 18 -
trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt
r59010 r60067 546 546 window.DOMParser.prototype [object DOMParserPrototype] 547 547 window.DOMParser.prototype.parseFromString [function] 548 window.DOMStringList [object DOMStringListConstructor] 549 window.DOMStringList.prototype [object DOMStringListPrototype] 550 window.DOMStringList.prototype.item [function] 548 551 window.Document [object DocumentConstructor] 549 552 window.Document.prototype [object DocumentPrototype] -
trunk/LayoutTests/fast/dom/Window/window-property-descriptors-expected.txt
r59010 r60067 36 36 PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMImplementation') is 'object' 37 37 PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMParser') is 'object' 38 PASS typeof Object.getOwnPropertyDescriptor(window, 'DOMStringList') is 'object' 38 39 PASS typeof Object.getOwnPropertyDescriptor(window, 'Date') is 'object' 39 40 PASS typeof Object.getOwnPropertyDescriptor(window, 'Document') is 'object' -
trunk/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt
r59010 r60067 216 216 Never found Clipboard 217 217 Never found DOMParser 218 Never found DOMStringList 218 219 Never found Document 219 220 Never found DocumentFragment -
trunk/LayoutTests/fast/dom/prototype-inheritance-expected.txt
r59941 r60067 64 64 PASS inner.DOMParser.isInner is true 65 65 PASS inner.DOMParser.constructor.isInner is true 66 PASS inner.DOMStringList.isInner is true 67 PASS inner.DOMStringList.constructor.isInner is true 66 68 PASS inner.Document.isInner is true 67 69 PASS inner.Document.constructor.isInner is true -
trunk/LayoutTests/fast/js/global-constructors-expected.txt
r59010 r60067 34 34 PASS DOMImplementation.toString() is '[object DOMImplementationConstructor]' 35 35 PASS DOMParser.toString() is '[object DOMParserConstructor]' 36 PASS DOMStringList.toString() is '[object DOMStringListConstructor]' 36 37 PASS Document.toString() is '[object DocumentConstructor]' 37 38 PASS DocumentFragment.toString() is '[object DocumentFragmentConstructor]' -
trunk/WebCore/Android.derived.jscbindings.mk
r59847 r60067 104 104 $(intermediates)/dom/JSDOMCoreException.h \ 105 105 $(intermediates)/dom/JSDOMImplementation.h \ 106 $(intermediates)/dom/JSDOMStringList.h \ 106 107 $(intermediates)/dom/JSDeviceOrientationEvent.h \ 107 108 $(intermediates)/dom/JSDocument.h \ -
trunk/WebCore/Android.derived.v8bindings.mk
r59847 r60067 86 86 $(intermediates)/bindings/V8DOMCoreException.h \ 87 87 $(intermediates)/bindings/V8DOMImplementation.h \ 88 $(intermediates)/bindings/V8DOMStringList.h \ 88 89 $(intermediates)/bindings/V8DeviceOrientationEvent.h \ 89 90 $(intermediates)/bindings/V8Document.h \ -
trunk/WebCore/Android.mk
r60056 r60067 113 113 dom/ContainerNode.cpp \ 114 114 dom/DOMImplementation.cpp \ 115 dom/DOMStringList.cpp \ 115 116 dom/Document.cpp \ 116 117 dom/DocumentFragment.cpp \ -
trunk/WebCore/CMakeLists.txt
r60056 r60067 140 140 dom/DOMCoreException.idl 141 141 dom/DOMImplementation.idl 142 dom/DOMStringList.idl 142 143 dom/DeviceOrientationEvent.idl 143 144 dom/Document.idl … … 761 762 dom/CustomEvent.cpp 762 763 dom/DOMImplementation.cpp 764 <<<<<<< HEAD 763 765 dom/DeviceOrientation.cpp 764 766 dom/DeviceOrientationEvent.cpp 767 ======= 768 dom/DOMStringList.cpp 769 >>>>>>> x 765 770 dom/Document.cpp 766 771 dom/DocumentFragment.cpp -
trunk/WebCore/ChangeLog
r60063 r60067 1 2010-05-20 Jeremy Orlow <jorlow@chromium.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 Add DOMStringList idl, needed for IndexedDB and for HTML5 drag & drop 6 https://bugs.webkit.org/show_bug.cgi?id=39429 7 8 IndexedDB depends on DOMStringList. 9 http://dev.w3.org/2006/webapi/WebSimpleDB/#idl-def-IDBDatabase 10 It's currently specced here: 11 http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList 12 13 Existing tests cover the constructor. IndexedDB will also use this 14 soon (and thus add test coverage). 15 16 * Android.mk: 17 * Android.derived.jscbindings.mk: 18 * Android.derived.v8bindings.mk: 19 * CMakeLists.txt: 20 * DerivedSources.cpp: 21 * DerivedSources.make: 22 * GNUmakefile.am: 23 * WebCore.gypi: 24 * WebCore.pri: 25 * WebCore.pro: 26 * WebCore.vcproj/WebCore.vcproj: 27 * WebCore.xcodeproj/project.pbxproj: 28 * bindings/scripts/CodeGeneratorJS.pm: 29 * dom/DOMStringList.h: Added. 30 (WebCore::DOMStringList::create): 31 (WebCore::DOMStringList::length): 32 (WebCore::DOMStringList::item): 33 (WebCore::DOMStringList::isEmpty): 34 (WebCore::DOMStringList::clear): 35 (WebCore::DOMStringList::append): 36 (WebCore::DOMStringList::DOMStringList): 37 * dom/DOMStringList.idl: Added. 38 * page/DOMWIndow.idl: Re-enabled constructor 39 1 40 2010-05-23 Shinichiro Hamaji <hamaji@chromium.org> 2 41 -
trunk/WebCore/DerivedSources.cpp
r59847 r60067 80 80 #include "JSDOMParser.cpp" 81 81 #include "JSDOMSelection.cpp" 82 #include "JSDOMStringList.cpp" 82 83 #include "JSDOMWindow.cpp" 83 84 #include "JSElement.cpp" -
trunk/WebCore/DerivedSources.make
r59847 r60067 114 114 DOMParser \ 115 115 DOMSelection \ 116 DOMStringList \ 116 117 DOMWindow \ 117 118 Database \ -
trunk/WebCore/GNUmakefile.am
r60063 r60067 140 140 WebCore/dom/DOMCoreException.idl \ 141 141 WebCore/dom/DOMImplementation.idl \ 142 WebCore/dom/DOMStringList.idl \ 142 143 WebCore/dom/DeviceOrientationEvent.idl \ 143 144 WebCore/dom/Document.idl \ … … 771 772 WebCore/dom/DOMImplementation.cpp \ 772 773 WebCore/dom/DOMImplementation.h \ 774 WebCore/dom/DOMStringList.cpp \ 775 WebCore/dom/DOMStringList.h \ 773 776 WebCore/dom/DeviceOrientation.cpp \ 774 777 WebCore/dom/DeviceOrientation.h \ … … 3910 3913 WebCore/dom/DocumentType.idl \ 3911 3914 WebCore/dom/DOMImplementation.idl \ 3915 WebCore/dom/DOMStringList.idl \ 3912 3916 WebCore/dom/Element.idl \ 3913 3917 WebCore/dom/EntityReference.idl \ -
trunk/WebCore/WebCore.gypi
r60063 r60067 41 41 'dom/DOMCoreException.idl', 42 42 'dom/DOMImplementation.idl', 43 'dom/DOMStringList.idl', 43 44 'dom/DeviceOrientationEvent.idl', 44 45 'dom/Document.idl', … … 1103 1104 'dom/DOMImplementation.cpp', 1104 1105 'dom/DOMImplementation.h', 1106 'dom/DOMStringList.cpp', 1107 'dom/DOMStringList.h', 1105 1108 'dom/DeviceOrientation.cpp', 1106 1109 'dom/DeviceOrientation.h', -
trunk/WebCore/WebCore.pri
r59847 r60067 267 267 dom/DOMCoreException.idl \ 268 268 dom/DOMImplementation.idl \ 269 dom/DOMStringList.idl \ 269 270 dom/Element.idl \ 270 271 dom/Entity.idl \ -
trunk/WebCore/WebCore.pro
r60063 r60067 471 471 dom/DocumentType.cpp \ 472 472 dom/DOMImplementation.cpp \ 473 dom/DOMStringList.cpp \ 473 474 dom/DynamicNodeList.cpp \ 474 475 dom/EditingText.cpp \ … … 1200 1201 dom/DocumentType.h \ 1201 1202 dom/DOMImplementation.h \ 1203 dom/DOMStringList.h \ 1202 1204 dom/DynamicNodeList.h \ 1203 1205 dom/EditingText.h \ -
trunk/WebCore/WebCore.vcproj/WebCore.vcproj
r60063 r60067 3298 3298 </File> 3299 3299 <File 3300 RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringList.cpp" 3301 > 3302 <FileConfiguration 3303 Name="Debug|Win32" 3304 ExcludedFromBuild="true" 3305 > 3306 <Tool 3307 Name="VCCLCompilerTool" 3308 /> 3309 </FileConfiguration> 3310 <FileConfiguration 3311 Name="Release|Win32" 3312 ExcludedFromBuild="true" 3313 > 3314 <Tool 3315 Name="VCCLCompilerTool" 3316 /> 3317 </FileConfiguration> 3318 <FileConfiguration 3319 Name="Debug_Internal|Win32" 3320 ExcludedFromBuild="true" 3321 > 3322 <Tool 3323 Name="VCCLCompilerTool" 3324 /> 3325 </FileConfiguration> 3326 <FileConfiguration 3327 Name="Debug_Cairo|Win32" 3328 ExcludedFromBuild="true" 3329 > 3330 <Tool 3331 Name="VCCLCompilerTool" 3332 /> 3333 </FileConfiguration> 3334 <FileConfiguration 3335 Name="Release_Cairo|Win32" 3336 ExcludedFromBuild="true" 3337 > 3338 <Tool 3339 Name="VCCLCompilerTool" 3340 /> 3341 </FileConfiguration> 3342 <FileConfiguration 3343 Name="Debug_All|Win32" 3344 ExcludedFromBuild="true" 3345 > 3346 <Tool 3347 Name="VCCLCompilerTool" 3348 /> 3349 </FileConfiguration> 3350 </File> 3351 <File 3352 RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringList.h" 3353 > 3354 </File> 3355 <File 3300 3356 RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMWindow.cpp" 3301 3357 > … … 29562 29618 </File> 29563 29619 <File 29620 RelativePath="..\dom\DOMStringList.cpp" 29621 > 29622 </File> 29623 <File 29624 RelativePath="..\dom\DOMStringList.h" 29625 > 29626 </File> 29627 <File 29564 29628 RelativePath="..\dom\DynamicNodeList.cpp" 29565 29629 > -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r60063 r60067 4774 4774 C5102ECF0FD9EF8C00FAFF04 /* StorageAreaSync.h in Headers */ = {isa = PBXBuildFile; fileRef = C5102ECD0FD9EF8C00FAFF04 /* StorageAreaSync.h */; }; 4775 4775 C5102ED00FD9EF8C00FAFF04 /* StorageAreaSync.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C5102ECE0FD9EF8C00FAFF04 /* StorageAreaSync.cpp */; }; 4776 C5137CF211A58378004ADB99 /* JSDOMStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C5137CF011A58378004ADB99 /* JSDOMStringList.cpp */; }; 4777 C5137CF311A58378004ADB99 /* JSDOMStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = C5137CF111A58378004ADB99 /* JSDOMStringList.h */; }; 4776 4778 C5160EEA1004543A00A7CEE2 /* StorageAreaImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C5160EE81004543A00A7CEE2 /* StorageAreaImpl.cpp */; }; 4777 4779 C5160EEB1004543A00A7CEE2 /* StorageAreaImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = C5160EE91004543A00A7CEE2 /* StorageAreaImpl.h */; }; … … 4791 4793 C5198F5D1192ECFD002B74A6 /* IndexedDatabaseRequest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C5198F491192ECFD002B74A6 /* IndexedDatabaseRequest.cpp */; }; 4792 4794 C5198F5E1192ECFD002B74A6 /* IndexedDatabaseRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = C5198F4A1192ECFD002B74A6 /* IndexedDatabaseRequest.h */; }; 4795 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = C544274911A57E7A0063A749 /* DOMStringList.h */; }; 4796 C55610F111A704EB00B82D27 /* DOMStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C55610F011A704EB00B82D27 /* DOMStringList.cpp */; }; 4793 4797 C55E38BF10040D5D00A56BDB /* StorageNamespaceImpl.h in Headers */ = {isa = PBXBuildFile; fileRef = C55E38BB10040D5D00A56BDB /* StorageNamespaceImpl.h */; }; 4794 4798 C55E38C010040D5D00A56BDB /* StorageNamespaceImpl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C55E38BC10040D5D00A56BDB /* StorageNamespaceImpl.cpp */; }; … … 10274 10278 C5102ECD0FD9EF8C00FAFF04 /* StorageAreaSync.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageAreaSync.h; sourceTree = "<group>"; }; 10275 10279 C5102ECE0FD9EF8C00FAFF04 /* StorageAreaSync.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StorageAreaSync.cpp; sourceTree = "<group>"; }; 10280 C5137CF011A58378004ADB99 /* JSDOMStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMStringList.cpp; sourceTree = "<group>"; }; 10281 C5137CF111A58378004ADB99 /* JSDOMStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMStringList.h; sourceTree = "<group>"; }; 10276 10282 C5160EE81004543A00A7CEE2 /* StorageAreaImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StorageAreaImpl.cpp; sourceTree = "<group>"; }; 10277 10283 C5160EE91004543A00A7CEE2 /* StorageAreaImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageAreaImpl.h; sourceTree = "<group>"; }; … … 10296 10302 C5198F4A1192ECFD002B74A6 /* IndexedDatabaseRequest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IndexedDatabaseRequest.h; sourceTree = "<group>"; }; 10297 10303 C5198F4B1192ECFD002B74A6 /* IndexedDatabaseRequest.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = IndexedDatabaseRequest.idl; sourceTree = "<group>"; }; 10304 C544274911A57E7A0063A749 /* DOMStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMStringList.h; sourceTree = "<group>"; }; 10305 C544274A11A57E7A0063A749 /* DOMStringList.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMStringList.idl; sourceTree = "<group>"; }; 10306 C55610F011A704EB00B82D27 /* DOMStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMStringList.cpp; sourceTree = "<group>"; }; 10298 10307 C55E38BB10040D5D00A56BDB /* StorageNamespaceImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StorageNamespaceImpl.h; sourceTree = "<group>"; }; 10299 10308 C55E38BC10040D5D00A56BDB /* StorageNamespaceImpl.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StorageNamespaceImpl.cpp; sourceTree = "<group>"; }; … … 14260 14269 65DF31E309D1CC60000BE325 /* JSDOMImplementation.cpp */, 14261 14270 65DF31E409D1CC60000BE325 /* JSDOMImplementation.h */, 14271 C5137CF011A58378004ADB99 /* JSDOMStringList.cpp */, 14272 C5137CF111A58378004ADB99 /* JSDOMStringList.h */, 14262 14273 65DF31E509D1CC60000BE325 /* JSElement.cpp */, 14263 14274 65DF31E609D1CC60000BE325 /* JSElement.h */, … … 16519 16530 A8185F3309765765005826D9 /* DOMImplementation.h */, 16520 16531 93EEC1E909C2877700C515D1 /* DOMImplementation.idl */, 16532 C55610F011A704EB00B82D27 /* DOMStringList.cpp */, 16533 C544274911A57E7A0063A749 /* DOMStringList.h */, 16534 C544274A11A57E7A0063A749 /* DOMStringList.idl */, 16521 16535 BC7FA61E0D1F0CBD00DB22A9 /* DynamicNodeList.cpp */, 16522 16536 BC7FA61F0D1F0CBD00DB22A9 /* DynamicNodeList.h */, … … 19313 19327 A879C62611A9D1F70059237A /* HTML5TreeBuilder.h in Headers */, 19314 19328 B734B183119B991D006587BD /* FontTranscoder.h in Headers */, 19329 C544274B11A57E7A0063A749 /* DOMStringList.h in Headers */, 19330 C5137CF311A58378004ADB99 /* JSDOMStringList.h in Headers */, 19315 19331 ); 19316 19332 runOnlyForDeploymentPostprocessing = 0; … … 21600 21616 A879C62511A9D1F70059237A /* HTML5TreeBuilder.cpp in Sources */, 21601 21617 B734B181119B9911006587BD /* FontTranscoder.cpp in Sources */, 21618 C5137CF211A58378004ADB99 /* JSDOMStringList.cpp in Sources */, 21619 C55610F111A704EB00B82D27 /* DOMStringList.cpp in Sources */, 21602 21620 ); 21603 21621 runOnlyForDeploymentPostprocessing = 0; -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r59941 r60067 227 227 my $type = shift; 228 228 229 return 1 if $type eq "CSSStyleDeclaration" or $type eq "MediaList" or $type eq "CSSVariablesDeclaration" ;229 return 1 if $type eq "CSSStyleDeclaration" or $type eq "MediaList" or $type eq "CSSVariablesDeclaration" or $type eq "DOMStringList"; 230 230 return 0; 231 231 } -
trunk/WebCore/page/DOMWindow.idl
r59847 r60067 346 346 // FIXME: Implement the commented-out global constructors for interfaces listed in DOM Level 3 Core specification. 347 347 attribute DOMCoreExceptionConstructor DOMException; 348 //attribute DOMStringListConstructor DOMStringList;348 attribute DOMStringListConstructor DOMStringList; 349 349 // attribute NameListConstructor NameList; 350 350 // attribute DOMImplementationListConstructor DOMImplementationList;
Note: See TracChangeset
for help on using the changeset viewer.