1. 10 Jan, 2014 1 commit
  2. 27 Sep, 2013 1 commit
    • darin@apple.com's avatar
      rename KURL to URL · 5ffbb5c7
      darin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=16214
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * many files: Renamed, using script.
      
      Source/WebKit:
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      Let the script to try to rename here.
      
      Source/WebKit/blackberry:
      
      * many files: Renamed, using script.
      
      Source/WebKit/efl:
      
      * many files: Renamed, using script.
      
      Source/WebKit/gtk:
      
      * many files: Renamed, using script.
      
      Source/WebKit/mac:
      
      * many files: Renamed, using script.
      
      Source/WebKit/qt:
      
      * many files: Renamed, using script.
      
      Source/WebKit/win:
      
      * many files: Renamed, using script.
      
      Source/WebKit/wince:
      
      * many files: Renamed, using script.
      
      Source/WebKit2:
      
      * many files: Renamed, using script.
      
      Tools:
      
      * many files: Renamed, using script.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ffbb5c7
  3. 11 Sep, 2013 1 commit
  4. 22 Aug, 2013 2 commits
  5. 21 Aug, 2013 1 commit
  6. 15 Aug, 2013 1 commit
    • andersca@apple.com's avatar
      <https://webkit.org/b/119859> Frame::loader() should return a reference · df550b96
      andersca@apple.com authored
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * Modules/websockets/WebSocketChannel.cpp:
      (WebCore::WebSocketChannel::willOpenSocketStream):
      * WebCore.xcodeproj/project.pbxproj:
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::press):
      * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
      (-[WebAccessibilityObjectWrapper remoteAccessibilityParentObject]):
      * bindings/ScriptControllerBase.cpp:
      (WebCore::ScriptController::canExecuteScripts):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::initScript):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::beginLoadTimerFired):
      * dom/DOMImplementation.cpp:
      (WebCore::DOMImplementation::createDocument):
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::setVisualUpdatesAllowed):
      (WebCore::Document::updateTitle):
      (WebCore::Document::open):
      (WebCore::Document::explicitClose):
      (WebCore::Document::implicitClose):
      (WebCore::Document::userAgent):
      (WebCore::Document::canNavigate):
      (WebCore::Document::processHttpEquiv):
      (WebCore::Document::referrer):
      (WebCore::Document::documentDidResumeFromPageCache):
      (WebCore::Document::openSearchDescriptionURL):
      (WebCore::Document::finishedParsing):
      (WebCore::Document::addIconURL):
      (WebCore::Document::initSecurityContext):
      (WebCore::Document::updateURLForPushOrReplaceState):
      (WebCore::Document::loadEventDelayTimerFired):
      (WebCore::Document::loader):
      (WebCore::Document::decrementActiveParserCount):
      * history/CachedFrame.cpp:
      (WebCore::CachedFrameBase::CachedFrameBase):
      (WebCore::CachedFrameBase::restore):
      (WebCore::CachedFrame::CachedFrame):
      (WebCore::CachedFrame::open):
      (WebCore::CachedFrame::destroy):
      * history/PageCache.cpp:
      (WebCore::logCanCacheFrameDecision):
      (WebCore::logCanCachePageDecision):
      (WebCore::PageCache::canCachePageContainingThisFrame):
      (WebCore::PageCache::canCache):
      * html/HTMLAnchorElement.cpp:
      (WebCore::HTMLAnchorElement::handleClick):
      * html/HTMLAppletElement.cpp:
      (WebCore::HTMLAppletElement::updateWidget):
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::rendererIsNeeded):
      * html/HTMLEmbedElement.cpp:
      (WebCore::HTMLEmbedElement::updateWidget):
      * html/HTMLFormElement.cpp:
      (WebCore::HTMLFormElement::prepareForSubmission):
      (WebCore::HTMLFormElement::submit):
      * html/HTMLFrameElementBase.cpp:
      (WebCore::HTMLFrameElementBase::openURL):
      * html/HTMLFrameOwnerElement.cpp:
      (WebCore::HTMLFrameOwnerElement::disconnectContentFrame):
      * html/HTMLFrameSetElement.cpp:
      (WebCore::HTMLFrameSetElement::insertedInto):
      (WebCore::HTMLFrameSetElement::removedFrom):
      * html/HTMLHtmlElement.cpp:
      (WebCore::HTMLHtmlElement::insertedByParser):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::createRenderer):
      (WebCore::HTMLMediaElement::attach):
      (WebCore::HTMLMediaElement::loadResource):
      (WebCore::HTMLMediaElement::getPluginProxyParams):
      (WebCore::HTMLMediaElement::createMediaPlayerProxy):
      (WebCore::HTMLMediaElement::updateWidget):
      (WebCore::HTMLMediaElement::mediaPlayerReferrer):
      (WebCore::HTMLMediaElement::mediaPlayerUserAgent):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::parametersForPlugin):
      (WebCore::HTMLObjectElement::updateWidget):
      * html/HTMLPlugInImageElement.cpp:
      (WebCore::HTMLPlugInImageElement::isImageType):
      (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
      (WebCore::HTMLPlugInImageElement::restartSimilarPlugIns):
      * html/HTMLVideoElement.cpp:
      (WebCore::HTMLVideoElement::setDisplayMode):
      * html/ImageDocument.cpp:
      (WebCore::ImageDocumentParser::appendBytes):
      (WebCore::ImageDocumentParser::finish):
      (WebCore::ImageDocument::createDocumentStructure):
      * html/MediaDocument.cpp:
      (WebCore::MediaDocumentParser::createDocumentStructure):
      * html/PluginDocument.cpp:
      (WebCore::PluginDocumentParser::createDocumentStructure):
      (WebCore::PluginDocumentParser::appendBytes):
      (WebCore::PluginDocument::detach):
      (WebCore::PluginDocument::cancelManualPluginLoad):
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::create):
      (WebCore::WebGLRenderingContext::loseContextImpl):
      (WebCore::WebGLRenderingContext::maybeRestoreContext):
      * html/parser/HTMLConstructionSite.cpp:
      (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
      (WebCore::HTMLConstructionSite::insertHTMLBodyElement):
      * html/parser/HTMLParserOptions.cpp:
      (WebCore::HTMLParserOptions::HTMLParserOptions):
      * html/parser/XSSAuditor.cpp:
      (WebCore::XSSAuditor::init):
      * html/parser/XSSAuditorDelegate.cpp:
      (WebCore::XSSAuditorDelegate::generateViolationReport):
      (WebCore::XSSAuditorDelegate::didBlockScript):
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::updateApplicationCacheStatus):
      (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
      * inspector/InspectorFrontendClientLocal.cpp:
      (WebCore::InspectorFrontendClientLocal::openInNewTab):
      * inspector/InspectorFrontendHost.cpp:
      (WebCore::InspectorFrontendHost::loadResourceSynchronously):
      * inspector/InspectorOverlay.cpp:
      (WebCore::InspectorOverlay::overlayPage):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::mainResourceContent):
      (WebCore::InspectorPageAgent::reload):
      (WebCore::InspectorPageAgent::navigate):
      (WebCore::allResourcesURLsForFrame):
      (WebCore::InspectorPageAgent::searchInResource):
      (WebCore::InspectorPageAgent::assertDocumentLoader):
      (WebCore::InspectorPageAgent::buildObjectForFrame):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::didFailLoading):
      * loader/CookieJar.cpp:
      (WebCore::networkingContext):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::frameLoader):
      (WebCore::DocumentLoader::document):
      (WebCore::DocumentLoader::stopLoading):
      (WebCore::DocumentLoader::removeSubresourceLoader):
      (WebCore::DocumentLoader::subresourceLoaderFinishedLoadingOnePart):
      (WebCore::DocumentLoader::iconLoadDecisionAvailable):
      (WebCore::DocumentLoader::continueIconLoadWithDecision):
      * loader/DocumentThreadableLoader.cpp:
      (WebCore::DocumentThreadableLoader::didReceiveResponse):
      (WebCore::DocumentThreadableLoader::didFinishLoading):
      (WebCore::DocumentThreadableLoader::didFail):
      (WebCore::DocumentThreadableLoader::preflightFailure):
      (WebCore::DocumentThreadableLoader::loadRequest):
      * loader/DocumentWriter.cpp:
      (WebCore::DocumentWriter::replaceDocument):
      (WebCore::DocumentWriter::createDocument):
      (WebCore::DocumentWriter::begin):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::~FrameLoader):
      (WebCore::FrameLoader::allChildrenAreComplete):
      (WebCore::FrameLoader::allAncestorsAreComplete):
      (WebCore::FrameLoader::loadURLIntoChildFrame):
      (WebCore::FrameLoader::outgoingReferrer):
      (WebCore::FrameLoader::setOpener):
      (WebCore::FrameLoader::completed):
      (WebCore::FrameLoader::started):
      (WebCore::FrameLoader::loadFrameRequest):
      (WebCore::FrameLoader::loadURL):
      (WebCore::FrameLoader::load):
      (WebCore::FrameLoader::loadWithDocumentLoader):
      (WebCore::FrameLoader::stopAllLoaders):
      (WebCore::FrameLoader::closeOldDataSources):
      (WebCore::FrameLoader::subframeIsLoading):
      (WebCore::FrameLoader::subresourceCachePolicy):
      (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
      (WebCore::FrameLoader::detachChildren):
      (WebCore::FrameLoader::checkLoadComplete):
      (WebCore::FrameLoader::detachFromParent):
      (WebCore::FrameLoader::loadPostRequest):
      (WebCore::FrameLoader::loadResourceSynchronously):
      (WebCore::FrameLoader::shouldClose):
      (WebCore::FrameLoader::handleBeforeUnloadEvent):
      (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
      (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy):
      (WebCore::createWindow):
      * loader/HistoryController.cpp:
      (WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
      (WebCore::HistoryController::restoreScrollPositionAndViewState):
      (WebCore::HistoryController::saveDocumentState):
      (WebCore::HistoryController::saveDocumentAndScrollState):
      (WebCore::isAssociatedToRequestedHistoryItem):
      (WebCore::HistoryController::restoreDocumentState):
      (WebCore::HistoryController::shouldStopLoadingForHistoryItem):
      (WebCore::HistoryController::goToItem):
      (WebCore::HistoryController::updateForBackForwardNavigation):
      (WebCore::HistoryController::updateForReload):
      (WebCore::HistoryController::updateForStandardLoad):
      (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
      (WebCore::HistoryController::updateForClientRedirect):
      (WebCore::HistoryController::updateForCommit):
      (WebCore::HistoryController::recursiveUpdateForCommit):
      (WebCore::HistoryController::updateForSameDocumentNavigation):
      (WebCore::HistoryController::recursiveUpdateForSameDocumentNavigation):
      (WebCore::HistoryController::initializeItem):
      (WebCore::HistoryController::createItemTree):
      (WebCore::HistoryController::recursiveSetProvisionalItem):
      (WebCore::HistoryController::recursiveGoToItem):
      (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
      (WebCore::HistoryController::updateCurrentItem):
      (WebCore::HistoryController::pushState):
      (WebCore::HistoryController::replaceState):
      * loader/ImageLoader.cpp:
      (WebCore::pageIsBeingDismissed):
      * loader/MixedContentChecker.cpp:
      (WebCore::MixedContentChecker::client):
      * loader/NavigationScheduler.cpp:
      (WebCore::ScheduledURLNavigation::fire):
      (WebCore::ScheduledURLNavigation::didStartTimer):
      (WebCore::ScheduledURLNavigation::didStopTimer):
      (WebCore::ScheduledRedirect::shouldStartTimer):
      (WebCore::ScheduledRedirect::fire):
      (WebCore::ScheduledRefresh::fire):
      (WebCore::ScheduledHistoryNavigation::fire):
      (WebCore::ScheduledFormSubmission::fire):
      (WebCore::ScheduledFormSubmission::didStartTimer):
      (WebCore::ScheduledFormSubmission::didStopTimer):
      (WebCore::NavigationScheduler::mustLockBackForwardList):
      (WebCore::NavigationScheduler::scheduleLocationChange):
      (WebCore::NavigationScheduler::scheduleFormSubmission):
      (WebCore::NavigationScheduler::scheduleRefresh):
      (WebCore::NavigationScheduler::schedule):
      * loader/PingLoader.cpp:
      (WebCore::PingLoader::loadImage):
      (WebCore::PingLoader::sendPing):
      (WebCore::PingLoader::sendViolationReport):
      (WebCore::PingLoader::PingLoader):
      * loader/PolicyChecker.cpp:
      (WebCore::PolicyChecker::checkNavigationPolicy):
      (WebCore::PolicyChecker::checkNewWindowPolicy):
      (WebCore::PolicyChecker::checkContentPolicy):
      (WebCore::PolicyChecker::cancelCheck):
      (WebCore::PolicyChecker::stopCheck):
      (WebCore::PolicyChecker::cannotShowMIMEType):
      (WebCore::PolicyChecker::continueLoadAfterWillSubmitForm):
      (WebCore::PolicyChecker::continueAfterNavigationPolicy):
      (WebCore::PolicyChecker::continueAfterNewWindowPolicy):
      (WebCore::PolicyChecker::handleUnimplementablePolicy):
      * loader/ProgressTracker.cpp:
      (WebCore::ProgressTracker::progressStarted):
      (WebCore::ProgressTracker::progressCompleted):
      (WebCore::ProgressTracker::finalProgressComplete):
      (WebCore::ProgressTracker::incrementProgress):
      (WebCore::ProgressTracker::progressHeartbeatTimerFired):
      * loader/ResourceLoadNotifier.cpp:
      (WebCore::ResourceLoadNotifier::didReceiveAuthenticationChallenge):
      (WebCore::ResourceLoadNotifier::didCancelAuthenticationChallenge):
      (WebCore::ResourceLoadNotifier::willSendRequest):
      (WebCore::ResourceLoadNotifier::didFailToLoad):
      (WebCore::ResourceLoadNotifier::assignIdentifierToInitialRequest):
      (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
      (WebCore::ResourceLoadNotifier::dispatchDidReceiveResponse):
      (WebCore::ResourceLoadNotifier::dispatchDidReceiveData):
      (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading):
      (WebCore::ResourceLoadNotifier::dispatchDidFailLoading):
      * loader/ResourceLoader.cpp:
      (WebCore::ResourceLoader::ResourceLoader):
      (WebCore::ResourceLoader::start):
      (WebCore::ResourceLoader::frameLoader):
      (WebCore::ResourceLoader::willSendRequest):
      * loader/SubframeLoader.cpp:
      (WebCore::SubframeLoader::pluginIsLoadable):
      (WebCore::SubframeLoader::loadMediaPlayerProxyPlugin):
      (WebCore::SubframeLoader::createJavaAppletWidget):
      (WebCore::SubframeLoader::loadOrRedirectSubframe):
      (WebCore::SubframeLoader::loadSubframe):
      (WebCore::SubframeLoader::allowPlugins):
      (WebCore::SubframeLoader::shouldUsePlugin):
      (WebCore::SubframeLoader::loadPlugin):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::selectCache):
      (WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL):
      (WebCore::ApplicationCacheGroup::update):
      (WebCore::ApplicationCacheGroup::createResourceHandle):
      (WebCore::ApplicationCacheGroup::didReceiveResponse):
      (WebCore::ApplicationCacheGroup::didFinishLoading):
      (WebCore::ApplicationCacheGroup::didFail):
      (WebCore::ApplicationCacheGroup::addEntry):
      (WebCore::CallCacheListenerTask::performTask):
      (WebCore::ApplicationCacheGroup::postListenerTask):
      * loader/appcache/DOMApplicationCache.cpp:
      (WebCore::DOMApplicationCache::applicationCacheHost):
      * loader/archive/cf/LegacyWebArchive.cpp:
      (WebCore::LegacyWebArchive::create):
      (WebCore::LegacyWebArchive::createFromSelection):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::addAdditionalRequestHeaders):
      (WebCore::CachedResource::load):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::requestImage):
      (WebCore::CachedResourceLoader::checkInsecureContent):
      (WebCore::CachedResourceLoader::canRequest):
      (WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::clientDefersImage):
      (WebCore::CachedResourceLoader::cachePolicy):
      (WebCore::CachedResourceLoader::loadDone):
      * loader/icon/IconController.cpp:
      (WebCore::IconController::commitToDatabase):
      (WebCore::IconController::startLoader):
      (WebCore::IconController::continueLoadWithDecision):
      * loader/icon/IconLoader.cpp:
      (WebCore::IconLoader::startLoading):
      (WebCore::IconLoader::notifyFinished):
      * page/Chrome.cpp:
      (WebCore::canRunModalIfDuringPageDismissal):
      * page/ContextMenuController.cpp:
      (WebCore::openNewWindow):
      (WebCore::ContextMenuController::contextMenuItemSelected):
      (WebCore::ContextMenuController::populate):
      (WebCore::ContextMenuController::checkOrEnableIfNeeded):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::postMessageTimerFired):
      (WebCore::DOMWindow::close):
      (WebCore::DOMWindow::print):
      (WebCore::DOMWindow::stop):
      (WebCore::DOMWindow::setName):
      (WebCore::DOMWindow::opener):
      (WebCore::DOMWindow::dispatchLoadEvent):
      (WebCore::DOMWindow::setLocation):
      (WebCore::DOMWindow::createWindow):
      (WebCore::DOMWindow::open):
      * page/DOMWindowExtension.cpp:
      (WebCore::DOMWindowExtension::disconnectFrameForPageCache):
      (WebCore::DOMWindowExtension::reconnectFrameFromPageCache):
      (WebCore::DOMWindowExtension::willDestroyGlobalObjectInCachedFrame):
      (WebCore::DOMWindowExtension::willDestroyGlobalObjectInFrame):
      (WebCore::DOMWindowExtension::willDetachGlobalObjectFromFrame):
      * page/DragController.cpp:
      (WebCore::DragController::performDrag):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleMousePressEvent):
      (WebCore::EventHandler::keyEvent):
      * page/Frame.cpp:
      (WebCore::Frame::~Frame):
      (WebCore::Frame::setView):
      (WebCore::Frame::injectUserScripts):
      (WebCore::Frame::willDetachPage):
      * page/Frame.h:
      (WebCore::Frame::loader):
      * page/FrameView.cpp:
      (WebCore::FrameView::mediaType):
      (WebCore::FrameView::setFixedVisibleContentRect):
      (WebCore::FrameView::shouldUseLoadTimeDeferredRepaintDelay):
      (WebCore::FrameView::performPostLayoutTasks):
      (WebCore::FrameView::autoSizeIfEnabled):
      (WebCore::FrameView::scrollTo):
      (WebCore::FrameView::shouldSuspendScrollAnimations):
      (WebCore::FrameView::qualifiesAsVisuallyNonEmpty):
      (WebCore::FrameView::wheelEvent):
      (WebCore::FrameView::firePaintRelatedMilestones):
      * page/History.cpp:
      (WebCore::History::stateInternal):
      (WebCore::History::stateObjectAdded):
      * page/Location.cpp:
      (WebCore::Location::setLocation):
      * page/Navigator.cpp:
      (WebCore::Navigator::userAgent):
      * page/Page.cpp:
      (WebCore::Page::goToItem):
      (WebCore::Page::refreshPlugins):
      (WebCore::Page::setDefersLoading):
      (WebCore::Page::setMemoryCacheClientCallsEnabled):
      (WebCore::Page::addRelevantRepaintedObject):
      * page/Performance.cpp:
      (WebCore::Performance::now):
      * page/PerformanceNavigation.cpp:
      (WebCore::PerformanceNavigation::type):
      (WebCore::PerformanceNavigation::redirectCount):
      * page/PerformanceResourceTiming.cpp:
      (WebCore::monotonicTimeToDocumentMilliseconds):
      * page/mac/PageMac.cpp:
      (WebCore::Page::addSchedulePair):
      (WebCore::Page::removeSchedulePair):
      * platform/ios/PasteboardIOS.mm:
      (WebCore::documentFragmentWithImageResource):
      (WebCore::documentFragmentWithRTF):
      (WebCore::Pasteboard::documentFragmentForPasteboardItemAtIndex):
      * platform/mac/HTMLConverter.mm:
      (-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
      (-[WebHTMLConverter _loadFromDOMRange]):
      * platform/mac/PasteboardMac.mm:
      (WebCore::documentFragmentWithImageResource):
      (WebCore::documentFragmentWithRTF):
      (WebCore::fragmentFromWebArchive):
      * plugins/DOMMimeType.cpp:
      (WebCore::DOMMimeType::enabledPlugin):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::scrollTo):
      * svg/SVGAElement.cpp:
      (WebCore::SVGAElement::defaultEventHandler):
      * svg/graphics/SVGImage.cpp:
      (WebCore::SVGImage::~SVGImage):
      (WebCore::SVGImage::dataChanged):
      * testing/Internals.cpp:
      (WebCore::Internals::formControlStateOfPreviousHistoryItem):
      (WebCore::Internals::setFormControlStateOfPreviousHistoryItem):
      (WebCore::Internals::getReferencedFilePaths):
      (WebCore::Internals::forceReload):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::docLoaderFunc):
      * xml/parser/XMLDocumentParserLibxml2.cpp:
      (WebCore::openFunc):
      (WebCore::XMLDocumentParser::startElementNs):
      
      Source/WebKit/blackberry:
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::load):
      (BlackBerry::WebKit::WebPagePrivate::loadString):
      (BlackBerry::WebKit::WebPagePrivate::stopCurrentLoad):
      (BlackBerry::WebKit::closeURLRecursively):
      (BlackBerry::WebKit::WebPage::dispatchBeforeUnloadEvent):
      (BlackBerry::WebKit::WebPagePrivate::shouldSendResizeEvent):
      (BlackBerry::WebKit::WebPagePrivate::zoomToInitialScaleOnLoad):
      (BlackBerry::WebKit::WebPage::reload):
      (BlackBerry::WebKit::WebPage::reloadFromCache):
      (BlackBerry::WebKit::WebPage::textEncoding):
      (BlackBerry::WebKit::WebPage::forcedTextEncoding):
      (BlackBerry::WebKit::WebPage::setForcedTextEncoding):
      (BlackBerry::WebKit::WebPage::title):
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::createWindow):
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidChangeLocationWithinPage):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForResponse):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNavigationAction):
      (WebCore::FrameLoaderClientBlackBerry::delayPolicyCheckUntilFragmentExists):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNewWindowAction):
      (WebCore::FrameLoaderClientBlackBerry::createPlugin):
      (WebCore::FrameLoaderClientBlackBerry::receivedData):
      (WebCore::FrameLoaderClientBlackBerry::createDocumentLoader):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidCommitLoad):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidFailProvisionalLoad):
      (WebCore::FrameLoaderClientBlackBerry::dispatchWillSubmitForm):
      (WebCore::FrameLoaderClientBlackBerry::createFrame):
      (WebCore::FrameLoaderClientBlackBerry::dispatchDidLayout):
      (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendRequest):
      (WebCore::FrameLoaderClientBlackBerry::restoreViewState):
      (WebCore::FrameLoaderClientBlackBerry::startDownload):
      (WebCore::FrameLoaderClientBlackBerry::canCachePage):
      (WebCore::FrameLoaderClientBlackBerry::didRestoreFromPageCache):
      * WebKitSupport/PagePopup.cpp:
      (BlackBerry::WebKit::PagePopup::initialize):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/ChromeClientEfl.cpp:
      (kit):
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
      (DumpRenderTreeSupportEfl::clearOpener):
      (DumpRenderTreeSupportEfl::frameChildren):
      (DumpRenderTreeSupportEfl::responseMimeType):
      (DumpRenderTreeSupportEfl::provisionalURL):
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::callPolicyFunction):
      (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
      (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
      (WebCore::FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks):
      (WebCore::FrameLoaderClientEfl::updateGlobalHistory):
      * ewk/ewk_frame.cpp:
      (_ewk_frame_loader_efl_get):
      (_ewk_frame_smart_del):
      (_ewk_frame_contents_set_internal):
      (ewk_frame_stop):
      (ewk_frame_reload):
      (ewk_frame_reload_full):
      (ewk_frame_child_add):
      * ewk/ewk_view.cpp:
      (ewk_view_frame_focused_get):
      (ewk_view_setting_user_agent_set):
      (ewk_view_setting_encoding_custom_get):
      (ewk_view_setting_encoding_custom_set):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      (DumpRenderTreeSupportGtk::clearOpener):
      (DumpRenderTreeSupportGtk::shouldClose):
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::dispatchWillSubmitForm):
      (WebKit::FrameLoaderClient::committedLoad):
      (WebKit::FrameLoaderClient::dispatchDecidePolicyForResponse):
      (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
      (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
      (WebKit::FrameLoaderClient::createFrame):
      (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
      * webkit/webkitwebframe.cpp:
      (webkit_web_frame_finalize):
      (webkit_web_frame_load_uri):
      (webkit_web_frame_load_data):
      (webkit_web_frame_load_request):
      (webkit_web_frame_stop_loading):
      (webkit_web_frame_reload):
      (webkit_web_frame_get_data_source):
      (webkit_web_frame_get_provisional_data_source):
      (webkit_web_frame_get_response_mime_type):
      (webkit_web_frame_get_network_response):
      (WebKit::kit):
      * webkit/webkitwebpolicydecision.cpp:
      (webkit_web_policy_decision_use):
      (webkit_web_policy_decision_ignore):
      (webkit_web_policy_decision_download):
      * webkit/webkitwebview.cpp:
      (webkit_web_view_dispose):
      (webkit_web_view_reload):
      (webkit_web_view_reload_bypass_cache):
      (webkit_web_view_stop_loading):
      (webkit_web_view_can_show_mime_type):
      (webkit_web_view_set_custom_encoding):
      (webkit_web_view_get_custom_encoding):
      (webkit_web_view_get_subresources):
      
      Source/WebKit/mac:
      
      * Plugins/Hosted/HostedNetscapePluginStream.mm:
      (WebKit::HostedNetscapePluginStream::HostedNetscapePluginStream):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::performRequest):
      (WebKit::NetscapePluginInstanceProxy::loadRequest):
      * Plugins/Hosted/WebHostedNetscapePluginView.mm:
      (-[WebHostedNetscapePluginView pluginView:receivedResponse:]):
      * Plugins/WebBaseNetscapePluginView.mm:
      (-[WebBaseNetscapePluginView requestWithURLCString:]):
      * Plugins/WebNetscapePluginStream.mm:
      (WebNetscapePluginStream::WebNetscapePluginStream):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView loadStream]):
      (-[WebNetscapePluginView pluginView:receivedResponse:]):
      (-[WebNetscapePluginView loadPluginRequest:]):
      (-[WebNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
      * Plugins/WebPluginController.mm:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
      (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
      (WebFrameLoaderClient::dispatchWillSubmitForm):
      (WebFrameLoaderClient::updateGlobalHistory):
      (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
      (WebFrameLoaderClient::restoreViewState):
      (WebFrameLoaderClient::transitionToCommittedForNewPage):
      (WebFrameLoaderClient::createFrame):
      * WebCoreSupport/WebFrameNetworkingContext.mm:
      (WebFrameNetworkingContext::blockedError):
      * WebCoreSupport/WebPlatformStrategies.mm:
      (WebPlatformStrategies::getPluginInfo):
      * WebView/WebFrame.mm:
      (kit):
      (-[WebFrame _dataSource]):
      (-[WebFrame _canProvideDocumentSource]):
      (-[WebFrame _commitData:]):
      (-[WebFrame _firstLayoutDone]):
      (-[WebFrame _loadType]):
      (-[WebFrame _cacheabilityDictionary]):
      (-[WebFrame _clearOpener]):
      (-[WebFrame provisionalDataSource]):
      (-[WebFrame dataSource]):
      (-[WebFrame loadRequest:]):
      (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
      (-[WebFrame loadArchive:]):
      (-[WebFrame stopLoading]):
      (-[WebFrame reload]):
      (-[WebFrame reloadFromOrigin]):
      * WebView/WebHTMLRepresentation.mm:
      (-[WebHTMLRepresentation receivedData:withDataSource:]):
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
      * WebView/WebPDFView.mm:
      (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
      * WebView/WebRenderLayer.mm:
      (-[WebRenderLayer initWithWebFrame:]):
      * WebView/WebRenderNode.mm:
      (-[WebRenderNode _initWithCoreFrame:]):
      * WebView/WebView.mm:
      (-[WebView _close]):
      (-[WebView _loadBackForwardListFromOtherView:]):
      (-[WebView _cachedResponseForURL:]):
      (-[WebView setCustomTextEncodingName:]):
      (-[WebView shouldClose]):
      
      Source/WebKit/qt:
      
      * WebCoreSupport/ChromeClientQt.cpp:
      (WebCore::ChromeClientQt::closeWindowSoon):
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::shouldClose):
      (DumpRenderTreeSupportQt::responseMimeType):
      (DumpRenderTreeSupportQt::clearOpener):
      (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
      (DumpRenderTreeSupportQt::setAlternateHtml):
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::callPolicyFunction):
      (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
      (WebCore::FrameLoaderClientQt::updateGlobalHistory):
      (WebCore::FrameLoaderClientQt::updateGlobalHistoryRedirectLinks):
      (WebCore::FrameLoaderClientQt::callErrorPageExtension):
      (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
      (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
      (WebCore::FrameLoaderClientQt::startDownload):
      (WebCore::FrameLoaderClientQt::createFrame):
      (WebCore::FrameLoaderClientQt::objectContentType):
      * WebCoreSupport/QWebFrameAdapter.cpp:
      (QWebFrameAdapter::load):
      (QWebFrameAdapter::setContent):
      (QWebFrameAdapter::setHtml):
      (QWebFrameAdapter::kit):
      (QWebFrameAdapter::title):
      (QWebFrameAdapter::clearCoreFrame):
      * WebCoreSupport/QWebPageAdapter.cpp:
      (frameLoadRequest):
      (openNewWindow):
      (QWebPageAdapter::triggerAction):
      (QWebPageAdapter::currentFrame):
      
      Source/WebKit/win:
      
      * WebCoreSupport/WebContextMenuClient.cpp:
      (WebContextMenuClient::searchWithGoogle):
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::updateGlobalHistory):
      (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
      (WebFrameLoaderClient::savePlatformDataToCachedFrame):
      (WebFrameLoaderClient::createFrame):
      (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
      * WebCoreSupport/WebFrameNetworkingContext.cpp:
      (WebFrameNetworkingContext::blockedError):
      (WebFrameNetworkingContext::referrer):
      * WebElementPropertyBag.cpp:
      (WebElementPropertyBag::Read):
      * WebFrame.cpp:
      (kit):
      (WebFrame::reloadFromOrigin):
      (WebFrame::loadRequest):
      (WebFrame::loadData):
      (WebFrame::dataSource):
      (WebFrame::provisionalDataSource):
      (WebFrame::stopLoading):
      (WebFrame::reload):
      (WebFrame::firstLayoutDone):
      (WebFrame::loadType):
      (WebFrame::clearOpener):
      (WebFrame::dispatchWillSubmitForm):
      (WebFrame::receivedPolicyDecision):
      (WebFrame::dispatchDecidePolicyForResponse):
      (WebFrame::dispatchDecidePolicyForNewWindowAction):
      (WebFrame::dispatchDecidePolicyForNavigationAction):
      (WebFrame::createJavaAppletWidget):
      * WebFramePolicyListener.cpp:
      (WebFramePolicyListener::receivedPolicyDecision):
      * WebView.cpp:
      (WebView::close):
      (WebView::canShowMIMEType):
      (WebView::setCustomTextEncodingName):
      (WebView::loadBackForwardListFromOtherView):
      (WebView::shouldClose):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/FrameLoaderClientWinCE.cpp:
      (WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForResponse):
      (WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForNewWindowAction):
      (WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForNavigationAction):
      (WebKit::FrameLoaderClientWinCE::dispatchWillSubmitForm):
      * WebCoreSupport/FrameNetworkingContextWinCE.cpp:
      (WebKit::FrameNetworkingContextWinCE::referrer):
      * WebView.cpp:
      (WebView::createFrame):
      (WebView::load):
      (WebView::reload):
      (WebView::stop):
      
      Source/WebKit2:
      
      * Shared/WebRenderLayer.cpp:
      (WebKit::WebRenderLayer::create):
      * Shared/WebRenderObject.cpp:
      (WebKit::WebRenderObject::create):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::startRequestForGeolocation):
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      (WKBundleFrameGetFrameLoadState):
      (WKBundleFrameClearOpener):
      (WKBundleFrameCallShouldCloseOnWebView):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::documentFrame):
      (WebKit::InjectedBundleNodeHandle::htmlFrameElementContentFrame):
      (WebKit::InjectedBundleNodeHandle::htmlIFrameElementContentFrame):
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
      * WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp:
      (WebKit::InjectedBundleDOMWindowExtension::frame):
      * WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
      (WebKit::InjectedBundleHitTestResult::frame):
      (WebKit::InjectedBundleHitTestResult::targetFrame):
      * WebProcess/Plugins/PDF/PDFPlugin.mm:
      (WebKit::PDFPlugin::clickedLink):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::webPage):
      (WebKit::PluginView::didFailToInitializePlugin):
      (WebKit::PluginView::performFrameLoadURLRequest):
      (WebKit::PluginView::userAgent):
      (WebKit::PluginView::loadURL):
      (WebKit::PluginView::cancelManualStreamLoad):
      (WebKit::PluginView::proxiesForURL):
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::focusedElementChanged):
      (WebKit::WebChromeClient::focusedFrameChanged):
      (WebKit::WebChromeClient::runBeforeUnloadConfirmPanel):
      (WebKit::WebChromeClient::closeWindowSoon):
      (WebKit::WebChromeClient::runJavaScriptAlert):
      (WebKit::WebChromeClient::runJavaScriptConfirm):
      (WebKit::WebChromeClient::runJavaScriptPrompt):
      (WebKit::WebChromeClient::unavailablePluginButtonClicked):
      (WebKit::WebChromeClient::print):
      (WebKit::WebChromeClient::exceededDatabaseQuota):
      (WebKit::WebChromeClient::runOpenPanel):
      * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
      (WebKit::WebContextMenuClient::searchWithGoogle):
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::textFieldDidBeginEditing):
      (WebKit::WebEditorClient::textFieldDidEndEditing):
      (WebKit::WebEditorClient::textDidChangeInTextField):
      (WebKit::WebEditorClient::textDidChangeInTextArea):
      (WebKit::WebEditorClient::doTextFieldCommandFromEvent):
      (WebKit::WebEditorClient::textWillBeDeletedInTextField):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
      (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
      (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
      (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse):
      (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
      (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
      (WebKit::WebFrameLoaderClient::dispatchWillSendSubmitEvent):
      (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
      (WebKit::WebFrameLoaderClient::updateGlobalHistory):
      (WebKit::WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
      (WebKit::WebFrameLoaderClient::restoreViewState):
      (WebKit::WebFrameLoaderClient::createFrame):
      (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
      (WebKit::WebFrameLoaderClient::objectContentType):
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      (WebKit::WebPlatformStrategies::getPluginInfo):
      * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
      (WebKit::WebFrameNetworkingContext::blockedError):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::didReceivePolicyDecision):
      (WebKit::WebFrame::startDownload):
      (WebKit::WebFrame::source):
      (WebKit::WebFrame::contentsAsString):
      (WebKit::WebFrame::url):
      (WebKit::WebFrame::parentFrame):
      (WebKit::WebFrame::childFrames):
      (WebKit::WebFrame::stopLoading):
      (WebKit::WebFrame::frameForContext):
      (WebKit::WebFrame::provisionalURL):
      (WebKit::WebFrame::suggestedFilenameForResourceWithURL):
      (WebKit::WebFrame::mimeTypeForResourceWithURL):
      (WebKit::WebFrameFilter::shouldIncludeSubframe):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::createPlugin):
      (WebKit::WebPage::close):
      (WebKit::WebPage::tryClose):
      (WebKit::WebPage::loadURLRequest):
      (WebKit::WebPage::loadDataImpl):
      (WebKit::WebPage::linkClicked):
      (WebKit::WebPage::stopLoadingFrame):
      (WebKit::WebPage::stopLoading):
      (WebKit::WebPage::reload):
      (WebKit::WebPage::tryRestoreScrollPosition):
      (WebKit::WebPage::getMainResourceDataOfFrame):
      (WebKit::resourceDataForFrame):
      (WebKit::shouldReuseCommittedSandboxExtension):
      (WebKit::WebPage::SandboxExtensionTracker::didStartProvisionalLoad):
      (WebKit::WebPage::hasLocalDataForURL):
      (WebKit::WebPage::setCustomTextEncodingName):
      (WebKit::WebPage::canPluginHandleResponse):
      (WebKit::WebPage::canShowMIMEType):
      (WebKit::WebPage::didCommitLoad):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::WebPage::platformHasLocalDataForURL):
      (WebKit::cachedResponseForURL):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::downloadRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df550b96
  7. 10 Apr, 2013 1 commit
    • andersca@apple.com's avatar
      Remove unneeded headers from FrameLoader.h · 9b9d83ba
      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
      9b9d83ba
  8. 13 Mar, 2013 1 commit
  9. 30 Jan, 2013 1 commit
  10. 26 Jan, 2013 1 commit
  11. 25 Jan, 2013 1 commit
    • haraken@chromium.org's avatar
      Regression(r107058): Use-after-free in SerializedScriptValue::deserialize · 162c7392
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107792
      
      Reviewed by Abhishek Arya.
      
      Source/WebCore:
      
      Imagine the following call path:
      
      (1) history.state is accessed.
      (2) V8History::stateAccessorGetter() calls History::state(), which calls
      HistoryItem::stateObject().
      (3) HistoryItem holds m_stateObject as RefPtr<SerializedScriptValue>,
      but HistoryItem::stateObject() returns SerializedScriptValue*.
      (4) V8History::stateAccessorGetter calls SerializedScriptValue::deserialize()
      for the SerializedScriptValue* obtained in (3).
      (5) SerializedScriptValue::deserialize() can call history.replaceState()
      in its deserialization process (See the test case in the Chromium bug).
      (6) history.replaceState() replaces HistoryItem::m_stateObject.
      This replacement destructs the original HistoryItem::m_stateObject.
      (7) The current deserialization process can crash due to the premature destruction.
      
      To avoid the problem, we have to pass PassRefPtr<SerializedScriptValue> around
      instead of SerializedScriptValue*.
      
      Test: fast/history/replacestate-nocrash.html
      
      * bindings/v8/custom/V8HistoryCustom.cpp:
      (WebCore::V8History::stateAccessorGetter):
      * history/HistoryItem.h:
      (WebCore):
      (WebCore::HistoryItem::stateObject):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadInSameDocument):
      * loader/FrameLoader.h:
      * page/History.cpp:
      (WebCore::History::state):
      (WebCore::History::stateInternal):
      * page/History.h:
      (History):
      
      LayoutTests:
      
      Added a test that demonstrated a crash due to use-after-free
      of SerializedScriptValue.
      
      Test: fast/history/replacestate-nocrash.html
      
      * fast/history/replacestate-nocrash-expected.txt: Added.
      * fast/history/replacestate-nocrash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      162c7392
  12. 27 Mar, 2012 1 commit
    • abarth@webkit.org's avatar
      FrameLoader::shouldAllowNavigation uses Frame for context rather than Document · a9da3b0b
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81020
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      The vast majority of security checks in the browser should use a
      ScriptExecutionContext (aka a Document) to designate "who" is
      attempting to perform a given action.  Unfortunately,
      shouldAllowNavigation was using a Frame to designate "who" is
      attempting the navigation.
      
      In cases when the executing script is "inactive" (i.e., belongs to a
      document that is not currently displayed in a Frame), using the Frame
      can cause us to grant the script the privileges of the document that's
      currently displayed in the Frame rather than the one that contains the
      script.
      
      This patch moves shouldAllowNavigation from FrameLoader to Document
      (and renames it to canNavigate), effectively change the context object
      from a Frame to a Document.
      
      Test: http/tests/security/frameNavigation/inactive-function-in-popup-navigate-child.html
      
      * bindings/generic/BindingSecurity.h:
      (BindingSecurity):
      (WebCore):
      * bindings/v8/V8Utilities.cpp:
      (WebCore):
      * bindings/v8/V8Utilities.h:
      (WebCore):
          - Deletes unused code.
      * dom/Document.cpp:
      (WebCore::canAccessAncestor):
      (WebCore):
      (WebCore::Document::canNavigate):
          - canNavigate is copied from FrameLoader::shouldAllowNavigation.
            I've added a null-check bailout if the document is inactive.
      * dom/Document.h:
      (Document):
      * loader/FormState.cpp:
      (WebCore::FormState::FormState):
      (WebCore::FormState::create):
      * loader/FormState.h:
      (WebCore):
      (FormState):
      (WebCore::FormState::sourceDocument):
      * loader/FormSubmission.cpp:
      (WebCore::FormSubmission::create):
          - Changes the context object from Frame to Document.
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::submitForm):
      (WebCore::FrameLoader::loadFrameRequest):
      (WebCore):
      (WebCore::FrameLoader::findFrameForNavigation):
          - FrameLoader::findFrameForNavigation still incorrectly uses Frame
            as the context object, but that's a bug for another patch.
      (WebCore::createWindow):
      * loader/FrameLoader.h:
      (FrameLoader):
      * loader/NavigationScheduler.cpp:
      (WebCore::ScheduledFormSubmission::fire):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::close):
      (WebCore::DOMWindow::setLocation):
      (WebCore::DOMWindow::open):
      * page/History.cpp:
      (WebCore::History::go):
      
      Source/WebKit/mac:
      
      Update call site to new function name.
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchWillSubmitForm):
      
      Source/WebKit/win:
      
      Update call site to new function name.
      
      * WebFrame.cpp:
      (WebFrame::dispatchWillSubmitForm):
      
      Source/WebKit2:
      
      Update call site to new function name.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
      
      LayoutTests:
      
      Test that a script from an inactive document doesn't inherit the
      navigation privileges of the document that currently occupies the
      frame.
      
      * http/tests/security/frameNavigation/inactive-function-in-popup-navigate-child-expected.txt: Added.
      * http/tests/security/frameNavigation/inactive-function-in-popup-navigate-child.html: Added.
      * http/tests/security/frameNavigation/resources/fail.html: Added.
      * http/tests/security/frameNavigation/resources/iframe-with-inner-frame-on-foreign-domain.html:
      * http/tests/security/frameNavigation/resources/popup-ready-to-navigate-child.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9da3b0b
  13. 23 Feb, 2012 1 commit
    • commit-queue@webkit.org's avatar
      PopStateEvent.state should use the same object as history.state · 7a2b40f6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77493
      
      Patch by Pablo Flouret <pablof@motorola.com> on 2012-02-22
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Tests: fast/loader/stateobjects/state-attribute-history-getter.html
             fast/loader/stateobjects/state-attribute-popstate-event.html
      
      * bindings/js/JSPopStateEventCustom.cpp:
      (WebCore):
      (WebCore::cacheState):
      (WebCore::JSPopStateEvent::state):
      * bindings/v8/V8HiddenPropertyName.h:
      (WebCore):
      * bindings/v8/custom/V8HistoryCustom.cpp:
      (WebCore::V8History::stateAccessorGetter):
      (WebCore::V8History::pushStateCallback):
      (WebCore::V8History::replaceStateCallback):
      * bindings/v8/custom/V8PopStateEventCustom.cpp:
      (WebCore):
      (WebCore::cacheState):
      (WebCore::V8PopStateEvent::stateAccessorGetter):
      * dom/Document.cpp:
      (WebCore::Document::enqueuePopstateEvent):
      * dom/PopStateEvent.cpp:
      (WebCore::PopStateEvent::PopStateEvent):
      (WebCore::PopStateEvent::create):
      * dom/PopStateEvent.h:
      (WebCore):
      (PopStateEvent):
      (WebCore::PopStateEvent::history):
      * dom/PopStateEvent.idl:
      * page/History.cpp:
      (WebCore::History::stateChanged):
      (WebCore):
      (WebCore::History::isSameAsCurrentState):
      * page/History.h:
      (History):
      
      LayoutTests:
      
      * fast/loader/stateobjects/state-attribute-history-getter-expected.txt: Added.
      * fast/loader/stateobjects/state-attribute-history-getter.html: Added.
      * fast/loader/stateobjects/state-attribute-only-one-deserialization-expected.txt:
      * fast/loader/stateobjects/state-attribute-only-one-deserialization.html:
      * fast/loader/stateobjects/state-attribute-popstate-event-expected.txt: Added.
      * fast/loader/stateobjects/state-attribute-popstate-event.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a2b40f6
  14. 08 Feb, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Add state attribute to history's dom interface. · 1c5db438
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76035
      
      Patch by Pablo Flouret <pablof@motorola.com> on 2012-02-08
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Tests: fast/loader/stateobjects/state-attribute-object-types.html
             fast/loader/stateobjects/state-attribute-only-one-deserialization.html
      
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::state):
      (WebCore):
      (WebCore::JSHistory::pushState):
      (WebCore::JSHistory::replaceState):
      * bindings/v8/custom/V8HistoryCustom.cpp:
      (WebCore::V8History::stateAccessorGetter):
      (WebCore):
      (WebCore::V8History::pushStateCallback):
      (WebCore::V8History::replaceStateCallback):
      * page/History.cpp:
      (WebCore::History::History):
      (WebCore::History::state):
      (WebCore):
      (WebCore::History::stateInternal):
      (WebCore::History::stateChanged):
      * page/History.h:
      (History):
      * page/History.idl:
      
      LayoutTests:
      
      * fast/dom/Window/window-appendages-cleared-expected.txt:
      * fast/loader/stateobjects/state-attribute-object-types-expected.txt: Added.
      * fast/loader/stateobjects/state-attribute-object-types.html: Added.
      * fast/loader/stateobjects/state-attribute-only-one-deserialization-expected.txt: Added.
      * fast/loader/stateobjects/state-attribute-only-one-deserialization.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c5db438
  15. 07 Jan, 2012 1 commit
    • abarth@webkit.org's avatar
      Disconnecting DOMWindow properties is fragile and overly complicated · 84fe60e1
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75699
      
      Reviewed by Alexey Proskuryakov.
      
      Previously, we had to carefully check every object tree hanging off of
      DOMWindow to make sure that every property correctly disconnected
      itself and all its subobjects from the Frame when the DOMWindow
      disconnected from the Frame.
      
      This patch introduces DOMWindowProperty, which is a base class that
      handles this work automagically, ensuring that we won't have any
      dangling Frame pointers and removing a bunch of boilerplate code.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * css/StyleMedia.cpp:
      (WebCore::StyleMedia::StyleMedia):
      * css/StyleMedia.h:
      (WebCore::StyleMedia::create):
      * loader/appcache/DOMApplicationCache.cpp:
      (WebCore::DOMApplicationCache::DOMApplicationCache):
      (WebCore::DOMApplicationCache::disconnectFrame):
      * loader/appcache/DOMApplicationCache.h:
      * page/BarInfo.cpp:
      (WebCore::BarInfo::BarInfo):
      * page/BarInfo.h:
      * page/Console.cpp:
      (WebCore::Console::Console):
      (WebCore::Console::memory):
      * page/Console.h:
      * page/DOMSelection.cpp:
      (WebCore::DOMSelection::DOMSelection):
      * page/DOMSelection.h:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::registerProperty):
      (WebCore::DOMWindow::unregisterProperty):
      (WebCore::DOMWindow::clear):
      * page/DOMWindow.h:
      * page/Geolocation.cpp:
      (WebCore::Geolocation::Geolocation):
      (WebCore::Geolocation::disconnectFrame):
      * page/Geolocation.h:
      * page/History.cpp:
      (WebCore::History::History):
      * page/History.h:
      * page/Location.cpp:
      (WebCore::Location::Location):
      * page/Location.h:
      * page/Navigator.cpp:
      (WebCore::Navigator::Navigator):
      (WebCore::Navigator::~Navigator):
      * page/Navigator.h:
      * page/Performance.cpp:
      (WebCore::Performance::Performance):
      (WebCore::Performance::memory):
      * page/Performance.h:
      * page/PerformanceNavigation.cpp:
      (WebCore::PerformanceNavigation::PerformanceNavigation):
      * page/PerformanceNavigation.h:
      * page/PerformanceTiming.cpp:
      (WebCore::PerformanceTiming::PerformanceTiming):
      * page/PerformanceTiming.h:
      * page/Screen.cpp:
      (WebCore::Screen::Screen):
      * page/Screen.h:
      * plugins/DOMMimeTypeArray.cpp:
      (WebCore::DOMMimeTypeArray::DOMMimeTypeArray):
      * plugins/DOMMimeTypeArray.h:
      * plugins/DOMPluginArray.cpp:
      (WebCore::DOMPluginArray::DOMPluginArray):
      * plugins/DOMPluginArray.h:
      * storage/Storage.cpp:
      (WebCore::Storage::Storage):
      * storage/Storage.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84fe60e1
  16. 31 Jul, 2011 1 commit
    • paroga@webkit.org's avatar
      Remove inclusion of MainThread.h from Threading.h · c309e0e2
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65081
      
      Reviewed by Darin Adler.
      
      Source/JavaScriptCore:
      
      Add missing and remove unneeded include statements for MainThread.
      
      * wtf/CryptographicallyRandomNumber.cpp:
      * wtf/Threading.h:
      * wtf/ThreadingPthreads.cpp:
      * wtf/text/StringStatics.cpp:
      
      Source/WebCore:
      
      Add missing include statements for MainThread.
      
      * bindings/js/DOMWrapperWorld.cpp:
      * bindings/js/JSDOMWindowBase.cpp:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateCallbackImplementation):
      * bindings/v8/DOMDataStore.cpp:
      * bindings/v8/DOMWrapperWorld.cpp:
      * bindings/v8/V8Binding.cpp:
      * bindings/v8/V8DOMMap.cpp:
      * bindings/v8/V8DOMWrapper.h:
      * dom/EventTarget.cpp:
      * fileapi/LocalFileSystem.cpp:
      * loader/CrossOriginPreflightResultCache.cpp:
      * loader/ResourceLoadScheduler.cpp:
      * loader/WorkerThreadableLoader.cpp:
      * loader/appcache/ApplicationCacheGroup.cpp:
      * page/DOMWindow.cpp:
      * page/History.cpp:
      * page/SecurityOrigin.cpp:
      * page/mac/EventHandlerMac.mm:
      * platform/MIMETypeRegistry.cpp:
      * platform/ThreadGlobalData.cpp:
      * platform/ThreadTimers.cpp:
      * platform/TreeShared.h:
      * platform/audio/HRTFDatabaseLoader.cpp:
      * platform/graphics/Font.cpp:
      * platform/graphics/FontFallbackList.h:
      * platform/graphics/FontFastPath.cpp:
      * platform/graphics/Image.cpp:
      * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
      * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
      * platform/graphics/cg/ImageBufferCG.cpp:
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      * platform/graphics/chromium/cc/CCLayerTreeHostImplProxy.cpp:
      * platform/mac/LocalizedStringsMac.mm:
      * platform/mac/SharedBufferMac.mm:
      * platform/network/BlobResourceHandle.cpp:
      * platform/network/cf/DNSCFNet.cpp:
      * platform/network/cf/LoaderRunLoopCF.cpp:
      * platform/text/LocalizedNumberICU.cpp:
      * platform/text/TextEncodingRegistry.cpp:
      * platform/text/mac/LocalizedNumberMac.mm:
      * platform/win/LocalizedStringsWin.cpp:
      * storage/LocalStorageThread.cpp:
      * storage/StorageAreaImpl.cpp:
      * storage/StorageAreaSync.cpp:
      * storage/StorageNamespaceImpl.cpp:
      * storage/StorageSyncManager.cpp:
      * webaudio/AsyncAudioDecoder.cpp:
      * webaudio/AudioBufferSourceNode.cpp:
      * webaudio/AudioContext.h
      * webaudio/AudioContext.cpp:
      * webaudio/AudioNode.cpp:
      * webaudio/ConvolverNode.cpp:
      * webaudio/OfflineAudioDestinationNode.cpp:
      * webaudio/RealtimeAnalyser.cpp:
      * webaudio/WaveShaperNode.cpp:
      * websockets/WorkerThreadableWebSocketChannel.cpp:
      * workers/WorkerMessagingProxy.cpp:
      
      Source/WebKit/chromium:
      
      Add missing include statements for MainThread.
      
      * src/WebKit.cpp:
      * src/WebViewImpl.cpp:
      * tests/CCThreadTest.cpp:
      
      Source/WebKit/gtk:
      
      Add missing include statements for MainThread.
      
      * webkit/webkitglobals.cpp:
      
      Source/WebKit/mac:
      
      Add missing include statements for MainThread.
      
      * Carbon/CarbonWindowAdapter.mm:
      * History/WebBackForwardList.mm:
      * History/WebHistoryItem.mm:
      * Misc/WebElementDictionary.mm:
      * Misc/WebIconDatabase.mm:
      * Misc/WebLocalizableStrings.mm:
      * Plugins/Hosted/WebHostedNetscapePluginView.mm:
      * Plugins/WebBaseNetscapePluginView.mm:
      * Plugins/WebBasePluginPackage.mm:
      * Plugins/WebNetscapePluginView.mm:
      * WebCoreSupport/WebEditorClient.mm:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      * WebView/WebArchive.mm:
      * WebView/WebDataSource.mm:
      * WebView/WebHTMLView.mm:
      * WebView/WebResource.mm:
      * WebView/WebTextIterator.mm:
      * WebView/WebView.mm:
      * WebView/WebViewData.mm:
      
      Source/WebKit/qt:
      
      Add missing include statements for MainThread.
      
      * Api/qwebpage.cpp:
      
      Source/WebKit/win:
      
      Add missing include statements for MainThread.
      
      * WebKitClassFactory.cpp:
      * WebView.cpp:
      
      Source/WebKit/wx:
      
      Add missing include statements for MainThread.
      
      * WebView.cpp:
      
      Source/WebKit2:
      
      Add missing include statements for MainThread.
      
      * PluginProcess/gtk/PluginProcessMainGtk.cpp:
      * PluginProcess/mac/PluginProcessMainMac.mm:
      * PluginProcess/qt/PluginProcessMainQt.cpp:
      * UIProcess/API/mac/WKPrintingView.mm:
      * UIProcess/Launcher/mac/ThreadLauncherMac.mm:
      * UIProcess/Launcher/qt/ThreadLauncherQt.cpp:
      * UIProcess/Launcher/win/ThreadLauncherWin.cpp:
      * UIProcess/WebContext.cpp:
      * WebProcess/WebPage/ca/win/LayerTreeHostCAWin.cpp:
      * WebProcess/efl/WebProcessMainEfl.cpp:
      * WebProcess/gtk/WebProcessMainGtk.cpp:
      * WebProcess/mac/KeychainItemShimMethods.mm:
      * WebProcess/mac/WebProcessMainMac.mm:
      * WebProcess/qt/WebProcessMainQt.cpp:
      * WebProcess/win/WebProcessMainWin.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@92068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c309e0e2
  17. 23 Jul, 2011 1 commit
  18. 16 Jun, 2011 1 commit
    • eric@webkit.org's avatar
      2011-06-16 Eric Seidel <eric@webkit.org> · 818318b3
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              FrameLoader doesn't need completeURL or baseURL
              https://bugs.webkit.org/show_bug.cgi?id=62818
      
              No functional change, thus no tests.
      
              * html/HTMLPlugInImageElement.cpp:
              (WebCore::HTMLPlugInImageElement::isImageType):
              (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
              * inspector/InspectorPageAgent.cpp:
              (WebCore::InspectorPageAgent::open):
              * loader/FrameLoader.cpp:
              * loader/FrameLoader.h:
              * loader/NavigationScheduler.cpp:
              (WebCore::NavigationScheduler::scheduleLocationChange):
              * page/History.cpp:
              (WebCore::History::urlForState):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      818318b3
  19. 12 May, 2011 1 commit
    • tonyg@chromium.org's avatar
      2011-05-10 Tony Gentilcore <tonyg@chromium.org> · 4b0a55f4
      tonyg@chromium.org authored
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * accessibility/AccessibilityObject.cpp:
              * accessibility/AccessibilityRenderObject.cpp:
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              * dom/DocumentMarkerController.cpp:
              * dom/Position.cpp:
              * dom/PositionIterator.cpp:
              * dom/Range.cpp:
              * editing/ApplyBlockElementCommand.cpp:
              * editing/ApplyStyleCommand.cpp:
              * editing/Editor.cpp:
              * editing/EditorCommand.cpp:
              * editing/FrameSelection.cpp:
              * editing/HTMLInterchange.cpp:
              * editing/IndentOutdentCommand.cpp:
              * editing/ReplaceSelectionCommand.cpp:
              * editing/SpellChecker.h:
              * editing/SpellingCorrectionCommand.cpp:
              * editing/SpellingCorrectionController.h:
              * editing/TextCheckingHelper.cpp:
              * editing/TextIterator.h:
              * editing/htmlediting.h:
              * editing/markup.cpp:
              * editing/visible_units.cpp:
              * editing/visible_units.h:
              * fileapi/DOMFileSystem.cpp:
              * fileapi/DirectoryReaderSync.cpp:
              * fileapi/DirectoryReaderSync.h:
              * fileapi/FileEntry.h:
              * fileapi/FileWriter.h:
              * fileapi/FileWriterBase.h:
              * fileapi/FileWriterSync.h:
              * history/CachedFrame.cpp:
              * history/CachedPage.cpp:
              * history/HistoryItem.cpp:
              * history/HistoryItem.h:
              * history/PageCache.h:
              * loader/HistoryController.h:
              * loader/PingLoader.h:
              * loader/ResourceLoader.h:
              * loader/appcache/DOMApplicationCache.h:
              * loader/cache/CachedCSSStyleSheet.h:
              * loader/cache/CachedFont.cpp:
              * loader/cache/CachedFont.h:
              * loader/cache/CachedResourceRequest.cpp:
              * loader/cache/CachedResourceRequest.h:
              * loader/cache/MemoryCache.h:
              * notifications/Notification.cpp:
              * notifications/Notification.h:
              * notifications/NotificationCenter.cpp:
              * notifications/NotificationCenter.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/DOMSelection.cpp:
              * page/DOMTimer.h:
              * page/DOMWindow.cpp:
              * page/EventHandler.cpp:
              * page/FocusController.h:
              * page/Geolocation.cpp:
              * page/Geolocation.h:
              * page/History.cpp:
              * rendering/RenderListBox.cpp:
              * workers/WorkerContext.cpp:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * src/WebHistoryItem.cpp:
              * src/WebNotification.cpp:
              * src/WebTextCheckingCompletionImpl.cpp:
              * src/mac/WebSubstringUtil.mm:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * Plugins/Hosted/WebHostedNetscapePluginView.mm:
              * WebView/WebFrame.mm:
      2011-05-10  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Perform some forward declarations suggested by include-what-you-use
              https://bugs.webkit.org/show_bug.cgi?id=60545
      
              * WebProcess/WebPage/mac/WebPageMac.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b0a55f4
  20. 01 May, 2011 1 commit
    • jschuh@chromium.org's avatar
      2011-05-01 Justin Schuh <jschuh@chromium.org> · da7d7210
      jschuh@chromium.org authored
              Reviewed by Adam Barth.
      
              History::stateObjectAdded should check origin via SecurityOrigin::canRequest
              https://bugs.webkit.org/show_bug.cgi?id=59840
      
              * fast/loader/stateobjects/pushstate-in-data-url-denied-expected.txt: Added.
              * fast/loader/stateobjects/pushstate-in-data-url-denied.html: Added.
              * fast/loader/stateobjects/replacestate-base-illegal-expected.txt: Removed.
              * fast/loader/stateobjects/replacestate-base-illegal.html: Removed.
              * fast/loader/stateobjects/replacestate-base-legal-expected.txt: Removed.
              * fast/loader/stateobjects/replacestate-base-legal.html: Removed.
              * fast/loader/stateobjects/resources/replacestate-base-pass.html: Removed.
              * http/tests/navigation/replacestate-base-illegal-expected.txt: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-illegal-expected.txt.
              * http/tests/navigation/replacestate-base-illegal.html: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-illegal.html.
              * http/tests/navigation/replacestate-base-legal-expected.txt: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-legal-expected.txt.
              * http/tests/navigation/replacestate-base-legal.html: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-legal.html.
              * http/tests/navigation/resources/replacestate-base-pass.html: Copied from LayoutTests/fast/loader/stateobjects/resources/replacestate-base-pass.html.
      2011-05-01  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Adam Barth.
      
              History::stateObjectAdded should check origin via SecurityOrigin::canRequest
              https://bugs.webkit.org/show_bug.cgi?id=59840
      
              Tests: fast/loader/stateobjects/pushstate-in-data-url-denied.html
                     http/tests/navigation/replacestate-base-illegal.html
                     http/tests/navigation/replacestate-base-legal.html
      
              * page/History.cpp:
              (WebCore::History::stateObjectAdded):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da7d7210
  21. 30 Apr, 2011 1 commit
    • mihaip@chromium.org's avatar
      2011-04-30 Mihai Parparita <mihaip@chromium.org> · cb60fba8
      mihaip@chromium.org authored
              Reviewed by Eric Seidel.
      
              V8Proxy.h shouldn't include SecurityOrigin.h
              https://bugs.webkit.org/show_bug.cgi?id=59859
      
              Remove SecurityOrigin.h #include from V8Proxy.h. Touching
              SecurityOrigin.h now rebuilds 234 targets instead of 638 (when building
              chromium's DumpRenderTree).
      
              * bindings/v8/NPV8Object.cpp:
              * bindings/v8/V8Proxy.cpp:
              * bindings/v8/V8Proxy.h:
              * css/CSSStyleSelector.cpp:
              * dom/XMLDocumentParserLibxml2.cpp:
              * html/HTMLLinkElement.cpp:
              * loader/SubframeLoader.cpp:
              * page/History.cpp:
              * storage/IDBFactory.cpp:
              * storage/StorageAreaImpl.cpp:
      2011-04-30  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by Eric Seidel.
      
              V8Proxy.h shouldn't include SecurityOrigin.h
              https://bugs.webkit.org/show_bug.cgi?id=59859
      
              Add SecurityOrigin.h includes to places that were relying on transitive
              includes.
      
              * src/ApplicationCacheHost.cpp:
              * src/WebGeolocationPermissionRequest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb60fba8
  22. 08 Jan, 2011 1 commit
  23. 02 Jan, 2011 1 commit
    • abarth@webkit.org's avatar
      2011-01-01 Adam Barth <abarth@webkit.org> · 14e08540
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              sandbox iframes have access to top.history methods
              https://bugs.webkit.org/show_bug.cgi?id=38152
      
              To enforce the sandbox restrictions on History, we need to pass the
              ScriptExecutionContext to WebCore.  This patch leaves the original
              History methods in place because they are used directly by folks who
              don't care about security checks.
      
              Test: fast/frames/sandboxed-iframe-history-denied.html
      
              * page/History.cpp:
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/History.h:
              * page/History.idl:
      2011-01-01  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Eric Seidel.
      
              sandbox iframes have access to top.history methods
              https://bugs.webkit.org/show_bug.cgi?id=38152
      
              Test that sandboxed iframes cannot use history to navigate the top
              frame.  This test is less than ideal, as described in the test itself.
              If I was really on top of things, I'd add a test for successful use of
              the history API when allow-top-navigation is set, but that test would
              be complicated and I'm lazy (enough to copy directly from abarth).
      
              * fast/frames/sandboxed-iframe-history-denied-expected.txt: Added.
              * fast/frames/sandboxed-iframe-history-denied.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14e08540
  24. 30 Oct, 2010 2 commits
    • darin@apple.com's avatar
      Try to fix build. · 9676d9e7
      darin@apple.com authored
      * page/ContextMenuController.cpp: Added include of BackForwardController.h.
      * page/DOMWindow.cpp: Ditto.
      * page/History.cpp: Ditto.
      * platform/ContextMenu.cpp: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9676d9e7
    • darin@apple.com's avatar
      More back/forward refactoring · e10e1282
      darin@apple.com authored
      Reviewed by Sam Weinig.
      
      WebCore: 
      
      * WebCore.exp.in: Updated.
      
      * GNUmakefile.am: Removed BackForwardControllerClient.h.
      * WebCore.gypi: Ditto.
      * WebCore.pro: Ditto.
      * WebCore.vcproj/WebCore.vcproj: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      
      * history/BackForwardControllerClient.h: Removed.
      
      * history/BackForwardController.cpp:
      (WebCore::BackForwardController::BackForwardController):
      Set up just m_client.
      (WebCore::BackForwardController::~BackForwardController):
      Removed call to backForwardControllerDestroyed.
      (WebCore::BackForwardController::canGoBackOrForward): Added.
      (WebCore::BackForwardController::goBackOrForward): Added.
      (WebCore::BackForwardController::goBack): Added.
      (WebCore::BackForwardController::goForward): Added.
      (WebCore::BackForwardController::addItem): Added.
      (WebCore::BackForwardController::setCurrentItem): Added.
      (WebCore::BackForwardController::count): Added.
      (WebCore::BackForwardController::backCount): Added.
      (WebCore::BackForwardController::forwardCount): Added.
      (WebCore::BackForwardController::itemAtIndex): Added.
      (WebCore::BackForwardController::isActive): Added.
      (WebCore::BackForwardController::close): Added.
      
      * history/BackForwardController.h: Added functions from Page
      and BackForwardList that should be called here instead.
      Note that BackForwardList is to be renamed BackForwardClient soon.
      
      * history/BackForwardList.h: Removed many now-unneeded
      virtual functions.
      
      * history/BackForwardListImpl.h: Moved BackForwardListClient
      in here.
      
      * history/PageCache.cpp:
      (WebCore::logCanCachePageDecision): Use backForward().
      (WebCore::PageCache::canCache): Ditto.
      
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::transitionToCommitted): Removed unneeded
      null check of backFowardList, which is never null.
      (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Use backForward.
      (WebCore::FrameLoader::didFirstLayout): Ditto.
      (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): Ditto.
      (WebCore::FrameLoader::checkDidPerformFirstNavigation): Ditto.
      * loader/HistoryController.cpp:
      (WebCore::HistoryController::goToItem): Ditto.
      (WebCore::HistoryController::updateForStandardLoad): Ditto.
      (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList): Ditto.
      (WebCore::HistoryController::updateBackForwardListClippedAtTarget): Ditto.
      (WebCore::HistoryController::pushState): Ditto.
      * loader/NavigationScheduler.cpp:
      (WebCore::ScheduledHistoryNavigation::fire): Ditto.
      (WebCore::NavigationScheduler::scheduleHistoryNavigation): Ditto.
      * page/ContextMenuController.cpp:
      (WebCore::ContextMenuController::contextMenuItemSelected): Ditto.
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::close): Ditto.
      * page/History.cpp:
      (WebCore::History::length): Ditto.
      
      * page/Page.cpp:
      (WebCore::Page::Page): Use more adoptPtr. Use backForwardClient instead of
      backForwardControllerClient.
      (WebCore::Page::~Page): Use backForward.
      (WebCore::Page::backForwardList): Ditto.
      (WebCore::Page::goBack): Ditto.
      (WebCore::Page::goForward): Ditto.
      (WebCore::Page::canGoBackOrForward): Ditto.
      (WebCore::Page::goBackOrForward): Ditto.
      (WebCore::Page::getHistoryLength): Ditto.
      (WebCore::Page::PageClients::PageClients): Made non-inline.
      (WebCore::Page::PageClients::~PageClients): Ditto.
      
      * page/Page.h: Made PageClients constructor and destructor non-inline.
      Added backForward function. Marked old functions as deprecated.
      
      * page/Settings.cpp:
      (WebCore::Settings::setUsesPageCache): Use backForward.
      * platform/ContextMenu.cpp:
      (WebCore::ContextMenu::populate): Ditto.
      (WebCore::ContextMenu::checkOrEnableIfNeeded): Ditto.
      * wml/WMLDoElement.cpp:
      (WebCore::WMLDoElement::defaultEventHandler): Ditto.
      * wml/WMLDocument.cpp:
      (WebCore::WMLDocument::finishedParsing): Ditto.
      * wml/WMLPageState.cpp:
      (WebCore::WMLPageState::reset): Ditto.
      (WebCore::tryAccessHistoryURLs): Ditto.
      * wml/WMLPrevElement.cpp:
      (WebCore::WMLPrevElement::executeTask): Ditto.
      
      WebKit2: 
      
      * WebKit2.pro: Removed WebBackForwardControllerClient.cpp and .h.
      * WebKit2.xcodeproj/project.pbxproj: Ditto.
      
      * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp: Removed.
      * WebProcess/WebCoreSupport/WebBackForwardControllerClient.h: Removed.
      
      * WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp:
      (WebKit::InjectedBundleBackForwardList::itemAtIndex): Use backForward.
      (WebKit::InjectedBundleBackForwardList::backListCount): Ditto.
      (WebKit::InjectedBundleBackForwardList::forwardListCount): Ditto.
      (WebKit::InjectedBundleBackForwardList::clear): Ditto.
      
      * WebProcess/WebPage/WebBackForwardListProxy.h: Added newly-needed include.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage): Set up backForwardClient.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70960 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e10e1282
  25. 04 Oct, 2010 1 commit
    • abarth@webkit.org's avatar
      2010-10-04 Adam Barth <abarth@webkit.org> · 88b4e6bf
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Rename RedirectScheduler to NavigationScheduler
              https://bugs.webkit.org/show_bug.cgi?id=47037
      
              Update for name change.
      
              * src/ApplicationCacheHost.cpp:
              (WebCore::ApplicationCacheHost::selectCacheWithManifest):
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::loadJavaScriptURL):
      2010-10-04  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename RedirectScheduler to NavigationScheduler
              https://bugs.webkit.org/show_bug.cgi?id=47037
      
              Update for name change.
      
              * Api/qwebpage.cpp:
              (QWebPage::triggerAction):
      2010-10-04  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Darin Adler.
      
              Rename RedirectScheduler to NavigationScheduler
              https://bugs.webkit.org/show_bug.cgi?id=47037
      
              This class schedules more than just redirects.  In fact, it schedules
              most kinds of navigations.
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/generic/BindingDOMWindow.h:
              (WebCore::::createWindow):
              (WebCore::::open):
              * bindings/generic/BindingFrame.h:
              (WebCore::::navigateIfAllowed):
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::setLocation):
              (WebCore::createWindow):
              (WebCore::JSDOMWindow::open):
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::setLocation):
              * bindings/js/JSLocationCustom.cpp:
              (WebCore::JSLocation::reload):
              * bindings/v8/custom/V8LocationCustom.cpp:
              (WebCore::V8Location::reloadCallback):
              * dom/Document.cpp:
              (WebCore::Document::implicitClose):
              (WebCore::Document::processHttpEquiv):
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::setResourceTrackingEnabled):
              (WebCore::InspectorController::reloadPage):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::setDefersLoading):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::stopLoading):
              (WebCore::FrameLoader::didOpenURL):
              (WebCore::FrameLoader::didExplicitOpen):
              (WebCore::FrameLoader::cancelAndClear):
              (WebCore::FrameLoader::clear):
              (WebCore::FrameLoader::receivedFirstData):
              (WebCore::FrameLoader::checkCompleted):
              (WebCore::FrameLoader::provisionalLoadStarted):
              (WebCore::FrameLoader::completed):
              (WebCore::FrameLoader::prepareForCachedPageRestore):
              * loader/FrameLoader.h:
              * loader/NavigationScheduler.cpp: Added.
              (WebCore::ScheduledNavigation::ScheduledNavigation):
              (WebCore::ScheduledNavigation::~ScheduledNavigation):
              (WebCore::ScheduledNavigation::shouldStartTimer):
              (WebCore::ScheduledNavigation::didStartTimer):
              (WebCore::ScheduledNavigation::didStopTimer):
              (WebCore::ScheduledNavigation::delay):
              (WebCore::ScheduledNavigation::lockHistory):
              (WebCore::ScheduledNavigation::lockBackForwardList):
              (WebCore::ScheduledNavigation::wasDuringLoad):
              (WebCore::ScheduledNavigation::isLocationChange):
              (WebCore::ScheduledNavigation::wasUserGesture):
              (WebCore::ScheduledURLNavigation::ScheduledURLNavigation):
              (WebCore::ScheduledURLNavigation::fire):
              (WebCore::ScheduledURLNavigation::didStartTimer):
              (WebCore::ScheduledURLNavigation::didStopTimer):
              (WebCore::ScheduledURLNavigation::url):
              (WebCore::ScheduledURLNavigation::referrer):
              (WebCore::ScheduledRedirect::ScheduledRedirect):
              (WebCore::ScheduledRedirect::shouldStartTimer):
              (WebCore::ScheduledLocationChange::ScheduledLocationChange):
              (WebCore::ScheduledRefresh::ScheduledRefresh):
              (WebCore::ScheduledRefresh::fire):
              (WebCore::ScheduledHistoryNavigation::ScheduledHistoryNavigation):
              (WebCore::ScheduledHistoryNavigation::fire):
              (WebCore::ScheduledFormSubmission::ScheduledFormSubmission):
              (WebCore::ScheduledFormSubmission::fire):
              (WebCore::ScheduledFormSubmission::didStartTimer):
              (WebCore::ScheduledFormSubmission::didStopTimer):
              (WebCore::NavigationScheduler::NavigationScheduler):
              (WebCore::NavigationScheduler::~NavigationScheduler):
              (WebCore::NavigationScheduler::redirectScheduledDuringLoad):
              (WebCore::NavigationScheduler::locationChangePending):
              (WebCore::NavigationScheduler::clear):
              (WebCore::NavigationScheduler::scheduleRedirect):
              (WebCore::NavigationScheduler::mustLockBackForwardList):
              (WebCore::NavigationScheduler::scheduleLocationChange):
              (WebCore::NavigationScheduler::scheduleFormSubmission):
              (WebCore::NavigationScheduler::scheduleRefresh):
              (WebCore::NavigationScheduler::scheduleHistoryNavigation):
              (WebCore::NavigationScheduler::timerFired):
              (WebCore::NavigationScheduler::schedule):
              (WebCore::NavigationScheduler::startTimer):
              (WebCore::NavigationScheduler::cancel):
              * loader/NavigationScheduler.h: Added.
              * loader/RedirectScheduler.cpp: Removed.
              * loader/RedirectScheduler.h: Removed.
              * loader/SubframeLoader.cpp:
              (WebCore::SubframeLoader::loadOrRedirectSubframe):
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::selectCache):
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              * page/Frame.h:
              (WebCore::Frame::navigationScheduler):
              * page/History.cpp:
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
              * page/XSSAuditor.cpp:
              (WebCore::XSSAuditor::findInRequest):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88b4e6bf
  26. 26 Jul, 2010 1 commit
    • jschuh@chromium.org's avatar
      2010-07-26 Justin Schuh <jschuh@chromium.org> · f18c0934
      jschuh@chromium.org authored
              Reviewed by Darin Fisher.
      
              Check history state against origin before setting
              https://bugs.webkit.org/show_bug.cgi?id=42858
      
              Tests: fast/loader/stateobjects/replacestate-base-illegal.html
                     fast/loader/stateobjects/replacestate-base-legal.html
      
              * page/History.cpp:
              (WebCore::History::urlForState):
              (WebCore::History::stateObjectAdded):
      2010-07-26  Justin Schuh  <jschuh@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Check history state when base URL is changed
              https://bugs.webkit.org/show_bug.cgi?id=42858
      
              * fast/loader/stateobjects/replacestate-base-illegal-expected.txt: Added.
              * fast/loader/stateobjects/replacestate-base-illegal.html: Added.
              * fast/loader/stateobjects/replacestate-base-legal-expected.txt: Added.
              * fast/loader/stateobjects/replacestate-base-legal.html: Added.
              * fast/loader/stateobjects/resources/replacestate-base-pass.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f18c0934
  27. 23 Jul, 2010 2 commits
  28. 27 Jan, 2010 1 commit
    • darin@chromium.org's avatar
      2010-01-26 Darin Fisher <darin@chromium.org> · e5915f11
      darin@chromium.org authored
              Reviewed by Brady Eidson and David Levin.
      
              Chains of history items representing same-document navigation need to
              always remember that association
      
              https://bugs.webkit.org/show_bug.cgi?id=33224
      
              Replace HistoryItem's Document pointer with a DocumentSequenceNumber.
              During session history traversal, if the current HistoryItem and the
              target HistoryItem have the same DocumentSequenceNumber, then it means
              that the current Document should remain.
      
              NOTE: To support Chromium's serialization of HistoryItems, I generate
              DocumentSequenceNumbers that are unique across application launches.
              DocumentSequenceNumbers are generated using a counter initialized with
              the time of day.
      
              Test: fast/loader/stateobjects/document-destroyed-navigate-back.html
      
              * dom/Document.cpp:
              (WebCore::Document::detach):
              * dom/Document.h:
              * history/BackForwardList.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/BackForwardListChromium.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/HistoryItem.cpp:
              (WebCore::generateDocumentSequenceNumber):
              (WebCore::HistoryItem::HistoryItem):
              (WebCore::HistoryItem::~HistoryItem):
              (WebCore::HistoryItem::setStateObject):
              * history/HistoryItem.h:
              (WebCore::HistoryItem::setDocumentSequenceNumber):
              (WebCore::HistoryItem::documentSequenceNumber):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::navigateWithinDocument):
              (WebCore::FrameLoader::loadItem):
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::updateBackForwardListForFragmentScroll):
              (WebCore::HistoryController::pushState):
              (WebCore::HistoryController::replaceState):
              * loader/RedirectScheduler.cpp:
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
              * page/History.cpp:
              (WebCore::History::stateObjectAdded):
              * page/Page.cpp:
              (WebCore::Page::goToItem):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5915f11
  29. 26 Jan, 2010 2 commits
    • aroben@apple.com's avatar
      2010-01-26 Adam Roben <aroben@apple.com> · 76507ab6
      aroben@apple.com authored
              No review, rolling out r53861.
              http://trac.webkit.org/changeset/53861
              https://bugs.webkit.org/show_bug.cgi?id=33224
      
              Caused 2 regression tests to fail.
      
              * fast/loader/stateobjects/document-destroyed-navigate-back-expected.txt:
              * fast/loader/stateobjects/document-destroyed-navigate-back.html:
      2010-01-26  Adam Roben  <aroben@apple.com>
      
              No review, rolling out r53861.
              http://trac.webkit.org/changeset/53861
              https://bugs.webkit.org/show_bug.cgi?id=33224
      
              Caused 2 regression tests to fail.
      
              * dom/Document.cpp:
              (WebCore::Document::detach):
              (WebCore::Document::registerHistoryItem):
              (WebCore::Document::unregisterHistoryItem):
              * dom/Document.h:
              * history/BackForwardList.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/BackForwardListChromium.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::HistoryItem):
              (WebCore::HistoryItem::~HistoryItem):
              (WebCore::HistoryItem::setStateObject):
              (WebCore::HistoryItem::setDocument):
              (WebCore::HistoryItem::documentDetached):
              * history/HistoryItem.h:
              (WebCore::HistoryItem::document):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::navigateWithinDocument):
              (WebCore::FrameLoader::loadItem):
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::updateBackForwardListForFragmentScroll):
              (WebCore::HistoryController::pushState):
              (WebCore::HistoryController::replaceState):
              * loader/RedirectScheduler.cpp:
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
              * page/History.cpp:
              (WebCore::History::stateObjectAdded):
              * page/Page.cpp:
              (WebCore::Page::goToItem):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76507ab6
    • darin@chromium.org's avatar
      2010-01-25 Darin Fisher <darin@chromium.org> · c3f0f7d1
      darin@chromium.org authored
              Reviewed by Brady Eidson.
      
              Chains of history items representing same-document navigation need to
              always remember that association
      
              https://bugs.webkit.org/show_bug.cgi?id=33224
      
              Replace HistoryItem's Document pointer with a DocumentSequenceNumber.
              During session history traversal, if the current HistoryItem and the
              target HistoryItem have the same DocumentSequenceNumber, then it means
              that the current Document should remain.
      
              NOTE: To support Chromium's serialization of HistoryItems, I generate
              DocumentSequenceNumbers that are unique across application launches.
              DocumentSequenceNumbers are generated using a counter initialized with
              the time of day.
      
              Test: fast/loader/stateobjects/document-destroyed-navigate-back.html
      
              * dom/Document.cpp:
              (WebCore::Document::detach):
              * dom/Document.h:
              * history/BackForwardList.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/BackForwardListChromium.cpp:
              (WebCore::BackForwardList::pushStateItem):
              * history/HistoryItem.cpp:
              (WebCore::generateDocumentSequenceNumber):
              (WebCore::HistoryItem::HistoryItem):
              (WebCore::HistoryItem::~HistoryItem):
              (WebCore::HistoryItem::setStateObject):
              * history/HistoryItem.h:
              (WebCore::HistoryItem::setDocumentSequenceNumber):
              (WebCore::HistoryItem::documentSequenceNumber):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::navigateWithinDocument):
              (WebCore::FrameLoader::loadItem):
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::updateBackForwardListForFragmentScroll):
              (WebCore::HistoryController::pushState):
              (WebCore::HistoryController::replaceState):
              * loader/RedirectScheduler.cpp:
              (WebCore::RedirectScheduler::scheduleHistoryNavigation):
              * page/History.cpp:
              (WebCore::History::stateObjectAdded):
              * page/Page.cpp:
              (WebCore::Page::goToItem):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3f0f7d1
  30. 19 Jan, 2010 1 commit
  31. 03 Dec, 2009 1 commit
    • beidson@apple.com's avatar
      <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API · 08c61758
      beidson@apple.com authored
      Reviewed by Sam Weinig.
      
      WebCore: 
      
      Tests: fast/loader/stateobjects/document-destroyed-navigate-back.html
             fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html
             fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html
             fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html
             fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html
             fast/loader/stateobjects/pushstate-object-types.html
             fast/loader/stateobjects/pushstate-then-replacestate.html
             fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html
             fast/loader/stateobjects/replacestate-then-pushstate.html
             http/tests/loading/state-object-security-exception.html
      
      Derived sources and project file changes:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am
      * WebCore.pro
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      
      Add the new PopStateEvent:
      * dom/PopStateEvent.cpp: Added.
      (WebCore::PopStateEvent::PopStateEvent):
      (WebCore::PopStateEvent::initPopStateEvent):
      * dom/PopStateEvent.h: Added.
      (WebCore::PopStateEvent::create):
      (WebCore::PopStateEvent::isPopStateEvent):
      (WebCore::PopStateEvent::state):
      * dom/PopStateEvent.idl: Added.
      * bindings/js/JSPopStateEventCustom.cpp: Added.
      (WebCore::JSPopStateEvent::initPopStateEvent):
      (WebCore::JSPopStateEvent::state):
      * bindings/js/JSEventCustom.cpp:
      (WebCore::toJS):
      * dom/Event.cpp:
      (WebCore::Event::isPopStateEvent):
      * dom/Event.h:
      * dom/EventNames.h:
      
      Add the "onpopstate" attribute:
      * html/HTMLAttributeNames.in:
      * html/HTMLBodyElement.cpp:
      (WebCore::HTMLBodyElement::parseMappedAttribute):
      * html/HTMLBodyElement.idl:
      * html/HTMLFrameSetElement.cpp:
      (WebCore::HTMLFrameSetElement::parseMappedAttribute):
      * html/HTMLFrameSetElement.h:
      * html/HTMLFrameSetElement.idl:
      * page/DOMWindow.h:
      * page/DOMWindow.idl:
      
      Add pushState and replaceState management to the loader and history machinery:
      * bindings/js/JSHistoryCustom.cpp:
      (WebCore::JSHistory::pushState):
      (WebCore::JSHistory::replaceState):
      * loader/HistoryController.cpp:
      (WebCore::HistoryController::updateForSameDocumentNavigation): Augmented from "scrollToAnchor()", combining
        both the same-document fragment scroll case with the new same-document state object activation case.
      (WebCore::HistoryController::pushState):
      (WebCore::HistoryController::replaceState):
      * loader/HistoryController.h:
      * history/BackForwardList.cpp:
      (WebCore::BackForwardList::addItem): Use insertItemAfterCurrent.
      (WebCore::BackForwardList::insertItemAfterCurrent): Optionally insert the item without clearing the forward
        list, as pushStateItem might've selectively cleared only certain items, with the bulk of the forward list
        meant to remain.
      (WebCore::BackForwardList::pushStateItem): Clear the forward list *only* for the state item's document, then 
        insert the new item.
      (WebCore::BackForwardList::removeItem):
      * history/BackForwardList.h:
      * page/History.cpp:
      (WebCore::History::urlForState):
      (WebCore::History::stateObjectAdded):
      * page/History.h:
      * page/History.idl:
      
      Let HistoryItems and Documents associate with each other, as well as letting HistoryItems contain state objects:
      * history/HistoryItem.cpp:
      (WebCore::HistoryItem::HistoryItem):
      (WebCore::HistoryItem::~HistoryItem):
      (WebCore::HistoryItem::setStateObject):
      (WebCore::HistoryItem::setDocument):
      (WebCore::HistoryItem::documentDetached):
      * history/HistoryItem.h:
      (WebCore::HistoryItem::stateObject):
      (WebCore::HistoryItem::document):
      * dom/Document.cpp:
      (WebCore::Document::detach): Notify all back/forward history items owned by this Document that it
        is going away.
      (WebCore::Document::registerHistoryItem): Manage the list of back/forward history items this document owns.
      (WebCore::Document::unregisterHistoryItem): Ditto.
      * dom/Document.h:
      
      Add the ability for Documents, DocumentLoaders, and FrameLoaderClients to be notified when a Documents
      URL changes as the result of pushState(), replaceState(), or a popstate navigation:
      * dom/Document.cpp:
      (WebCore::Document::implicitClose): If there's a pending state object, dispatch the popstate event.
      (WebCore::Document::updateURLForPushOrReplaceState):
      (WebCore::Document::statePopped): If loading is complete, dispatch the popstate event. Otherwise, set 
        the pending state object.
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::replaceRequestURLForSameDocumentNavigation):
      * loader/DocumentLoader.h:
      * loader/FrameLoaderClient.h:
      * loader/EmptyClients.h:
      (WebCore::EmptyFrameLoaderClient::dispatchDidChangeStateObjectForPageForFrame):
      
      Change handling of "loading a HistoryItem" to distinguish between new-Document navigations and same-Document
      navigations, combining the old concept of anchor scrolls with the new concept of state object navigations:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadInSameDocument):
      (WebCore::FrameLoader::continueFragmentScrollAfterNavigationPolicy):
      (WebCore::FrameLoader::navigateWithinDocument):
      (WebCore::FrameLoader::navigateToDifferentDocument):
      (WebCore::FrameLoader::loadItem):
      * loader/FrameLoader.h:
      * page/Page.cpp:
      (WebCore::Page::goToItem): Changed to allow state object activations to pass through without the load stopping.
      
      WebKit/chromium: 
      
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::dispatchDidPushStateWithinPage):
      (WebKit::FrameLoaderClientImpl::dispatchDidReplaceStateWithinPage):
      (WebKit::FrameLoaderClientImpl::dispatchDidPopStateWithinPage):
      * src/FrameLoaderClientImpl.h:
      
      WebKit/gtk: 
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::dispatchDidPushStateWithinPage):
      (WebKit::FrameLoaderClient::dispatchDidReplaceStateWithinPage):
      (WebKit::FrameLoaderClient::dispatchDidPopStateWithinPage):
      * WebCoreSupport/FrameLoaderClientGtk.h:
      
      WebKit/mac: 
      
      * WebCoreSupport/WebFrameLoaderClient.h:
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidPushStateWithinPage):
      (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
      (WebFrameLoaderClient::dispatchDidPopStateWithinPage):
      * WebView/WebDelegateImplementationCaching.h:
      * WebView/WebFrameLoadDelegatePrivate.h:
      * WebView/WebView.mm:
      (-[WebView _cacheFrameLoadDelegateImplementations]):
      
      WebKit/qt: 
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
      (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
      (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
      * WebCoreSupport/FrameLoaderClientQt.h:
      
      WebKit/win: 
      
      * Interfaces/IWebFrameLoadDelegatePrivate2.idl:
      * WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebFrameLoaderClient::dispatchDidPushStateWithinPage):
      (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
      (WebFrameLoaderClient::dispatchDidPopStateWithinPage):
      * WebCoreSupport/WebFrameLoaderClient.h:
      
      WebKit/wx: 
      
      * WebKitSupport/FrameLoaderClientWx.cpp:
      (WebCore::FrameLoaderClientWx::dispatchDidPushStateWithinPage):
      (WebCore::FrameLoaderClientWx::dispatchDidReplaceStateWithinPage):
      (WebCore::FrameLoaderClientWx::dispatchDidPopStateWithinPage):
      * WebKitSupport/FrameLoaderClientWx.h:
      
      WebKitTools: 
      
      Keep DRT-win building...
      
      * DumpRenderTree/win/FrameLoadDelegate.h:
      (FrameLoadDelegate::didPushStateWithinPageForFrame):
      (FrameLoadDelegate::didReplaceStateWithinPageForFrame):
      (FrameLoadDelegate::didPopStateWithinPageForFrame):
      
      LayoutTests: 
      
      Update expected results of old tests:
      * fast/dom/Window/window-appendages-cleared-expected.txt:
      * fast/dom/Window/window-properties-expected.txt:
      * http/tests/security/cross-frame-access-enumeration-expected.txt:
      
      New tests:
      * fast/loader/stateobjects: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back-expected.txt: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll-expected.txt: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html: Added.
      * fast/loader/stateobjects/document-destroyed-navigate-back.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-addeventlistener-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-attribute-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute.html: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-window-attribute-expected.txt: Added.
      * fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html: Added.
      * fast/loader/stateobjects/pushstate-object-types-expected.txt: Added.
      * fast/loader/stateobjects/pushstate-object-types.html: Added.
      * fast/loader/stateobjects/pushstate-then-replacestate-expected.txt: Added.
      * fast/loader/stateobjects/pushstate-then-replacestate.html: Added.
      * fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange-expected.txt: Added.
      * fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html: Added.
      * fast/loader/stateobjects/replacestate-then-pushstate-expected.txt: Added.
      * fast/loader/stateobjects/replacestate-then-pushstate.html: Added.
      * fast/loader/stateobjects/resources: Added.
      * fast/loader/stateobjects/resources/navigate-back.html: Added.
      * http/tests/loading/state-object-security-exception-expected.txt: Added.
      * http/tests/loading/state-object-security-exception.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08c61758
  32. 03 Nov, 2009 1 commit
  33. 04 Oct, 2009 1 commit
    • abarth@webkit.org's avatar
      2009-10-03 Adam Barth <abarth@webkit.org> · 854a1b3c
      abarth@webkit.org authored
              Reviewed by Sam Weinig.
      
              Factor back-forward list methods out of FrameLoader
              https://bugs.webkit.org/show_bug.cgi?id=30037
      
              This change moves these back-forward related methods from FrameLoader
              to Page.  It's possible we should move these methods into some kind of
              "page controller" object, but we can figure that out in a future patch.
      
              * loader/FrameLoader.cpp:
              * loader/FrameLoader.h:
              * loader/RedirectScheduler.cpp:
              (WebCore::RedirectScheduler::timerFired):
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::close):
              * page/History.cpp:
              (WebCore::History::length):
              * page/Page.cpp:
              (WebCore::Page::canGoBackOrForward):
              (WebCore::Page::goBackOrForward):
              (WebCore::Page::getHistoryLength):
              * page/Page.h:
              * platform/ContextMenu.cpp:
              (WebCore::ContextMenu::populate):
              (WebCore::ContextMenu::checkOrEnableIfNeeded):
      2009-10-03  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Sam Weinig.
      
              Factor PageController out of FrameLoader and Page
              https://bugs.webkit.org/show_bug.cgi?id=30037
      
              * webkit/webkitwebview.cpp:
              (webkit_web_view_can_go_back_or_forward):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      854a1b3c
  34. 01 Oct, 2009 1 commit
    • abarth@webkit.org's avatar
      2009-10-01 Adam Barth <abarth@webkit.org> · 5d1a968f
      abarth@webkit.org authored
              Reviewed by Darin Adler.
      
              Remove FrameLoader::schedule* APIs
              https://bugs.webkit.org/show_bug.cgi?id=29950
      
              Change clients of FrameLoader::schedule* to call redirectScheduler
              directly.
      
              No behavior change.
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::setLocation):
              (WebCore::createWindow):
              (WebCore::JSDOMWindow::open):
              * bindings/js/JSDocumentCustom.cpp:
              (WebCore::JSDocument::setLocation):
              * bindings/js/JSLocationCustom.cpp:
              (WebCore::navigateIfAllowed):
              (WebCore::JSLocation::reload):
              * bindings/v8/V8Utilities.cpp:
              (WebCore::navigateIfAllowed):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::createWindow):
              (WebCore::CALLBACK_FUNC_DECL):
              * bindings/v8/custom/V8LocationCustom.cpp:
              (WebCore::CALLBACK_FUNC_DECL):
              * dom/Document.cpp:
              (WebCore::Document::implicitClose):
              (WebCore::Document::processHttpEquiv):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::write):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::requestFrame):
              (WebCore::FrameLoader::submitForm):
              (WebCore::FrameLoader::receivedFirstData):
              * loader/FrameLoader.h:
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::selectCache):
              * page/History.cpp:
              (WebCore::History::back):
              (WebCore::History::forward):
              (WebCore::History::go):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d1a968f
  35. 20 Feb, 2008 1 commit
    • andersca@apple.com's avatar
      Reviewed by Darin. · 965cf1c3
      andersca@apple.com authored
              Change all refcounted classes in page/ to start with a refcount of 1.
      
              * page/BarInfo.cpp:
              (WebCore::BarInfo::BarInfo):
              * page/BarInfo.h:
              (WebCore::BarInfo::create):
              * page/Console.cpp:
              (WebCore::Console::Console):
              * page/Console.h:
              (WebCore::Console::create):
              * page/DOMSelection.cpp:
              (WebCore::DOMSelection::DOMSelection):
              * page/DOMSelection.h:
              (WebCore::DOMSelection::create):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::DOMWindow):
              (WebCore::DOMWindow::screen):
              (WebCore::DOMWindow::history):
              (WebCore::DOMWindow::locationbar):
              (WebCore::DOMWindow::menubar):
              (WebCore::DOMWindow::personalbar):
              (WebCore::DOMWindow::scrollbars):
              (WebCore::DOMWindow::statusbar):
              (WebCore::DOMWindow::toolbar):
              (WebCore::DOMWindow::console):
              (WebCore::DOMWindow::getSelection):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::create):
              * page/Frame.cpp:
              (WebCore::Frame::domWindow):
              * page/History.cpp:
              (WebCore::History::History):
              * page/History.h:
              (WebCore::History::create):
              * page/InspectorController.cpp:
              (WebCore::InspectorResource::create):
              (WebCore::InspectorResource::InspectorResource):
              (WebCore::InspectorDatabaseResource::create):
              (WebCore::InspectorDatabaseResource::InspectorDatabaseResource):
              (WebCore::InspectorController::didLoadResourceFromMemoryCache):
              (WebCore::InspectorController::identifierForInitialRequest):
              (WebCore::InspectorController::didOpenDatabase):
              * page/Plugin.h:
              (WebCore::Plugin::create):
              (WebCore::Plugin::Plugin):
              * page/Screen.cpp:
              (WebCore::Screen::Screen):
              * page/Screen.h:
              (WebCore::Screen::create):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      965cf1c3
  36. 10 Feb, 2008 1 commit
    • darin@apple.com's avatar
      JavaScriptCore: · 734fbf64
      darin@apple.com authored
              Reviewed by Eric.
      
              - http://bugs.webkit.org/show_bug.cgi?id=17256
                Make clients of RefCounted explicitly set the count to 0.
      
              * API/JSClassRef.cpp:
              (OpaqueJSClass::OpaqueJSClass):
              * bindings/runtime_root.cpp:
              (KJS::Bindings::RootObject::RootObject):
      
      WebCore:
      
              Reviewed by Eric.
      
              - http://bugs.webkit.org/show_bug.cgi?id=17256
                Make clients of RefCounted explicitly set the count to 0.
      
              * bindings/js/JSSVGPODTypeWrapper.h:
              (WebCore::JSSVGPODTypeWrapper::JSSVGPODTypeWrapper):
              * css/CSSFontFace.h:
              (WebCore::CSSFontFace::CSSFontFace):
              * css/CSSRuleList.cpp:
              (WebCore::CSSRuleList::CSSRuleList):
              * css/CSSSegmentedFontFace.cpp:
              (WebCore::CSSSegmentedFontFace::CSSSegmentedFontFace):
              * css/Counter.h:
              (WebCore::Counter::Counter):
              * css/Pair.h:
              (WebCore::Pair::Pair):
              * css/Rect.h:
              (WebCore::Rect::Rect):
              * css/StyleBase.h:
              (WebCore::StyleBase::StyleBase):
              * css/StyleSheetList.cpp:
              (WebCore::StyleSheetList::StyleSheetList):
              * dom/Attr.cpp:
              (WebCore::Attr::Attr):
              * dom/Attr.h:
              * dom/Attribute.h:
              (WebCore::Attribute::Attribute):
              * dom/Clipboard.cpp:
              (WebCore::Clipboard::Clipboard):
              * dom/DOMImplementation.h:
              (WebCore::DOMImplementation::DOMImplementation):
              * dom/Event.cpp:
              (WebCore::Event::Event):
              * dom/EventListener.h:
              (WebCore::EventListener::EventListener):
              * dom/ExceptionBase.cpp:
              (WebCore::ExceptionBase::ExceptionBase):
              * dom/NamedAttrMap.h:
              (WebCore::NamedAttrMap::insertAttribute):
              * dom/NamedNodeMap.h:
              (WebCore::NamedNodeMap::NamedNodeMap):
              * dom/NodeFilter.h:
              (WebCore::NodeFilter::NodeFilter):
              * dom/NodeFilterCondition.h:
              (WebCore::NodeFilterCondition::NodeFilterCondition):
              * dom/NodeList.h:
              (WebCore::NodeList::NodeList):
              * dom/QualifiedName.h:
              (WebCore::QualifiedName::QualifiedNameImpl::QualifiedNameImpl):
              (WebCore::QualifiedName::ref):
              * dom/Range.cpp:
              (WebCore::Range::Range):
              * dom/RegisteredEventListener.cpp:
              (WebCore::RegisteredEventListener::RegisteredEventListener):
              * dom/StyledElement.h:
              * dom/Traversal.cpp:
              (WebCore::Traversal::Traversal):
              * editing/EditCommand.cpp:
              (WebCore::EditCommand::EditCommand):
              * history/BackForwardList.cpp:
              (WebCore::BackForwardList::BackForwardList):
              * history/CachedPage.cpp:
              (WebCore::CachedPage::CachedPage):
              * history/HistoryItem.cpp:
              (WebCore::HistoryItem::HistoryItem):
              * html/CanvasGradient.cpp:
              (WebCore::CanvasGradient::CanvasGradient):
              * html/CanvasPattern.cpp:
              (WebCore::CanvasPattern::CanvasPattern):
              * html/CanvasRenderingContext2D.cpp:
              (WebCore::CanvasRenderingContext2D::CanvasRenderingContext2D):
              * html/CanvasStyle.cpp:
              (WebCore::CanvasStyle::CanvasStyle):
              * html/HTMLCollection.cpp:
              (WebCore::HTMLCollection::HTMLCollection):
              * html/MediaError.h:
              (WebCore::MediaError::MediaError):
              * html/TimeRanges.cpp:
              (TimeRanges::TimeRanges):
              * html/TimeRanges.h:
              (WebCore::TimeRanges::TimeRanges):
              * html/VoidCallback.h:
              (WebCore::VoidCallback::VoidCallback):
              * loader/DocumentLoader.cpp:
              (WebCore::DocumentLoader::DocumentLoader):
              * loader/FormState.cpp:
              (WebCore::FormState::FormState):
              * loader/ResourceLoader.cpp:
              (WebCore::ResourceLoader::ResourceLoader):
              * loader/TextResourceDecoder.cpp:
              (WebCore::TextResourceDecoder::TextResourceDecoder):
              * loader/icon/IconRecord.cpp:
              (WebCore::IconRecord::IconRecord):
              * page/BarInfo.cpp:
              (WebCore::BarInfo::BarInfo):
              * page/Console.cpp:
              (WebCore::Console::Console):
              * page/DOMSelection.cpp:
              (WebCore::DOMSelection::DOMSelection):
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::DOMWindow):
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              * page/History.cpp:
              (WebCore::History::History):
              * page/InspectorController.cpp:
              (WebCore::InspectorResource::InspectorResource):
              (WebCore::InspectorDatabaseResource::InspectorDatabaseResource):
              * page/Plugin.h:
              (WebCore::Plugin::Plugin):
              * page/Screen.cpp:
              (WebCore::Screen::Screen):
              * platform/ArrayImpl.cpp:
              (WebCore::ArrayImpl::ArrayPrivate::ArrayPrivate):
              * platform/DeprecatedValueListImpl.cpp:
              (WebCore::DeprecatedValueListImpl::Private::Private):
              * platform/ScrollBar.cpp:
              (WebCore::Scrollbar::Scrollbar):
              * platform/SharedBuffer.cpp:
              (WebCore::SharedBuffer::SharedBuffer):
              * platform/graphics/FontFallbackList.cpp:
              (WebCore::FontFallbackList::FontFallbackList):
              * platform/graphics/FontFamily.cpp:
              (WebCore::FontFamily::FontFamily):
              * platform/graphics/FontFamily.h:
              (WebCore::FontFamily::FontFamily):
              * platform/graphics/FontSelector.h:
              (WebCore::FontSelector::FontSelector):
              (WebCore::FontSelector::~FontSelector):
              * platform/graphics/GlyphPageTreeNode.h:
              (WebCore::GlyphPage::GlyphPage):
              * platform/graphics/mac/IconMac.mm:
              (WebCore::Icon::Icon):
              * platform/mac/FileChooserMac.mm:
              (WebCore::FileChooser::FileChooser):
              * platform/mac/PopupMenuMac.mm:
              (WebCore::PopupMenu::PopupMenu):
              * platform/mac/SharedBufferMac.mm:
              (WebCore::SharedBuffer::SharedBuffer):
              * platform/network/FormData.cpp:
              (WebCore::FormData::FormData):
              * platform/network/FormData.h:
              (WebCore::FormData::FormData):
              * platform/network/ResourceHandle.cpp:
              (WebCore::ResourceHandle::ResourceHandle):
              * platform/text/CString.h:
              (WebCore::CStringBuffer::CStringBuffer):
              * platform/text/RegularExpression.cpp:
              (WebCore::RegularExpression::Private::Private):
              * rendering/RenderStyle.cpp:
              (WebCore::StyleSurroundData::StyleSurroundData):
              (WebCore::StyleBoxData::StyleBoxData):
              (WebCore::StyleVisualData::StyleVisualData):
              (WebCore::StyleBackgroundData::StyleBackgroundData):
              (WebCore::StyleMarqueeData::StyleMarqueeData):
              (WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
              (WebCore::StyleMultiColData::StyleMultiColData):
              (WebCore::StyleTransformData::StyleTransformData):
              (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
              (WebCore::StyleRareInheritedData::StyleRareInheritedData):
              (WebCore::StyleInheritedData::StyleInheritedData):
              * rendering/RenderStyle.h:
              (WebCore::TransformOperation::TransformOperation):
              (WebCore::CursorList::CursorList):
              * rendering/SVGCharacterLayoutInfo.h:
              (WebCore::SVGCharOnPath::SVGCharOnPath):
              * rendering/SVGRenderStyle.cpp:
              (WebCore::SVGRenderStyle::SVGRenderStyle):
              * rendering/SVGRenderStyle.h:
              (WebCore::SVGRenderStyle::SVGRenderStyle):
              * rendering/SVGRenderStyleDefs.cpp:
              (StyleFillData::StyleFillData):
              (StyleStrokeData::StyleStrokeData):
              (StyleStopData::StyleStopData):
              (StyleTextData::StyleTextData):
              (StyleClipData::StyleClipData):
              (StyleMaskData::StyleMaskData):
              (StyleMarkerData::StyleMarkerData):
              (StyleMiscData::StyleMiscData):
              * storage/SQLResultSetRowList.h:
              (WebCore::SQLResultSetRowList::SQLResultSetRowList):
              * svg/SVGAngle.cpp:
              (WebCore::SVGAngle::SVGAngle):
              * svg/SVGAnimatedTemplate.h:
              (WebCore::SVGAnimatedTemplate::SVGAnimatedTemplate):
              * svg/SVGElementInstanceList.cpp:
              (WebCore::SVGElementInstanceList::SVGElementInstanceList):
              * svg/SVGList.h:
              (WebCore::SVGList::SVGList):
              (WebCore::SVGPODListItem::SVGPODListItem):
              * svg/SVGPathSeg.h:
              (WebCore::SVGPathSeg::SVGPathSeg):
              * svg/SVGPreserveAspectRatio.cpp:
              (WebCore::SVGPreserveAspectRatio::SVGPreserveAspectRatio):
              * svg/SVGRenderingIntent.h:
              (WebCore::SVGRenderingIntent::SVGRenderingIntent):
              * svg/SVGUnitTypes.h:
              (WebCore::SVGUnitTypes::SVGUnitTypes):
              * svg/graphics/SVGPaintServerGradient.h:
              (WebCore::SVGPaintServerGradient::SharedStopCache::SharedStopCache):
              * svg/graphics/SVGResource.cpp:
              (WebCore::SVGResource::SVGResource):
              * xml/DOMParser.h:
              (WebCore::DOMParser::DOMParser):
              * xml/XMLHttpRequest.cpp:
              (WebCore::XMLHttpRequest::XMLHttpRequest):
              * xml/XMLSerializer.h:
              (WebCore::XMLSerializer::XMLSerializer):
              * xml/XPathEvaluator.h:
              (WebCore::XPathEvaluator::XPathEvaluator):
              * xml/XPathExpression.h:
              (WebCore::XPathExpression::XPathExpression):
              * xml/XPathNSResolver.h:
              (WebCore::XPathNSResolver::XPathNSResolver):
              * xml/XPathResult.cpp:
              (WebCore::XPathResult::XPathResult):
              * xml/XPathValue.h:
              (WebCore::XPath::ValueData::ValueData):
              * xml/XSLTProcessor.h:
              (WebCore::XSLTProcessor::XSLTProcessor):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      734fbf64