- 10 Apr, 2013 1 commit
-
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=114223 Reviewed by Geoffrey Garen. Source/JavaScriptCore: Update for WTF changes. * bytecode/SpeculatedType.h: * runtime/JSCJSValue.h: Source/WebCore: Remove unneeded headers from FrameLoader.h and add them back into the respective .cpp files where needed. * dom/Document.cpp: * history/CachedFrame.cpp: * history/PageCache.cpp: * inspector/InspectorResourceAgent.cpp: * loader/DocumentLoader.cpp: * loader/FrameLoader.cpp: (WebCore::FrameLoader::FrameLoader): (WebCore::FrameLoader::retryAfterFailedCacheOnlyMainResourceLoad): * loader/FrameLoader.h: (WebCore): (WebCore::FrameLoader::policyChecker): (WebCore::FrameLoader::history): (WebCore::FrameLoader::icon): * loader/MixedContentChecker.h: * loader/icon/IconLoader.cpp: * page/History.cpp: * page/Page.cpp: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * testing/Internals.cpp: Source/WebKit/blackberry: Include HistoryController.h from WebCore. * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: Source/WebKit/mac: Include HistoryController.h from WebCore. * WebCoreSupport/WebFrameLoaderClient.mm: * WebView/WebView.mm: Source/WebKit/win: Include HistoryController.h from WebCore. * WebView.cpp: Source/WebKit2: Include HistoryController.h from WebCore. * WebProcess/Plugins/PDF/SimplePDFPlugin.h: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: * WebProcess/WebPage/WebPage.cpp: Source/WTF: * wtf/Forward.h: Add PrintStream. * wtf/HashTable.h: Don't include DataLog.h unless DUMP_HASHTABLE_STATS_PER_TABLE is 1. Tools: Add back headers implicitly included by other headers. * WebKitTestRunner/WorkQueueManager.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Apr, 2013 1 commit
-
-
timothy_horton@apple.com authored
REGRESSION (r138858): Crash in WebCore::FrameLoader::~FrameLoader() when opening page in a background tab https://bugs.webkit.org/show_bug.cgi?id=109935 <rdar://problem/13225963> Reviewed by Brady Eidson. Previously, we were deciding if a Page could go into the PageCache by blacklisting certain load types. Instead, whitelist the load types that we know can go into the cache, so that newly-added load types are not cached unless that is explicitly desired. The crash occurs when a page which is actively loading is put into the page cache while doing a redirect with FrameLoadTypeRedirectWithLockedBackForwardList (note that this is a redirect that was not covered in the blacklist), and then promptly removed from the page cache, resulting in resources from the redirect target (the now-active page) being incorrectly destroyed. No new tests, only known crash repro case is extremely timing dependent (and only happens in WebKit2, with tiled drawing, in background tabs). * history/PageCache.cpp: (WebCore::PageCache::canCache): Adjust a test which depended on slow-redirects going into the page cache (which will no longer happen) to instead click on a link. * fast/history/timed-refresh-in-cached-frame.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147955 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Apr, 2013 1 commit
-
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=114081 Remove the remaining PLATFORM(CHROMIUM) build guards. There are still a couple of guards that most likely apply only to Chromium, like OS(ANDROID) or USE(SKIA_ON_MAC_CHROMIUM), but removal of these should go into separate patches. Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-04-07 * bindings/generic/RuntimeEnabledFeatures.cpp: (WebCore): * config.h: * history/PageCache.cpp: (WebCore): (WebCore::logCanCacheFrameDecision): (WebCore::logCanCachePageDecision): (WebCore::PageCache::canCache): * html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::getContext): (WebCore::HTMLCanvasElement::shouldAccelerate): * html/HTMLCanvasElement.h: * html/HTMLMediaElement.cpp: (WebCore::createFileURLForApplicationCacheResource): (WebCore::HTMLMediaElement::loadResource): * html/HTMLSelectElement.cpp: (WebCore): (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): * html/MediaDocument.cpp: (WebCore::MediaDocument::defaultEventHandler): * html/canvas/EXTDrawBuffers.cpp: (WebCore::EXTDrawBuffers::satisfiesWebGLRequirements): * html/canvas/WebGLRenderingContext.cpp: (WebCore): (WebCore::WebGLRenderingContext::create): (WebCore::WebGLRenderingContext::WebGLRenderingContext): (WebCore::WebGLRenderingContext::paintRenderingResultsToCanvas): (WebCore::WebGLRenderingContext::platformLayer): * inspector/InspectorInstrumentation.cpp: (WebCore): (WebCore::InspectorInstrumentation::willPaintImpl): * inspector/InspectorTimelineAgent.cpp: (WebCore::InspectorTimelineAgent::didBeginFrame): * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::notifyFinished): * page/FeatureObserver.cpp: (WebCore::FeatureObserver::~FeatureObserver): * platform/AsyncFileSystem.cpp: (WebCore): * platform/ContextMenu.h: (ContextMenu): * platform/ContextMenuItem.h: * platform/Cursor.h: * platform/DragData.cpp: (WebCore): * platform/DragData.h: * platform/DragImage.h: * platform/LocalizedStrings.h: (WebCore): * platform/Pasteboard.h: (Pasteboard): * platform/PlatformExportMacros.h: * platform/PlatformInstrumentation.h: (WebCore::PlatformInstrumentation::willDecodeImage): (WebCore::PlatformInstrumentation::didDecodeImage): (WebCore::PlatformInstrumentation::willResizeImage): (WebCore::PlatformInstrumentation::didResizeImage): * platform/PlatformMenuDescription.h: (WebCore): * platform/PlatformSpeechSynthesizer.h: (PlatformSpeechSynthesizer): * platform/PlatformWheelEvent.h: (WebCore::PlatformWheelEvent::PlatformWheelEvent): (PlatformWheelEvent): * platform/ScrollAnimator.cpp: (WebCore): (WebCore::ScrollAnimator::handleWheelEvent): * platform/ScrollAnimator.h: (ScrollAnimator): * platform/ScrollAnimatorNone.cpp: (WebCore::ScrollAnimatorNone::scroll): (WebCore::ScrollAnimatorNone::animationTimerFired): * platform/ScrollView.cpp: (WebCore::ScrollView::updateOverhangAreas): * platform/ScrollableArea.cpp: (WebCore::ScrollableArea::scrollPositionChanged): * platform/Scrollbar.cpp: * platform/SecureTextInput.cpp: Removed. * platform/SecureTextInput.h: (WebCore): * platform/SuddenTermination.h: (WebCore): * platform/Widget.h: (Widget): * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/BitmapImage.h: * platform/graphics/FloatPoint.h: (FloatPoint): * platform/graphics/FloatRect.h: (FloatRect): * platform/graphics/FloatSize.h: (FloatSize): * platform/graphics/Font.cpp: (WebCore): (WebCore::Font::width): * platform/graphics/Font.h: (Font): * platform/graphics/FontCache.cpp: (WebCore): * platform/graphics/FontCache.h: (FontCache): * platform/graphics/FontDescription.h: * platform/graphics/FontPlatformData.cpp: * platform/graphics/GlyphBuffer.h: (WebCore): (WebCore::GlyphBuffer::add): * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawImage): (WebCore::GraphicsContext::drawImageBuffer): * platform/graphics/GraphicsContext3D.h: (GraphicsContext3D): * platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::supportsBackgroundColorContent): * platform/graphics/Icon.h: (Icon): * platform/graphics/ImageSource.cpp: * platform/graphics/ImageSource.h: (WebCore): * platform/graphics/IntRect.h: (IntRect): (WebCore): * platform/graphics/MediaPlayer.cpp: * platform/graphics/PlatformLayer.h: * platform/graphics/SimpleFontData.h: (SimpleFontData): (DerivedFontData): * platform/graphics/filters/FECustomFilter.cpp: (WebCore::FECustomFilter::resizeContext): * platform/graphics/gpu/DrawingBuffer.h: (WebCore): (DrawingBuffer): * platform/graphics/gpu/SharedGraphicsContext3D.cpp: * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp: (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE): * platform/image-decoders/ImageDecoder.h: * platform/leveldb/LevelDBDatabase.cpp: (WebCore::LevelDBDatabase::open): * platform/network/BlobRegistry.cpp: (WebCore::blobRegistry): * platform/network/BlobRegistryImpl.cpp: * platform/network/NetworkStateNotifier.cpp: * platform/network/NetworkStateNotifier.h: (NetworkStateNotifier): * platform/network/NetworkingContext.h: (NetworkingContext): * platform/network/ResourceHandleClient.h: * platform/network/ResourceRequestBase.cpp: (WebCore): * platform/text/cf/HyphenationCF.cpp: * plugins/PluginViewNone.cpp: (WebCore): * testing/Internals.cpp: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::createRequest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147888 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Mar, 2013 2 commits
-
-
jer.noble@apple.com authored
Crash in DumpRenderTree at com.apple.WebCore: WebCore::CaptionUserPreferences::captionPreferencesChanged + 185 https://bugs.webkit.org/show_bug.cgi?id=112051 Reviewed by Eric Carlson. No new tests; fixes a crash during media/video-controls-captions-trackmenu.html. Instead of relying on a registration system which can fail when an element's document does not have a page, Elements will register for captionPreferencesChanged() notifications directly with their owning Document. CaptionUserPreferences, in turn, will notify all Documents in its PageGroup, rather than only directly registered listeners. * dom/Document.cpp: (WebCore::Document::registerForCaptionPreferencesChangedCallbacks): Added. Notify the CaptionUserPreferences that someone is interested in captionPreferencesChanged notfications. (WebCore::Document::unregisterForCaptionPreferencesChangedCallbacks): Added. (WebCore::Document::captionPreferencesChanged): Added. Pass to all registered elements. * dom/Document.h: * dom/Element.h: (WebCore::Element::captionPreferencesChanged): Added. Empty; intended to be overridden by subclasses. * history/CachedPage.cpp: (WebCore::CachedPage::CachedPage): Initialize m_needsCaptionPreferenceChanged member. (WebCore::CachedPage::restore): Call captionPreferencesChanged() if necessary. * history/CachedPage.h: (WebCore::CachedPage::markForCaptionPreferencesChanged): Set the m_needsCaptionPreferenceChanged member. * history/PageCache.cpp: (WebCore::PageCache::markPagesForCaptionPreferencesChanged): Pass to every CachedPage. * history/PageCache.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::HTMLMediaElement): Register with the Document. (WebCore::HTMLMediaElement::~HTMLMediaElement): Unregister with same. (WebCore::HTMLMediaElement::attach): Remove previous registration call. * html/HTMLMediaElement.h: * page/CaptionUserPreferences.cpp: (WebCore::CaptionUserPreferences::captionPreferencesChanged): Pass to the PageGroup. * page/CaptionUserPreferences.h: (WebCore::CaptionUserPreferences::setInterestedInCaptionPreferenceChanges): Empty; intended to be overridden by subclasses. * page/CaptionUserPreferencesMac.h: * page/CaptionUserPreferencesMac.mm: (WebCore::CaptionUserPreferencesMac::setInterestedInCaptionPreferenceChanges): Renamed from registerForPreferencesChangedCallbacks(). (WebCore::CaptionUserPreferencesMac::captionPreferencesChanged): Replace call to havePreferenceChangeListeners() with m_listeningForPreferenceChanges. * page/Page.cpp: (WebCore::Page::captionPreferencesChanged): Pass to every contained Document. * page/Page.h: * page/CaptionUserPreferences.cpp: (WebCore::CaptionUserPreferences::captionPreferencesChanged): Pass to the PageGroup. * page/CaptionUserPreferences.h: * page/PageGroup.cpp: (WebCore::PageGroup::captionPreferencesChanged): Pass to every page, as well as pages in the PageCache. * page/PageGroup.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145826 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alice.liu@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=110652 Reviewed by Brady Eidson. Source/WebCore: * WebCore.exp.in: Added WebCore::HistoryItem::isInPageCache and hasCachedPageExpired. * history/CachedPage.cpp: Add a data member, m_expirationTime, and a function, hasExpired(). * history/CachedPage.h: * history/HistoryItem.cpp: (WebCore::HistoryItem::hasCachedPageExpired): Added. returns m_cachedPage's expiration state. * history/HistoryItem.h: * history/PageCache.cpp: (WebCore::PageCache::get): Address the fixme about not using WebKitBackForwardCacheExpirationIntervalKey. * page/Settings.in: Add backForwardCacheExpirationInterval to the automatically generated setters for Settings. Source/WebKit/mac: * History/WebHistoryItem.mm: (-[WebHistoryItem _isInPageCache]): Added. Just calls and returns core imple's function. (-[WebHistoryItem _hasCachedPageExpired]): Same thing. * History/WebHistoryItemPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences _backForwardCacheExpirationInterval]): Address fixme, now that WebCore::Settings has getters and setters with default value. * WebView/WebView.mm: (-[WebView _preferencesChanged:]): call setBackForwardCacheExpirationInterval similar to other settings. Source/WebKit2: Hook up hasCachedPageExpired in InjectedBundle's BackForwardListItem. * WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.cpp: (WKBundleBackForwardListItemHasCachedPageExpired): * WebProcess/InjectedBundle/API/c/WKBundleBackForwardListItem.h: * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.h: (WebKit::InjectedBundleBackForwardListItem::hasCachedPageExpired): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Mar, 2013 1 commit
-
-
ggaren@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=111525 Reviewed by Alexey Proskuryakov. Page cache autorelease doesn't exist anymore, so there's no need to keep around these olds hacks. ../WebCore: * WebCore.exp.in: * history/PageCache.cpp: (WebCore::PageCache::PageCache): (WebCore): * history/PageCache.h: (PageCache): * page/Settings.cpp: (WebCore::Settings::setUsesPageCache): * platform/mac/MemoryPressureHandlerMac.mm: (WebCore::MemoryPressureHandler::releaseMemory): * platform/qt/QtTestSupport.cpp: (WebKit::QtTestSupport::clearMemoryCaches): ../WebKit/blackberry: * Api/BlackBerryGlobal.cpp: (BlackBerry::WebKit::clearMemoryCaches): * Api/WebPage.cpp: (BlackBerry::WebKit::WebPage::destroy): ../WebKit/efl: * ewk/ewk_settings.cpp: (ewk_settings_memory_cache_clear): ../WebKit/mac: This fixes <rdar://problem/4886761> Fix bizarre WebWindowWatcher policy in WebHistoryItem. * History/WebHistoryItem.mm: (+[WebHistoryItem _releaseAllPendingPageCaches]): * History/WebHistoryItemInternal.h: * Misc/WebCoreStatistics.mm: (+[WebCoreStatistics autoreleasedPageCount]): * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Mar, 2013 1 commit
-
-
ggaren@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=111522 Reviewed by Filip Pizlo. Let's stop doing that. 2% PLT speedup. * history/PageCache.cpp: (WebCore::PageCache::remove): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2013 1 commit
-
-
kihong.kwon@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=97630 Reviewed by Hajime Morita. Source/WebCore: Implement DeviceProximityController which is inherited from DeviceController to support Device Proximity Events. DeviceProximityController has two major functionalities. - When listener is added, DeviceProximityController stores DOMWindow pointer to m_listeners and start gathering proximity event. - When DeviceProximityController receives a proximity event from client, fire an event using m_listeners. In addition, setDeviceProximity function is added to Internals for layout test. Tests: proximity/add-listener-from-callback.html proximity/basic-operation.html proximity/create-event.html proximity/event-after-navigation.html proximity/multiple-frames.html proximity/no-page-cache.html proximity/optional-event-properties.html proximity/updates.html proximity/window-property.html * CMakeLists.txt: * GNUmakefile.am: * GNUmakefile.list.am: * Modules/proximity/DeviceProximityClient.h: Added. (WebCore): (DeviceProximityClient): (WebCore::DeviceProximityClient::~DeviceProximityClient): * Modules/proximity/DeviceProximityController.cpp: Added. (WebCore): (WebCore::DeviceProximityController::DeviceProximityController): (WebCore::DeviceProximityController::create): (WebCore::DeviceProximityController::didChangeDeviceProximity): (WebCore::DeviceProximityController::deviceProximityClient): (WebCore::DeviceProximityController::hasLastData): (WebCore::DeviceProximityController::getLastEvent): (WebCore::DeviceProximityController::supplementName): (WebCore::DeviceProximityController::from): (WebCore::DeviceProximityController::isActiveAt): (WebCore::provideDeviceProximityTo): * Modules/proximity/DeviceProximityController.h: Added. (WebCore): (DeviceProximityController): (WebCore::DeviceProximityController::~DeviceProximityController): * Target.pri: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.pri: * WebCore.vcproj/WebCore.vcproj: * WebCore.vcproj/WebCoreCommon.vsprops: * WebCore.xcodeproj/project.pbxproj: * history/PageCache.cpp: When a page has Device Proximity Event Listener, it has not to be cached like Device Orientation. (WebCore::logCanCachePageDecision): (WebCore::PageCache::canCache): * page/DOMWindow.cpp: (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * testing/Internals.cpp: (WebCore::Internals::setDeviceProximity): (WebCore): * testing/Internals.h: (Internals): * testing/Internals.idl: Source/WebKit2: Add initial WebDeviceProximityClient class which is inherited DeviceProximityClient. But startUpdating and stopUpdating need to be implemented. * CMakeLists.txt: * WebProcess/WebCoreSupport/WebDeviceProximityClient.cpp: Added. (WebKit): (WebKit::WebDeviceProximityClient::WebDeviceProximityClient): (WebKit::WebDeviceProximityClient::startUpdating): (WebKit::WebDeviceProximityClient::stopUpdating): (WebKit::WebDeviceProximityClient::hasLastData): * WebProcess/WebCoreSupport/WebDeviceProximityClient.h: Added. (WebKit): (WebDeviceProximityClient): (WebKit::WebDeviceProximityClient::~WebDeviceProximityClient): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): LayoutTests: Add layout test cases for the DeviceProximityController. * proximity/add-listener-from-callback-expected.txt: Added. * proximity/add-listener-from-callback.html: Added. * proximity/basic-operation-expected.txt: Added. * proximity/basic-operation.html: Added. * proximity/create-event-expected.txt: Added. * proximity/create-event.html: Added. * proximity/event-after-navigation-expected.txt: Added. * proximity/event-after-navigation.html: Added. * proximity/multiple-frames-expected.txt: Added. * proximity/multiple-frames.html: Added. * proximity/no-page-cache-expected.txt: Added. * proximity/no-page-cache.html: Added. * proximity/optional-event-properties-expected.txt: Added. * proximity/optional-event-properties.html: Added. * proximity/resources/cached-page-1.html: Added. * proximity/resources/cached-page-2.html: Added. * proximity/resources/event-after-navigation-new.html: Added. * proximity/updates-expected.txt: Added. * proximity/updates.html: Added. * proximity/window-property-expected.txt: Added. * proximity/window-property.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Dec, 2012 1 commit
-
-
mark.lam@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=104741. Reviewed by Sam Weinig. Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase, and DatabaseContext directly. This is to prepare for upcoming webkit2 refactoring. Source/WebCore: No new tests. * CMakeLists.txt: * Modules/webdatabase/DatabaseManager.cpp: Added. (WebCore::DatabaseManager::manager): (WebCore::DatabaseManager::DatabaseManager): (WebCore::DatabaseManager::initialize): (WebCore::DatabaseManager::setClient): (WebCore::DatabaseManager::isAvailable): (WebCore::DatabaseManager::setIsAvailable): (WebCore::DatabaseManager::hasOpenDatabases): (WebCore::DatabaseManager::stopDatabases): (WebCore::DatabaseManager::fullPathForDatabase): (WebCore::DatabaseManager::databaseDirectoryPath): (WebCore::DatabaseManager::setDatabaseDirectoryPath): (WebCore::DatabaseManager::hasEntryForOrigin): (WebCore::DatabaseManager::origins): (WebCore::DatabaseManager::databaseNamesForOrigin): (WebCore::DatabaseManager::detailsForNameAndOrigin): (WebCore::DatabaseManager::usageForOrigin): (WebCore::DatabaseManager::quotaForOrigin): (WebCore::DatabaseManager::setQuota): (WebCore::DatabaseManager::deleteAllDatabases): (WebCore::DatabaseManager::deleteOrigin): (WebCore::DatabaseManager::deleteDatabase): (WebCore::DatabaseManager::closeDatabasesImmediately): (WebCore::DatabaseManager::interruptAllDatabasesForContext): * Modules/webdatabase/DatabaseManager.h: Added. (DatabaseManager): (WebCore::DatabaseManager::~DatabaseManager): * Modules/webdatabase/DatabaseManagerClient.h: Copied from Source/WebCore/Modules/webdatabase/DatabaseTrackerClient.h. (WebCore::DatabaseManagerClient::~DatabaseManagerClient): * Modules/webdatabase/DatabaseTracker.cpp: (WebCore::DatabaseTracker::setClient): * Modules/webdatabase/DatabaseTracker.h: (DatabaseTracker): * Modules/webdatabase/DatabaseTrackerClient.h: Removed. * Target.pri: * WebCore.exp.in: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.order: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/generic/RuntimeEnabledFeatures.cpp: (WebCore::RuntimeEnabledFeatures::openDatabaseEnabled): (WebCore::RuntimeEnabledFeatures::openDatabaseSyncEnabled): * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): * page/DOMWindow.cpp: * workers/WorkerThread.cpp: (WebCore::WorkerThreadShutdownStartTask::performTask): (WebCore::WorkerThread::stop): Source/WebKit: * WebKit.xcodeproj/project.pbxproj: Source/WebKit/blackberry: * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::didChangeSettings): * WebCoreSupport/ChromeClientBlackBerry.cpp: (WebCore::ChromeClientBlackBerry::exceededDatabaseQuota): Source/WebKit/chromium: * src/ChromeClientImpl.cpp: * src/WebDatabase.cpp: (WebKit::WebDatabase::closeDatabaseImmediately): * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDatabase): (WebKit::WebRuntimeFeatures::isDatabaseEnabled): Source/WebKit/efl: * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::exceededDatabaseQuota): * ewk/ewk_security_origin.cpp: (ewk_security_origin_web_database_usage_get): (ewk_security_origin_web_database_quota_get): (ewk_security_origin_web_database_quota_set): (ewk_security_origin_web_database_get_all): * ewk/ewk_settings.cpp: (ewk_settings_web_database_path_set): * ewk/ewk_web_database.cpp: (ewk_web_database_display_name_get): (ewk_web_database_expected_size_get): (ewk_web_database_filename_get): (ewk_web_database_size_get): (ewk_web_database_remove): (ewk_web_database_remove_all): Source/WebKit/gtk: * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::exceededDatabaseQuota): * webkit/webkitfavicondatabase.cpp: * webkit/webkiticondatabase.cpp: * webkit/webkitsecurityorigin.cpp: (webkit_security_origin_get_web_database_usage): (webkit_security_origin_get_web_database_quota): (webkit_security_origin_set_web_database_quota): (webkit_security_origin_get_all_web_databases): * webkit/webkitwebdatabase.cpp: (webkit_web_database_get_display_name): (webkit_web_database_get_expected_size): (webkit_web_database_get_size): (webkit_web_database_get_filename): (webkit_web_database_remove): (webkit_remove_all_web_databases): (webkit_get_web_database_directory_path): (webkit_set_web_database_directory_path): * webkit/webkitwebview.cpp: (webkit_web_view_update_settings): (webkit_web_view_settings_notify): Source/WebKit/mac: * Storage/WebDatabaseManager.mm: (-[WebDatabaseManager origins]): (-[WebDatabaseManager databasesWithOrigin:]): (-[WebDatabaseManager detailsForDatabase:withOrigin:]): (-[WebDatabaseManager deleteAllDatabases]): (-[WebDatabaseManager deleteOrigin:]): (-[WebDatabaseManager deleteDatabase:withOrigin:]): (WebKitInitializeDatabasesIfNecessary): * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h. (WebDatabaseManagerClient): * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm. (WebDatabaseManagerClient::sharedWebDatabaseManagerClient): (WebDatabaseManagerClient::WebDatabaseManagerClient): (WebDatabaseManagerClient::~WebDatabaseManagerClient): (DidModifyOriginData::dispatchToMainThread): (DidModifyOriginData::DidModifyOriginData): (DidModifyOriginData): (WebDatabaseManagerClient::dispatchDidModifyOrigin): (WebDatabaseManagerClient::dispatchDidModifyDatabase): * Storage/WebDatabaseQuotaManager.mm: (-[WebDatabaseQuotaManager usage]): (-[WebDatabaseQuotaManager quota]): (-[WebDatabaseQuotaManager setQuota:]): * Storage/WebDatabaseTrackerClient.h: Removed. * Storage/WebDatabaseTrackerClient.mm: Removed. * WebCoreSupport/WebSecurityOrigin.mm: (-[WebSecurityOrigin usage]): (-[WebSecurityOrigin quota]): (-[WebSecurityOrigin setQuota:]): * WebKit.order: * WebView/WebFrame.mm: (-[WebFrame _cacheabilityDictionary]): * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Source/WebKit/qt: * Api/qwebdatabase.cpp: (QWebDatabase::displayName): (QWebDatabase::expectedSize): (QWebDatabase::size): (QWebDatabase::fileName): (QWebDatabase::removeDatabase): (QWebDatabase::removeAllDatabases): * Api/qwebsecurityorigin.cpp: (QWebSecurityOrigin::databaseUsage): (QWebSecurityOrigin::databaseQuota): (QWebSecurityOrigin::setDatabaseQuota): (QWebSecurityOrigin::allOrigins): (QWebSecurityOrigin::databases): * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): (QWebSettings::setOfflineStoragePath): (QWebSettings::offlineStoragePath): * WebCoreSupport/ChromeClientQt.cpp: Source/WebKit/win: * WebDatabaseManager.cpp: (WebDatabaseManager::sharedWebDatabaseManager): (WebDatabaseManager::origins): (WebDatabaseManager::databasesWithOrigin): (WebDatabaseManager::detailsForDatabase): (WebDatabaseManager::deleteAllDatabases): (WebDatabaseManager::deleteOrigin): (WebDatabaseManager::deleteDatabase): (WebDatabaseManager::setQuota): (WebKitInitializeWebDatabasesIfNecessary): * WebDatabaseManager.h: (WebDatabaseManager): * WebSecurityOrigin.cpp: (WebSecurityOrigin::usage): (WebSecurityOrigin::quota): (WebSecurityOrigin::setQuota): * WebView.cpp: (WebView::notifyPreferencesChanged): Source/WebKit/wx: * WebKitSupport/ChromeClientWx.cpp: (WebCore::ChromeClientWx::exceededDatabaseQuota): * WebView.cpp: (WebKit::WebView::SetDatabaseDirectory): (WebKit::WebView::GetDatabaseDirectory): (WebKit::WebView::SetDatabasesEnabled): (WebKit::WebView::AreDatabasesEnabled): Source/WebKit2: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::exceededDatabaseQuota): * WebProcess/WebCoreSupport/WebDatabaseManager.cpp: (WebKit::WebDatabaseManager::initialize): (WebKit::WebDatabaseManager::WebDatabaseManager): (WebKit::WebDatabaseManager::getDatabasesByOrigin): (WebKit::WebDatabaseManager::getDatabaseOrigins): (WebKit::WebDatabaseManager::deleteDatabaseWithNameForOrigin): (WebKit::WebDatabaseManager::deleteDatabasesForOrigin): (WebKit::WebDatabaseManager::deleteAllDatabases): (WebKit::WebDatabaseManager::setQuotaForOrigin): * WebProcess/WebCoreSupport/WebDatabaseManager.h: (WebDatabaseManager): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Aug, 2012 1 commit
-
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=93990 Reviewed by Eric Seidel. Source/WebCore: These functions just call through to document()->domWindow(). This patch updates the callers so it's clearer what's going on. * bindings/js/JSDOMBinding.cpp: (WebCore::shouldAllowAccessToFrame): (WebCore::printErrorMessageForFrame): * bindings/js/JSDocumentCustom.cpp: (WebCore::JSDocument::location): (WebCore::JSDocument::setLocation): * bindings/js/JSEventListener.cpp: (WebCore::JSEventListener::handleEvent): * bindings/js/ScriptCachedFrameData.cpp: (WebCore::ScriptCachedFrameData::restore): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::createWindowShell): * bindings/objc/DOMAbstractView.mm: (core): * bindings/v8/NPV8Object.cpp: (WebCore::toV8Context): * bindings/v8/ScriptController.cpp: (WebCore::createScriptObject): (WebCore::ScriptController::createScriptObjectForPluginElement): * bindings/v8/V8DOMWindowShell.cpp: (WebCore::V8DOMWindowShell::initContextIfNeeded): * bindings/v8/V8IsolatedContext.cpp: (WebCore::V8IsolatedContext::V8IsolatedContext): * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::retrieveFrame): * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::V8DOMWindow::indexedPropertyGetter): (WebCore::V8DOMWindow::namedPropertyGetter): * bindings/v8/custom/V8DocumentLocationCustom.cpp: (WebCore::V8Document::locationAccessorGetter): (WebCore::V8Document::locationAccessorSetter): * bindings/v8/custom/V8HTMLDocumentCustom.cpp: (WebCore::V8HTMLDocument::GetNamedProperty): * bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp: (WebCore::V8HTMLFrameSetElement::namedPropertyGetter): * dom/Document.cpp: (WebCore::printNavigationErrorMessage): * dom/ViewportArguments.cpp: (WebCore::reportViewportWarning): * editing/AlternativeTextController.cpp: (WebCore::AlternativeTextController::insertDictatedText): * editing/Editor.cpp: (WebCore::Editor::pasteAsPlainText): (WebCore::Editor::pasteAsFragment): (WebCore::Editor::setComposition): * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): * html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::validateInteractively): * html/HTMLFrameOwnerElement.cpp: (WebCore::HTMLFrameOwnerElement::contentWindow): * html/canvas/WebGLRenderingContext.cpp: (WebCore): (WebCore::WebGLRenderingContext::printWarningToConsole): * inspector/InspectorDOMStorageAgent.cpp: (WebCore::InspectorDOMStorageAgent::storageId): * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::checkLoadComplete): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::begin): * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): (WebCore::FrameLoader::didOpenURL): (WebCore::FrameLoader::checkIfDisplayInsecureContent): (WebCore::FrameLoader::checkIfRunInsecureContent): (WebCore::FrameLoader::reportLocalLoadFailed): (WebCore::FrameLoader::prepareForCachedPageRestore): (WebCore::FrameLoader::open): (WebCore::FrameLoader::fireBeforeUnloadEvent): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::didReceiveResponse): * loader/appcache/ApplicationCacheGroup.cpp: (WebCore::ApplicationCacheGroup::abort): (WebCore::ApplicationCacheGroup::didReceiveResponse): (WebCore::ApplicationCacheGroup::didFinishLoading): (WebCore::ApplicationCacheGroup::didFail): (WebCore::ApplicationCacheGroup::didReceiveManifestResponse): (WebCore::ApplicationCacheGroup::didFinishLoadingManifest): (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete): * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::printAccessDeniedMessage): * page/DOMWindow.cpp: (WebCore::DOMWindow::isCurrentlyDisplayedInFrame): (WebCore::DOMWindow::self): (WebCore::DOMWindow::opener): (WebCore::DOMWindow::parent): (WebCore::DOMWindow::top): (WebCore::DOMWindow::createWindow): (WebCore::DOMWindow::open): * page/DOMWindowProperty.cpp: (WebCore::DOMWindowProperty::DOMWindowProperty): (WebCore::DOMWindowProperty::reconnectFrameFromPageCache): * page/DragController.cpp: (WebCore::DragController::dispatchTextInputEventFor): * page/EventHandler.cpp: (WebCore::EventHandler::handleTextInputEvent): * page/Frame.cpp: * page/Frame.h: (Frame): * page/Location.cpp: (WebCore::Location::replace): (WebCore::Location::reload): (WebCore::Location::setLocation): * storage/StorageEventDispatcher.cpp: (WebCore::StorageEventDispatcher::dispatch): * svg/SVGDocumentExtensions.cpp: (WebCore::reportMessage): * xml/XSLStyleSheetLibxslt.cpp: (WebCore::XSLStyleSheet::parseString): * xml/XSLTProcessorLibxslt.cpp: (WebCore::docLoaderFunc): * xml/XSLTProcessorQt.cpp: (WebCore::XSLTMessageHandler::handleMessage): Source/WebKit/blackberry: * WebCoreSupport/ChromeClientBlackBerry.cpp: (WebCore::toOriginString): (WebCore::ChromeClientBlackBerry::runJavaScriptAlert): (WebCore::ChromeClientBlackBerry::runJavaScriptConfirm): (WebCore::ChromeClientBlackBerry::runJavaScriptPrompt): (WebCore::ChromeClientBlackBerry::runBeforeUnloadConfirmPanel): (WebCore::ChromeClientBlackBerry::requestWebGLPermission): Source/WebKit/chromium: * src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::dispatchLocalStorageEvent): (WebCore::StorageAreaProxy::dispatchSessionStorageEvent): * src/WebDOMMessageEvent.cpp: (WebKit::WebDOMMessageEvent::initMessageEvent): * src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::performance): (WebKit::WebFrameImpl::addMessageToConsole): (WebKit::WebFrameImpl::unloadListenerCount): (WebKit::WebFrameImpl::addEventListener): (WebKit::WebFrameImpl::removeEventListener): (WebKit::WebFrameImpl::dispatchEvent): (WebKit::WebFrameImpl::dispatchMessageEventWithOriginCheck): (WebKit::WebFrameImpl::deliverIntent): * src/WebPagePopupImpl.cpp: (WebKit::WebPagePopupImpl::initPage): Source/WebKit/efl: * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::pendingUnloadEventCount): * ewk/ewk_frame.cpp: (ewk_frame_intent_deliver): Source/WebKit/gtk: * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::getPendingUnloadEventCount): Source/WebKit/mac: * WebView/WebFrame.mm: (-[WebFrame _pendingFrameUnloadEventCount]): (-[WebFrame _cacheabilityDictionary]): Source/WebKit/qt: * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): Source/WebKit/win: * WebFrame.cpp: (WebFrame::DOMWindow): (WebFrame::pendingFrameUnloadEventCount): Source/WebKit2: * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::deliverIntent): (WebKit::WebFrame::pendingUnloadCount): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 May, 2012 1 commit
-
-
jberlin@webkit.org authored
going into the PageCache. https://bugs.webkit.org/show_bug.cgi?id=85891 Reviewed by Brady Eidson. Source/WebCore: Do not claim that it is possible to cache a page when the page cache has a capacity of 0. Covered by the modified DOMWindowExtensionNoCache WK2 API test. * history/PageCache.cpp: (WebCore::PageCache::canCache): Check m_capacity. * history/PageCache.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::commitProvisionalLoad): canCache is no longer static on PageCache. Tools: Set the cache model in DOMWindowExtensionNoCache so that the page cache is not used. This is better than using pages with unload handlers because we may find a way to make pages with unload handlers cacheable in the future. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Remove simple-iframe-unload.html and simple-unload.html, since they are no longer used. * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache.cpp: (TestWebKitAPI::TEST): Set the cache model to kWKCacheModelDocumentViewer. * TestWebKitAPI/Tests/WebKit2/simple-iframe-unload.html: Removed. * TestWebKitAPI/Tests/WebKit2/simple-unload.html: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 May, 2012 1 commit
-
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=86027 <rdar://problem/10615880> Reviewed by Antti Koivisto. Source/WebCore: Added an API test. The fix is to use CachedResourceHandle throughout MemoryCache, which will certainly keep the resource alive. Also removed earlier fixes. * css/CSSImageSetValue.cpp: (WebCore::CSSImageSetValue::cachedImageSet): * css/CSSImageValue.cpp: (WebCore::CSSImageValue::cachedImage): * css/WebKitCSSShaderValue.cpp: (WebCore::WebKitCSSShaderValue::cachedShader): * history/PageCache.cpp: (WebCore::PageCache::releaseAutoreleasedPagesNow): * loader/ImageLoader.cpp: (WebCore::ImageLoader::updateFromElement): * loader/TextTrackLoader.cpp: (WebCore::TextTrackLoader::load): * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::requestImage): (WebCore::CachedResourceLoader::requestFont): (WebCore::CachedResourceLoader::requestTextTrack): (WebCore::CachedResourceLoader::requestShader): (WebCore::CachedResourceLoader::requestCSSStyleSheet): (WebCore::CachedResourceLoader::requestUserCSSStyleSheet): (WebCore::CachedResourceLoader::requestScript): (WebCore::CachedResourceLoader::requestXSLStyleSheet): (WebCore::CachedResourceLoader::requestSVGDocument): (WebCore::CachedResourceLoader::requestLinkResource): (WebCore::CachedResourceLoader::requestRawResource): (WebCore::CachedResourceLoader::requestResource): (WebCore::CachedResourceLoader::revalidateResource): (WebCore::CachedResourceLoader::loadResource): (WebCore::CachedResourceLoader::requestPreload): * loader/cache/CachedResourceLoader.h: (CachedResourceLoader): * loader/cache/MemoryCache.h: (WebCore::MemoryCache::setPruneEnabled): * loader/cache/CachedResourceHandle.h: (WebCore::CachedResourceHandle::CachedResourceHandle): (WebCore::CachedResourceHandle::operator=): Teach CachedResourceHandle how to make CachedResourceHandle<CachedResource> from a handle to subclass. Tools: Added a test that's very similar to MemoryCachePruneWithinResourceLoadDelegate, but for disabling the cache instead of triggering a prune. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.html: Added. * TestWebKitAPI/Tests/mac/MemoryCacheDisableWithinResourceLoadDelegate.mm: Added. (-[MemoryCacheDisableTestResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]): (-[MemoryCacheDisableTestResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]): (TestWebKitAPI::TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 May, 2012 1 commit
-
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=85664 Reviewed by Dan Bernstein. Instead of going through all the history items in the back/forward list looking for cached pages, just iterate over the cached pages in the page. * history/BackForwardController.cpp: * history/BackForwardController.h: * history/HistoryItem.cpp: * history/HistoryItem.h: * history/PageCache.cpp: (WebCore::PageCache::markPagesForFullStyleRecalc): (WebCore): * history/PageCache.h: (PageCache): * page/Frame.cpp: (WebCore::Frame::setPageAndTextZoomFactors): * page/Page.cpp: (WebCore::Page::setDeviceScaleFactor): (WebCore::Page::setPagination): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 May, 2012 1 commit
-
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=85254 <rdar://problem/11349613> Reviewed by Geoffrey Garen. No new tests, since there is no change in behavior. * history/PageCache.cpp: (WebCore): (WebCore::PageCache::PageCache): (WebCore::PageCache::releaseAutoreleasedPagesNowDueToTimer): * history/PageCache.h: (PageCache): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Mar, 2012 2 commits
-
-
mitz@apple.com authored
* history/PageCache.cpp: Fixed an unused function warning introduced in r111391. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111402 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gavinp@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81358 Reviewed by Adam Barth. The current chromium FrameClientImpl always denies page cache; but that's easily fixable. This histogram tracks which rejection causes occur alone with that cause. I'm particularly interested in knowing how many more pages would work in the page cache if we could get plugins in. * history/PageCache.cpp: (WebCore::logCanCachePageDecision): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Mar, 2012 1 commit
-
-
rdar://problem/10917120https://bugs.webkit.org/show_bug.cgi?id=81066beidson@apple.com authored
Crash in 3rd party WebKit apps under XHR/Cache code Reviewed by Antti Koivisto. Source/WebCore: No new layout tests. TestWebKitAPI test MemoryCachePruneWithinResourceLoadDelegate included A CachedResource representing an XHR was being deleted by cache pruning during a delegate callback. This worked until http://trac.webkit.org/changeset/98380 * history/PageCache.cpp: (WebCore::PageCache::releaseAutoreleasedPagesNow): Only trigger pruning after the page cache autorelease if it was enabled before. * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::loadResource): Disable pruning before loading the resource and re-enable it afterwards if necessary. * loader/cache/MemoryCache.h: (WebCore::MemoryCache::pruneEnabled): Tools: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.html: Added. * TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm: Added. (-[MemoryCachePruneTestResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): (-[MemoryCachePruneTestResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]): (-[MemoryCachePruneTestResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]): (-[MemoryCachePruneTestResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]): (TestWebKitAPI): (TestWebKitAPI::TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Mar, 2012 1 commit
-
-
gavinp@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81179 Reviewed by Brady Eidson. The early exits from logCanCacheFrameDecision had the potential to skew histogram data. Moving the DocumentLoader check to the top, but eliminating the early exits is a compromise that keeps the logged data mostly accurate. * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Mar, 2012 2 commits
-
-
gavinp@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=80864 Reviewed by Brady Eidson. Chrome has a command line switch to turn on the page cache. Currently it doesn't work, but it can cause the PageCache reasons for failure count to read lower than it should. Add a new histogram to report the corrected value. * history/PageCache.cpp: (WebCore::logCanCachePageDecision): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
gavinp@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=80849 Reviewed by Brady Eidson. It seems that somebody goofed, and named one of the ReasonsFrameCannotBeInPageCache antonymically. * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Mar, 2012 1 commit
-
-
gavinp@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=80187 Enhance the PageCache debug mode so that it uses Histograms to report on causes of failure. Turn on the debug printing path even in non-debug Chromium builds, so these histograms will update. Reviewed by Brady Eidson. No new tests, does not change behaviour. * history/PageCache.cpp: (WebCore): (WebCore::logCanCacheFrameDecision): (WebCore::logCanCachePageDecision): (WebCore::PageCache::canCache): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@110057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Mar, 2012 1 commit
-
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=80248 Reviewed by Kentaro Hara. Source/WebCore: This patch updates Geolocation to use some more modern WebCore mechanisms. Previously, Geolocation used a Frame as a context object, which required a bunch of manual integration with the PageCache as well as custom signaling for Geolocation::reset(). After this patch, Geolocation subclasses ActiveDOMObject, which does all this work automatically. * Modules/geolocation/Geolocation.cpp: (WebCore::Geolocation::create): (WebCore): (WebCore::Geolocation::Geolocation): (WebCore::Geolocation::~Geolocation): (WebCore::Geolocation::document): (WebCore::Geolocation::frame): (WebCore::Geolocation::page): (WebCore::Geolocation::stop): (WebCore::Geolocation::getCurrentPosition): (WebCore::Geolocation::watchPosition): (WebCore::Geolocation::requestPermission): (WebCore::Geolocation::clearWatch): (WebCore::Geolocation::setIsAllowed): * Modules/geolocation/Geolocation.h: (WebCore): (Geolocation): * Modules/geolocation/NavigatorGeolocation.cpp: (WebCore): (WebCore::NavigatorGeolocation::geolocation): * Modules/geolocation/NavigatorGeolocation.h: (NavigatorGeolocation): * dom/Document.cpp: (WebCore::Document::Document): * dom/Document.h: (Document): * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): Source/WebKit/chromium: Rather than indirecting through the Frame to get the SecurityOrigin, we should get the SecurityOrigin directly from ScriptExecutionContext. * src/WebGeolocationPermissionRequest.cpp: (WebKit::WebGeolocationPermissionRequest::securityOrigin): Source/WebKit/mac: * WebView/WebFrame.mm: (-[WebFrame _cacheabilityDictionary]): - We no longer special-case Geolocation. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 Mar, 2012 1 commit
-
-
gavinp@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=79943 Sync up the debug printing code in PageCache with the actual logic, and clean up the debug printing at the same time. Reviewed by Brady Eidson. No new tests, as this is a refactor of debug only code. * history/PageCache.cpp: (WebCore): (WebCore::logCanCacheFrameDecision): (WebCore::logCanCachePageDecision): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Mar, 2012 1 commit
-
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=79633 Reviewed by Eric Seidel. Source/WebCore: This class creates a DatabaseContext object to supplement the ScriptExecutionContext with database-specific information. This new object lets us remove a bunch of database-specific (and ifdefed) logic from ScriptExecutionContext.(cpp|h). * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.exp.in: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::ScriptExecutionContext): (WebCore::ScriptExecutionContext::~ScriptExecutionContext): (WebCore): * dom/ScriptExecutionContext.h: (WebCore): (ScriptExecutionContext): * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): * platform/Supplementable.h: (WebCore::Supplementable::provideSupplement): (WebCore::Supplementable::requireSupplement): (Supplementable): * storage/AbstractDatabase.cpp: (WebCore::AbstractDatabase::AbstractDatabase): * storage/AbstractDatabase.h: (WebCore): (WebCore::AbstractDatabase::databaseContext): (AbstractDatabase): * storage/Database.cpp: (WebCore::Database::openDatabase): (WebCore::Database::Database): (WebCore::Database::openAndVerifyVersion): (WebCore::Database::markAsDeletedAndClose): (WebCore::Database::close): (WebCore::Database::closeImmediately): (WebCore::Database::performOpenAndVerify): (WebCore::Database::scheduleTransaction): (WebCore::Database::scheduleTransactionStep): (WebCore::Database::transactionClient): (WebCore::Database::transactionCoordinator): (WebCore::Database::tableNames): (WebCore::Database::securityOrigin): * storage/DatabaseContext.cpp: Added. (WebCore): (WebCore::existingDatabaseContextFrom): (WebCore::DatabaseContext::DatabaseContext): (WebCore::DatabaseContext::~DatabaseContext): (WebCore::DatabaseContext::from): (WebCore::DatabaseContext::databaseThread): (WebCore::DatabaseContext::hasOpenDatabases): (WebCore::DatabaseContext::stopDatabases): * storage/DatabaseContext.h: Added. (WebCore): (DatabaseContext): (WebCore::DatabaseContext::setHasOpenDatabases): * storage/SQLTransaction.cpp: (WebCore::SQLTransaction::checkAndHandleClosedOrInterruptedDatabase): (WebCore::SQLTransaction::notifyDatabaseThreadIsShuttingDown): * workers/WorkerThread.cpp: (WebCore::WorkerThreadShutdownStartTask::performTask): Source/WebKit/mac: * WebView/WebFrame.mm: (-[WebFrame _cacheabilityDictionary]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Feb, 2012 2 commits
-
-
rdar://problem/7196487https://bugs.webkit.org/show_bug.cgi?id=26777beidson@apple.com authored
<rdar://problem/7196487> and https://bugs.webkit.org/show_bug.cgi?id=26777 Add https pages to the page cache in some cases Reviewed by Anders Carlsson. Source/WebCore: Test: http/tests/navigation/https-in-page-cache.html * history/PageCache.cpp: (WebCore::PageCache::canCachePageContainingThisFrame): Allow HTTPS pages that do not specify cache-control: no-cache or cache-control: no-store into the page cache. This will match Firefox's behavior for HTTPS in their bfcache. LayoutTests: * http/tests/navigation/https-in-page-cache.html: Added. * http/tests/navigation/https-in-page-cache-expected.txt: Added. * http/tests/navigation/resources/https-in-page-cache-1.php: Added. * http/tests/navigation/resources/https-in-page-cache-2.php: Added. * http/tests/navigation/resources/https-in-page-cache-3.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
https://bugs.webkit.org/show_bug.cgi?id=78520beidson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=78520 Cleanup PageCache::canCachePageContainingThisFrame readability Reviewed by Anders Carlsson. No new tests. (Code cleanup, no change in behavior) * history/PageCache.cpp: (WebCore::PageCache::canCachePageContainingThisFrame): Store three commonly getter-accessed variables in local variables for readability. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Feb, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=78085 Patch by Hajime Morrita <morrita@chromium.org> on 2012-02-12 Reviewed by Adam Barth. Source/WebCore: Introducing PageSupplement interface to attach behind-the-flag-ish objects to Page instances. This change aims to improve modularity of Modules/ entries. With PageSupplement mechinary, we can eliminate ifdef conditionals from Page.h/Page.cpp and are able to add Modules/ entries without touching non-Module WebCore files. WebKit API classes like WebPage can "provide" these objects dynamically during the Page setup phase. In this change, DeviceMotionController and DeviceOrientationController is updated to adopt PageSupplement inteface for an illustrative purpose because they are going to move into Modules/ shortly. Other Page associated API backing objects also should be transformed to PageSupplement family. Reviewed by Adam Barth. No new tests. No behavior change. * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * dom/DeviceMotionClient.h: (WebCore): * dom/DeviceMotionController.cpp: (WebCore::DeviceMotionController::supplementName): (WebCore): (WebCore::DeviceMotionController::isActiveAt): (WebCore::provideDeviceMotionTo): * dom/DeviceMotionController.h: (DeviceMotionController): (WebCore::DeviceMotionController::from): * dom/DeviceOrientationClient.h: (WebCore): * dom/DeviceOrientationController.cpp: (WebCore::DeviceOrientationController::supplementName): (WebCore): (WebCore::DeviceOrientationController::isActiveAt): (WebCore::provideDeviceOrientationTo): * dom/DeviceOrientationController.h: (DeviceOrientationController): (WebCore::DeviceOrientationController::from): * dom/Document.cpp: (WebCore::Document::suspendActiveDOMObjects): (WebCore::Document::resumeActiveDOMObjects): * history/PageCache.cpp: (WebCore::logCanCachePageDecision): (WebCore::PageCache::canCache): * page/DOMWindow.cpp: (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * page/PageSupplement.cpp: (WebCore::PageSupplement::~PageSupplement): (WebCore::PageSupplement::provideTo): (WebCore::PageSupplement::from): * page/PageSupplement.h: * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): (WebCore::Page::provideSupplement): (WebCore): (WebCore::Page::requireSupplement): (WebCore::Page::notifyDestroyedToSupplements): (WebCore::Page::PageClients::PageClients): * page/Page.h: (WebCore): (PageClients): (Page): * svg/graphics/SVGImage.cpp: (WebCore::SVGImage::dataChanged): Source/WebKit/chromium: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): Source/WebKit/mac: * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): Source/WebKit/qt: * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::setMockDeviceOrientation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Dec, 2011 1 commit
-
-
beidson@apple.com authored
<rdar://problem/5190122> and https://bugs.webkit.org/show_bug.cgi?id=13634 Source/WebCore: Reviewed by Anders Carlsson. By making plugin elements renderers go display:none when entering the page cache, we destroy the plug-in in a cross platform way as well as handle invalidating script objects created by that plugin. By restoring the original style when leaving the page cache and forcing a style recalc on the plugin element, the plugin is gracefully reinstantiated when the user goes back. Test: plugins/netscape-plugin-page-cache-works.html * dom/Document.cpp: (WebCore::Document::documentDidBecomeActive): Copy this collection before iterating over it, as the callbacks might result in mutating the set. * dom/Node.h: (WebCore::Node::setHasCustomStyleForRenderer): (WebCore::Node::clearHasCustomStyleForRenderer): Expose the ability to stop using a custom renderer and go back to the default renderer. * history/CachedFrame.cpp: (WebCore::CachedFrame::CachedFrame): Move the document inactivation call to the same place we suspend active DOM objects. It is important this call be *after* the beforeunload event is dispatched, and was coincidental non of the elements that using Document activation had run in to this problem yet. * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): If the page contains plugins but the PageCacheSupportsPlugins setting is true, allow this page. Kill and recreate the plugin by listening for Document activation callbacks and setting a custom display:none render style: * html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement): (WebCore::HTMLPlugInImageElement::~HTMLPlugInImageElement): Unregister for document activation callbacks. (WebCore::HTMLPlugInImageElement::createRenderer): Once a renderer (ie. plugin instance) is created, this element needs Document (in)activation callbacks. (WebCore::HTMLPlugInImageElement::willMoveToNewOwnerDocument): Manage Document activation callback registration. (WebCore::HTMLPlugInImageElement::didMoveToNewOwnerDocument): Ditto. (WebCore::HTMLPlugInImageElement::documentWillBecomeInactive): Clone the element's current style and set the clone's display value to None. Start using this custom style and force a style recall. This destroys the renderer and therefore the plugin instance. (WebCore::HTMLPlugInImageElement::documentDidBecomeActive): Stop using the custom style and force a style recall to reinstantiate the plugin. (WebCore::HTMLPlugInImageElement::customStyleForRenderer): Return the stand-in style that has display:none set. * html/HTMLPlugInImageElement.h: Add a setting that allows runtime configuration of whether or not the page cache supports plugins: * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: (WebCore::Settings::setPageCacheSupportsPlugins): (WebCore::Settings::pageCacheSupportsPlugins): Source/WebKit/mac: Expose a WebKit preference for the page cache supporting plugins (on by default). Reviewed by Anders Carlsson. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (-[WebPreferences pageCacheSupportsPlugins]): (-[WebPreferences setPageCacheSupportsPlugins:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChanged:]): Source/WebKit2: Expose a WebKit2 preference for the page cache supporting plugins (on by default). Reviewed by Anders Carlsson. * Shared/WebPreferencesStore.h: * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesSetPageCacheSupportsPlugins): (WKPreferencesGetPageCacheSupportsPlugins): * UIProcess/API/C/WKPreferencesPrivate.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): LayoutTests: Reviewed by Anders Carlsson. * plugins/netscape-plugin-page-cache-works-expected.txt: Added. * plugins/netscape-plugin-page-cache-works.html: Added. * plugins/resources/go-back.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@102619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 Nov, 2011 1 commit
-
-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=71422 ../JavaScriptCore: * wtf/text/AtomicString.cpp: (WTF::HashAndUTF8CharactersTranslator::translate): Use leakRef. ../WebCore: Reviewed by Darin Fisher. * bindings/objc/WebScriptObject.mm: (-[WebScriptObject _setImp:originRootObject:rootObject:]): (-[WebScriptObject _setOriginRootObject:andRootObject:]): * bridge/NP_jsobject.cpp: (_NPN_CreateScriptObject): * dom/QualifiedName.cpp: (WebCore::QNameComponentsTranslator::translate): * history/PageCache.cpp: (WebCore::PageCache::add): * html/HTMLTableElement.cpp: (WebCore::HTMLTableElement::additionalAttributeStyleDecls): (WebCore::HTMLTableElement::addSharedCellBordersDecl): (WebCore::HTMLTableElement::addSharedGroupDecls): * platform/graphics/cg/ImageSourceCG.cpp: (WebCore::ImageSource::createFrameAtIndex): * platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::createFontCustomPlatformData): * platform/mac/ContextMenuMac.mm: (WebCore::ContextMenu::releasePlatformDescription): * platform/mac/SharedBufferMac.mm: (WebCore::SharedBuffer::createCFData): * rendering/RenderMediaControlsChromium.cpp: (WebCore::platformResource): Use leakRef. ../WebKit/chromium: * public/WebPrivatePtr.h: (WebKit::WebPrivatePtr::WebPrivatePtr): (WebKit::WebPrivatePtr::operator=): * src/WebDOMEvent.cpp: (WebKit::WebDOMEvent::WebDOMEvent): * src/WebData.cpp: (WebKit::WebData::assign): (WebKit::WebData::WebData): (WebKit::WebData::operator=): * src/WebDragData.cpp: (WebKit::WebDragData::initialize): (WebKit::WebDragData::WebDragData): (WebKit::WebDragData::operator=): * src/WebHTTPBody.cpp: (WebKit::WebHTTPBody::initialize): (WebKit::WebHTTPBody::WebHTTPBody): (WebKit::WebHTTPBody::operator=): (WebKit::WebHTTPBody::ensureMutable): * src/WebNodeCollection.cpp: (WebKit::WebNodeCollection::WebNodeCollection): * src/WebNodeList.cpp: (WebKit::WebNodeList::WebNodeList): * src/WebNotification.cpp: (WebKit::WebNotification::WebNotification): (WebKit::WebNotification::operator=): * src/WebRange.cpp: (WebKit::WebRange::WebRange): (WebKit::WebRange::operator=): * src/WebSecurityOrigin.cpp: (WebKit::WebSecurityOrigin::WebSecurityOrigin): (WebKit::WebSecurityOrigin::operator=): * src/WebThreadSafeData.cpp: (WebKit::WebThreadSafeData::WebThreadSafeData): Use leakRef. ../WebKit/efl: Reviewed by Darin Fisher. * ewk/ewk_history.cpp: (ewk_history_item_new): Use leakRef. ../WebKit/gtk: Reviewed by Darin Fisher. * webkit/webkitwebdatasource.cpp: (WebKit::kitNew): * webkit/webkitwebhistoryitem.cpp: (webkit_web_history_item_new): (webkit_web_history_item_new_with_data): (webkit_web_history_item_copy): (WebKit::kit): * webkit/webkitwebresource.cpp: (webkit_web_resource_new_with_core_resource): (webkit_web_resource_init_with_core_resource): Use leakRef. ../WebKit/mac: Reviewed by Darin Fisher. * History/WebBackForwardList.mm: (-[WebBackForwardList initWithBackForwardList:]): * History/WebHistoryItem.mm: (-[WebHistoryItem copyWithZone:]): (-[WebHistoryItem initWithWebCoreHistoryItem:]): * Plugins/Hosted/WebHostedNetscapePluginView.mm: (-[WebHostedNetscapePluginView createPlugin]): * Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView createPlugin]): * WebCoreSupport/WebOpenPanelResultListener.mm: * WebView/WebDataSource.mm: (-[WebDataSource _initWithDocumentLoader:]): * WebView/WebResource.mm: (-[WebResourcePrivate initWithCoreResource:]): Use leakRef. ../WebKit/win: Reviewed by Darin Fisher. * WebCache.cpp: (WebCache::statistics): * WebDatabaseManager.cpp: (WebDatabaseManager::origins): (WebDatabaseManager::databasesWithOrigin): * WebHistoryItem.cpp: (WebHistoryItem::redirectURLs): * WebKitClassFactory.cpp: (leakRefFromCreateInstance): (WebKitClassFactory::CreateInstance): * WebScriptWorld.cpp: (WebScriptWorld::standardWorld): Use leakRef. ../WebKit2: Reviewed by Darin Fisher. * Platform/mac/ModuleMac.mm: (WebKit::Module::load): * Shared/API/c/WKArray.cpp: (WKArrayCreate): * Shared/API/c/WKData.cpp: (WKDataCreate): * Shared/API/c/WKDictionary.cpp: (WKDictionaryCopyKeys): * Shared/API/c/WKGeometry.cpp: (WKPointCreate): (WKSizeCreate): (WKRectCreate): * Shared/API/c/WKMutableArray.cpp: (WKMutableArrayCreate): * Shared/API/c/WKMutableDictionary.cpp: (WKMutableDictionaryCreate): * Shared/API/c/WKNumber.cpp: (WKBooleanCreate): (WKDoubleCreate): (WKUInt64Create): * Shared/API/c/WKSharedAPICast.h: (WebKit::toCopiedAPI): (WebKit::toCopiedURLAPI): * Shared/API/c/cf/WKErrorCF.cpp: (WKErrorCreateWithCFError): * Shared/API/c/cf/WKURLRequestCF.cpp: (WKURLRequestCreateWithCFURLRequest): * Shared/API/c/cf/WKURLResponseCF.cpp: (WKURLResponseCreateWithCFURLResponse): * Shared/API/c/mac/WKURLRequestNS.mm: (WKURLRequestCreateWithNSURLRequest): * Shared/API/c/mac/WKURLResponseNS.mm: (WKURLResponseCreateWithNSURLResponse): * Shared/cf/ArgumentCodersCF.cpp: (CoreIPC::decode): * UIProcess/API/C/WKBackForwardList.cpp: (WKBackForwardListCopyBackListWithLimit): (WKBackForwardListCopyForwardListWithLimit): * UIProcess/API/C/WKContext.cpp: (WKContextCreate): (WKContextCreateWithInjectedBundlePath): * UIProcess/API/C/WKCredential.cpp: (WKCredentialCreate): (WKCredentialCreateWithCertificateInfo): * UIProcess/API/C/WKDatabaseManager.cpp: (WKDatabaseManagerGetOriginKey): (WKDatabaseManagerGetOriginQuotaKey): (WKDatabaseManagerGetOriginUsageKey): (WKDatabaseManagerGetDatabaseDetailsKey): (WKDatabaseManagerGetDatabaseDetailsNameKey): (WKDatabaseManagerGetDatabaseDetailsDisplayNameKey): (WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey): (WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey): * UIProcess/API/C/WKFrame.cpp: (WKFrameCopyChildFrames): * UIProcess/API/C/WKGeolocationPosition.cpp: (WKGeolocationPositionCreate): * UIProcess/API/C/WKGrammarDetail.cpp: (WKGrammarDetailCreate): * UIProcess/API/C/WKPage.cpp: (WKPageGetSessionHistoryURLValueType): (WKPageCopySessionState): * UIProcess/API/C/WKPreferences.cpp: (WKPreferencesCreateWithIdentifier): * UIProcess/API/C/win/WKView.cpp: (WKViewCreate): * UIProcess/win/WebUndoClient.cpp: (WebKit::WebUndoClient::registerEditCommand): * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: (WKBundleFrameCopyChildFrames): * WebProcess/InjectedBundle/API/c/WKBundleNodeHandle.cpp: (WKBundleNodeHandleCreate): (WKBundleNodeHandleCopyDocument): (WKBundleNodeHandleCopyHTMLTableCellElementCellAbove): (WKBundleNodeHandleCopyDocumentFrame): (WKBundleNodeHandleCopyHTMLFrameElementContentFrame): (WKBundleNodeHandleCopyHTMLIFrameElementContentFrame): * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: (WKBundlePageCopyTrackedRepaintRects): * WebProcess/InjectedBundle/API/c/WKBundleScriptWorld.cpp: (WKBundleScriptWorldCreateWorld): Use leakRef. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@99239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Sep, 2011 1 commit
-
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=68767 Reviewed by Eric Seidel. .: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWinCE.cmake: * Source/cmakeconfig.h.cmake: * configure.ac: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: As discussed on webkit-dev, almost everyone has this enable turned on and this feature is unlikely to be removed from the web platform given its popularity. * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * GNUmakefile.list.am: * WebCore.exp.in: * WebCore.pro: * bindings/cpp/WebDOMEventTarget.cpp: (toWebKit): * bindings/js/JSEventTarget.cpp: (WebCore::toJS): (WebCore::toEventTarget): * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::convertEventTargetToV8Object): * dom/EventTarget.cpp: (WebCore::EventTarget::toDOMApplicationCache): * dom/EventTarget.h: * features.pri: * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): * html/HTMLHtmlElement.cpp: (WebCore::HTMLHtmlElement::insertedByParser): * html/HTMLHtmlElement.h: * html/HTMLMediaElement.cpp: (WebCore::createFileURLForApplicationCacheResource): (WebCore::HTMLMediaElement::loadResource): * html/ImageDocument.cpp: (WebCore::ImageDocument::createDocumentStructure): * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure): * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure): * html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML): * inspector/InspectorApplicationCacheAgent.cpp: * inspector/InspectorApplicationCacheAgent.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::disconnectFrontend): * inspector/InspectorController.h: * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::updateApplicationCacheStatusImpl): * inspector/InspectorInstrumentation.h: (WebCore::InspectorInstrumentation::networkStateChanged): (WebCore::InspectorInstrumentation::updateApplicationCacheStatus): * inspector/InstrumentingAgents.h: (WebCore::InstrumentingAgents::InstrumentingAgents): (WebCore::InstrumentingAgents::setInspectorApplicationCacheAgent): * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::connectFrontend): * inspector/generate-inspector-idl: * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::DocumentLoader): (WebCore::DocumentLoader::mainReceivedError): (WebCore::DocumentLoader::stopLoading): (WebCore::DocumentLoader::detachFromFrame): (WebCore::DocumentLoader::handledOnloadEvents): * loader/DocumentLoader.h: (WebCore::DocumentLoader::applicationCacheHost): * loader/EmptyClients.h: (WebCore::EmptyChromeClient::reachedApplicationCacheOriginQuota): * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadResourceSynchronously): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::willSendRequest): (WebCore::MainResourceLoader::didReceiveResponse): (WebCore::MainResourceLoader::didReceiveData): (WebCore::MainResourceLoader::didFinishLoading): (WebCore::MainResourceLoader::didFail): (WebCore::MainResourceLoader::load): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::start): (WebCore::ResourceLoader::willSendRequest): (WebCore::ResourceLoader::didSendData): (WebCore::ResourceLoader::didReceiveResponse): (WebCore::ResourceLoader::didReceiveData): (WebCore::ResourceLoader::didFinishLoading): (WebCore::ResourceLoader::didFail): (WebCore::ResourceLoader::wasBlocked): (WebCore::ResourceLoader::cannotShowURL): (WebCore::ResourceLoader::shouldUseCredentialStorage): (WebCore::ResourceLoader::willCacheResponse): * loader/ResourceLoader.h: * loader/appcache/ApplicationCache.cpp: * loader/appcache/ApplicationCache.h: * loader/appcache/ApplicationCacheGroup.cpp: * loader/appcache/ApplicationCacheGroup.h: * loader/appcache/ApplicationCacheHost.cpp: * loader/appcache/ApplicationCacheHost.h: * loader/appcache/ApplicationCacheResource.cpp: * loader/appcache/ApplicationCacheResource.h: * loader/appcache/ApplicationCacheStorage.cpp: * loader/appcache/ApplicationCacheStorage.h: * loader/appcache/DOMApplicationCache.cpp: * loader/appcache/DOMApplicationCache.h: * loader/appcache/DOMApplicationCache.idl: * loader/appcache/ManifestParser.cpp: (WebCore::parseManifest): * loader/appcache/ManifestParser.h: * loader/chromium/ResourceLoaderChromium.cpp: (WebCore::ResourceLoader::didDownloadData): * page/ChromeClient.h: * page/DOMWindow.cpp: (WebCore::DOMWindow::clear): (WebCore::DOMWindow::applicationCache): * page/DOMWindow.h: (WebCore::DOMWindow::optionalApplicationCache): * page/DOMWindow.idl: * xml/parser/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::startElementNs): * xml/parser/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::parseStartElement): Source/WebKit/chromium: * features.gypi: * src/ApplicationCacheHost.cpp: * src/ApplicationCacheHostInternal.h: * src/AssertMatchingEnums.cpp: * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::reachedApplicationCacheOriginQuota): * src/ChromeClientImpl.h: * src/WebDataSourceImpl.cpp: (WebKit::WebDataSourceImpl::applicationCacheHost): * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableApplicationCache): (WebKit::WebRuntimeFeatures::isApplicationCacheEnabled): Source/WebKit/efl: * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientEfl.h: * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_cache_directory_path_set): (ewk_settings_cache_directory_path_get): Source/WebKit/gtk: * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientGtk.h: * webkit/webkitapplicationcache.cpp: (webkit_application_cache_get_maximum_size): (webkit_application_cache_set_maximum_size): (webkit_application_cache_get_database_directory_path): * webkit/webkitglobals.cpp: (webkitInit): Source/WebKit/haiku: * WebCoreSupport/ChromeClientHaiku.cpp: (WebCore::ChromeClientWx::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientHaiku.h: Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: * Misc/WebCache.mm: (+[WebCache empty]): * WebCoreSupport/WebApplicationCache.mm: * WebCoreSupport/WebApplicationCacheQuotaManager.mm: (-[WebApplicationCacheQuotaManager usage]): (-[WebApplicationCacheQuotaManager quota]): (-[WebApplicationCacheQuotaManager setQuota:]): * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: * WebView/WebDataSource.mm: (-[WebDataSource _transferApplicationCache:]): * WebView/WebFrame.mm: (-[WebFrame _cacheabilityDictionary]): * WebView/WebView.mm: (WebKitInitializeApplicationCachePathIfNecessary): Source/WebKit/qt: * Api/qwebsecurityorigin.cpp: (QWebSecurityOrigin::setApplicationCacheQuota): * Api/qwebsettings.cpp: (QWebSettings::setOfflineWebApplicationCachePath): (QWebSettings::offlineWebApplicationCachePath): (QWebSettings::setOfflineWebApplicationCacheQuota): (QWebSettings::offlineWebApplicationCacheQuota): * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::clearAllApplicationCaches): Source/WebKit/win: * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::reachedApplicationCacheOriginQuota): * WebCoreSupport/WebChromeClient.h: Source/WebKit/wince: * WebCoreSupport/ChromeClientWinCE.cpp: (WebKit::ChromeClientWinCE::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientWinCE.h: Source/WebKit/wx: * WebKitSupport/ChromeClientWx.cpp: (WebCore::ChromeClientWx::reachedApplicationCacheOriginQuota): * WebKitSupport/ChromeClientWx.h: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: * UIProcess/qt/WebContextQt.cpp: (WebKit::WebContext::applicationCacheDirectory): * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp: (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins): (WebKit::WebApplicationCacheManager::deleteEntriesForOrigin): (WebKit::WebApplicationCacheManager::deleteAllEntries): * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::reachedApplicationCacheOriginQuota): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess): (WebKit::WebProcess::clearApplicationCache): * WebProcess/WebProcess.h: Tools: * Scripts/build-webkit: WebKitLibraries: * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 15 Sep, 2011 1 commit
-
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=68205 Reviewed by Eric Seidel. .: * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWinCE.cmake: * Source/cmakeconfig.h.cmake: * configure.ac: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: * wtf/Platform.h: Source/WebCore: As discussed on webkit-dev. * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * GNUmakefile.list.am: * UseJSC.cmake: * bindings/generic/RuntimeEnabledFeatures.cpp: * bindings/generic/RuntimeEnabledFeatures.h: * bindings/js/JSCustomSQLStatementErrorCallback.cpp: * bindings/js/JSDOMBinding.cpp: (WebCore::setDOMException): * bindings/js/JSExceptionBase.cpp: (WebCore::toExceptionBase): * bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::JSInjectedScriptHost::databaseId): * bindings/js/JSSQLResultSetRowListCustom.cpp: * bindings/js/JSSQLTransactionCustom.cpp: * bindings/js/JSSQLTransactionSyncCustom.cpp: * bindings/scripts/test/CPP/WebDOMTestCallback.cpp: * bindings/scripts/test/CPP/WebDOMTestCallback.h: * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp: * bindings/scripts/test/JS/JSTestCallback.cpp: * bindings/scripts/test/JS/JSTestCallback.h: * bindings/scripts/test/ObjC/DOMTestCallback.mm: * bindings/scripts/test/TestCallback.idl: * bindings/scripts/test/V8/V8TestCallback.cpp: * bindings/scripts/test/V8/V8TestCallback.h: * bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::setDOMException): * bindings/v8/V8Proxy.h: * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp: * bindings/v8/custom/V8InjectedScriptHostCustom.cpp: (WebCore::V8InjectedScriptHost::databaseIdCallback): * bindings/v8/custom/V8SQLResultSetRowListCustom.cpp: * bindings/v8/custom/V8SQLTransactionCustom.cpp: * bindings/v8/custom/V8SQLTransactionSyncCustom.cpp: * dom/Document.cpp: * dom/Document.h: * dom/ExceptionCode.cpp: (WebCore::getExceptionCodeDescription): * dom/ExceptionCode.h: * dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::ScriptExecutionContext): (WebCore::ScriptExecutionContext::~ScriptExecutionContext): * dom/ScriptExecutionContext.h: * features.pri: * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): * inspector/InjectedScriptHost.cpp: (WebCore::InjectedScriptHost::InjectedScriptHost): (WebCore::InjectedScriptHost::disconnect): * inspector/InjectedScriptHost.h: (WebCore::InjectedScriptHost::init): * inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::connectFrontend): (WebCore::InspectorController::disconnectFrontend): (WebCore::InspectorController::restoreInspectorStateFromCookie): * inspector/InspectorController.h: * inspector/InspectorDatabaseAgent.cpp: * inspector/InspectorDatabaseInstrumentation.h: * inspector/InspectorDatabaseResource.cpp: * inspector/InspectorDatabaseResource.h: * inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::didCommitLoadImpl): * inspector/InspectorInstrumentation.h: * inspector/InstrumentingAgents.h: (WebCore::InstrumentingAgents::InstrumentingAgents): * inspector/WorkerInspectorController.cpp: (WebCore::WorkerInspectorController::WorkerInspectorController): (WebCore::WorkerInspectorController::connectFrontend): * loader/EmptyClients.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): * page/ChromeClient.h: * page/DOMWindow.cpp: * page/DOMWindow.h: * page/DOMWindow.idl: * platform/sql/SQLiteAuthorizer.cpp: * platform/sql/SQLiteDatabase.cpp: * platform/sql/SQLiteFileSystem.cpp: * platform/sql/SQLiteStatement.cpp: * platform/sql/SQLiteTransaction.cpp: * storage/AbstractDatabase.cpp: * storage/AbstractDatabase.h: * storage/ChangeVersionWrapper.cpp: * storage/ChangeVersionWrapper.h: * storage/Database.cpp: * storage/Database.h: * storage/Database.idl: * storage/DatabaseAuthorizer.cpp: * storage/DatabaseCallback.h: * storage/DatabaseCallback.idl: * storage/DatabaseDetails.h: * storage/DatabaseSync.cpp: * storage/DatabaseSync.h: * storage/DatabaseSync.idl: * storage/DatabaseTask.cpp: * storage/DatabaseTask.h: * storage/DatabaseThread.cpp: * storage/DatabaseThread.h: * storage/DatabaseTracker.cpp: * storage/DatabaseTracker.h: * storage/DatabaseTrackerClient.h: * storage/OriginQuotaManager.cpp: * storage/OriginQuotaManager.h: * storage/OriginUsageRecord.cpp: * storage/OriginUsageRecord.h: * storage/SQLCallbackWrapper.h: * storage/SQLError.h: * storage/SQLError.idl: * storage/SQLException.h: * storage/SQLException.idl: * storage/SQLResultSet.cpp: * storage/SQLResultSet.h: * storage/SQLResultSet.idl: * storage/SQLResultSetRowList.cpp: * storage/SQLResultSetRowList.h: * storage/SQLResultSetRowList.idl: * storage/SQLStatement.cpp: * storage/SQLStatement.h: * storage/SQLStatementCallback.h: * storage/SQLStatementCallback.idl: * storage/SQLStatementErrorCallback.h: * storage/SQLStatementErrorCallback.idl: * storage/SQLStatementSync.cpp: * storage/SQLStatementSync.h: * storage/SQLTransaction.cpp: * storage/SQLTransaction.h: * storage/SQLTransaction.idl: * storage/SQLTransactionCallback.h: * storage/SQLTransactionCallback.idl: * storage/SQLTransactionClient.cpp: * storage/SQLTransactionClient.h: * storage/SQLTransactionCoordinator.cpp: * storage/SQLTransactionCoordinator.h: * storage/SQLTransactionErrorCallback.h: * storage/SQLTransactionErrorCallback.idl: * storage/SQLTransactionSync.cpp: * storage/SQLTransactionSync.h: * storage/SQLTransactionSync.idl: * storage/SQLTransactionSyncCallback.h: * storage/SQLTransactionSyncCallback.idl: * storage/chromium/DatabaseObserver.h: * storage/chromium/DatabaseTrackerChromium.cpp: * storage/chromium/QuotaTracker.cpp: * storage/chromium/QuotaTracker.h: * storage/chromium/SQLTransactionClientChromium.cpp: * workers/WorkerContext.cpp: * workers/WorkerContext.h: * workers/WorkerContext.idl: * workers/WorkerThread.cpp: (WebCore::WorkerThreadShutdownStartTask::performTask): (WebCore::WorkerThread::stop): Source/WebKit/chromium: * src/DatabaseObserver.cpp: * src/WebDatabase.cpp: (WebKit::WebDatabase::updateDatabaseSize): (WebKit::WebDatabase::updateSpaceAvailable): (WebKit::WebDatabase::resetSpaceAvailable): (WebKit::WebDatabase::closeDatabaseImmediately): * src/WebRuntimeFeatures.cpp: (WebKit::WebRuntimeFeatures::enableDatabase): (WebKit::WebRuntimeFeatures::isDatabaseEnabled): Source/WebKit/efl: * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_get): (ewk_settings_web_database_path_set): (ewk_settings_web_database_path_get): Source/WebKit/gtk: * WebCoreSupport/ChromeClientGtk.cpp: * WebCoreSupport/ChromeClientGtk.h: * webkit/webkitsecurityorigin.cpp: (webkit_security_origin_get_web_database_usage): (webkit_security_origin_get_web_database_quota): (webkit_security_origin_set_web_database_quota): (webkit_security_origin_get_all_web_databases): * webkit/webkitwebdatabase.cpp: (webkit_web_database_get_display_name): (webkit_web_database_get_expected_size): (webkit_web_database_get_size): (webkit_web_database_get_filename): (webkit_web_database_remove): (webkit_remove_all_web_databases): (webkit_get_web_database_directory_path): (webkit_set_web_database_directory_path): * webkit/webkitwebview.cpp: (webkit_web_view_update_settings): (webkit_web_view_settings_notify): Source/WebKit/haiku: * WebCoreSupport/ChromeClientHaiku.h: Source/WebKit/mac: * Storage/WebDatabaseManager.mm: * Storage/WebDatabaseManagerInternal.h: * Storage/WebDatabaseManagerPrivate.h: * Storage/WebDatabaseQuotaManager.mm: (-[WebDatabaseQuotaManager usage]): (-[WebDatabaseQuotaManager quota]): (-[WebDatabaseQuotaManager setQuota:]): * Storage/WebDatabaseTrackerClient.h: * Storage/WebDatabaseTrackerClient.mm: * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: * WebCoreSupport/WebSecurityOrigin.mm: (-[WebSecurityOrigin usage]): (-[WebSecurityOrigin quota]): (-[WebSecurityOrigin setQuota:]): * WebView/WebFrame.mm: (-[WebFrame _cacheabilityDictionary]): * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]): (-[WebView _preferencesChanged:]): Source/WebKit/qt: * Api/qwebdatabase.cpp: (QWebDatabase::displayName): (QWebDatabase::expectedSize): (QWebDatabase::size): (QWebDatabase::fileName): (QWebDatabase::removeDatabase): (QWebDatabase::removeAllDatabases): * Api/qwebsecurityorigin.cpp: (QWebSecurityOrigin::databaseUsage): (QWebSecurityOrigin::databaseQuota): (QWebSecurityOrigin::setDatabaseQuota): (QWebSecurityOrigin::allOrigins): (QWebSecurityOrigin::databases): * Api/qwebsettings.cpp: (QWebSettingsPrivate::apply): (QWebSettings::setOfflineStoragePath): (QWebSettings::offlineStoragePath): * WebCoreSupport/ChromeClientQt.cpp: * WebCoreSupport/ChromeClientQt.h: Source/WebKit/win: * ForEachCoClass.h: * WebCoreSupport/WebChromeClient.cpp: * WebCoreSupport/WebChromeClient.h: * WebDatabaseManager.cpp: * WebDatabaseManager.h: * WebSecurityOrigin.cpp: (WebSecurityOrigin::usage): (WebSecurityOrigin::quota): (WebSecurityOrigin::setQuota): * WebView.cpp: (WebView::initWithFrame): (WebView::notifyPreferencesChanged): Source/WebKit/wince: * WebCoreSupport/ChromeClientWinCE.cpp: * WebCoreSupport/ChromeClientWinCE.h: Source/WebKit/wx: * WebKitSupport/ChromeClientWx.cpp: * WebKitSupport/ChromeClientWx.h: * WebView.cpp: (wxWebView::Create): (wxWebView::SetDatabaseDirectory): (wxWebView::GetDatabaseDirectory): (wxWebView::SetDatabasesEnabled): (wxWebView::AreDatabasesEnabled): Source/WebKit2: * WebProcess/WebCoreSupport/WebChromeClient.cpp: * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::updatePreferences): * WebProcess/WebProcess.cpp: (WebKit::WebProcess::initializeWebProcess): WebKitLibraries: * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Jun, 2011 1 commit
-
-
joepeck@webkit.org authored
Reviewed by Darin Adler. Remove comment about pages with frames not being page-cachable https://bugs.webkit.org/show_bug.cgi?id=63207 This comment was out of date. Caching pages with Frames in the PageCache has worked since 2009: <http://webkit.org/b/13631> Page Cache should support pages with frames * history/PageCache.cpp: (WebCore::PageCache::canCache): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Jun, 2011 1 commit
-
-
joepeck@webkit.org authored
Reviewed by Darin Adler. Minimize memory due to layer backing stores for pages in the Page Cache https://bugs.webkit.org/show_bug.cgi?id=62675 Test the layer tree of a page with composited content, including content in iframes, looks like we expect. Enabling clearing backing stores in the PageCache should produce the same expected results. * compositing/iframes/page-cache-layer-tree-expected.txt: Added. * compositing/iframes/page-cache-layer-tree.html: Added. * compositing/iframes/resources/page-cache-helper.html: Added. * compositing/iframes/resources/page-cache-iframe.html: Added. 2011-06-20 Joseph Pecoraro <joepeck@webkit.org> Reviewed by Simon Fraser. Minimize memory due to layer backing stores for pages in the Page Cache https://bugs.webkit.org/show_bug.cgi?id=62675 When a page enters the page cache there is now an option on the PageCache singleton to clear the backing stores and layers of the cached page. This can be useful to minimize the amount of memory the stored page consumes. This only affects memory usage and is disabled by default, so no test. * history/CachedFrame.h: * history/CachedFrame.cpp: (WebCore::CachedFrameBase::CachedFrameBase): Save whether or not the page had composited content or not in a new instance variable, m_isComposited. (WebCore::CachedFrameBase::restore): When restoring, rebuild the compositing tree if it may have been destroyed. (WebCore::CachedFrame::CachedFrame): When saving, clear the backing stores if the page is in compositing mode, and the PageCache setting is enabled. * history/PageCache.cpp: (WebCore::PageCache::PageCache): * history/PageCache.h: (WebCore::PageCache::shouldClearBackingStores): (WebCore::PageCache::setShouldClearBackingStores): A setting to opt-in to the new behavior of clearing the backing stores. * page/FrameView.h: * page/FrameView.cpp: (WebCore::FrameView::clearBackingStores): (WebCore::FrameView::restoreBackingStores): To clear all backing stores we disable compositing for the frame, to detach the root platform layer, and recursively clear backing stores from the root layer of the FrameView. * rendering/RenderLayer.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::clearBackingIncludingDescendants): Recursively call clearBacking. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Apr, 2011 1 commit
-
-
abarth@webkit.org authored
Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove WML configuration option from the CMake build system. * Source/cmake/OptionsEfl.cmake: * Source/cmake/OptionsWinCE.cmake: * Source/cmakeconfig.h.cmake: 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove build system integration and test harness integration for WML. * Scripts/build-webkit: * Scripts/old-run-webkit-tests: * Scripts/webkitperl/features.pm: * Scripts/webkitpy/layout_tests/port/webkit.py: * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove WML tests. These tests do not appear to be run on build.webkit.org because none of the bots on build.webkit.org enable WML. * fast/wml: Removed. * fast/wml/br-element-in-table.wml: Removed. * fast/wml/br-element-in-text.wml: Removed. * fast/wml/card-element.wml: Removed. * fast/wml/case-sensitivity.wml: Removed. * fast/wml/cdata-section.wml: Removed. * fast/wml/comment.wml: Removed. * fast/wml/do-element-optional-attr.wml: Removed. * fast/wml/do-shadow.wml: Removed. * fast/wml/do-template.wml: Removed. * fast/wml/entity.wml: Removed. * fast/wml/err-event-binding-conflict.wml: Removed. * fast/wml/err-invalid-location-for-varref.wml: Removed. * fast/wml/err-invalid-tablecolumn-number.wml: Removed. * fast/wml/err-invalid-variable-name.wml: Removed. * fast/wml/err-multi-access.wml: Removed. * fast/wml/err-multi-http-equiv-in-meta.wml: Removed. * fast/wml/err-multi-name-in-meta.wml: Removed. * fast/wml/err-multi-timer.wml: Removed. * fast/wml/err-samename-do.wml: Removed. * fast/wml/err-unallowed-task-in-anchor.wml: Removed. * fast/wml/fieldset.wml: Removed. * fast/wml/html-fieldset-crash.html: Removed. * fast/wml/img-localsrc.wml: Removed. * fast/wml/img-src-localsrc-alt.wml: Removed. * fast/wml/img-src.wml: Removed. * fast/wml/input.wml: Removed. * fast/wml/p-align.wml: Removed. * fast/wml/p-mode.wml: Removed. * fast/wml/resources: Removed. * fast/wml/resources/fail.png: Removed. * fast/wml/resources/pass.png: Removed. * fast/wml/select.wml: Removed. * fast/wml/show-first-card.wml: Removed. * fast/wml/table-element-align-attribute-invalid.wml: Removed. * fast/wml/table-element-columns-attribute-invalid-number.wml: Removed. * fast/wml/table-element-columns-attribute-invalid.wml: Removed. * fast/wml/table-element-columns-attribute-missing.wml: Removed. * fast/wml/table-element-columns-attribute.wml: Removed. * fast/wml/table-element.wml: Removed. * fast/wml/task-noop-in-do.wml: Removed. * fast/wml/test.wml: Removed. * fast/wml/text-emphasis.wml: Removed. * fast/wml/validate-dtd.wml: Removed. * http/tests/wml: Removed. * http/tests/wml/access-target-domain-deny-expected.txt: Removed. * http/tests/wml/access-target-domain-deny.html: Removed. * http/tests/wml/access-target-expected.txt: Removed. * http/tests/wml/access-target-path-deny-expected.txt: Removed. * http/tests/wml/access-target-path-deny.html: Removed. * http/tests/wml/access-target.html: Removed. * http/tests/wml/go-task-get-method-accept-charset-expected.txt: Removed. * http/tests/wml/go-task-get-method-accept-charset.html: Removed. * http/tests/wml/go-task-get-method-expected.txt: Removed. * http/tests/wml/go-task-get-method.html: Removed. * http/tests/wml/go-task-post-method-accept-charset-expected.txt: Removed. * http/tests/wml/go-task-post-method-accept-charset.html: Removed. * http/tests/wml/go-task-post-method-expected.txt: Removed. * http/tests/wml/go-task-post-method.html: Removed. * http/tests/wml/post-data-to-server-expected.txt: Removed. * http/tests/wml/post-data-to-server.html: Removed. * http/tests/wml/resources: Removed. * http/tests/wml/resources/access-target-domain-deny.wml: Removed. * http/tests/wml/resources/access-target-path-deny.wml: Removed. * http/tests/wml/resources/access-target.wml: Removed. * http/tests/wml/resources/answer-utf8.cgi: Removed. * http/tests/wml/resources/answer.cgi: Removed. * http/tests/wml/resources/dumpVariables.cgi: Removed. * http/tests/wml/resources/locked-deck.wml: Removed. * http/tests/wml/resources/unreachable-domain.wml: Removed. * http/tests/wml/resources/unreachable-path.wml: Removed. * http/tests/wml/script-tests: Removed. * http/tests/wml/script-tests/TEMPLATE.html: Removed. * http/tests/wml/script-tests/access-target-domain-deny.js: Removed. * http/tests/wml/script-tests/access-target-path-deny.js: Removed. * http/tests/wml/script-tests/access-target.js: Removed. * http/tests/wml/script-tests/go-task-get-method-accept-charset.js: Removed. * http/tests/wml/script-tests/go-task-get-method.js: Removed. * http/tests/wml/script-tests/go-task-post-method-accept-charset.js: Removed. * http/tests/wml/script-tests/go-task-post-method.js: Removed. * http/tests/wml/script-tests/post-data-to-server.js: Removed. * http/tests/xmlviewer/dumpAsText/wml-expected.txt: Removed. * http/tests/xmlviewer/dumpAsText/wml.xml: Removed. * platform/mac-leopard/fast/wml: Removed. * platform/mac-leopard/fast/wml/html-fieldset-crash-expected.png: Removed. * platform/mac/fast/wml: Removed. * platform/mac/fast/wml/br-element-in-table-expected.png: Removed. * platform/mac/fast/wml/br-element-in-table-expected.txt: Removed. * platform/mac/fast/wml/br-element-in-text-expected.png: Removed. * platform/mac/fast/wml/br-element-in-text-expected.txt: Removed. * platform/mac/fast/wml/card-element-expected.png: Removed. * platform/mac/fast/wml/card-element-expected.txt: Removed. * platform/mac/fast/wml/case-sensitivity-expected.png: Removed. * platform/mac/fast/wml/case-sensitivity-expected.txt: Removed. * platform/mac/fast/wml/cdata-section-expected.png: Removed. * platform/mac/fast/wml/cdata-section-expected.txt: Removed. * platform/mac/fast/wml/comment-expected.png: Removed. * platform/mac/fast/wml/comment-expected.txt: Removed. * platform/mac/fast/wml/do-element-optional-attr-expected.png: Removed. * platform/mac/fast/wml/do-element-optional-attr-expected.txt: Removed. * platform/mac/fast/wml/do-shadow-expected.png: Removed. * platform/mac/fast/wml/do-shadow-expected.txt: Removed. * platform/mac/fast/wml/do-template-expected.png: Removed. * platform/mac/fast/wml/do-template-expected.txt: Removed. * platform/mac/fast/wml/entity-expected.png: Removed. * platform/mac/fast/wml/entity-expected.txt: Removed. * platform/mac/fast/wml/err-event-binding-conflict-expected.png: Removed. * platform/mac/fast/wml/err-event-binding-conflict-expected.txt: Removed. * platform/mac/fast/wml/err-invalid-location-for-varref-expected.png: Removed. * platform/mac/fast/wml/err-invalid-location-for-varref-expected.txt: Removed. * platform/mac/fast/wml/err-invalid-tablecolumn-number-expected.png: Removed. * platform/mac/fast/wml/err-invalid-tablecolumn-number-expected.txt: Removed. * platform/mac/fast/wml/err-invalid-variable-name-expected.png: Removed. * platform/mac/fast/wml/err-invalid-variable-name-expected.txt: Removed. * platform/mac/fast/wml/err-multi-access-expected.png: Removed. * platform/mac/fast/wml/err-multi-access-expected.txt: Removed. * platform/mac/fast/wml/err-multi-http-equiv-in-meta-expected.png: Removed. * platform/mac/fast/wml/err-multi-http-equiv-in-meta-expected.txt: Removed. * platform/mac/fast/wml/err-multi-name-in-meta-expected.png: Removed. * platform/mac/fast/wml/err-multi-name-in-meta-expected.txt: Removed. * platform/mac/fast/wml/err-multi-timer-expected.png: Removed. * platform/mac/fast/wml/err-multi-timer-expected.txt: Removed. * platform/mac/fast/wml/err-samename-do-expected.png: Removed. * platform/mac/fast/wml/err-samename-do-expected.txt: Removed. * platform/mac/fast/wml/err-unallowed-task-in-anchor-expected.png: Removed. * platform/mac/fast/wml/err-unallowed-task-in-anchor-expected.txt: Removed. * platform/mac/fast/wml/fieldset-expected.png: Removed. * platform/mac/fast/wml/fieldset-expected.txt: Removed. * platform/mac/fast/wml/html-fieldset-crash-expected.png: Removed. * platform/mac/fast/wml/html-fieldset-crash-expected.txt: Removed. * platform/mac/fast/wml/img-localsrc-expected.png: Removed. * platform/mac/fast/wml/img-localsrc-expected.txt: Removed. * platform/mac/fast/wml/img-src-expected.png: Removed. * platform/mac/fast/wml/img-src-expected.txt: Removed. * platform/mac/fast/wml/img-src-localsrc-alt-expected.png: Removed. * platform/mac/fast/wml/img-src-localsrc-alt-expected.txt: Removed. * platform/mac/fast/wml/input-expected.png: Removed. * platform/mac/fast/wml/input-expected.txt: Removed. * platform/mac/fast/wml/p-align-expected.png: Removed. * platform/mac/fast/wml/p-align-expected.txt: Removed. * platform/mac/fast/wml/p-mode-expected.png: Removed. * platform/mac/fast/wml/p-mode-expected.txt: Removed. * platform/mac/fast/wml/select-expected.png: Removed. * platform/mac/fast/wml/select-expected.txt: Removed. * platform/mac/fast/wml/show-first-card-expected.png: Removed. * platform/mac/fast/wml/show-first-card-expected.txt: Removed. * platform/mac/fast/wml/table-element-align-attribute-invalid-expected.png: Removed. * platform/mac/fast/wml/table-element-align-attribute-invalid-expected.txt: Removed. * platform/mac/fast/wml/table-element-columns-attribute-expected.png: Removed. * platform/mac/fast/wml/table-element-columns-attribute-expected.txt: Removed. * platform/mac/fast/wml/table-element-columns-attribute-invalid-expected.png: Removed. * platform/mac/fast/wml/table-element-columns-attribute-invalid-expected.txt: Removed. * platform/mac/fast/wml/table-element-columns-attribute-invalid-number-expected.png: Removed. * platform/mac/fast/wml/table-element-columns-attribute-invalid-number-expected.txt: Removed. * platform/mac/fast/wml/table-element-columns-attribute-missing-expected.png: Removed. * platform/mac/fast/wml/table-element-columns-attribute-missing-expected.txt: Removed. * platform/mac/fast/wml/table-element-expected.png: Removed. * platform/mac/fast/wml/table-element-expected.txt: Removed. * platform/mac/fast/wml/task-noop-in-do-expected.png: Removed. * platform/mac/fast/wml/task-noop-in-do-expected.txt: Removed. * platform/mac/fast/wml/test-expected.png: Removed. * platform/mac/fast/wml/test-expected.txt: Removed. * platform/mac/fast/wml/text-emphasis-expected.png: Removed. * platform/mac/fast/wml/text-emphasis-expected.txt: Removed. * platform/mac/fast/wml/validate-dtd-expected.png: Removed. * platform/mac/fast/wml/validate-dtd-expected.txt: Removed. * wml: Removed. * wml/access-target-deny-expected.txt: Removed. * wml/access-target-deny.html: Removed. * wml/access-target-expected.txt: Removed. * wml/access-target.html: Removed. * wml/enter-card-with-events-expected.txt: Removed. * wml/enter-card-with-events.html: Removed. * wml/enter-first-card-with-events-expected.txt: Removed. * wml/enter-first-card-with-events.html: Removed. * wml/go-task-get-method-external-deck-expected.txt: Removed. * wml/go-task-get-method-external-deck-with-href-expected.txt: Removed. * wml/go-task-get-method-external-deck-with-href.html: Removed. * wml/go-task-get-method-external-deck.html: Removed. * wml/go-task-get-method-same-deck-expected.txt: Removed. * wml/go-task-get-method-same-deck.html: Removed. * wml/input-format-expected.txt: Removed. * wml/input-format.html: Removed. * wml/newcontext-same-deck-expected.txt: Removed. * wml/newcontext-same-deck.html: Removed. * wml/onenterforward-event-expected.txt: Removed. * wml/onenterforward-event.html: Removed. * wml/onenterforward-inline-event-expected.txt: Removed. * wml/onenterforward-inline-event.html: Removed. * wml/ontimer-event-expected.txt: Removed. * wml/ontimer-event.html: Removed. * wml/ontimer-inline-event-expected.txt: Removed. * wml/ontimer-inline-event.html: Removed. * wml/option-element-onpick-expected.txt: Removed. * wml/option-element-onpick-recursion-expected.txt: Removed. * wml/option-element-onpick-recursion.html: Removed. * wml/option-element-onpick.html: Removed. * wml/resources: Removed. * wml/resources/WMLTestCase.js: Removed. * wml/resources/access-target-deny.wml: Removed. * wml/resources/access-target.wml: Removed. * wml/resources/enter-card-with-events.wml: Removed. * wml/resources/enter-first-card-with-events.wml: Removed. * wml/resources/external-deck.wml: Removed. * wml/resources/locked-deck.wml: Removed. * wml/resources/newcontext-same-deck.wml: Removed. * wml/resources/onenterforward-event.wml: Removed. * wml/resources/onenterforward-inline-event.wml: Removed. * wml/resources/ontimer-event.wml: Removed. * wml/resources/ontimer-inline-event.wml: Removed. * wml/resources/option-element-onpick-recursion.wml: Removed. * wml/resources/test-document.wml: Removed. * wml/script-tests: Removed. * wml/script-tests/TEMPLATE.html: Removed. * wml/script-tests/access-target-deny.js: Removed. * wml/script-tests/access-target.js: Removed. * wml/script-tests/enter-card-with-events.js: Removed. * wml/script-tests/enter-first-card-with-events.js: Removed. * wml/script-tests/go-task-get-method-external-deck-with-href.js: Removed. * wml/script-tests/go-task-get-method-external-deck.js: Removed. * wml/script-tests/go-task-get-method-same-deck.js: Removed. * wml/script-tests/input-format.js: Removed. * wml/script-tests/newcontext-same-deck.js: Removed. * wml/script-tests/onenterforward-event.js: Removed. * wml/script-tests/onenterforward-inline-event.js: Removed. * wml/script-tests/ontimer-event.js: Removed. * wml/script-tests/ontimer-inline-event.js: Removed. * wml/script-tests/option-element-onpick-recursion.js: Removed. * wml/script-tests/option-element-onpick.js: Removed. * wml/script-tests/select-element-variables.js: Removed. * wml/script-tests/variable-reference-invalid-character.js: Removed. * wml/script-tests/variable-reference-valid.js: Removed. * wml/select-element-variables-expected.txt: Removed. * wml/select-element-variables.html: Removed. * wml/variable-reference-invalid-character-expected.txt: Removed. * wml/variable-reference-invalid-character.html: Removed. * wml/variable-reference-valid-expected.txt: Removed. * wml/variable-reference-valid.html: Removed. 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove the WML configuration option from the Mac build system. * Configurations/FeatureDefines.xcconfig: 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove WML-related enumeration. * Interfaces/IWebFramePrivate.idl: 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove WML-related configuration options and private APIs. * Configurations/FeatureDefines.xcconfig: * WebCoreSupport/WebChromeClient.mm: (stringForMessageSource): * WebView/WebFramePrivate.h: * WebView/WebUIDelegatePrivate.h: 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 This patch removes WML from WebCore. After removing WML, there's a bunch of twisted code that could be untwisted, but this patch contains only the purely mechanical part of removing the feature. There's been a lot of discussion on webkit-dev about whether we should remove WML. In addition to those threads, we've had an informal poll of the reviewers as well as an in-person discussion at the WebKit contributor's meeting. Removing any feature is likely to make some folks unhappy, but, on balance, removing WML appears to be the right thing for the project to do at this time. * CMakeLists.txt: * CodeGenerators.pri: * Configurations/FeatureDefines.xcconfig: * DerivedSources.cpp: * DerivedSources.make: * GNUmakefile.am: * GNUmakefile.list.am: * WebCore.gyp/WebCore.gyp: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * css/CSSStyleSelector.cpp: (WebCore::linkAttribute): (WebCore::CSSStyleSelector::styleForElement): (WebCore::CSSStyleSelector::adjustRenderStyle): * css/wml.css: Removed. * dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocument): * dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::createElement): * dom/Document.h: (WebCore::Document::isMediaDocument): * dom/Document.idl: * dom/InputElement.h: * dom/Node.cpp: (WebCore::Node::toInputElement): * dom/Node.h: * dom/OptionElement.cpp: (WebCore::toOptionElement): (WebCore::isOptionElement): * dom/OptionElement.h: * dom/OptionGroupElement.cpp: (WebCore::toOptionGroupElement): (WebCore::isOptionGroupElement): * dom/SelectElement.cpp: (WebCore::toSelectElement): * dom/SelectElement.h: * dom/Text.cpp: (WebCore::Text::attach): * dom/XMLDocumentParser.cpp: (WebCore::XMLDocumentParser::insertErrorMessageBlock): * dom/XMLDocumentParser.h: * dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::internalSubset): (WebCore::getEntityHandler): * dom/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::parse): (WebCore::XMLDocumentParser::parseDtd): * editing/htmlediting.cpp: (WebCore::canHaveChildrenForEditing): * features.pri: * history/BackForwardList.h: * history/BackForwardListImpl.cpp: * history/BackForwardListImpl.h: * history/PageCache.cpp: (WebCore::PageCache::canCachePageContainingThisFrame): * html/HTMLAnchorElement.h: * inspector/ConsoleMessage.cpp: (WebCore::messageSourceValue): * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype.toString): * loader/FrameLoader.cpp: (WebCore::isBackForwardLoadType): (WebCore::FrameLoader::transitionToCommitted): (WebCore::FrameLoader::shouldReload): (WebCore::FrameLoader::loadDifferentDocumentItem): (WebCore::FrameLoader::loadItem): * loader/FrameLoaderTypes.h: * loader/HistoryController.cpp: (WebCore::HistoryController::restoreDocumentState): * manual-tests/wml: Removed. * manual-tests/wml/StartTests.wml: Removed. * manual-tests/wml/a-br-element.wml: Removed. * manual-tests/wml/a-element.wml: Removed. * manual-tests/wml/a-img-element.wml: Removed. * manual-tests/wml/access-target.wml: Removed. * manual-tests/wml/anchor-br-element.wml: Removed. * manual-tests/wml/anchor-element.wml: Removed. * manual-tests/wml/anchor-img-element.wml: Removed. * manual-tests/wml/card-newcontext-attr.wml: Removed. * manual-tests/wml/card-onenterbackward.wml: Removed. * manual-tests/wml/card-onenterforward.wml: Removed. * manual-tests/wml/card-ontimer.wml: Removed. * manual-tests/wml/deck-access-control.wml: Removed. * manual-tests/wml/input-format.wml: Removed. * manual-tests/wml/onevent-go.wml: Removed. * manual-tests/wml/onevent-noop.wml: Removed. * manual-tests/wml/onevent-prev.wml: Removed. * manual-tests/wml/onevent-refresh.wml: Removed. * manual-tests/wml/onevent-shadow.wml: Removed. * manual-tests/wml/resources: Removed. * manual-tests/wml/resources/smiley.png: Removed. * manual-tests/wml/select-element.wml: Removed. * manual-tests/wml/select-onpick-event-crash.wml: Removed. * manual-tests/wml/select-onpick-event.wml: Removed. * manual-tests/wml/setvar-element.wml: Removed. * manual-tests/wml/targetdeck.wml: Removed. * manual-tests/wml/task-go-in-anchor.wml: Removed. * manual-tests/wml/task-prev-in-anchor.wml: Removed. * manual-tests/wml/task-refresh-in-anchor.wml: Removed. * manual-tests/wml/template-go.wml: Removed. * manual-tests/wml/template-ontimer.wml: Removed. * manual-tests/wml/timer.wml: Removed. * manual-tests/wml/variable-substitution.wml: Removed. * page/Console.cpp: (WebCore::printMessageSourceAndLevelPrefix): * page/Console.h: * page/Frame.cpp: (WebCore::Frame::Frame): * page/Page.cpp: * page/Page.h: * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes): * platform/network/FormDataBuilder.h: * platform/network/mac/ResourceHandleMac.mm: (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): * platform/wince/MIMETypeRegistryWinCE.cpp: (WebCore::initMIMETypeEntensionMap): * rendering/HitTestResult.cpp: (WebCore::HitTestResult::altDisplayString): (WebCore::HitTestResult::absoluteImageURL): (WebCore::HitTestResult::absoluteLinkURL): (WebCore::HitTestResult::isLiveLink): * rendering/RenderBox.cpp: * rendering/RenderButton.cpp: (WebCore::RenderButton::updateFromElement): * rendering/RenderFieldset.cpp: (WebCore::RenderFieldset::findLegend): * rendering/RenderImage.cpp: (WebCore::RenderImage::updateAltText): * rendering/RenderObject.cpp: (WebCore::RenderObject::isLegend): (WebCore::RenderObject::offsetParent): * wml: Removed. * wml/WMLAElement.cpp: Removed. * wml/WMLAElement.h: Removed. * wml/WMLAccessElement.cpp: Removed. * wml/WMLAccessElement.h: Removed. * wml/WMLAnchorElement.cpp: Removed. * wml/WMLAnchorElement.h: Removed. * wml/WMLAttributeNames.in: Removed. * wml/WMLBRElement.cpp: Removed. * wml/WMLBRElement.h: Removed. * wml/WMLCardElement.cpp: Removed. * wml/WMLCardElement.h: Removed. * wml/WMLDoElement.cpp: Removed. * wml/WMLDoElement.h: Removed. * wml/WMLDocument.cpp: Removed. * wml/WMLDocument.h: Removed. * wml/WMLElement.cpp: Removed. * wml/WMLElement.h: Removed. * wml/WMLErrorHandling.cpp: Removed. * wml/WMLErrorHandling.h: Removed. * wml/WMLEventHandlingElement.cpp: Removed. * wml/WMLEventHandlingElement.h: Removed. * wml/WMLFieldSetElement.cpp: Removed. * wml/WMLFieldSetElement.h: Removed. * wml/WMLFormControlElement.cpp: Removed. * wml/WMLFormControlElement.h: Removed. * wml/WMLGoElement.cpp: Removed. * wml/WMLGoElement.h: Removed. * wml/WMLImageElement.cpp: Removed. * wml/WMLImageElement.h: Removed. * wml/WMLImageLoader.cpp: Removed. * wml/WMLImageLoader.h: Removed. * wml/WMLInputElement.cpp: Removed. * wml/WMLInputElement.h: Removed. * wml/WMLInsertedLegendElement.cpp: Removed. * wml/WMLInsertedLegendElement.h: Removed. * wml/WMLIntrinsicEvent.cpp: Removed. * wml/WMLIntrinsicEvent.h: Removed. * wml/WMLIntrinsicEventHandler.cpp: Removed. * wml/WMLIntrinsicEventHandler.h: Removed. * wml/WMLMetaElement.cpp: Removed. * wml/WMLMetaElement.h: Removed. * wml/WMLNoopElement.cpp: Removed. * wml/WMLNoopElement.h: Removed. * wml/WMLOnEventElement.cpp: Removed. * wml/WMLOnEventElement.h: Removed. * wml/WMLOptGroupElement.cpp: Removed. * wml/WMLOptGroupElement.h: Removed. * wml/WMLOptionElement.cpp: Removed. * wml/WMLOptionElement.h: Removed. * wml/WMLPElement.cpp: Removed. * wml/WMLPElement.h: Removed. * wml/WMLPageState.cpp: Removed. * wml/WMLPageState.h: Removed. * wml/WMLPostfieldElement.cpp: Removed. * wml/WMLPostfieldElement.h: Removed. * wml/WMLPrevElement.cpp: Removed. * wml/WMLPrevElement.h: Removed. * wml/WMLRefreshElement.cpp: Removed. * wml/WMLRefreshElement.h: Removed. * wml/WMLSelectElement.cpp: Removed. * wml/WMLSelectElement.h: Removed. * wml/WMLSetvarElement.cpp: Removed. * wml/WMLSetvarElement.h: Removed. * wml/WMLTableElement.cpp: Removed. * wml/WMLTableElement.h: Removed. * wml/WMLTagNames.in: Removed. * wml/WMLTaskElement.cpp: Removed. * wml/WMLTaskElement.h: Removed. * wml/WMLTemplateElement.cpp: Removed. * wml/WMLTemplateElement.h: Removed. * wml/WMLTimerElement.cpp: Removed. * wml/WMLTimerElement.h: Removed. * wml/WMLVariables.cpp: Removed. * wml/WMLVariables.h: Removed. 2011-04-28 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Remove WML https://bugs.webkit.org/show_bug.cgi?id=59678 Remove WML-related code in WebKit2. * Configurations/FeatureDefines.xcconfig: * WebProcess/WebPage/WebBackForwardListProxy.cpp: * WebProcess/WebPage/WebBackForwardListProxy.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Apr, 2011 1 commit
-
-
weinig@apple.com authored
Reviewed by Simon Fraser. Pages in the PageCache don't have the correct visited link coloring after being restored https://bugs.webkit.org/show_bug.cgi?id=58721 * WebCore.exp.in: Add export of markPagesForVistedLinkStyleRecalc for use by WebKit2. * history/CachedPage.cpp: (WebCore::CachedPage::CachedPage): (WebCore::CachedPage::restore): (WebCore::CachedPage::clear): * history/CachedPage.h: (WebCore::CachedPage::markForVistedLinkStyleRecalc): Add bit, set by calling markForVistedLinkStyleRecalc, which forces a visited link style recalc when being restored. * history/PageCache.h: * history/PageCache.cpp: (WebCore::PageCache::markPagesForVistedLinkStyleRecalc): Mark all pages in the page cache as requiring visited link style recalc. * page/PageGroup.cpp: (WebCore::PageGroup::addVisitedLink): (WebCore::PageGroup::removeVisitedLinks): (WebCore::PageGroup::removeAllVisitedLinks): Set dirty bit when changing any visited link information. 2011-04-16 Sam Weinig <sam@webkit.org> Reviewed by Simon Fraser. Pages in the PageCache don't have the correct visited link coloring after being restored https://bugs.webkit.org/show_bug.cgi?id=58721 * WebProcess/WebProcess.cpp: (WebKit::WebProcess::visitedLinkStateChanged): (WebKit::WebProcess::allVisitedLinkStateChanged): Mark all pages in the page cache as needing visited link style recalc whenever visited link information changes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 Jan, 2011 1 commit
-
-
japhet@chromium.org authored
Reviewed by Adam Barth. Remove FrameLoader::url() and update callers to use Document::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 Refactor, no new tests. * WebCore.exp.in: * dom/Document.cpp: (WebCore::Document::processHttpEquiv): (WebCore::Document::removePendingSheet): * history/CachedFrame.cpp: (WebCore::CachedFrameBase::CachedFrameBase): * history/PageCache.cpp: (WebCore::logCanCacheFrameDecision): (WebCore::PageCache::canCachePageContainingThisFrame): * html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::isURLAllowed): * html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::allowedToLoadFrameURL): * inspector/InspectorAgent.cpp: (WebCore::InspectorAgent::inspectedURL): * inspector/InspectorResourceAgent.cpp: (WebCore::buildObjectForFrame): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::replaceDocument): (WebCore::DocumentWriter::deprecatedFrameEncoding): * loader/FrameLoader.cpp: * loader/FrameLoader.h: * loader/HistoryController.cpp: (WebCore::HistoryController::updateForStandardLoad): (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): (WebCore::HistoryController::updateForSameDocumentNavigation): * loader/NavigationScheduler.cpp: (WebCore::ScheduledHistoryNavigation::fire): (WebCore::NavigationScheduler::scheduleLocationChange): (WebCore::NavigationScheduler::scheduleRefresh): * page/FrameView.cpp: (WebCore::FrameView::updateControlTints): * page/Location.cpp: (WebCore::Location::url): (WebCore::Location::setProtocol): (WebCore::Location::setHost): (WebCore::Location::setHostname): (WebCore::Location::setPort): (WebCore::Location::setPathname): (WebCore::Location::setSearch): (WebCore::Location::setHash): (WebCore::Location::reload): * page/Page.cpp: (WebCore::Page::goToItem): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * ewk/ewk_frame.cpp: (ewk_frame_uri_changed): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * webkit/webkitwebview.cpp: (webkit_web_view_get_icon_uri): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * WebCoreSupport/FrameLoaderClientHaiku.cpp: (WebCore::FrameLoaderClientHaiku::dispatchDidFinishDocumentLoad): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * WebView/WebView.mm: (-[WebView _dispatchDidReceiveIconFromWebFrame:]): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * Api/qwebframe.cpp: (QWebFrame::url): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * WebFrame.cpp: (WebFrame::url): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * WebKitSupport/FrameLoaderClientWx.cpp: (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad): 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): (WebKit::WebFrameLoaderClient::dispatchDidPushStateWithinPage): (WebKit::WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): (WebKit::WebFrameLoaderClient::dispatchDidPopStateWithinPage): * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::url): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Jan, 2011 1 commit
-
-
jberlin@webkit.org authored
navigating back to an unreachable URL https://bugs.webkit.org/show_bug.cgi?id=52388 Reviewed by Anders Carlsson. Source/WebCore: Test: http/tests/navigation/go-back-to-error-page.html * history/PageCache.cpp: (WebCore::PageCache::canCachePageContainingThisFrame): Do not cache any error pages (which we can recognize as having substitute data and/or an unreachableURL). Tools: Add a third parameter (unreachableURL) to queueLoadHTMLString. * DumpRenderTree/LayoutTestController.cpp: (queueLoadHTMLStringCallback): (LayoutTestController::queueLoadHTMLString): (LayoutTestController::queueLoadAlternateHTMLString): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/WorkQueueItem.h: (LoadHTMLStringItem::LoadHTMLStringItem): * DumpRenderTree/chromium/LayoutTestController.cpp: (WorkItemLoadHTMLString::WorkItemLoadHTMLString): (WorkItemLoadHTMLString::run): (LayoutTestController::queueLoadHTMLString): * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: (LoadHTMLStringItem::invoke): * DumpRenderTree/mac/WorkQueueItemMac.mm: (LoadHTMLStringItem::invoke): * DumpRenderTree/win/WorkQueueItemWin.cpp: (LoadHTMLStringItem::invoke): LayoutTests: Add a test that loads an alternate HTML String for an "unreachable" URL, loads another page, and then goes back to the "unreachable" URL, which is now reachable. This tests two things: 1) No assertion failure when going back to an unreachable URL. 2) There is no page cached for the unreachable URL. * http/tests/navigation/go-back-to-error-page-expected.txt: Added. * http/tests/navigation/go-back-to-error-page.html: Added. * http/tests/navigation/resources/page-to-go-back-from.html: Added. * http/tests/navigation/resources/page-treated-as-unreachable.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Jan, 2011 1 commit
-
-
yuzo@google.com authored
Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 No new tests because the behavior remains the same. * WebCore.exp.in: * WebCore.order: * history/PageCache.cpp: (WebCore::PageCache::releaseAutoreleasedPagesNow): * inspector/InspectorResourceAgent.cpp: (WebCore::InspectorResourceAgent::cachedResource): * loader/FrameLoader.cpp: (WebCore::FrameLoader::tellClientAboutPastMemoryCacheLoads): * loader/archive/cf/LegacyWebArchive.cpp: (WebCore::LegacyWebArchive::create): * loader/cache/CachedImage.cpp: (WebCore::CachedImage::allClientsRemoved): (WebCore::CachedImage::data): * loader/cache/CachedResource.cpp: (WebCore::CachedResource::~CachedResource): (WebCore::CachedResource::addClientToSet): (WebCore::CachedResource::removeClient): (WebCore::CachedResource::setDecodedSize): (WebCore::CachedResource::setEncodedSize): (WebCore::CachedResource::didAccessDecodedData): * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::CachedResourceLoader): (WebCore::CachedResourceLoader::requestUserCSSStyleSheet): (WebCore::CachedResourceLoader::requestResource): (WebCore::CachedResourceLoader::revalidateResource): (WebCore::CachedResourceLoader::loadResource): (WebCore::CachedResourceLoader::clearPreloads): (WebCore::CachedResourceLoader::printPreloadStats): * loader/cache/CachedResourceRequest.cpp: (WebCore::CachedResourceRequest::load): (WebCore::CachedResourceRequest::didFail): (WebCore::CachedResourceRequest::didReceiveResponse): * loader/cache/MemoryCache.cpp: (WebCore::memoryCache): * loader/cache/MemoryCache.h: 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * src/WebCache.cpp: (WebKit::WebCache::setCapacities): (WebKit::WebCache::clear): (WebKit::WebCache::getUsageStats): (WebKit::WebCache::getResourceTypeStats): 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * webkit/webkitglobals.cpp: (webkit_set_cache_model): 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * Misc/WebCache.mm: (+[WebCache statistics]): (+[WebCache setDisabled:]): (+[WebCache isDisabled]): * WebView/WebView.mm: (+[WebView _setCacheModel:]): 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * Api/qwebpage.cpp: (QWebPagePrivate::_q_cleanupLeakMessages): * Api/qwebsettings.cpp: (QWebSettings::clearMemoryCaches): (QWebSettings::setObjectCacheCapacities): 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * WebCache.cpp: (WebCache::statistics): (WebCache::empty): (WebCache::setDisabled): (WebCache::disabled): * WebView.cpp: (WebView::setCacheModel): 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * WebView.cpp: (wxWebView::SetCachePolicy): 2011-01-14 Yuzo Fujishima <yuzo@google.com> Reviewed by Antti Koivisto. Rename cache() to memoryCache() https://bugs.webkit.org/show_bug.cgi?id=52433 * WebProcess/WebProcess.cpp: (WebKit::WebProcess::shutdownIfPossible): (WebKit::WebProcess::didClose): * WebProcess/mac/WebProcessMac.mm: (WebKit::WebProcess::platformSetCacheModel): * WebProcess/win/WebProcessWin.cpp: (WebKit::WebProcess::platformSetCacheModel): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2011 1 commit
-
-
abarth@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 07 Nov, 2010 1 commit
-
-
abarth@webkit.org authored
Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * public/WebCache.h: * src/WebCache.cpp: (WebKit::ToResourceTypeStat): (WebKit::WebCache::setCapacities): (WebKit::WebCache::clear): (WebKit::WebCache::getUsageStats): (WebKit::WebCache::getResourceTypeStats): 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * Api/qwebpage.cpp: * Api/qwebsettings.cpp: 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * webkit/webkitwebview.cpp: 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * WebCache.cpp: (WebCache::statistics): * WebFrame.cpp: * WebView.cpp: 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * WebView.cpp: (wxWebView::SetCachePolicy): * WebView.h: 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * Misc/WebCache.mm: (+[WebCache statistics]): * WebCoreSupport/WebDeviceOrientationClient.mm: (WebDeviceOrientationClient::setController): * WebView/WebView.mm: 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 So sayeth the diagram. * Android.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * css/CSSImageValue.cpp: * dom/ContainerNode.cpp: * history/PageCache.cpp: * inspector/InspectorCSSStore.h: * inspector/InspectorResourceAgent.cpp: * loader/FrameLoader.cpp: * loader/archive/cf/LegacyWebArchive.cpp: * loader/cache/Cache.cpp: Removed. * loader/cache/Cache.h: Removed. * loader/cache/CachedCSSStyleSheet.cpp: (WebCore::CachedCSSStyleSheet::allClientsRemoved): * loader/cache/CachedFont.cpp: * loader/cache/CachedFont.h: * loader/cache/CachedImage.cpp: (WebCore::CachedImage::destroyDecodedData): * loader/cache/CachedImage.h: * loader/cache/CachedResource.cpp: * loader/cache/CachedResource.h: * loader/cache/CachedResourceLoader.cpp: * loader/cache/CachedResourceLoader.h: * loader/cache/CachedScript.cpp: (WebCore::CachedScript::destroyDecodedData): * loader/cache/MemoryCache.cpp: Copied from WebCore/loader/cache/Cache.cpp. (WebCore::cache): (WebCore::MemoryCache::MemoryCache): (WebCore::MemoryCache::requestResource): (WebCore::MemoryCache::requestUserCSSStyleSheet): (WebCore::MemoryCache::revalidateResource): (WebCore::MemoryCache::revalidationSucceeded): (WebCore::MemoryCache::revalidationFailed): (WebCore::MemoryCache::resourceForURL): (WebCore::MemoryCache::deadCapacity): (WebCore::MemoryCache::liveCapacity): (WebCore::MemoryCache::pruneLiveResources): (WebCore::MemoryCache::pruneDeadResources): (WebCore::MemoryCache::setCapacities): (WebCore::MemoryCache::makeResourcePurgeable): (WebCore::MemoryCache::evict): (WebCore::MemoryCache::addCachedResourceLoader): (WebCore::MemoryCache::removeCachedResourceLoader): (WebCore::MemoryCache::lruListFor): (WebCore::MemoryCache::removeFromLRUList): (WebCore::MemoryCache::insertInLRUList): (WebCore::MemoryCache::resourceAccessed): (WebCore::MemoryCache::removeFromLiveDecodedResourcesList): (WebCore::MemoryCache::insertInLiveDecodedResourcesList): (WebCore::MemoryCache::addToLiveResourcesSize): (WebCore::MemoryCache::removeFromLiveResourcesSize): (WebCore::MemoryCache::adjustSize): (WebCore::MemoryCache::TypeStatistic::addResource): (WebCore::MemoryCache::getStatistics): (WebCore::MemoryCache::setDisabled): (WebCore::MemoryCache::dumpStats): (WebCore::MemoryCache::dumpLRULists): * loader/cache/MemoryCache.h: Copied from WebCore/loader/cache/Cache.h. (WebCore::MemoryCache::shouldMakeResourcePurgeableOnEviction): * loader/loader.cpp: * page/EventSource.cpp: * page/Settings.h: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::createRequest): 2010-11-07 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Rename Cache to MemoryCache https://bugs.webkit.org/show_bug.cgi?id=49159 * WebProcess/WebProcess.cpp: * WebProcess/mac/WebProcessMac.mm: * WebProcess/win/WebProcessWin.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-