1. 10 May, 2013 18 commits
  2. 09 May, 2013 22 commits
    • commit-queue@webkit.org's avatar
      Unskipped the webarchive tests for Mac that are not skipped for a reason other than · 9561ea36
      commit-queue@webkit.org authored
      dumpDOMAsWebArchive not being implemented, which was fixed in r149692.
      https://bugs.webkit.org/show_bug.cgi?id=115819
      
      Patch by Alex Christensen <achristensen@apple.com> on 2013-05-09
      Reviewed by Benjamin Poulain.
      
      * platform/efl-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/gtk-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/qt-5.0-mac-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/qt-5.0-wk2/TestExpectations:
      Skip webarchive tests.
      * platform/wk2/TestExpectations:
      Removed universal skipping of webarchive tests, noted which tests are still skipped with bug numbers.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9561ea36
    • cfleizach@apple.com's avatar
      AX: VoiceOver is no longer seeing items in poorly formed tables · 44996313
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115837
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      In case the author didn't include the rows of a table as the 
      direct children, a table needs to dive down its descendant chain
      until the rows are found. 
      
      I also took the opportunity to clean up a bit around what the different
      meanings of table are in the accessibility classes.
      
      Test: accessibility/poorly-formed-aria-table.html
      
      * accessibility/AccessibilityARIAGrid.cpp:
      (WebCore::AccessibilityARIAGrid::addRowDescendant):
      (WebCore::AccessibilityARIAGrid::addChildren):
      * accessibility/AccessibilityARIAGrid.h:
      (AccessibilityARIAGrid):
      * accessibility/AccessibilityARIAGridRow.cpp:
      (WebCore::AccessibilityARIAGridRow::parentTable):
      (WebCore):
      * accessibility/AccessibilityARIAGridRow.h:
      (AccessibilityARIAGridRow):
      * accessibility/AccessibilityObject.h:
      (WebCore::AccessibilityObject::isTable):
      * accessibility/AccessibilityTable.h:
      (AccessibilityTable):
      (WebCore::AccessibilityTable::isTable):
      (WebCore::toAccessibilityTable):
      * accessibility/AccessibilityTableRow.cpp:
      (WebCore::AccessibilityTableRow::parentTable):
      
      LayoutTests: 
      
      * accessibility/poorly-formed-aria-table-expected.txt: Added.
      * accessibility/poorly-formed-aria-table.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44996313
    • zoltan@webkit.org's avatar
      [Qt] REGRESSION (r148975) shape-inside-percentage.html and... · 1e1a2b7d
      zoltan@webkit.org authored
      [Qt] REGRESSION (r148975) shape-inside-percentage.html and shape-inside-overflow-fixed-dimensions.html are failing after r148975
      https://bugs.webkit.org/show_bug.cgi?id=115053
      
      Reviewed by Alexandru Chiculita.
      
      I changed the tests to use Ahem font (overflow will be the same on every port) and modify the markup in order to be the similar
      for the two tests. The change fixes both tests and make them passing on Qt as well. I removed the tests from the TestExpectations.
      
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions-expected.html:
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html:
      * fast/exclusions/shape-inside/shape-inside-percentage-expected.html:
      * fast/exclusions/shape-inside/shape-inside-percentage.html:
      * platform/qt/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e1a2b7d
    • commit-queue@webkit.org's avatar
      REGRESSION: Disabled multiline select element now responds to (certain) clicks · 55af81fa
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115710
      
      Patch by Yael Aharon <yael.aharon@intel.com> on 2013-05-09
      Reviewed by Kent Tamura.
      
      Source/WebCore:
      
      After http://trac.webkit.org/changeset/140286, select elements can scroll whether they
      are disabled or not. While they scroll, they also change the selected item.
      This patch allows the select element to scroll, but does not change the selection
      if the select element is disabled.
      
      Test: fast/forms/select/listbox-disabled-scroll-no-onchange.html
      Test: fast/forms/select/listbox-disabled-no-autoscroll.html
      
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::autoscroll):
      * rendering/RenderListBox.cpp:
      (WebCore::RenderListBox::stopAutoscroll):
      
      LayoutTests:
      
      Test that a disabled element does not change selection while scrolling.
      
      * fast/forms/select/listbox-disabled-scroll-no-onchange-expected.txt: Added.
      * fast/forms/select/listbox-disabled-scroll-no-onchange.html: Added.
      * fast/forms/select/listbox-disabled-no-autoscroll.html: Added.
      * fast/forms/select/listbox-disabled-no-autoscroll-expected.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55af81fa
    • paroga@webkit.org's avatar
      [WIN][DRT] Remove duplicated (start|stop)JavaScriptThreads() · 0e09c3ba
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92371
      
      Reviewed by Brent Fulgham.
      
      Use JavaScriptThreading.cpp where the same functionality is
      implemented too. This reduces the dependency on the pthread
      library. Also replace assert() with WebKit ASSERT().
      
      * DumpRenderTree/DumpRenderTree.vcxproj/DumpRenderTree/DumpRenderTree.vcxproj:
      * DumpRenderTree/win/DumpRenderTree.cpp:
      (dumpHistoryItem):
      (dumpBackForwardList):
      * DumpRenderTree/win/DumpRenderTree.vcproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e09c3ba
    • andersca@apple.com's avatar
      Clean up SecurityOrigin::databaseIdentifier · f89a5520
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115882
      
      Reviewed by Beth Dakin.
      
      Remove m_encodedHost and just call encodeHost from databaseIdentifier().
      Also, use a StringBuilder when constructing the database identifier to avoid allocating
      temporary String objects over and over.
      
      * page/SecurityOrigin.cpp:
      (WebCore::SecurityOrigin::SecurityOrigin):
      (WebCore):
      (WebCore::SecurityOrigin::createFromDatabaseIdentifier):
      (WebCore::SecurityOrigin::databaseIdentifier):
      * page/SecurityOrigin.h:
      (SecurityOrigin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f89a5520
    • andersca@apple.com's avatar
      Remove m_securityOrigin from XMLHttpRequest · e6c388c7
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115881
      
      Reviewed by Alexey Proskuryakov.
      
      The security origin passed to XMLHttpRequest::create was always null, so just get rid of the member variable completely.
      
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::create):
      (WebCore::XMLHttpRequest::XMLHttpRequest):
      (WebCore::XMLHttpRequest::securityOrigin):
      * xml/XMLHttpRequest.h:
      (XMLHttpRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6c388c7
    • andersca@apple.com's avatar
      Fix build. · 0762fd98
      andersca@apple.com authored
      * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0762fd98
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed build fix after r149836. · a9a1b17b
      ch.dumez@sisa.samsung.com authored
      It broke at least EFL and GTK builds. Move new static members initialization
      outside the class. Those need to have a definition outside the class because
      their address is used (e.g. CodeCacheMap::nonGlobalWorkingSetMaxEntries).
      
      * runtime/CodeCache.cpp:
      (JSC):
      * runtime/CodeCache.h:
      (CodeCacheMap):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9a1b17b
    • andersca@apple.com's avatar
      Enable UI process storage · c9c36dbe
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115879
      <rdar://problem/12239765>
      
      Reviewed by Beth Dakin.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      Flip the switch.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9c36dbe
    • andersca@apple.com's avatar
      Remove extra spaces between right angle brackets in template declarations · c2550692
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115877
      
      Reviewed by Beth Dakin.
      
      C++11 doesn't require spaces between right angle brackets so remove all of them.
      
      * NetworkProcess/FileAPI/NetworkBlobRegistry.cpp:
      (WebKit::NetworkBlobRegistry::registerBlobURL):
      (WebKit::NetworkBlobRegistry::sandboxExtensions):
      * NetworkProcess/FileAPI/NetworkBlobRegistry.h:
      (NetworkBlobRegistry):
      * NetworkProcess/HostRecord.h:
      (HostRecord):
      * NetworkProcess/NetworkConnectionToWebProcess.cpp:
      (WebKit::NetworkConnectionToWebProcess::didReceiveMessage):
      (WebKit::NetworkConnectionToWebProcess::didClose):
      (WebKit::NetworkConnectionToWebProcess::registerBlobURL):
      * NetworkProcess/NetworkConnectionToWebProcess.h:
      (NetworkConnectionToWebProcess):
      * NetworkProcess/NetworkProcess.h:
      (NetworkProcess):
      * NetworkProcess/NetworkResourceLoadScheduler.cpp:
      (WebKit::NetworkResourceLoadScheduler::servePendingRequests):
      (WebKit::NetworkResourceLoadScheduler::removeScheduledLoaders):
      * NetworkProcess/NetworkResourceLoadScheduler.h:
      * NetworkProcess/SchedulableLoader.cpp:
      (WebKit::SchedulableLoader::SchedulableLoader):
      * NetworkProcess/SchedulableLoader.h:
      (SchedulableLoader):
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (Connection::SyncMessageState):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/CoreIPC/Connection.h:
      (Connection):
      * Platform/WorkQueue.h:
      (WorkQueue):
      * PluginProcess/PluginProcess.h:
      (PluginProcess):
      * Scripts/webkit2/messages_unittest.py:
      (CoreIPC):
      * Shared/BlockingResponseMap.h:
      (BlockingResponseMap):
      * Shared/ChildProcessProxy.h:
      (ChildProcessProxy):
      * Shared/ImmutableArray.cpp:
      (WebKit::ImmutableArray::ImmutableArray):
      * Shared/ImmutableArray.h:
      (WebKit::ImmutableArray::adopt):
      (ImmutableArray):
      * Shared/ImmutableDictionary.cpp:
      (WebKit::ImmutableDictionary::keys):
      * Shared/ImmutableDictionary.h:
      (ImmutableDictionary):
      * Shared/Network/CustomProtocols/CustomProtocolManager.h:
      (CustomProtocolManager):
      * Shared/SecurityOriginData.cpp:
      (WebKit::performAPICallbackWithSecurityOriginDataVector):
      * Shared/SessionState.cpp:
      * Shared/StatisticsData.h:
      (StatisticsData):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/WebArchive.cpp:
      (WebKit::WebArchive::WebArchive):
      (WebKit::WebArchive::subresources):
      (WebKit::WebArchive::subframeArchives):
      * Shared/WebContextMenuItem.cpp:
      (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
      * Shared/WebOpenPanelParameters.cpp:
      (WebKit::WebOpenPanelParameters::acceptMIMETypes):
      (WebKit::WebOpenPanelParameters::selectedFileNames):
      * Shared/mac/ArgumentCodersMac.mm:
      (CoreIPC::encode):
      * SharedWorkerProcess/SharedWorkerProcess.h:
      (SharedWorkerProcess):
      * UIProcess/API/mac/WKPrintingView.h:
      (WebFrameProxy):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (WebKit):
      * UIProcess/Downloads/DownloadProxyMap.cpp:
      (WebKit::DownloadProxyMap::processDidClose):
      * UIProcess/Downloads/DownloadProxyMap.h:
      (DownloadProxyMap):
      * UIProcess/GeolocationPermissionRequestManagerProxy.h:
      (GeolocationPermissionRequestManagerProxy):
      * UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.h:
      (DynamicLinkerEnvironmentExtractor):
      * UIProcess/Network/CustomProtocols/CustomProtocolManagerProxy.h:
      (CustomProtocolManagerProxy):
      * UIProcess/Network/NetworkProcessProxy.h:
      (NetworkProcessProxy):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.h:
      (NotificationPermissionRequestManagerProxy):
      * UIProcess/Notifications/WebNotificationManagerProxy.h:
      (WebNotificationManagerProxy):
      * UIProcess/Plugins/PluginProcessManager.h:
      (PluginProcessManager):
      * UIProcess/Plugins/PluginProcessProxy.h:
      (PluginProcessProxy):
      * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
      (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
      * UIProcess/Plugins/WebPluginSiteDataManager.h:
      (WebPluginSiteDataManager):
      * UIProcess/SharedWorkers/SharedWorkerProcessManager.h:
      (SharedWorkerProcessManager):
      * UIProcess/SharedWorkers/SharedWorkerProcessProxy.h:
      (SharedWorkerProcessProxy):
      * UIProcess/StatisticsRequest.cpp:
      (WebKit::StatisticsRequest::completedRequest):
      * UIProcess/Storage/StorageManager.cpp:
      (StorageManager::StorageArea):
      (WebKit::StorageManager::StorageArea::dispatchEvents):
      (StorageManager::SessionStorageNamespace):
      (WebKit::StorageManager::SessionStorageNamespace::getOrCreateStorageArea):
      (WebKit::StorageManager::SessionStorageNamespace::cloneTo):
      (WebKit::StorageManager::createLocalStorageMap):
      (WebKit::StorageManager::createSessionStorageMap):
      (WebKit::StorageManager::destroyStorageMap):
      (WebKit::StorageManager::invalidateConnectionInternal):
      (WebKit::StorageManager::findStorageArea):
      (WebKit::StorageManager::getOrCreateLocalStorageNamespace):
      * UIProcess/Storage/StorageManager.h:
      (StorageManager):
      * UIProcess/WebApplicationCacheManagerProxy.h:
      (WebApplicationCacheManagerProxy):
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::addItem):
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::clear):
      * UIProcess/WebBackForwardList.h:
      (WebKit):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::createNewWebProcess):
      (WebKit::WebContext::enableProcessTermination):
      (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
      * UIProcess/WebContext.h:
      (WebContext):
      * UIProcess/WebCookieManagerProxy.cpp:
      (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
      * UIProcess/WebCookieManagerProxy.h:
      (WebCookieManagerProxy):
      * UIProcess/WebDatabaseManagerProxy.cpp:
      (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
      (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
      * UIProcess/WebDatabaseManagerProxy.h:
      (WebDatabaseManagerProxy):
      * UIProcess/WebFormClient.cpp:
      (WebKit::WebFormClient::willSubmitForm):
      * UIProcess/WebFormClient.h:
      (WebFormClient):
      * UIProcess/WebKeyValueStorageManagerProxy.h:
      (WebKeyValueStorageManagerProxy):
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::didChangeBackForwardList):
      * UIProcess/WebLoaderClient.h:
      (WebLoaderClient):
      * UIProcess/WebMediaCacheManagerProxy.cpp:
      (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
      * UIProcess/WebMediaCacheManagerProxy.h:
      (WebMediaCacheManagerProxy):
      * UIProcess/WebPageContextMenuClient.cpp:
      (WebKit::WebPageContextMenuClient::showContextMenu):
      * UIProcess/WebPageProxy.cpp:
      (ExceededDatabaseQuotaRecords):
      (WebKit::WebPageProxy::relatedPages):
      (WebKit::WebPageProxy::didChangeBackForwardList):
      (WebKit::WebPageProxy::handleWheelEvent):
      (WebKit::WebPageProxy::processNextQueuedWheelEvent):
      (WebKit::WebPageProxy::findStringMatches):
      (WebKit::WebPageProxy::willSubmitForm):
      (WebKit::WebPageProxy::pluginInformationDictionary):
      (WebKit::WebPageProxy::didFindStringMatches):
      (WebKit::WebPageProxy::didReceiveEvent):
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/WebPageProxy.messages.in:
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::disconnect):
      (WebKit::WebProcessProxy::didClose):
      (WebKit::WebProcessProxy::didBecomeUnresponsive):
      (WebKit::WebProcessProxy::interactionOccurredWhileUnresponsive):
      (WebKit::WebProcessProxy::didBecomeResponsive):
      (WebKit::WebProcessProxy::disconnectFramesFromPage):
      (WebKit::WebProcessProxy::frameCountInPage):
      * UIProcess/WebProcessProxy.h:
      (WebProcessProxy):
      * UIProcess/WebResourceCacheManagerProxy.h:
      (WebResourceCacheManagerProxy):
      * UIProcess/mac/WebContextMenuProxyMac.mm:
      (WebKit::populateNSMenu):
      (WebKit::nsMenuItemVector):
      * WebProcess/ApplicationCache/WebApplicationCacheManager.cpp:
      (WebKit::WebApplicationCacheManager::getApplicationCacheOrigins):
      * WebProcess/Geolocation/WebGeolocationManager.cpp:
      (WebKit::WebGeolocationManager::didChangePosition):
      (WebKit::WebGeolocationManager::didFailToDeterminePosition):
      * WebProcess/IconDatabase/WebIconDatabaseProxy.h:
      (WebIconDatabaseProxy):
      * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::originsWithApplicationCache):
      * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
      (WebKit::InjectedBundleBackForwardListItem::children):
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.cpp:
      (WebKit::InjectedBundlePageEditorClient::getPasteboardDataForRange):
      * WebProcess/InjectedBundle/InjectedBundlePageEditorClient.h:
      (InjectedBundlePageEditorClient):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
      (WebKit::InjectedBundlePageFormClient::willSendSubmitEvent):
      (WebKit::InjectedBundlePageFormClient::willSubmitForm):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.h:
      (InjectedBundlePageFormClient):
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
      * WebProcess/Network/WebResourceLoadScheduler.cpp:
      (WebKit::WebResourceLoadScheduler::internallyFailedLoadTimerFired):
      (WebKit::WebResourceLoadScheduler::networkProcessCrashed):
      * WebProcess/Network/WebResourceLoadScheduler.h:
      (WebResourceLoadScheduler):
      * WebProcess/Notifications/NotificationPermissionRequestManager.h:
      (NotificationPermissionRequestManager):
      * WebProcess/Notifications/WebNotificationManager.h:
      (WebNotificationManager):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.h:
      (NPRuntimeObjectMap):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::stopAllStreams):
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      (NetscapePlugin):
      * WebProcess/Plugins/Netscape/NetscapePluginStream.h:
      (NetscapePluginStream):
      * WebProcess/Plugins/PDF/SimplePDFPlugin.mm:
      (getAllScriptsInPDFDocument):
      (WebKit::SimplePDFPlugin::runScriptsInPDFDocument):
      * WebProcess/Plugins/PluginProcessConnectionManager.h:
      (PluginProcessConnectionManager):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::cancelAllStreams):
      * WebProcess/Plugins/PluginView.h:
      (PluginView):
      * WebProcess/Storage/StorageAreaMap.cpp:
      (WebKit::StorageAreaMap::dispatchSessionStorageEvent):
      (WebKit::StorageAreaMap::dispatchLocalStorageEvent):
      * WebProcess/Storage/StorageNamespaceImpl.cpp:
      (WebKit::StorageNamespaceImpl::storageArea):
      * WebProcess/Storage/StorageNamespaceImpl.h:
      (StorageNamespaceImpl):
      * WebProcess/Storage/WebKeyValueStorageManager.cpp:
      (WebKit::keyValueStorageOriginIdentifiers):
      * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
      (WebKit::WebDatabaseManager::getDatabasesByOrigin):
      (WebKit::WebDatabaseManager::getDatabaseOrigins):
      * WebProcess/WebCoreSupport/WebEditorClient.cpp:
      (WebKit::WebEditorClient::getClientPasteboardDataForRange):
      * WebProcess/WebCoreSupport/WebEditorClient.h:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
      * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
      (WebKit::WebEditorClient::documentFragmentFromAttributedString):
      * WebProcess/WebPage/EventDispatcher.h:
      (EventDispatcher):
      * WebProcess/WebPage/FindController.cpp:
      (WebKit::FindController::findStringMatches):
      * WebProcess/WebPage/FindController.h:
      (FindController):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::childFrames):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::trackedRepaintRects):
      * WebProcess/WebPage/WebPage.h:
      (WebKit):
      (WebPage):
      * WebProcess/WebPage/mac/LayerTreeHostMac.h:
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      (TiledCoreAnimationDrawingArea):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::didClose):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::addCaseFoldedCharacters):
      (WebKit::getWebCoreMemoryCacheStatistics):
      (WebKit::WebProcess::setTextCheckerState):
      * WebProcess/WebProcess.h:
      (WebProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2550692
    • andersca@apple.com's avatar
      Implement WebPlatformStrategies::transientLocalStorageNamespace · 99cf7460
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115876
      <rdar://problem/13852871>
      
      Reviewed by Beth Dakin.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      (WebKit::WebPlatformStrategies::transientLocalStorageNamespace):
      Return a session storage namespace for a random page when UI process storage is enabled,
      otherwise call the base class implementation.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99cf7460
    • roger_fong@apple.com's avatar
      Unreviewed mac gardening. · 629e8254
      roger_fong@apple.com authored
      * platform/mac/inspector/command-line-api-expected.txt: Removed.
      * platform/mac/inspector/console: Added.
      * platform/mac/inspector/console/command-line-api-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      629e8254
    • ch.dumez@sisa.samsung.com's avatar
      [NoInterfaceObject] extended attribute should be removed for several interfaces · b973ffd0
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115852
      
      Reviewed by Benjamin Poulain.
      
      Source/WebCore:
      
      Remove [NoInterfaceObject] extended attribute from the following Web IDL
      interfaces: SecurityPolicy, History, Location, Navigator, Performance,
      PerformanceEntry, PerformanceMark, PerformanceMeasure, PerformanceNavigation,
      PerformanceResourceTiming, PerformanceTiming and Screen.
      
      These interfaces should not have the [NoInterfaceObject] extended attribute
      according to their respective specifications:
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-history-interface
      - http://www.w3.org/html/wg/drafts/html/master/browsers.html#the-location-interface
      - https://dvcs.w3.org/hg/content-security-policy/raw-file/tip/csp-specification.dev.html#securitypolicy
      - http://www.w3.org/html/wg/drafts/html/master/webappapis.html#the-navigator-object
      - http://www.w3.org/TR/navigation-timing/#performance
      - https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html#sec-PerformanceEntry-interface
      - http://www.w3.org/TR/navigation-timing/#performancenavigation
      - http://www.w3.org/TR/navigation-timing/#performancetiming
      - http://www.w3.org/TR/user-timing/#performancemark
      - http://www.w3.org/TR/user-timing/#performancemeasure
      - http://www.w3c-test.org/webperf/specs/ResourceTiming/#performanceresourcetiming
      - http://dev.w3.org/csswg/cssom-view/#the-screen-interface
      
      The new behavior is consistent with the specifications, Firefox and soon Blink.
      
      No new tests, already covered by existing tests.
      
      * page/DOMSecurityPolicy.idl:
      * page/History.idl:
      * page/Location.idl:
      * page/Navigator.idl:
      * page/Performance.idl:
      * page/PerformanceEntry.idl:
      * page/PerformanceMark.idl:
      * page/PerformanceMeasure.idl:
      * page/PerformanceNavigation.idl:
      * page/PerformanceResourceTiming.idl:
      * page/PerformanceTiming.idl:
      * page/Screen.idl:
      
      LayoutTests:
      
      Rebaseline several layout tests whose output has changed now that a few more
      global constructors are exposed.
      
      * fast/dom/dom-constructors-expected.txt:
      * fast/js/global-constructors-attributes-expected.txt:
      * platform/efl/fast/js/global-constructors-attributes-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b973ffd0
    • robert@webkit.org's avatar
      REGRESSION (Safari 3-Safari 4): Replaced element with percent height in table has incorrect height · 619744e4
      robert@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=26394
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Text controls or any object that has scrollable content should not flex inside a table cell.
      This makes our behaviour the same as IE, FF and Opera (Presto).
      
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::layoutRows):
      
      LayoutTests:
      
      * fast/replaced/table-percent-height-text-controls-expected.txt: Renamed from LayoutTests/platform/mac/fast/replaced/table-percent-height-text-controls-expected.txt.
      * fast/replaced/table-percent-height-text-controls.html:
      * platform/gtk/fast/replaced/table-percent-height-text-controls-expected.txt: Removed.
      * platform/qt/fast/replaced/table-percent-height-text-controls-expected.txt: Removed.
      * platform/win/fast/replaced/table-percent-height-text-controls-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      619744e4
    • paroga@webkit.org's avatar
      [DRT] Replace JavaScriptThreadingPthreads.cpp with JavaScriptThreading.cpp · 332bfe0d
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=92505
      
      Reviewed by Brent Fulgham.
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      * DumpRenderTree/JavaScriptThreading.cpp: Copied from DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp.
      (javaScriptThreadsMutex):
      (javaScriptThreads):
      (runJavaScriptThread):
      (startJavaScriptThreads):
      (stopJavaScriptThreads):
      * DumpRenderTree/pthreads: Removed.
      * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      332bfe0d
    • andersca@apple.com's avatar
      Build fix. · 84f10ac1
      andersca@apple.com authored
      * WebCore.exp.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84f10ac1
    • commit-queue@webkit.org's avatar
      Update srcipt paths in editing/shadow/rightclick-on-meter-in-shadow-crash.html · 9eb36d1f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96223
      
      Patch by Xiaobo Wang <xbwang@torchmobile.com.cn> on 2013-05-09
      Reviewed by Rob Buis.
      
      The original paths don't exist at all.
      
      * editing/shadow/rightclick-on-meter-in-shadow-crash.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9eb36d1f
    • andersca@apple.com's avatar
      Add a StorageStrategy hook for creating transient local storage namespaces · 668179f9
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115870
      
      Reviewed by Geoffrey Garen.
      
      * WebCore.exp.in:
      Export symbol needed by WebKit2.
      
      * dom/Document.cpp:
      (WebCore::Document::topOrigin):
      * dom/Document.h:
      * dom/ScriptExecutionContext.h:
      * workers/WorkerContext.h:
      Remove const qualifier from topOrigin() to avoid ugly const_casts when assigning into a RefPtr<SecurityOrigin> variable.
      
      * page/PageGroup.cpp:
      (WebCore::PageGroup::transientLocalStorage):
      Do a single hash lookup instead of three and use the SecurityOrigin itself as the hash key instead of a string representation of it.
      
      * page/PageGroup.h:
      Update HashMap declaration.
      
      * storage/StorageNamespace.cpp:
      (WebCore::StorageNamespace::transientLocalStorageNamespace):
      Add new implementation that will optionally call out to the storage strategy.
      
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::transientLocalStorageNamespace):
      Move the default implementation here from PageGroup.
      
      * storage/StorageStrategy.cpp:
      (WebCore::StorageStrategy::transientLocalStorageNamespace):
      Call the default implementation.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      668179f9
    • enrica@apple.com's avatar
      A change in system environment should force all CSS properties to be recomputed. · 8aba7518
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115872
      <rdar://problem/13781171>
      
      Reviewed by Antti Koivisto.
      
      When a change in the global environment occurs, for example system colors,
      we need to make sure all the CSS properties are recomputed and not fetched
      from the cache. For this reason we invalidate the properties cache.
      I've also renamed the function to give it a more meaningful name.
              
      * page/Page.cpp:
      (WebCore::Page::updateStyleForAllPagesAfterGlobalChangeInEnvironment):
      * page/Page.h:
      * rendering/RenderTheme.cpp:
      (WebCore::RenderTheme::platformColorsDidChange):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aba7518
    • antti@apple.com's avatar
      Reoptimize free-standing :focus/link/visited/-webkit-any-link selectors. · c39af226
      antti@apple.com authored
      <http://webkit.org/b/115590>
      
      Reviewed by Darin Adler.
      
      Common pseudo selectors should go into their respective rule buckets instead of ending up in the universal one.
      
      * css/RuleSet.cpp:
      (WebCore::RuleSet::findBestRuleSetAndAdd):
              
          Check tag selectors with * local name (usually created for namespace) for a suitable narrower bucket too.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c39af226
    • roger_fong@apple.com's avatar
      Unreviewed mac port gardening. · 16f82489
      roger_fong@apple.com authored
      * platform/mac-lion/fast/js: Added.
      * platform/mac-lion/fast/js/global-constructors-attributes-expected.txt: Added.
      * platform/mac/inspector/command-line-api-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16f82489