1. 12 May, 2011 13 commits
    • abarth@webkit.org's avatar
      2011-05-12 Adam Barth <abarth@webkit.org> · 3f7ded3b
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Chromium] Add a WebSetting to control DNS prefetch
              https://bugs.webkit.org/show_bug.cgi?id=60736
      
              DNS prefetch got disabled in Chrome accidentially in
              http://trac.webkit.org/changeset/74041.  This patch adds a WebSettings
              API so we can enable it again.
      
              * public/WebSettings.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setDNSPrefetchingEnabled):
              * src/WebSettingsImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f7ded3b
    • adele@apple.com's avatar
      Fix for <rdar://problem/9253454> Solar Walk For Mac: Info window is blank (HTML5 parser) · ff72a0db
      adele@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=60685
      
      Reviewed by Darin Adler and Adam Barth.
      
      Source/WebCore: 
      
      Detect the Solar Walk application so we can add targeted parser quirks.
      
      * WebCore.exp.in:
      * platform/RuntimeApplicationChecks.cpp: (WebCore::applicationIsSolarWalk):
      * platform/RuntimeApplicationChecks.h:
      
      Source/WebKit: 
      
      * WebKit.xcodeproj/project.pbxproj: Added Misc/SolarWalkQuirksUserScript.js and copy it to Resources during the build phase. 
      
      Source/WebKit/mac: 
      
      Solar Walk uses a self closing title tag, so to match the behavior of the old parser, 
      we use a UserScript to write the contents of the title element to the end of the document so it can be re-parsed.
      
      * Misc/SolarWalkQuirksUserScript.js: Added.
      * WebView/WebView.mm:
      (needsSolarWalkQuirksScript):
      (leakSolarWalkQuirksUserScriptContents):
      (-[WebView _injectSolarWalkQuirksScript]):
      (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86407 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff72a0db
    • jpu@apple.com's avatar
      2011-05-12 Jia Pu <jpu@apple.com> · a2f77992
      jpu@apple.com authored
              Reviewed by Darin Adler.
      
              Regression caused by changeset 86281
              https://bugs.webkit.org/show_bug.cgi?id=60712
      
              Changed wording in some tests to reflect AppKit UI change.
      
              * manual-tests/autocorrection/delete-to-end-of-word-to-show-reversion.html:
              * manual-tests/autocorrection/move-to-end-of-word-to-show-reversion.html:
      2011-05-12  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Regression caused by changeset 86281
              https://bugs.webkit.org/show_bug.cgi?id=60712
              <rdar://problem/9427970>
      
              Removed the condition variable. [NSSpellChecker dismissCorrectionIndicatorForView:] is blocking.
              So handleAcceptedReplacement() triggered by dismissInternal() will return before dismissInternal()
              returns. So we don't need to use the condition to coordinate between these two function. In fact,
              all callbacks are delivered on main thread. We don't really need any locking here.
      
              Since now we don't have distinction between dismiss() and dismissSoon(). dismissSoon() has
              been removed.
      
              * WebCoreSupport/CorrectionPanel.h:
              * WebCoreSupport/CorrectionPanel.mm:
              (CorrectionPanel::CorrectionPanel):
              (CorrectionPanel::show):
              (CorrectionPanel::dismiss):
              (CorrectionPanel::dismissInternal):
              (CorrectionPanel::handleAcceptedReplacement):
              * WebCoreSupport/WebEditorClient.mm:
              (WebEditorClient::dismissCorrectionPanelSoon):
      2011-05-12  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Regression caused by changeset 86281
              https://bugs.webkit.org/show_bug.cgi?id=60712
              <rdar://problem/9427970>
      
              Removed the condition variable. [NSSpellChecker dismissCorrectionIndicatorForView:] is blocking.
              So handleAcceptedReplacement() triggered by dismissInternal() will return before dismissInternal()
              returns. So we don't need to use the condition to coordinate between these two function. In fact,
              all callbacks are delivered on main thread. We don't really need any locking here.
      
              Since now we don't have distinction between dismiss() and dismissSoon(). dismissSoon() has
              been removed.
      
              * UIProcess/API/mac/PageClientImpl.mm:
              (WebKit::PageClientImpl::dismissCorrectionPanelSoon):
              * UIProcess/mac/CorrectionPanel.h:
              * UIProcess/mac/CorrectionPanel.mm:
              (WebKit::CorrectionPanel::CorrectionPanel):
              (WebKit::CorrectionPanel::show):
              (WebKit::CorrectionPanel::dismiss):
              (WebKit::CorrectionPanel::dismissInternal):
              (WebKit::CorrectionPanel::handleAcceptedReplacement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2f77992
    • commit-queue@webkit.org's avatar
      2011-05-12 Gregg Tavares <gman@chromium.org> · ccdde132
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              Add option to select GraphicsContext3D implementation.
              https://bugs.webkit.org/show_bug.cgi?id=60297
      
              * Source/WebKit/chromium/DEPS:
              * Tools/DumpRenderTree/chromium/DumpRenderTree.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccdde132
    • lforschler@apple.com's avatar
      Versioning. · 4e64f922
      lforschler@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e64f922
    • paroga@webkit.org's avatar
      2011-05-12 Patrick Gansterer <paroga@webkit.org> · 03df15be
      paroga@webkit.org authored
              Reviewed by Adam Barth.
      
              Enable OwnPtr strict mode in PluginHalter
              https://bugs.webkit.org/show_bug.cgi?id=60681
      
              Pass PluginHalterClient as (Pass)OwnPtr to Page and PluginHalter.
      
              * WebCore.exp.in:
              * page/Page.cpp:
              (WebCore::Page::Page):
              (WebCore::Page::PageClients::PageClients):
              * page/Page.h:
              * page/PluginHalter.cpp:
              (WebCore::PluginHalter::PluginHalter):
              * page/PluginHalter.h:
      2011-05-12  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Adam Barth.
      
              Enable OwnPtr strict mode in PluginHalter
              https://bugs.webkit.org/show_bug.cgi?id=60681
      
              * WebView/WebView.mm:
              (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
      2011-05-12  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Adam Barth.
      
              Enable OwnPtr strict mode in PluginHalter
              https://bugs.webkit.org/show_bug.cgi?id=60681
      
              * WebView.cpp:
              (WebView::initWithFrame):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03df15be
    • jam@chromium.org's avatar
      Fix mismatched virtual function from previous checkin · 0d3fbb94
      jam@chromium.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d3fbb94
    • mrobinson@webkit.org's avatar
      2011-05-12 Martin Robinson <mrobinson@igalia.com> · 018621b6
      mrobinson@webkit.org authored
              Attempt to fix the GTK+ unit test testwebview on the 32-bit Release
              bot which appears to be more sensitive to timing issues than the
              other bots.
      
              * tests/testwebview.c: Add another short pause waiting for adjustments to update.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018621b6
    • jam@chromium.org's avatar
      2011-05-11 John Abd-El-Malek <jam@chromium.org> · f939504c
      jam@chromium.org authored
              Reviewed by James Robinson.
      
              [chromium] Make openFileSystem check for permission first
              https://bugs.webkit.org/show_bug.cgi?id=60683
      
              * public/WebCommonWorkerClient.h:
              (WebKit::WebCommonWorkerClient::allowFileSystem):
              * public/WebPermissionClient.h:
              (WebKit::WebPermissionClient::allowFileSystem):
              * src/LocalFileSystemChromium.cpp:
              (WebCore::openFileSystemNotAllowed):
              (WebCore::openFileSystemHelper):
              * src/WebWorkerBase.cpp:
              (WebKit::WebWorkerBase::allowFileSystem):
              * src/WebWorkerBase.h:
              * src/WebWorkerClientImpl.h:
              (WebKit::WebWorkerClientImpl::allowFileSystem):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f939504c
    • aroben@apple.com's avatar
      A little gtest cleanup after r86287 · 99c3a4d4
      aroben@apple.com authored
      Source/ThirdParty:
      
      * gtest/msvc/gtest-md.vcproj: Added Debug_All and Production configurations to match our
      other projects. (At some point all the settings should be moved into .vsprops files to match
      our other projects, too.)
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKit.sln:
          - Move gtest into the Tools folder
          - Make gtest build just before TestWebKitAPIGenerated
          - Use gtest's new Debug_All and Production configurations as appropriate
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99c3a4d4
    • zimmermann@webkit.org's avatar
      2011-05-12 Nikolas Zimmermann <nzimmermann@rim.com> · 6da15387
      zimmermann@webkit.org authored
              Reviewed by Darin Adler.
      
              String operator+ reallocates unnecessarily when concatting > 2 strings
              https://bugs.webkit.org/show_bug.cgi?id=58420
      
              Provide a faster String append operator.
              Up until now, "String operator+(const String& a, const String& b)" copied String a into a temporary
              object, and used a.append(b), which reallocates a new buffer of aLength+bLength. When concatting
              N strings using operator+, this leads to N-1 reallocations.
      
              Replace this with a flexible operator+ implementation, that avoids these reallocations.
              When concatting a 'String' with any string type (char*, UChar, Vector<char>, String, AtomicString, etc..)
              a StringAppend<String, T> object is created, which holds the intermediate string objects, and delays
              creation of the final string, until operator String() is invoked.
      
              template<typename T>
              StringAppend<String, T> operator+(const String& string1, T string2)
              {
                  return StringAppend<String, T>(string1, string2);
              }
      
              template<typename U, typename V, typename W>
              StringAppend<U, StringAppend<V, W> > operator+(U string1, const StringAppend<V, W>& string2)
              {
                  return StringAppend<U, StringAppend<V, W> >(string1, string2);
              }
      
              When concatting three strings - "String a, b, c; String result = a + b + c;" following happens:
              first a StringAppend<String, String> object is created by operator+(const String& string1, String string2).
              Then operator+(String string1, const StringAppend<String, String>& string2) is invoked, which returns
              a StringAppend<String, StringAppend<String, String> > object.
              Then operator String() is invoked, which allocates a StringImpl object, once, large enough to hold the
              final string - it uses tryMakeString provided by StringConcatenate.h under the hoods, which guards us
              against too big string allocations, etc.
      
              Note that the second template, defines a recursive way to concat an arbitary number of strings
              into a single String with just one allocation.
      
              * GNUmakefile.list.am: Add StringOperators.h to build.
              * JavaScriptCore.exp: Export WTF::emptyString(). Remove no longer needed symbols.
              * JavaScriptCore.gypi: Add StringOperators.h to build.
              * JavaScriptCore.vcproj/WTF/WTF.vcproj: Ditto.
              * JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
              * wtf/text/AtomicString.h: Pull in StringConcatenate.h at the end of the file.
              * wtf/text/StringConcatenate.h: Conditionally include AtomicString.h to avoid a cyclic dependency. Pull in StringOperators.h at the end of the file.
              * wtf/text/StringOperators.h: Added. This is never meant to be included directly, including either WTFString.h or AtomicString.h automatically pulls in this file.
              (WTF::StringAppend::StringAppend):
              (WTF::StringAppend::operator String):
              (WTF::StringAppend::operator AtomicString):
              (WTF::StringAppend::writeTo):
              (WTF::StringAppend::length):
              (WTF::operator+):
              * wtf/text/WTFString.cpp: Remove operator+ implementations that use String::append(). 
              (WTF::emptyString): Add new shared empty string free function.
              * wtf/text/WTFString.h: Replace operator+ implementations by StringAppend template solution. Pull in AtomicString.h at the end of the file.
      
      2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Darin Adler.
      
              String operator+ reallocates unnecessary when concatting > 2 strings
              https://bugs.webkit.org/show_bug.cgi?id=58420
      
              Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
      
              * dom/XMLDocumentParserLibxml2.cpp:
              (WebCore::handleElementAttributes):
              * editing/MarkupAccumulator.cpp:
              (WebCore::MarkupAccumulator::shouldAddNamespaceElement):
              * html/HTMLAnchorElement.cpp:
              (WebCore::HTMLAnchorElement::hash):
              (WebCore::HTMLAnchorElement::search):
              * html/ImageInputType.cpp:
              (WebCore::ImageInputType::appendFormData):
              * html/parser/HTMLTreeBuilder.cpp:
              * loader/CrossOriginAccessControl.cpp:
              (WebCore::passesAccessControlCheck):
              * page/Location.cpp:
              (WebCore::Location::search):
              (WebCore::Location::hash):
              * page/NavigatorBase.cpp:
              (WebCore::NavigatorBase::platform):
              * platform/chromium/ClipboardChromium.cpp:
              (WebCore::writeImageToDataObject):
              * platform/gtk/PasteboardHelper.cpp:
              (WebCore::PasteboardHelper::fillSelectionData):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::encodeBasicAuthorization):
              * platform/network/cf/SocketStreamHandleCFNet.cpp:
              (WebCore::SocketStreamHandle::copyCFStreamDescription):
              * platform/network/mac/ResourceHandleMac.mm:
              (WebCore::encodeBasicAuthorization):
              * workers/WorkerLocation.cpp:
              (WebCore::WorkerLocation::search):
              (WebCore::WorkerLocation::hash):
      
      2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Darin Adler.
      
              String operator+ reallocates unnecessarily when concatting > 2 strings
              https://bugs.webkit.org/show_bug.cgi?id=58420
      
              Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
      
              * src/WebAccessibilityObject.cpp:
              (WebKit::WebAccessibilityObject::keyboardShortcut): Cast to String first, before trying to convert to platform dependant type.
              * src/WebHTTPLoadInfo.cpp:
              (WebKit::addHeader): Don't pass WebString to makeString, explicit cast to String first.
              * tests/IDBLevelDBCodingTest.cpp: Cast to String first, to avoid conflicting with gtests global templatified operator+.
              (IDBLevelDBCoding::TEST):
      
      2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Darin Adler.
      
              String operator+ reallocates unnecessarily when concatting > 2 strings
              https://bugs.webkit.org/show_bug.cgi?id=58420
      
              Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
      
              * WebView/WebFrame.mm: Explicitely cast to Strings first, so operator NSString*() can be invoked.
              (-[WebFrame _stringWithDocumentTypeStringAndMarkupString:]):
      
      2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Darin Adler.
      
              String operator+ reallocates unnecessarily when concatting > 2 strings
              https://bugs.webkit.org/show_bug.cgi?id=58420
      
              Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
      
              * AccessibleBase.cpp:
              (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6da15387
    • commit-queue@webkit.org's avatar
      2011-05-12 Young Han Lee <joybro@company100.net> · 137c8c08
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Implement layoutTestController.layerTreeAsText()
              https://bugs.webkit.org/show_bug.cgi?id=60367
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              (DumpRenderTreeSupportQt::layerTreeAsText):
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      2011-05-12  Young Han Lee  <joybro@company100.net>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Implement layoutTestController.layerTreeAsText()
              https://bugs.webkit.org/show_bug.cgi?id=60367
      
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::layerTreeAsText):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      137c8c08
    • 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
  2. 11 May, 2011 16 commits
    • leviw@chromium.org's avatar
      2011-05-11 Levi Weintraub <leviw@chromium.org> · 5e1b7862
      leviw@chromium.org authored
              Reviewed by Eric Seidel.
      
              Rename Widget::pos()
              https://bugs.webkit.org/show_bug.cgi?id=60575
      
              Renaming Widget::pos() to the more-descriptive location().
      
              No new tests as this is a simple rename
      
              * page/FrameView.cpp:
              (WebCore::FrameView::create):
              * platform/Widget.h:
              (WebCore::Widget::location):
              (WebCore::Widget::resize):
      2011-05-11  Levi Weintraub  <leviw@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Rename Widget::pos()
              https://bugs.webkit.org/show_bug.cgi?id=60575
      
              Renaming Widget::pos() to the more-descriptive location().
      
              * src/WebInputEventConversion.cpp:
              (WebKit::WebMouseEventBuilder::WebMouseEventBuilder):
              (WebKit::WebMouseWheelEventBuilder::WebMouseWheelEventBuilder):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e1b7862
    • commit-queue@webkit.org's avatar
      2011-05-11 Antoine Labour <piman@chromium.org> · 7e4ad0a0
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Expose shouldBufferData to ThreadableLoaderOptions to be able to disable buffering of the
              loaded resource.
              https://bugs.webkit.org/show_bug.cgi?id=60656
      
              * loader/DocumentThreadableLoader.cpp:
              (WebCore::DocumentThreadableLoader::loadRequest):
              Pass the shouldBufferData to the resource load scheduler, forcing it to true for the
              preflight request.
              * loader/ResourceLoadScheduler.cpp:
              (WebCore::ResourceLoadScheduler::scheduleSubresourceLoad):
              Pass through shouldBufferData to SubresourceLoader::create
              * loader/ResourceLoadScheduler.h:
      
              * loader/SubresourceLoader.cpp:
              (WebCore::SubresourceLoader::create):
              Set shouldBufferData on the newly created loader
      
              * loader/SubresourceLoader.h:
      
              * loader/ThreadableLoader.h:
              (WebCore::ThreadableLoaderOptions::ThreadableLoaderOptions):
              Add shouldBufferData to the options, defaulting to true.
      2011-05-11  Antoine Labour  <piman@chromium.org>
      
              Reviewed by David Levin.
      
              Don't buffer data for resources loaded by AssociatedURLLoader.
              https://bugs.webkit.org/show_bug.cgi?id=60656
      
              * src/AssociatedURLLoader.cpp:
              (WebKit::AssociatedURLLoader::loadAsynchronously): set shouldBufferData to false in ThreadableLoaderOptions
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e4ad0a0
    • levin@chromium.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=59561 · 011ea55e
      levin@chromium.org authored
      Switch TestWebKitAPI to GTest
      
      Patch by Dmitry Lomov <dslomov@google.com> on 2011-05-11
      Reviewed by David Levin.
      
      Fixes Makefiles and WinCairo build as well
      
      .:
      
      * Source/ThirdParty/gtest/README.WebKit:
      * Source/ThirdParty/gtest/msvc/gtest-md.vcproj:
      * Source/ThirdParty/gtest/xcode/Config/General.xcconfig:
      * Source/ThirdParty/gtest/xcode/Makefile: Added.
      
      Source/WebKit/win:
      
      * WebKit.vcproj/WebKit.sln:
      
      Tools:
      
      * Makefile:
      * Scripts/build-api-tests:
      * Scripts/run-api-tests:
      * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
      * TestWebKitAPI/Test.h:
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
      (TestWebKitAPI::TEST):
      * TestWebKitAPI/TestsController.cpp:
      (TestWebKitAPI::TestsController::TestsController):
      (TestWebKitAPI::TestsController::dumpTestNames):
      (TestWebKitAPI::TestsController::runTestNamed):
      (TestWebKitAPI::TestsController::runAllTests):
      * TestWebKitAPI/TestsController.h:
      * TestWebKitAPI/mac/main.mm:
      (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      011ea55e
    • jberlin@webkit.org's avatar
      [Windows WebKit2] Use cookies set in WebKit1 · fcf9f8dd
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=60274
      
      Reviewed by Steve Falkenburg.
      
      Source/WebCore: 
      
      Share the default storage session between the UI and Web Processes.
      
      * platform/network/cf/CookieStorageCFNet.cpp:
      (WebCore::defaultSessionCookieStorage):
      Keep track of the default storage session cookie storage.
      (WebCore::currentCookieStorage):
      Call defaultCookieStorage to get the default cookie storage.
      (WebCore::defaultCookieStorage):
      If there is a default storage session cookie storage, prefer that over getting the default
      cookie storage. In the Web Process, asking CFNetwork for the default cookie storage directly
      without specifying a storage session will not get the cookie storage being shared by the UI
      and Web Processes.
      
      * platform/network/ResourceHandle.h:
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::willSendRequest):
      Make sure to set the current storage session on any requests used by the Web
      Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
      doing anything with the Web Process's default storage session (which is not the one shared
      with the UI Process).
      (WebCore::makeFinalRequest):
      Ditto.
      (WebCore::ResourceHandle::willSendRequest):
      Ditto.
      (WebCore::ResourceHandle::currentStorageSession):
      If there is a Private Browsing storage session, return that.
      If not, on Windows return the default storage session that is being shared with the UI
      Process and on Mac return 0.
      (WebCore::defaultCFURLStorageSession):
      (WebCore::ResourceHandle::setDefaultStorageSession):
      (WebCore::ResourceHandle::defaultStorageSession):
      
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      Make sure to set the current storage session on any requests used by the Web
      Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
      doing anything with the Web Process's default storage session (which is not the one shared
      with the UI Process).
      
      Source/WebKit/win: 
      
      * WebView.cpp:
      (WebView::setCacheModel):
      Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
      
      Source/WebKit2: 
      
      Share the default storage session between the UI and Web Processes.
      
      * Shared/WebProcessCreationParameters.cpp:
      (WebKit::WebProcessCreationParameters::encode):
      Only encode the session parameter if it is valid.
      (WebKit::WebProcessCreationParameters::decode):
      Don't try to decode a null session data. 
      * Shared/WebProcessCreationParameters.h:
      Add a parameter for a serialized default storage session, used only on Windows.
      
      * Shared/win/WebCoreArgumentCodersWin.cpp:
      (CoreIPC::decodeResourceRequest):
      Make sure to set the current storage session on any requests used by the Web
      Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
      doing anything with the Web Process's default storage session.
      
      * UIProcess/win/WebContextWin.cpp:
      (WebKit::WebContext::platformInitializeWebProcess):
      Serialize the default storage session in the UI Process and add it to the
      WebProcessCreationParameters.
      
      * WebProcess/WebPage/win/WebPageWin.cpp:
      (WebKit::cachedResponseForURL):
      Use the cache associated with the current storage session and make sure the request has the
      current storage session set on it before doing anything with it.
      
      * WebProcess/win/WebProcessWin.cpp:
      (WebKit::WebProcess::platformSetCacheModel):
      Use the default storage session.
      (WebKit::WebProcess::platformClearResourceCaches):
      Ditto.
      (WebKit::WebProcess::platformInitializeWebProcess):
      Deserialize the default storage session passed in by the UI Process and hand it to the
      ResourceHandle.
      
      WebKitLibraries: 
      
      Take 3 after rolling out KB2465367 from my system.
      
      * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
      * win/lib/WebKitSystemInterface.lib:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fcf9f8dd
    • jpu@apple.com's avatar
      2011-05-11 Jia Pu <jpu@apple.com> · ca72090a
      jpu@apple.com authored
              Reviewed by Darin Adler.
      
              CorrectionPanel sometimes hangs in dismissSoon().
              https://bugs.webkit.org/show_bug.cgi?id=60599
              <rdar://problem/9313628>
      
              Make sure dismissSoon() won't wait indefinitely if handleAcceptedReplacement() sets m_resultForSynchronousDismissal
              to nil. Added a designated variable m_isDismissing, instead of piggy-backing m_resultForSynchronousDismissal,
              for condition checking.
      
              * WebCoreSupport/CorrectionPanel.h:
              * WebCoreSupport/CorrectionPanel.mm:
              (CorrectionPanel::CorrectionPanel):
              (CorrectionPanel::show):
              (CorrectionPanel::dismissSoon):
              (CorrectionPanel::dismissInternal):
              (CorrectionPanel::handleAcceptedReplacement):
      2011-05-11  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              CorrectionPanel sometimes hangs in dismissSoon().
              https://bugs.webkit.org/show_bug.cgi?id=60599
              <rdar://problem/9313628>
      
              Make sure dismissSoon() won't wait indefinitely if handleAcceptedReplacement() sets m_resultForSynchronousDismissal
              to nil. Added a designated variable m_isDismissing, instead of piggy-backing m_resultForSynchronousDismissal,
              for condition checking.
      
              * UIProcess/mac/CorrectionPanel.h:
              * UIProcess/mac/CorrectionPanel.mm:
              (WebKit::CorrectionPanel::CorrectionPanel):
              (WebKit::CorrectionPanel::show):
              (WebKit::CorrectionPanel::dismissSoon):
              (WebKit::CorrectionPanel::dismissInternal):
              (WebKit::CorrectionPanel::handleAcceptedReplacement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca72090a
    • commit-queue@webkit.org's avatar
      2011-05-11 Nat Duca <nduca@chromium.org> · 72e44f58
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
              https://bugs.webkit.org/show_bug.cgi?id=60508
      
              When a WebGL layer is dirtied outside of a requestAnimFrame callback, we need
              to prevent WebGL from running too far ahead of the GPU process. The current
              throttling mechanism relies on prepareTexture being called for every WebGL frame.
              However, in a non-requestAnimFrame application, multiple frames might get created
              before the compositor runs and calls prepareTexture on the surface.
      
              To address this, we post a task that calls a special rate limiting GL extension on
              the WebGL context after every WebGL "frame." When the compositor runs, it calls
              prepareTexture as usual.
      
              * platform/graphics/chromium/Extensions3DChromium.h:
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::LayerRendererChromium):
              * platform/graphics/chromium/LayerRendererChromium.h:
              (WebCore::LayerRendererChromium::setIsAnimating):
              (WebCore::LayerRendererChromium::isAnimating):
              * platform/graphics/chromium/WebGLLayerChromium.cpp:
              (WebCore::WebGLLayerChromiumRateLimitTask::WebGLLayerChromiumRateLimitTask):
              (WebCore::WebGLLayerChromiumRateLimitTask::run):
              (WebCore::WebGLLayerChromiumRateLimitTask::cancel):
              (WebCore::WebGLLayerChromium::WebGLLayerChromium):
              (WebCore::WebGLLayerChromium::~WebGLLayerChromium):
              (WebCore::WebGLLayerChromium::setTextureUpdated):
              (WebCore::WebGLLayerChromium::setContext):
              * platform/graphics/chromium/WebGLLayerChromium.h:
              (WebCore::WebGLLayerChromium::context):
      2011-05-11  Nat Duca  <nduca@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              [chromium] Make throttling of WebGL based on webgl frames, not compositor frames
              https://bugs.webkit.org/show_bug.cgi?id=60508
      
              Tell LayerRendererChromium when the requestAnimFrame-callbacks are running.
      
              * public/WebGraphicsContext3D.h:
              (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
              * src/Extensions3DChromium.cpp:
              (WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
              * src/GraphicsContext3DChromium.cpp:
              * src/GraphicsContext3DInternal.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::animate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72e44f58
    • noam.rosenthal@nokia.com's avatar
      2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com> · 8dc1643b
      noam.rosenthal@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
              https://bugs.webkit.org/show_bug.cgi?id=60439
      
              Patch 10/12: Glue the TextureMapper refactoring into Webkit(1).
              1. Pass a GraphicsLayer* instead of a PlatformLayer* to the QWebPageClient.
              2. Set parameters in TextureMapper/TextureMapperNode instead of passing them in an options argument.
              3. Rename PlatformLayerProxyQt to TextureMapperNodeClient
      
              * Api/qwebframe.cpp:
              (QWebFramePrivate::renderCompositedLayers):
              * Api/qwebframe.h:
              * Api/qwebframe_p.h:
              (QWebFramePrivate::QWebFramePrivate):
              * WebCoreSupport/ChromeClientQt.cpp:
              (WebCore::ChromeClientQt::attachRootGraphicsLayer):
              * WebCoreSupport/PageClientQt.cpp:
              (WebCore::TextureMapperNodeClientQt::TextureMapperNodeClientQt):
              (WebCore::TextureMapperNodeClientQt::scroll):
              (WebCore::TextureMapperNodeClientQt::setTextureMapper):
              (WebCore::TextureMapperNodeClientQt::~TextureMapperNodeClientQt):
              (WebCore::TextureMapperNodeClientQt::computeLastModifiedRect):
              (WebCore::TextureMapperNodeClientQt::syncRootLayer):
              (WebCore::TextureMapperNodeClientQt::rootNode):
              (WebCore::PageClientQWidget::setRootGraphicsLayer):
              (WebCore::PageClientQWidget::syncLayers):
              (WebCore::PageClientQWidget::~PageClientQWidget):
              (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
              (WebCore::PageClientQGraphicsWidget::update):
              (WebCore::PageClientQGraphicsWidget::syncLayers):
              (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
              (WebCore::PageClientQGraphicsWidget::markForSync):
              * WebCoreSupport/PageClientQt.h:
              (WebCore::PageClientQWidget::PageClientQWidget):
              (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
              (WebCore::PageClientQGraphicsWidget::syncLayersTimeout):
      
      2011-05-11  Noam Rosenthal  <noam.rosenthal@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
              https://bugs.webkit.org/show_bug.cgi?id=60439
      
              Patch 12/12: Enable accelerated animations in texture-mapper. The entire interpolation
              mechanism happens inside TextureMapper, and we interpolate right before we paint.
      
              No new tests. Tests in LayoutTests/compositing cover this.
      
              * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
              (WebCore::GraphicsLayerTextureMapper::GraphicsLayerTextureMapper):
              (WebCore::GraphicsLayerTextureMapper::syncCompositingState):
              (WebCore::GraphicsLayerTextureMapper::addAnimation):
              (WebCore::GraphicsLayerTextureMapper::pauseAnimation):
              (WebCore::GraphicsLayerTextureMapper::removeAnimation):
              (WebCore::GraphicsLayerTextureMapper::animationStartedTimerFired):
              * platform/graphics/texmap/TextureMapperNode.cpp:
              (WebCore::TextureMapperNode::descendantsOrSelfHaveRunningAnimations):
              (WebCore::normalizedAnimationValue):
              (WebCore::TextureMapperNode::applyOpacityAnimation):
              (WebCore::solveEpsilon):
              (WebCore::solveCubicBezierFunction):
              (WebCore::solveStepsFunction):
              (WebCore::applyTimingFunction):
              (WebCore::TextureMapperNode::applyTransformAnimation):
              (WebCore::TextureMapperNode::applyAnimationFrame):
              (WebCore::TextureMapperNode::applyAnimation):
              (WebCore::TextureMapperNode::hasRunningOpacityAnimation):
              (WebCore::TextureMapperNode::hasRunningTransformAnimation):
              (WebCore::TextureMapperNode::syncAnimations):
              (WebCore::copyTimingFunction):
              (WebCore::copyAnimationValue):
              (WebCore::TextureMapperAnimation::TextureMapperAnimation):
              * platform/graphics/texmap/TextureMapperNode.h:
              (WebCore::TextureMapperAnimation::create):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8dc1643b
    • commit-queue@webkit.org's avatar
      2011-05-11 John Bauman <jbauman@chromium.org> · 5f7de36c
      commit-queue@webkit.org authored
              Reviewed by Kenneth Russell.
      
              Don't send zeros in TexImage if GL implementation handles that
              https://bugs.webkit.org/show_bug.cgi?id=60581
      
              Chromium already handles zeroing textures upon creation, so don't
              bother zeroing them in WebKit, as that causes some unnecessary memcpys
              of zeros.
      
              No new tests as functionality is the same.
      
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::texImage2DBase):
              * platform/graphics/GraphicsContext3D.cpp:
              (WebCore::GraphicsContext3D::texImage2DResourceSafe):
              * platform/graphics/GraphicsContext3D.h:
              * platform/graphics/gtk/GraphicsContext3DGtk.cpp:
              (WebCore::GraphicsContext3D::GraphicsContext3D):
              * platform/graphics/mac/GraphicsContext3DMac.mm:
              (WebCore::GraphicsContext3D::GraphicsContext3D):
              * platform/graphics/qt/GraphicsContext3DQt.cpp:
              (WebCore::GraphicsContext3D::GraphicsContext3D):
      2011-05-11  John Bauman  <jbauman@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              Don't send zeros in TexImage if GL implementation handles that
              https://bugs.webkit.org/show_bug.cgi?id=60581
      
              Chromium already handles zeroing textures upon creation, so don't
              bother zeroing them in WebKit, as that causes some unnecessary memcpys
              of zeros.
      
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3D::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f7de36c
    • commit-queue@webkit.org's avatar
      2011-05-11 Sheriff Bot <webkit.review.bot@gmail.com> · bae22046
      commit-queue@webkit.org authored
              Unreviewed, rolling out r86255.
              http://trac.webkit.org/changeset/86255
              https://bugs.webkit.org/show_bug.cgi?id=60660
      
              REGRESSION (r86255): Lots of tests crashing in
              CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
              (WebKit2 Tests) (Requested by aroben on #webkit).
      
              * platform/network/ResourceHandle.h:
              * platform/network/cf/CookieStorageCFNet.cpp:
              (WebCore::currentCookieStorage):
              (WebCore::defaultCookieStorage):
              * platform/network/cf/ResourceHandleCFNet.cpp:
              (WebCore::willSendRequest):
              (WebCore::makeFinalRequest):
              (WebCore::ResourceHandle::willSendRequest):
              * platform/network/cf/ResourceRequestCFNet.cpp:
              (WebCore::ResourceRequest::doUpdatePlatformRequest):
      2011-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r86255.
              http://trac.webkit.org/changeset/86255
              https://bugs.webkit.org/show_bug.cgi?id=60660
      
              REGRESSION (r86255): Lots of tests crashing in
              CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
              (WebKit2 Tests) (Requested by aroben on #webkit).
      
              * WebView.cpp:
              (WebView::setCacheModel):
      2011-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r86255.
              http://trac.webkit.org/changeset/86255
              https://bugs.webkit.org/show_bug.cgi?id=60660
      
              REGRESSION (r86255): Lots of tests crashing in
              CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
              (WebKit2 Tests) (Requested by aroben on #webkit).
      
              * Shared/WebProcessCreationParameters.cpp:
              (WebKit::WebProcessCreationParameters::encode):
              (WebKit::WebProcessCreationParameters::decode):
              * Shared/WebProcessCreationParameters.h:
              * Shared/win/WebCoreArgumentCodersWin.cpp:
              (CoreIPC::decodeResourceRequest):
              * UIProcess/win/WebContextWin.cpp:
              (WebKit::WebContext::platformInitializeWebProcess):
              * WebProcess/WebPage/win/WebPageWin.cpp:
              (WebKit::cachedResponseForURL):
              * WebProcess/win/WebProcessWin.cpp:
              (WebKit::WebProcess::platformSetCacheModel):
              (WebKit::WebProcess::platformClearResourceCaches):
              (WebKit::WebProcess::platformInitializeWebProcess):
      2011-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r86255.
              http://trac.webkit.org/changeset/86255
              https://bugs.webkit.org/show_bug.cgi?id=60660
      
              REGRESSION (r86255): Lots of tests crashing in
              CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
              (WebKit2 Tests) (Requested by aroben on #webkit).
      
              * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
              * win/lib/WebKitSystemInterface.lib:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bae22046
    • noam.rosenthal@nokia.com's avatar
      2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com> · fddf920d
      noam.rosenthal@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
              https://bugs.webkit.org/show_bug.cgi?id=60439
      
              Patch 4/12: Update the settings to enable accelerated compositing for all the relevant settings
              attributes.
      
              * Api/qwebsettings.cpp:
              (qt_networkAccessAllowed):
              (QWebSettingsPrivate::apply):
      2011-05-11  Noam Rosenthal  <noam.rosenthal@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
              https://bugs.webkit.org/show_bug.cgi?id=60439
      
              Patch 4/12: Update the build script to enable 3D rendering by default for Qt.
      
              * Scripts/build-webkit:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fddf920d
    • jberlin@webkit.org's avatar
      [Windows WebKit2] Use cookies set in WebKit1 · fb7a19ce
      jberlin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=60274
      
      Reviewed by Steve Falkenburg.
      
      Source/WebCore: 
      
      Share the default storage session between the UI and Web Processes.
      
      * platform/network/cf/CookieStorageCFNet.cpp:
      (WebCore::defaultSessionCookieStorage):
      Keep track of the default storage session cookie storage.
      (WebCore::currentCookieStorage):
      Call defaultCookieStorage to get the default cookie storage.
      (WebCore::defaultCookieStorage):
      If there is a default storage session cookie storage, prefer that over getting the default
      cookie storage. In the Web Process, asking CFNetwork for the default cookie storage directly
      without specifying a storage session will not get the cookie storage being shared by the UI
      and Web Processes.
      
      * platform/network/ResourceHandle.h:
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::willSendRequest):
      Make sure to set the current storage session on any requests used by the Web
      Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
      doing anything with the Web Process's default storage session (which is not the one shared
      with the UI Process).
      (WebCore::makeFinalRequest):
      Ditto.
      (WebCore::ResourceHandle::willSendRequest):
      Ditto.
      (WebCore::ResourceHandle::currentStorageSession):
      If there is a Private Browsing storage session, return that.
      If not, on Windows return the default storage session that is being shared with the UI
      Process and on Mac return 0.
      (WebCore::defaultCFURLStorageSession):
      (WebCore::ResourceHandle::setDefaultStorageSession):
      (WebCore::ResourceHandle::defaultStorageSession):
      
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      Make sure to set the current storage session on any requests used by the Web
      Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
      doing anything with the Web Process's default storage session (which is not the one shared
      with the UI Process).
      
      Source/WebKit/win: 
      
      * WebView.cpp:
      (WebView::setCacheModel):
      Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
      
      Source/WebKit2: 
      
      Share the default storage session between the UI and Web Processes.
      
      * Shared/WebProcessCreationParameters.cpp:
      (WebKit::WebProcessCreationParameters::encode):
      (WebKit::WebProcessCreationParameters::decode):
      * Shared/WebProcessCreationParameters.h:
      Add a parameter for a serialized default storage session, used only on Windows.
      
      * Shared/win/WebCoreArgumentCodersWin.cpp:
      (CoreIPC::decodeResourceRequest):
      Make sure to set the current storage session on any requests used by the Web
      Process before CFNetwork has to do anything with them, in order for CFNetwork to avoid
      doing anything with the Web Process's default storage session.
      
      * UIProcess/win/WebContextWin.cpp:
      (WebKit::WebContext::platformInitializeWebProcess):
      Serialize the default storage session in the UI Process and add it to the
      WebProcessCreationParameters.
      
      * WebProcess/WebPage/win/WebPageWin.cpp:
      (WebKit::cachedResponseForURL):
      Use the cache associated with the current storage session and make sure the request has the
      current storage session set on it before doing anything with it.
      
      * WebProcess/win/WebProcessWin.cpp:
      (WebKit::WebProcess::platformSetCacheModel):
      Use the default storage session.
      (WebKit::WebProcess::platformClearResourceCaches):
      Ditto.
      (WebKit::WebProcess::platformInitializeWebProcess):
      Deserialize the default storage session passed in by the UI Process and hand it to the
      ResourceHandle.
      
      WebKitLibraries: 
      
      Take 3 after rolling out KB2465367 from my system.
      
      * win/include/WebKitSystemInterface/WebKitSystemInterface.h:
      * win/lib/WebKitSystemInterface.lib:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb7a19ce
    • weinig@apple.com's avatar
      2011-05-11 Sam Weinig <sam@webkit.org> · f25e6ff1
      weinig@apple.com authored
              Reviewed by Eric Seidel.
      
              Stop including Console.h just to get Console enum types
              https://bugs.webkit.org/show_bug.cgi?id=60607
      
              Move MessageSource, MessageType and MessageLevel into its own
              header and cleanup surrounding classes.
      
              * Api/qwebelement.cpp:
      2011-05-11  Sam Weinig  <sam@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Stop including Console.h just to get Console enum types
              https://bugs.webkit.org/show_bug.cgi?id=60607
      
              Move MessageSource, MessageType and MessageLevel into its own
              header and cleanup surrounding classes.
      
              * GNUmakefile.list.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/v8/V8Proxy.cpp:
              * dom/ScriptExecutionContext.h:
              * html/HTMLFormElement.cpp:
              * html/parser/XSSFilter.cpp:
              * inspector/ConsoleMessage.h:
              * inspector/InjectedScriptHost.h:
              * inspector/InspectorAgent.h:
              * inspector/InspectorConsoleAgent.h:
              * inspector/InspectorFrontendHost.h:
              * inspector/InspectorInstrumentation.cpp:
              * inspector/InspectorInstrumentation.h:
              * loader/EmptyClients.h:
              * loader/FrameLoader.cpp:
              * loader/MainResourceLoader.cpp:
              * loader/appcache/ApplicationCacheGroup.cpp:
              * page/ChromeClient.h:
              * page/Console.cpp:
              (WebCore::Console::~Console):
              * page/Console.h:
              * page/ConsoleTypes.h: Added.
              * page/ContentSecurityPolicy.cpp:
              * page/Geolocation.h:
              * workers/WorkerReportingProxy.h:
              * xml/XMLHttpRequest.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f25e6ff1
    • gyuyoung.kim@samsung.com's avatar
      2011-05-11 Gyuyoung Kim <gyuyoung.kim@samsung.com> · 2dcb9984
      gyuyoung.kim@samsung.com authored
              Reviewed by Antonio Gomes.
      
              [EFL] Remove fixed_layout structure in ewk_view
              https://bugs.webkit.org/show_bug.cgi?id=60615
      
              Remove unnecessary fixed_layout structure. The ewk_view_fixed_layout_size_set/get()
              use WebCore's functions directly.
      
              * ewk/ewk_view.cpp:
              (ewk_view_fixed_layout_size_set):
              (ewk_view_fixed_layout_size_get):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2dcb9984
    • demarchi@webkit.org's avatar
      2011-05-11 Tomasz Morawski <t.morawski@samsung.com> · 11601710
      demarchi@webkit.org authored
              Rubber-stamped by Daniel Bates.
      
              Added missing DATABASE macro
              https://bugs.webkit.org/show_bug.cgi?id=60437
      
              * ewk/ewk_settings.cpp:
              (ewk_settings_web_database_default_quota_get):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11601710
    • tkent@chromium.org's avatar
      2011-05-10 Kent Tamura <tkent@chromium.org> · 818b4664
      tkent@chromium.org authored
              Reviewed by Hajime Morita.
      
              [Chromium] Fix a bug of WebFrameImpl::forms()
              https://bugs.webkit.org/show_bug.cgi?id=60606
      
              If document()->forms() contained non-HTML element, the second for
              loop didn't stop.
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::forms): Simplify the function by wtf::Vector().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      818b4664
    • loislo@chromium.org's avatar
      2011-05-10 Ilya Tikhonovsky <loislo@chromium.org> · 1c253652
      loislo@chromium.org authored
              Unreviewed buildfix for strict OwnPtr patch.
      
              * src/PlatformBridge.cpp:
              (WebCore::PlatformBridge::loadPlatformAudioResource):
              (WebCore::PlatformBridge::decodeAudioFileData):
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c253652
  3. 10 May, 2011 9 commits
    • commit-queue@webkit.org's avatar
      2011-05-10 Anton D'Auria <adauria@apple.com> · 37f77e90
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              StorageTracker should report actual local storage usage on disk
              https://bugs.webkit.org/show_bug.cgi?id=60558
      
              * storage/domstorage/localstorage/storagetracker/storage-tracker-6-create-expected.txt: Added.
              * storage/domstorage/localstorage/storagetracker/storage-tracker-6-create.html: Added.
              * storage/domstorage/localstorage/storagetracker/storage-tracker-7-usage-expected.txt: Added.
              * storage/domstorage/localstorage/storagetracker/storage-tracker-7-usage.html: Added.
      2011-05-10  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by David Levin.
      
              StorageTracker should report actual local storage usage on disk
              https://bugs.webkit.org/show_bug.cgi?id=60558
      
              Tests: storage/domstorage/localstorage/storagetracker/storage-tracker-6-create.html
                     storage/domstorage/localstorage/storagetracker/storage-tracker-7-usage.html
      
              Use SQLiteFileSystem::getDatabaseFileSize to get actual usage by
              an origin's local storage db. Factored out code that retrieves
              path of local storage db.
      
              * WebCore.exp.in: Sorted alphabetically StorageTracker's mangled
              function names.
              * storage/StorageTracker.cpp:
              (WebCore::StorageTracker::syncDeleteOrigin): Uses helper function
              to get path of origin's db
              (WebCore::StorageTracker::databasePathForOrigin): New helper function.
              that gets the path of an origin's local storage db from StorageTracker.
              (WebCore::StorageTracker::diskUsageForOrigin): New API.
              * storage/StorageTracker.h:
      2011-05-10  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by David Levin.
      
              Add ApplicationCache API to get disk usage per origin
              https://bugs.webkit.org/show_bug.cgi?id=57127
      
              Added Mac port API.
      
              * WebCoreSupport/WebApplicationCache.h:
              * WebCoreSupport/WebApplicationCache.mm:
              (+[WebApplicationCache diskUsageForOrigin:]):
      2011-05-10  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by David Levin.
      
              StorageTracker should report actual local storage usage on disk
              https://bugs.webkit.org/show_bug.cgi?id=60558
      
              * DumpRenderTree/LayoutTestController.cpp:
              (localStorageDiskUsageForOriginCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::localStorageDiskUsageForOrigin):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::localStorageDiskUsageForOrigin):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::localStorageDiskUsageForOrigin):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::localStorageDiskUsageForOrigin):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::localStorageDiskUsageForOrigin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86205 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37f77e90
    • commit-queue@webkit.org's avatar
      2011-05-10 Anton D'Auria <adauria@apple.com> · 4168acce
      commit-queue@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              Add ApplicationCache API to get disk usage per origin
              https://bugs.webkit.org/show_bug.cgi?id=57127
      
              * http/tests/appcache/origin-usage-expected.txt: Added.
              * http/tests/appcache/origin-usage.html: Added.
              * http/tests/appcache/resources/origin-usage-iframe-1.html: Added.
              * http/tests/appcache/resources/origin-usage-iframe-1.manifest: Added.
              * http/tests/appcache/resources/origin-usage-iframe-2.html: Added.
              * http/tests/appcache/resources/origin-usage-iframe-2.manifest: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt/Skipped:
      2011-05-10  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by Alexey Proskuryakov.
      
              Add ApplicationCache API to get disk usage per origin
              https://bugs.webkit.org/show_bug.cgi?id=57127
      
              ApplicationCacheStorage already provides an API to get per-origin
              disk usage. This should be exposed through WebCore::ApplicationCache
              to not be dependent on storage implementation.
      
              Test: http/tests/appcache/origin-usage.html
      
              * WebCore.exp.in:
              * loader/appcache/ApplicationCache.cpp:
              (WebCore::ApplicationCache::diskUsageForOrigin):
              * loader/appcache/ApplicationCache.h:
      2011-05-10  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by Alexey Proskuryakov.
      
              Add ApplicationCache API to get disk usage per origin
              https://bugs.webkit.org/show_bug.cgi?id=57127
      
              Added Mac port API.
      
              * WebCoreSupport/WebApplicationCache.h:
              * WebCoreSupport/WebApplicationCache.mm:
              (+[WebApplicationCache diskUsageForOrigin:]):
      2011-05-10  Anton D'Auria  <adauria@apple.com>
      
              Reviewed by Alexey Proskuryakov.
      
              Add ApplicationCache API to get disk usage per origin
              https://bugs.webkit.org/show_bug.cgi?id=57127
      
              Added test that loads two frames with ~15Kb image, checks usage,
              deletes app cache, verifies usage is 0.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (applicationCacheDiskUsageForOriginCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp: Added stub.
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::applicationCacheDiskUsageForOrigin):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added stub.
              (LayoutTestController::applicationCacheDiskUsageForOrigin):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::applicationCacheDiskUsageForOrigin):
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added stub.
              (LayoutTestController::applicationCacheDiskUsageForOrigin):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added stub.
              (LayoutTestController::applicationCacheDiskUsageForOrigin):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4168acce
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=60582 · c7a8e421
      bdakin@apple.com authored
      Crash switching overlay/non-overlay scrollbar preference still possible
      -and corresponding-
      <rdar://problem/9323983>
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      This patch prevents any work from being done on pages that are in the page cache 
      when the preference is switched.
      
      When the Document is going into or coming out of the page cache, have the 
      FrameView inactivate or activate the Page's ScrollAnimators as appropriate.
      * dom/Document.cpp:
      (WebCore::Document::setInPageCache):
      
      Iterate through the Page's ScrollableAreas setting the active state of the 
      ScrollAnimators.
      * page/FrameView.cpp:
      (WebCore::FrameView::setAnimatorsAreActive):
      * page/FrameView.h:
      
      ScrollAnimator has a new bit -- m_isActive. Right now m_isActive is always true 
      unless the ScrollAnimator belongs to a ScrollableArea that is in the page cache.
      * platform/ScrollAnimator.cpp:
      (WebCore::ScrollAnimator::ScrollAnimator):
      * platform/ScrollAnimator.h:
      (WebCore::ScrollAnimator::setIsActive):
      (WebCore::ScrollAnimator::isActive):
      
      ScrollAnimatorMac has a new bit -- m_needsScrollerStyleUpdate. This is set to true 
      when a ScrollAnimator is inactive and has received the 
      updateScrollerStyleForNewRecommendedScrollerStyle delegate notification. It 
      prevents any work from being done for this delegate until the ScrollAnimator 
      becomes active again.
      * platform/mac/ScrollAnimatorMac.h:
      (WebCore::ScrollAnimatorMac::setNeedsScrollerStyleUpdate):
      (WebCore::ScrollAnimatorMac::needsScrollerStyleUpdate):
      
      This delegate method has been re-factored into ScrollAnimatorMac:: 
      updateScrollerStyle(). This way the meat of the function can be called by both the 
      delegate and ScrollAnimatorMac::setIsActive()
      * platform/mac/ScrollAnimatorMac.mm:
      (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
      (WebCore::ScrollAnimatorMac::ScrollAnimatorMac):
      
      This override of ScrollAnimator::setIsActive() calls the base class, and then calls updateScrollerStyle() if needsScrollerStyleUpdate() is set to true.
      (WebCore::ScrollAnimatorMac::setIsActive):
      
      This is mostly the same as the old delegate method. Key differences are that if 
      the ScrollAnimator is inactive, we now setNeedsScrollerStyleUpdate(true) and 
      return early. We also only call scrollableArea()->scrollbarStyleChanged() if 
      needsScrollerStyleUpdate() is false since in the true case when we are restoring 
      from the page cache, this would be duplicated work.
      (WebCore::ScrollAnimatorMac::updateScrollerStyle):
      
      New WKSystemInterface function is needed to retrieve the scrollbar style.
      * WebCore.exp.in:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      
      Source/WebKit/mac: 
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      Source/WebKit2: 
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7a8e421
    • brettw@chromium.org's avatar
      2011-05-06 Brett Wilson <brettw@chromium.org> · ba1c4791
      brettw@chromium.org authored
              Reviewed by Adam Barth.
      
              Use a File object to store the downloaded file reference rather than
              just the path. This keeps the file and permissions in scope (using the
              already-existing blob system) so the browser won't delete the file
              when the load is complete. Instead, the file will be cleaned up when
              the request objects are deleted.
              https://bugs.webkit.org/show_bug.cgi?id=60281
      
              * platform/network/chromium/ResourceResponse.cpp:
              (WebCore::ResourceResponse::doPlatformCopyData):
              (WebCore::ResourceResponse::doPlatformAdopt):
              * platform/network/chromium/ResourceResponse.h:
              (WebCore::ResourceResponse::downloadedFile):
              (WebCore::ResourceResponse::setDownloadedFile):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba1c4791
    • mnaganov@chromium.org's avatar
      2011-05-10 Mikhail Naganov <mnaganov@chromium.org> · 74384f2f
      mnaganov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: [Chromium] Drop obsolete test code for the Profiles panel.
              https://bugs.webkit.org/show_bug.cgi?id=60471
      
              * src/js/Tests.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74384f2f
    • ademar.reis@openbossa.org's avatar
      2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org> · 655975d3
      ademar.reis@openbossa.org authored
              Reviewed by Csaba Osztrogonác.
      
              [Qt] Increment QtWebKit trunk version to 4.10.0
              https://bugs.webkit.org/show_bug.cgi?id=60549
      
              QtWebKit-2.2 (branched) will be 4.9.0, so we need to
              increase the trunk version by 1.
      
              * qt_webkit_version.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      655975d3
    • ademar.reis@openbossa.org's avatar
      2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org> · 257e7a06
      ademar.reis@openbossa.org authored
              Reviewed by Csaba Osztrogonác.
      
              [Qt] tst_QWebPage creates temporary files in the current working dir
              https://bugs.webkit.org/show_bug.cgi?id=60497
      
              tst_QWebPage was using QDir::currentPath when creating temporary dirs
              and leaving them after the test was run. I basically borrowed the fix
              from tst_QDeclarativeWebView.
      
              * tests/qwebpage/tst_qwebpage.cpp:
              (removeRecursive):
              (tst_QWebPage::tmpDirPath):
              (tst_QWebPage::cleanupFiles):
              (tst_QWebPage::database):
              (tst_QWebPage::multiplePageGroupsAndLocalStorage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      257e7a06
    • tonyg@chromium.org's avatar
      2011-05-06 Tony Gentilcore <tonyg@chromium.org> · 8d183cb0
      tonyg@chromium.org authored
              Reviewed by Darin Adler.
      
              Fix some unnecessary includes in headers
              https://bugs.webkit.org/show_bug.cgi?id=60388
      
              These were all found using the include-what-you-use clang plugin.
      
              * css/CSSFontFaceSrcValue.h:
              * css/CSSImageGeneratorValue.h:
              * css/CSSParser.h:
              * css/CSSPrimitiveValueCache.cpp:
              * css/CSSPrimitiveValueCache.h:
              * css/CSSStyleSelector.cpp:
              * css/CSSStyleSelector.h:
              * css/RGBColor.cpp:
              * css/RGBColor.h:
              * dom/EventTarget.h:
              * dom/ExceptionBase.cpp:
              * dom/ExceptionBase.h:
              * dom/MessagePort.cpp:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/SelectElement.cpp:
              * dom/SelectElement.h:
              * dom/TextEvent.cpp:
              * dom/TextEvent.h:
              * dom/Touch.cpp:
              * dom/Touch.h:
              * dom/TouchEvent.cpp:
              * dom/TouchEvent.h:
              * dom/XMLDocumentParser.h:
              * dom/XMLDocumentParserScope.h:
              * editing/AppendNodeCommand.cpp:
              * editing/ApplyBlockElementCommand.h:
              * editing/DeleteFromTextNodeCommand.cpp:
              * editing/EditCommand.h:
              * editing/Editor.h:
              * editing/FormatBlockCommand.h:
              * editing/IndentOutdentCommand.h:
              * editing/InsertIntoTextNodeCommand.cpp:
              * editing/InsertNodeBeforeCommand.cpp:
              * editing/ReplaceSelectionCommand.h:
              * editing/SetNodeAttributeCommand.h:
              * html/HTMLSelectElement.h:
              * html/canvas/CanvasRenderingContext2D.cpp:
              * loader/appcache/DOMApplicationCache.cpp:
              * page/EventSource.cpp:
              * rendering/RenderListBox.cpp:
              * rendering/RenderMenuList.cpp:
              * rendering/RenderTextControlSingleLine.cpp:
              * rendering/svg/RenderSVGInlineText.cpp:
              * svg/SVGMatrix.h:
              * websockets/WebSocket.cpp:
              * workers/AbstractWorker.cpp:
              * xml/XMLHttpRequest.cpp:
              * xml/XPathExpression.cpp:
      2011-05-06  Tony Gentilcore  <tonyg@chromium.org>
      
              Reviewed by Darin Adler.
      
              Fix some unnecessary includes in headers
              https://bugs.webkit.org/show_bug.cgi?id=60388
      
              * WebProcess/FullScreen/WebFullScreenManager.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d183cb0
    • abarth@webkit.org's avatar
      2011-05-10 Adam Barth <abarth@webkit.org> · 1b7f179f
      abarth@webkit.org authored
              Attempt to fix the clang build.
      
              * src/WebDevToolsAgentImpl.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b7f179f
  4. 09 May, 2011 2 commits
    • weinig@apple.com's avatar
      Unreviewed, rolling out r86108. · fb937c9f
      weinig@apple.com authored
      http://trac.webkit.org/changeset/86108
      https://bugs.webkit.org/show_bug.cgi?id=60533
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-05-09
      Broke makefile based builds and Cairo (Requested by weinig on
      #webkit).
      
      Source/WebKit/win: 
      
      * WebKit.vcproj/WebKit.sln:
      
      Tools: 
      
      * Scripts/build-api-tests:
      * Scripts/run-api-tests:
      * TestWebKitAPI/Configurations/TestWebKitAPICommon.vsprops:
      * TestWebKitAPI/Test.h:
      (TestWebKitAPI::Test::~Test):
      (TestWebKitAPI::Test::name):
      (TestWebKitAPI::Test::Register::Register):
      (TestWebKitAPI::Test::Register::create):
      (TestWebKitAPI::Test::Test):
      * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
      * TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
      (TestWebKitAPI::TEST):
      * TestWebKitAPI/TestsController.cpp:
      (TestWebKitAPI::TestsController::TestsController):
      (TestWebKitAPI::TestsController::dumpTestNames):
      (TestWebKitAPI::TestsController::runTestNamed):
      (TestWebKitAPI::TestsController::testFailed):
      (TestWebKitAPI::TestsController::registerCreateTestFunction):
      * TestWebKitAPI/TestsController.h:
      * TestWebKitAPI/mac/main.mm:
      (main):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb937c9f
    • mrobinson@webkit.org's avatar
      2011-05-09 Martin Robinson <mrobinson@igalia.com> · 522544a0
      mrobinson@webkit.org authored
              Update the results for a test after r86102. This test was susceptible to
              scrollbar race conditions and r86102 changed timing slightly.
      
              * platform/gtk/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
      2011-05-09  Martin Robinson  <mrobinson@igalia.com>
      
              Fix a test after r86102. Scrollbars update asynchronously, so we
              must check the adjustments after a short delay.
      
              * tests/testwebview.c:
              (quit_after_short_delay_cb): Add a short delay before checking adjustments.
              (test_webkit_web_view_grab_focus): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      522544a0