Changeset 44943 in webkit


Ignore:
Timestamp:
Jun 22, 2009 11:22:01 AM (15 years ago)
Author:
ap@webkit.org
Message:

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=26601
Remove disabled code for appcache dynamic entries

This also removes code for DOM 3 Core DOMStringList, which we don't use for anything else yet.

  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • WebCoreSources.bkl:
  • bindings/js/JSDOMStringListCustom.cpp: Removed.
  • bindings/v8/custom/V8CustomBinding.h:
  • bindings/v8/custom/V8DOMStringListCustom.cpp: Removed.
  • dom/DOMStringList.cpp: Removed.
  • dom/DOMStringList.h: Removed.
  • dom/DOMStringList.idl: Removed.
  • dom/StaticStringList.cpp: Removed.
  • dom/StaticStringList.h: Removed.
  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::shouldLoadResourceFromApplicationCache):
  • loader/appcache/ApplicationCache.cpp: (WebCore::ApplicationCache::addResource):
  • loader/appcache/ApplicationCache.h:
  • loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::didFinishLoadingManifest): (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
  • loader/appcache/ApplicationCacheResource.cpp: (WebCore::ApplicationCacheResource::dumpType):
  • loader/appcache/ApplicationCacheResource.h: (WebCore::ApplicationCacheResource::):
  • loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::storeUpdatedType):
  • loader/appcache/DOMApplicationCache.cpp:
  • loader/appcache/DOMApplicationCache.h:
  • loader/appcache/DOMApplicationCache.idl:
  • page/DOMWindow.idl:
Location:
trunk/WebCore
Files:
7 deleted
24 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r44942 r44943  
     12009-06-22  Alexey Proskuryakov  <ap@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=26601
     6        Remove disabled code for appcache dynamic entries
     7
     8        This also removes code for DOM 3 Core DOMStringList, which we don't use for anything else yet.
     9
     10        * DerivedSources.cpp:
     11        * DerivedSources.make:
     12        * GNUmakefile.am:
     13        * WebCore.pro:
     14        * WebCore.vcproj/WebCore.vcproj:
     15        * WebCore.xcodeproj/project.pbxproj:
     16        * WebCoreSources.bkl:
     17        * bindings/js/JSDOMStringListCustom.cpp: Removed.
     18        * bindings/v8/custom/V8CustomBinding.h:
     19        * bindings/v8/custom/V8DOMStringListCustom.cpp: Removed.
     20        * dom/DOMStringList.cpp: Removed.
     21        * dom/DOMStringList.h: Removed.
     22        * dom/DOMStringList.idl: Removed.
     23        * dom/StaticStringList.cpp: Removed.
     24        * dom/StaticStringList.h: Removed.
     25        * loader/DocumentLoader.cpp:
     26        (WebCore::DocumentLoader::shouldLoadResourceFromApplicationCache):
     27        * loader/appcache/ApplicationCache.cpp:
     28        (WebCore::ApplicationCache::addResource):
     29        * loader/appcache/ApplicationCache.h:
     30        * loader/appcache/ApplicationCacheGroup.cpp:
     31        (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
     32        (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
     33        * loader/appcache/ApplicationCacheResource.cpp:
     34        (WebCore::ApplicationCacheResource::dumpType):
     35        * loader/appcache/ApplicationCacheResource.h:
     36        (WebCore::ApplicationCacheResource::):
     37        * loader/appcache/ApplicationCacheStorage.cpp:
     38        (WebCore::ApplicationCacheStorage::storeUpdatedType):
     39        * loader/appcache/DOMApplicationCache.cpp:
     40        * loader/appcache/DOMApplicationCache.h:
     41        * loader/appcache/DOMApplicationCache.idl:
     42        * page/DOMWindow.idl:
     43
    1442009-06-22  Steve Falkenburg  <sfalken@apple.com>
    245
     
    1558        WebKit uses a per-frame input context for most editable fields, and application's global
    1659        context for password fields, manually controlling secure input state and the list of available
    17         input methods.
     60        input sources.
    1861
    1962        We were setting TSMDocument property to disable non-Roman input methods after focus changed
  • trunk/WebCore/DerivedSources.cpp

    r44942 r44943  
    6363#include "JSDOMParser.cpp"
    6464#include "JSDOMSelection.cpp"
    65 #include "JSDOMStringList.cpp"
    6665#include "JSDOMWindow.cpp"
    6766#include "JSElement.cpp"
  • trunk/WebCore/DerivedSources.make

    r44937 r44943  
    8181    DOMParser \
    8282    DOMSelection \
    83     DOMStringList \
    8483    DOMWindow \
    8584    Database \
  • trunk/WebCore/GNUmakefile.am

    r44937 r44943  
    119119        WebCore/dom/DOMCoreException.idl \
    120120        WebCore/dom/DOMImplementation.idl \
    121         WebCore/dom/DOMStringList.idl \
    122121        WebCore/dom/Document.idl \
    123122        WebCore/dom/DocumentFragment.idl \
     
    316315        WebCore/bindings/js/JSDOMGlobalObject.cpp \
    317316        WebCore/bindings/js/JSDOMGlobalObject.h \
    318         WebCore/bindings/js/JSDOMStringListCustom.cpp \
    319317        WebCore/bindings/js/JSDOMWindowBase.cpp \
    320318        WebCore/bindings/js/JSDOMWindowBase.h \
     
    635633        WebCore/dom/DOMImplementation.cpp \
    636634        WebCore/dom/DOMImplementation.h \
    637         WebCore/dom/DOMStringList.cpp \
    638         WebCore/dom/DOMStringList.h \
    639635        WebCore/dom/DocPtr.h \
    640636        WebCore/dom/Document.cpp \
     
    742738        WebCore/dom/StaticNodeList.cpp \
    743739        WebCore/dom/StaticNodeList.h \
    744         WebCore/dom/StaticStringList.cpp \
    745         WebCore/dom/StaticStringList.h \
    746740        WebCore/dom/StyleElement.cpp \
    747741        WebCore/dom/StyleElement.h \
  • trunk/WebCore/WebCore.pro

    r44937 r44943  
    297297    dom/DOMCoreException.idl \
    298298    dom/DOMImplementation.idl \
    299     dom/DOMStringList.idl \
    300299    dom/Element.idl \
    301300    dom/Entity.idl \
     
    464463    bindings/js/JSDocumentFragmentCustom.cpp \
    465464    bindings/js/JSDOMGlobalObject.cpp \
    466     bindings/js/JSDOMStringListCustom.cpp \
    467465    bindings/js/JSDOMWindowBase.cpp \
    468466    bindings/js/JSDOMWindowCustom.cpp \
     
    626624    dom/DocumentType.cpp \
    627625    dom/DOMImplementation.cpp \
    628     dom/DOMStringList.cpp \
    629626    dom/DynamicNodeList.cpp \
    630627    dom/EditingText.cpp \
     
    670667    dom/SelectorNodeList.cpp \
    671668    dom/StaticNodeList.cpp \
    672     dom/StaticStringList.cpp \
    673669    dom/StyledElement.cpp \
    674670    dom/StyleElement.cpp \
  • trunk/WebCore/WebCore.vcproj/WebCore.vcproj

    r44937 r44943  
    22402240                        <File
    22412241                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMSelection.h"
    2242                                 >
    2243                         </File>
    2244                         <File
    2245                                 RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringList.cpp"
    2246                                 >
    2247                                 <FileConfiguration
    2248                                         Name="Debug|Win32"
    2249                                         ExcludedFromBuild="true"
    2250                                         >
    2251                                         <Tool
    2252                                                 Name="VCCLCompilerTool"
    2253                                         />
    2254                                 </FileConfiguration>
    2255                                 <FileConfiguration
    2256                                         Name="Release|Win32"
    2257                                         ExcludedFromBuild="true"
    2258                                         >
    2259                                         <Tool
    2260                                                 Name="VCCLCompilerTool"
    2261                                         />
    2262                                 </FileConfiguration>
    2263                                 <FileConfiguration
    2264                                         Name="Debug_Internal|Win32"
    2265                                         ExcludedFromBuild="true"
    2266                                         >
    2267                                         <Tool
    2268                                                 Name="VCCLCompilerTool"
    2269                                         />
    2270                                 </FileConfiguration>
    2271                                 <FileConfiguration
    2272                                         Name="Debug_Cairo|Win32"
    2273                                         ExcludedFromBuild="true"
    2274                                         >
    2275                                         <Tool
    2276                                                 Name="VCCLCompilerTool"
    2277                                         />
    2278                                 </FileConfiguration>
    2279                                 <FileConfiguration
    2280                                         Name="Release_Cairo|Win32"
    2281                                         ExcludedFromBuild="true"
    2282                                         >
    2283                                         <Tool
    2284                                                 Name="VCCLCompilerTool"
    2285                                         />
    2286                                 </FileConfiguration>
    2287                         </File>
    2288                         <File
    2289                                 RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSDOMStringList.h"
    22902242                                >
    22912243                        </File>
     
    2316423116                        </File>
    2316523117                        <File
    23166                                 RelativePath="..\dom\DOMStringList.cpp"
    23167                                 >
    23168                         </File>
    23169                         <File
    23170                                 RelativePath="..\dom\DOMStringList.h"
    23171                                 >
    23172                         </File>
    23173                         <File
    2317423118                                RelativePath="..\dom\DynamicNodeList.cpp"
    2317523119                                >
     
    2354523489                        <File
    2354623490                                RelativePath="..\dom\StaticNodeList.h"
    23547                                 >
    23548                         </File>
    23549                         <File
    23550                                 RelativePath="..\dom\StaticStringList.cpp"
    23551                                 >
    23552                         </File>
    23553                         <File
    23554                                 RelativePath="..\dom\StaticStringList.h"
    2355523491                                >
    2355623492                        </File>
     
    2792827864                                <File
    2792927865                                        RelativePath="..\bindings\js\JSDOMGlobalObject.h"
    27930                                         >
    27931                                 </File>
    27932                                 <File
    27933                                         RelativePath="..\bindings\js\JSDOMStringListCustom.cpp"
    2793427866                                        >
    2793527867                                </File>
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r44937 r44943  
    43104310                E10B9CCC0B747A44003ED890 /* DOMCustomXPathNSResolver.h in Headers */ = {isa = PBXBuildFile; fileRef = E10B9CCA0B747A44003ED890 /* DOMCustomXPathNSResolver.h */; };
    43114311                E10B9CCD0B747A44003ED890 /* DOMCustomXPathNSResolver.mm in Sources */ = {isa = PBXBuildFile; fileRef = E10B9CCB0B747A44003ED890 /* DOMCustomXPathNSResolver.mm */; };
    4312                 E10BB3780F14B62200560E13 /* DOMStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = E10BB3770F14B62200560E13 /* DOMStringList.h */; };
    4313                 E10BB37B0F14B64100560E13 /* DOMStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E10BB37A0F14B64100560E13 /* DOMStringList.cpp */; };
    4314                 E10BB3860F14B95000560E13 /* JSDOMStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = E10BB3840F14B95000560E13 /* JSDOMStringList.h */; };
    4315                 E10BB3870F14B95000560E13 /* JSDOMStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E10BB3850F14B95000560E13 /* JSDOMStringList.cpp */; };
    43164312                E11C9D9B0EB3681200E409DB /* ScriptExecutionContext.h in Headers */ = {isa = PBXBuildFile; fileRef = E11C9D9A0EB3681200E409DB /* ScriptExecutionContext.h */; settings = {ATTRIBUTES = (Private, ); }; };
    43174313                E11C9DB00EB3699500E409DB /* ScriptExecutionContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E11C9DAF0EB3699500E409DB /* ScriptExecutionContext.cpp */; };
     
    43264322                E17A4A1B0D97991D00FC10C6 /* DOMSVGAltGlyphElement.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 65AA6BAC0D974A00000541AE /* DOMSVGAltGlyphElement.h */; };
    43274323                E17A4A1C0D97991D00FC10C6 /* DOMSVGAltGlyphElementInternal.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 65AA6BAE0D974A00000541AE /* DOMSVGAltGlyphElementInternal.h */; };
    4328                 E181B2570F14C1A600FB7847 /* JSDOMStringListCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E181B2560F14C1A600FB7847 /* JSDOMStringListCustom.cpp */; };
    4329                 E181B3510F15008A00FB7847 /* StaticStringList.h in Headers */ = {isa = PBXBuildFile; fileRef = E181B3500F15008A00FB7847 /* StaticStringList.h */; };
    4330                 E181B3560F1500D700FB7847 /* StaticStringList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E181B3550F1500D700FB7847 /* StaticStringList.cpp */; };
    43314324                E182568F0EF2B02D00933242 /* JSWorkerContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E182568D0EF2B02D00933242 /* JSWorkerContext.cpp */; };
    43324325                E18256900EF2B02D00933242 /* JSWorkerContext.h in Headers */ = {isa = PBXBuildFile; fileRef = E182568E0EF2B02D00933242 /* JSWorkerContext.h */; };
     
    91289121                E10B9CCA0B747A44003ED890 /* DOMCustomXPathNSResolver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMCustomXPathNSResolver.h; sourceTree = "<group>"; };
    91299122                E10B9CCB0B747A44003ED890 /* DOMCustomXPathNSResolver.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMCustomXPathNSResolver.mm; sourceTree = "<group>"; };
    9130                 E10BB3730F14B58500560E13 /* DOMStringList.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMStringList.idl; sourceTree = "<group>"; };
    9131                 E10BB3770F14B62200560E13 /* DOMStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMStringList.h; sourceTree = "<group>"; };
    9132                 E10BB37A0F14B64100560E13 /* DOMStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DOMStringList.cpp; sourceTree = "<group>"; };
    9133                 E10BB3840F14B95000560E13 /* JSDOMStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMStringList.h; sourceTree = "<group>"; };
    9134                 E10BB3850F14B95000560E13 /* JSDOMStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMStringList.cpp; sourceTree = "<group>"; };
    91359123                E11C9D9A0EB3681200E409DB /* ScriptExecutionContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptExecutionContext.h; sourceTree = "<group>"; };
    91369124                E11C9DAF0EB3699500E409DB /* ScriptExecutionContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptExecutionContext.cpp; sourceTree = "<group>"; };
     
    91449132                E12EDB7A0B308A78002704B6 /* EventTarget.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventTarget.h; sourceTree = "<group>"; };
    91459133                E12EDBE90B308E0B002704B6 /* EventTarget.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = EventTarget.cpp; sourceTree = "<group>"; };
    9146                 E181B2560F14C1A600FB7847 /* JSDOMStringListCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMStringListCustom.cpp; sourceTree = "<group>"; };
    9147                 E181B3500F15008A00FB7847 /* StaticStringList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StaticStringList.h; sourceTree = "<group>"; };
    9148                 E181B3550F1500D700FB7847 /* StaticStringList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = StaticStringList.cpp; sourceTree = "<group>"; };
    91499134                E182568D0EF2B02D00933242 /* JSWorkerContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSWorkerContext.cpp; sourceTree = "<group>"; };
    91509135                E182568E0EF2B02D00933242 /* JSWorkerContext.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSWorkerContext.h; sourceTree = "<group>"; };
     
    1242112406                                65DF31E309D1CC60000BE325 /* JSDOMImplementation.cpp */,
    1242212407                                65DF31E409D1CC60000BE325 /* JSDOMImplementation.h */,
    12423                                 E10BB3850F14B95000560E13 /* JSDOMStringList.cpp */,
    12424                                 E10BB3840F14B95000560E13 /* JSDOMStringList.h */,
    1242512408                                659DDC8009E198BA001BF3C6 /* JSDocument.cpp */,
    1242612409                                659DDC8109E198BA001BF3C6 /* JSDocument.h */,
     
    1349413477                                1A3417C70CECFF250049CBDE /* JSCustomVoidCallback.h */,
    1349513478                                1AC226160DB69F740089B669 /* JSDOMApplicationCacheCustom.cpp */,
    13496                                 E181B2560F14C1A600FB7847 /* JSDOMStringListCustom.cpp */,
    1349713479                                BCD9C25E0C17AA67005C90A2 /* JSDOMWindowCustom.cpp */,
    1349813480                                652FBBBB0DE27CB60001D386 /* JSDOMWindowCustom.h */,
     
    1442614408                                A8185F3309765765005826D9 /* DOMImplementation.h */,
    1442714409                                93EEC1E909C2877700C515D1 /* DOMImplementation.idl */,
    14428                                 E10BB37A0F14B64100560E13 /* DOMStringList.cpp */,
    14429                                 E10BB3770F14B62200560E13 /* DOMStringList.h */,
    14430                                 E10BB3730F14B58500560E13 /* DOMStringList.idl */,
    1443114410                                93EEC1E709C2877700C515D1 /* DocPtr.h */,
    1443214411                                A8185F3409765765005826D9 /* Document.cpp */,
     
    1455914538                                BC7FA62C0D1F0EFF00DB22A9 /* StaticNodeList.cpp */,
    1456014539                                BC7FA62B0D1F0EFF00DB22A9 /* StaticNodeList.h */,
    14561                                 E181B3550F1500D700FB7847 /* StaticStringList.cpp */,
    14562                                 E181B3500F15008A00FB7847 /* StaticStringList.h */,
    1456314540                                AA4C3A740B2B1679002334A2 /* StyleElement.cpp */,
    1456414541                                AA4C3A750B2B1679002334A2 /* StyleElement.h */,
     
    1546415441                                A8E544C40CA9D1C20097D09B /* DOMSVGZoomEventInternal.h in Headers */,
    1546515442                                BC5A86850C33676000EEA649 /* DOMSelection.h in Headers */,
    15466                                 E10BB3780F14B62200560E13 /* DOMStringList.h in Headers */,
    15467                                 E10BB3780F14B62200560E13 /* DOMStringList.h in Headers */,
    1546815443                                850657000AAB4763002D15C0 /* DOMStyleSheet.h in Headers */,
    1546915444                                85B498FF0ADB348100925CBB /* DOMStyleSheetInternal.h in Headers */,
     
    1580015775                                1ACE53E00A8D18810022947D /* JSDOMParser.h in Headers */,
    1580115776                                BC5A86B60C3367E800EEA649 /* JSDOMSelection.h in Headers */,
    15802                                 E10BB3860F14B95000560E13 /* JSDOMStringList.h in Headers */,
    15803                                 E10BB3860F14B95000560E13 /* JSDOMStringList.h in Headers */,
    1580415777                                BC6932740D7E293900AE44D1 /* JSDOMWindowBase.h in Headers */,
    1580515778                                652FBBBC0DE27CB60001D386 /* JSDOMWindowCustom.h in Headers */,
     
    1658916562                                9352071909BD3BA500F2038D /* StaticConstructors.h in Headers */,
    1659016563                                BC7FA62D0D1F0EFF00DB22A9 /* StaticNodeList.h in Headers */,
    16591                                 E181B3510F15008A00FB7847 /* StaticStringList.h in Headers */,
    16592                                 E181B3510F15008A00FB7847 /* StaticStringList.h in Headers */,
    1659316564                                51BE37E00DAEE00E001085FC /* StorageArea.h in Headers */,
    1659416565                                51E0BABB0DA5547100A9E417 /* StorageEvent.h in Headers */,
     
    1751117482                                859D62C60AD888EF00012995 /* DOMSVGZoomEvent.mm in Sources */,
    1751217483                                BC5A86840C33676000EEA649 /* DOMSelection.cpp in Sources */,
    17513                                 E10BB37B0F14B64100560E13 /* DOMStringList.cpp in Sources */,
    1751417484                                850657010AAB4763002D15C0 /* DOMStyleSheet.mm in Sources */,
    1751517485                                850657030AAB4763002D15C0 /* DOMStyleSheetList.mm in Sources */,
     
    1782517795                                1ACE53DF0A8D18810022947D /* JSDOMParser.cpp in Sources */,
    1782617796                                BC5A86B50C3367E800EEA649 /* JSDOMSelection.cpp in Sources */,
    17827                                 E10BB3870F14B95000560E13 /* JSDOMStringList.cpp in Sources */,
    17828                                 E181B2570F14C1A600FB7847 /* JSDOMStringListCustom.cpp in Sources */,
    1782917797                                1403BA0C09EB18C700797C7F /* JSDOMWindow.cpp in Sources */,
    1783017798                                BC6932730D7E293900AE44D1 /* JSDOMWindowBase.cpp in Sources */,
     
    1862818596                                93309E15099E64920056E581 /* SplitTextNodeContainingElementCommand.cpp in Sources */,
    1862918597                                BC7FA62E0D1F0EFF00DB22A9 /* StaticNodeList.cpp in Sources */,
    18630                                 E181B3560F1500D700FB7847 /* StaticStringList.cpp in Sources */,
    1863118598                                51E3F9C70DA059DC00250911 /* Storage.cpp in Sources */,
    1863218599                                51BE37DF0DAEE00E001085FC /* StorageArea.cpp in Sources */,
  • trunk/WebCore/WebCoreSources.bkl

    r44937 r44943  
    7474        bindings/js/JSDOMApplicationCacheCustom.cpp
    7575        bindings/js/JSDOMGlobalObject.cpp
    76         bindings/js/JSDOMStringListCustom.cpp
    7776        bindings/js/JSDOMWindowBase.cpp
    7877        bindings/js/JSDOMWindowCustom.cpp
     
    273272        DerivedSources/WebCore/JSDOMParser.cpp
    274273        DerivedSources/WebCore/JSDOMSelection.cpp
    275         DerivedSources/WebCore/JSDOMStringList.cpp
    276274        DerivedSources/WebCore/JSDOMWindow.cpp
    277275        DerivedSources/WebCore/JSElement.cpp
     
    437435        dom/ContainerNode.cpp
    438436        dom/DOMImplementation.cpp
    439         dom/DOMStringList.cpp
    440437        dom/Document.cpp
    441438        dom/DocumentFragment.cpp
     
    483480        dom/SelectorNodeList.cpp
    484481        dom/StaticNodeList.cpp
    485         dom/StaticStringList.cpp
    486482        dom/StyleElement.cpp
    487483        dom/StyledElement.cpp
  • trunk/WebCore/bindings/v8/custom/V8CustomBinding.h

    r44706 r44943  
    405405        DECLARE_CALLBACK(HTMLFormElementSubmit);
    406406
    407         DECLARE_INDEXED_PROPERTY_GETTER(DOMStringList);
    408         DECLARE_CALLBACK(DOMStringListItem);
    409 
    410407        DECLARE_NAMED_PROPERTY_GETTER(DOMWindow);
    411408        DECLARE_INDEXED_PROPERTY_GETTER(DOMWindow);
  • trunk/WebCore/loader/DocumentLoader.cpp

    r44468 r44943  
    884884        return false;
    885885
    886     // If the resource's URL is an master entry, the manifest, an explicit entry, a fallback entry, or a dynamic entry
     886    // If the resource's URL is an master entry, the manifest, an explicit entry, or a fallback entry
    887887    // in the application cache, then get the resource from the cache (instead of fetching it).
    888888    resource = cache->resourceForURL(request.url());
  • trunk/WebCore/loader/appcache/ApplicationCache.cpp

    • Property svn:eol-style set to native
    r43932 r44943  
    8282    if (m_storageID) {
    8383        ASSERT(!resource->storageID());
    84         ASSERT(resource->type() & (ApplicationCacheResource::Dynamic | ApplicationCacheResource::Master));
     84        ASSERT(resource->type() & ApplicationCacheResource::Master);
    8585       
    8686        // Add the resource to the storage.
     
    128128   
    129129    return resourceForURL(request.url());
    130 }
    131 
    132 unsigned ApplicationCache::numDynamicEntries() const
    133 {
    134     // FIXME: Implement
    135     return 0;
    136 }
    137    
    138 String ApplicationCache::dynamicEntry(unsigned) const
    139 {
    140     // FIXME: Implement
    141     return String();
    142 }
    143    
    144 bool ApplicationCache::addDynamicEntry(const String& url)
    145 {
    146     if (!equalIgnoringCase(m_group->manifestURL().protocol(), KURL(url).protocol()))
    147         return false;
    148 
    149     // FIXME: Implement (be sure to respect private browsing state).
    150     return true;
    151 }
    152    
    153 void ApplicationCache::removeDynamicEntry(const String&)
    154 {
    155     // FIXME: Implement (be sure to respect private browsing state).
    156130}
    157131
  • trunk/WebCore/loader/appcache/ApplicationCache.h

    • Property svn:eol-style set to native
    r43526 r44943  
    6666    ApplicationCacheResource* resourceForURL(const String& url);
    6767
    68     unsigned numDynamicEntries() const;
    69     String dynamicEntry(unsigned index) const;
    70    
    71     bool addDynamicEntry(const String& url);
    72     void removeDynamicEntry(const String& url);
    73    
    7468    void setOnlineWhitelist(const Vector<KURL>& onlineWhitelist);
    7569    const Vector<KURL>& onlineWhitelist() const { return m_onlineWhitelist; }
     
    10498    FallbackURLVector m_fallbackURLs;
    10599
    106     // While an update is in progress, changes in dynamic entries are queued for later execution.
    107     Vector<std::pair<KURL, bool> > m_pendingDynamicEntryActions;
    108 
    109100    unsigned m_storageID;
    110101};
  • trunk/WebCore/loader/appcache/ApplicationCacheGroup.cpp

    • Property svn:eol-style set to native
    r44424 r44943  
    632632        for (ApplicationCache::ResourceMap::const_iterator it = m_newestCache->begin(); it != end; ++it) {
    633633            unsigned type = it->second->type();
    634             if (type & (ApplicationCacheResource::Master | ApplicationCacheResource::Dynamic))
     634            if (type & ApplicationCacheResource::Master)
    635635                addEntry(it->first, type);
    636636        }
  • trunk/WebCore/loader/appcache/ApplicationCacheGroup.h

    • Property svn:eol-style set to native
  • trunk/WebCore/loader/appcache/ApplicationCacheResource.cpp

    • Property svn:eol-style set to native
    r40360 r44943  
    5858    if (type & Fallback)
    5959        printf("fallback ");
    60     if (type & Dynamic)
    61         printf("dynamic ");
    6260   
    6361    printf("\n");
  • trunk/WebCore/loader/appcache/ApplicationCacheResource.h

    • Property svn:eol-style set to native
    r40360 r44943  
    4040        Explicit = 1 << 2,
    4141        Foreign = 1 << 3,
    42         Fallback = 1 << 4,
    43         Dynamic = 1 << 5
     42        Fallback = 1 << 4
    4443    };
    4544       
  • trunk/WebCore/loader/appcache/ApplicationCacheStorage.cpp

    • Property svn:eol-style set to native
    r44424 r44943  
    616616    ASSERT(resource->storageID());
    617617
    618     // FIXME: If the resource gained a Dynamic bit, it should be re-inserted at the end for correct order.
    619     ASSERT(!(resource->type() & ApplicationCacheResource::Dynamic));
    620    
    621618    // First, insert the data
    622619    SQLiteStatement entryStatement(m_database, "UPDATE CacheEntries SET type=? WHERE resource=?");
  • trunk/WebCore/loader/appcache/ApplicationCacheStorage.h

    • Property svn:eol-style set to native
  • trunk/WebCore/loader/appcache/DOMApplicationCache.cpp

    • Property svn:eol-style set to native
    r40501 r44943  
    3939#include "Frame.h"
    4040#include "FrameLoader.h"
    41 #include "StaticStringList.h"
    4241
    4342namespace WebCore {
     
    126125    if (!swapCache())
    127126        ec = INVALID_STATE_ERR;
    128 }
    129 
    130 PassRefPtr<DOMStringList> DOMApplicationCache::items()
    131 {
    132     Vector<String> result;
    133     if (ApplicationCache* cache = associatedCache()) {
    134         unsigned numEntries = cache->numDynamicEntries();
    135         result.reserveInitialCapacity(numEntries);
    136         for (unsigned i = 0; i < numEntries; ++i)
    137             result.append(cache->dynamicEntry(i));
    138     }
    139     return StaticStringList::adopt(result);
    140 }
    141 
    142 bool DOMApplicationCache::hasItem(const KURL& url, ExceptionCode& ec)
    143 {
    144     ApplicationCache* cache = associatedCache();
    145     if (!cache) {
    146         ec = INVALID_STATE_ERR;
    147         return false;
    148     }
    149 
    150     if (!url.isValid()) {
    151         ec = SYNTAX_ERR;
    152         return false;
    153     }
    154 
    155     ApplicationCacheResource* resource = cache->resourceForURL(url.string());
    156     return resource && (resource->type() & ApplicationCacheResource::Dynamic);
    157 }
    158    
    159 void DOMApplicationCache::add(const KURL& url, ExceptionCode& ec)
    160 {
    161     ApplicationCache* cache = associatedCache();
    162     if (!cache) {
    163         ec = INVALID_STATE_ERR;
    164         return;
    165     }
    166  
    167     if (!url.isValid()) {
    168         ec = SYNTAX_ERR;
    169         return;
    170     }
    171        
    172     if (!cache->addDynamicEntry(url)) {
    173         // This should use the (currently not specified) security exceptions in HTML5 4.3.4
    174         ec = SECURITY_ERR;
    175     }
    176 }
    177 
    178 void DOMApplicationCache::remove(const KURL& url, ExceptionCode& ec)
    179 {
    180     ApplicationCache* cache = associatedCache();
    181     if (!cache) {
    182         ec = INVALID_STATE_ERR;
    183         return;
    184     }
    185    
    186     cache->removeDynamicEntry(url);
    187127}
    188128
  • trunk/WebCore/loader/appcache/DOMApplicationCache.h

    • Property svn:eol-style set to native
    r40032 r44943  
    4141class ApplicationCache;
    4242class AtomicStringImpl;
    43 class DOMStringList;
    4443class Frame;
    4544class KURL;
     
    6564    void swapCache(ExceptionCode&);
    6665   
    67     PassRefPtr<DOMStringList> items();
    68     bool hasItem(const KURL&, ExceptionCode&);
    69     void add(const KURL&, ExceptionCode&);
    70     void remove(const KURL&, ExceptionCode&);
    71 
    7266    virtual void addEventListener(const AtomicString& eventType, PassRefPtr<EventListener>, bool useCapture);
    7367    virtual void removeEventListener(const AtomicString& eventType, EventListener*, bool useCapture);
  • trunk/WebCore/loader/appcache/DOMApplicationCache.idl

    • Property svn:eol-style set to native
    r43528 r44943  
    4444            raises(DOMException);
    4545
    46 #if defined(ENABLE_APPLICATION_CACHE_DYNAMIC_ENTRIES) && ENABLE_APPLICATION_CACHE_DYNAMIC_ENTRIES
    47         // dynamic entries
    48         readonly attribute DOMStringList items;
    49         [Custom] boolean hasItem(in DOMString url)
    50             raises(DOMException);
    51         [Custom] void add(in DOMString uri)
    52             raises(DOMException);
    53         [Custom] void remove(in DOMString uri)
    54             raises(DOMException);
    55 #endif
    56 
    5746        // events
    5847        attribute EventListener onchecking;
  • trunk/WebCore/loader/appcache/ManifestParser.cpp

    • Property svn:eol-style set to native
  • trunk/WebCore/loader/appcache/ManifestParser.h

    • Property svn:eol-style set to native
  • trunk/WebCore/page/DOMWindow.idl

    r44906 r44943  
    309309        // FIXME: Implement the commented-out global constructors for interfaces listed in DOM Level 3 Core specification.
    310310        attribute DOMCoreExceptionConstructor DOMException;
    311         attribute DOMStringListConstructor DOMStringList;
     311//        attribute DOMStringListConstructor DOMStringList;
    312312//        attribute NameListConstructor NameList;
    313313//        attribute DOMImplementationListConstructor DOMImplementationList;
Note: See TracChangeset for help on using the changeset viewer.