WebKit/win: <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL
https://bugs.webkit.org/show_bug.cgi?id=40921

Reviewed by Alice Liu.

Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib.
WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code.
        
This is a first step. We'll likely want to migrate the remainder of
the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2.

* WebKit.vcproj/WebKit.def: Removed.
* WebKit.vcproj/WebKit.make: Don't fail if WebKit doesn't produce a DLL.
* WebKit.vcproj/WebKit.vcproj: Build WebKit as a static lib.
Renamed project name to WebKitLib to avoid confusion and naming conflicts.
Generate intermediate pdb file for debuggability of static lib.
Removed DLL-related options.        
* WebKit.vcproj/deleteButton.png: Removed.
* WebKit.vcproj/deleteButtonPressed.png: Removed.
* WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed.
* WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed.
* WebKit.vcproj/fsVideoExitFullscreen.png: Removed.
* WebKit.vcproj/fsVideoPause.png: Removed.
* WebKit.vcproj/fsVideoPlay.png: Removed.
* WebKit.vcproj/missingImage.png: Removed.
* WebKit.vcproj/nullplugin.png: Removed.
* WebKit.vcproj/panEastCursor.png: Removed.
* WebKit.vcproj/panIcon.png: Removed.
* WebKit.vcproj/panNorthCursor.png: Removed.
* WebKit.vcproj/panNorthEastCursor.png: Removed.
* WebKit.vcproj/panNorthWestCursor.png: Removed.
* WebKit.vcproj/panSouthCursor.png: Removed.
* WebKit.vcproj/panSouthEastCursor.png: Removed.
* WebKit.vcproj/panSouthWestCursor.png: Removed.
* WebKit.vcproj/panWestCursor.png: Removed.
* WebKit.vcproj/searchCancel.png: Removed.
* WebKit.vcproj/searchCancelPressed.png: Removed.
* WebKit.vcproj/searchMagnifier.png: Removed.
* WebKit.vcproj/searchMagnifierResults.png: Removed.
* WebKit.vcproj/textAreaResizeCorner.png: Removed.
* WebKit.vcproj/verticalTextCursor.png: Removed.
* WebKit.vcproj/zoomInCursor.png: Removed.
* WebKit.vcproj/zoomOutCursor.png: Removed.

WebKit2: <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL
https://bugs.webkit.org/show_bug.cgi?id=40921
        
Reviewed by Alice Liu.

Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib.
WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code.

This is a first step. We'll likely want to migrate the remainder of
the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2.

* UIProcess/API/C/WKBase.h: Updated to new BUILDING_ name.
* WebProcess/InjectedBundle/API/c/WKBundleBase.h: Updated to new BUILDING_ name.
* WebProcess/WebCoreSupport/win/WebCoreLocalizedStrings.cpp: Removed.
* WebProcess/win/DllMain.cpp: Removed. Overlaps with implementation in WebKitLib.lib.
* WebProcess/win/WebLocalizableStrings.cpp: Removed. Overlaps with implementation in WebKitLib.lib.
* WebProcess/win/WebLocalizableStrings.h: Removed. Overlaps with implementation in WebKitLib.lib.
* win/WebKit2.def: Added. Copied from WebKit project.
* win/WebKit2.rc: Added resources previously in WebKit.
* win/WebKit2.vcproj: Changed project name to WebKit so we will link output to WebKit.dll.
Removed implementations overlapping with WebKitLib (WebCoreLocalizedStrings, DllMain, WebLocalizableStrings, WebProcessMain).
* win/WebKit2Common.vsprops: Use a framework name of WebKit instead of WebKit2 to reflect project name.
Renamed BUILDING_WEBKIT2 to BUILDING_WEBKIT since there is now just a single WebKit.dll.
* win/WebKit2WebProcess.vcproj: Link against WebKit instead of WebKit2 due to renaming.        
* win/deleteButton.png: Copied from ../WebKit/win/WebKit.vcproj/deleteButton.png.
* win/deleteButtonPressed.png: Copied from ../WebKit/win/WebKit.vcproj/deleteButtonPressed.png.
* win/fsVideoAudioVolumeHigh.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoAudioVolumeHigh.png.
* win/fsVideoAudioVolumeLow.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoAudioVolumeLow.png.
* win/fsVideoExitFullscreen.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoExitFullscreen.png.
* win/fsVideoPause.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoPause.png.
* win/fsVideoPlay.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoPlay.png.
* win/missingImage.png: Copied from ../WebKit/win/WebKit.vcproj/missingImage.png.
* win/nullplugin.png: Copied from ../WebKit/win/WebKit.vcproj/nullplugin.png.
* win/panEastCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panEastCursor.png.
* win/panIcon.png: Copied from ../WebKit/win/WebKit.vcproj/panIcon.png.
* win/panNorthCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panNorthCursor.png.
* win/panNorthEastCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panNorthEastCursor.png.
* win/panNorthWestCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panNorthWestCursor.png.
* win/panSouthCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panSouthCursor.png.
* win/panSouthEastCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panSouthEastCursor.png.
* win/panSouthWestCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panSouthWestCursor.png.
* win/panWestCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panWestCursor.png.
* win/searchCancel.png: Copied from ../WebKit/win/WebKit.vcproj/searchCancel.png.
* win/searchCancelPressed.png: Copied from ../WebKit/win/WebKit.vcproj/searchCancelPressed.png.
* win/searchMagnifier.png: Copied from ../WebKit/win/WebKit.vcproj/searchMagnifier.png.
* win/searchMagnifierResults.png: Copied from ../WebKit/win/WebKit.vcproj/searchMagnifierResults.png.
* win/textAreaResizeCorner.png: Copied from ../WebKit/win/WebKit.vcproj/textAreaResizeCorner.png.
* win/verticalTextCursor.png: Copied from ../WebKit/win/WebKit.vcproj/verticalTextCursor.png.
* win/zoomInCursor.png: Copied from ../WebKit/win/WebKit.vcproj/zoomInCursor.png.
* win/zoomOutCursor.png: Copied from ../WebKit/win/WebKit.vcproj/zoomOutCursor.png.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed by Jian Li.

Adding directional property enums back into
CSSComputedStyleDeclaration::getPropertyCSSValue().

https://bugs.webkit.org/show_bug.cgi?id=42122

The four directional -webkit- properties --  CSSPropertyWebkitMarginEnd,
CSSPropertyWebkitMarginStart, CSSPropertyWebkitPaddingEnd, and
CSSPropertyWebkitPaddingStart -- are resolved into other css
properties before the swtich statement via a call to
CSSProperty::resolveDirectionAwareProperty().  Thus, they are never
seen by the switch statement.  However, if you leave out a potential
enum value from the switch, gcc will generate a warning if -Wall is
specified.  This warning breaks the Chromium build.  To avoid this,
we add in the enum values and ASSERT_NOT_REACHED() if they are hit.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        REGRESSION (HTML5 parser?): Impossible to get past the CAPTCHA on postcode.royalmail.com
        https://bugs.webkit.org/show_bug.cgi?id=41797

        This test is a bit subtle, but it captures a reduction of what I think
        is going on with the site.

        Essentially, the real parser doesn't see the <img> tag, but the preload
        scanner does.  Prior to this patch, we were preload scanning this
        region of the document even though we weren't supposed to.

        * http/tests/loading/preload-slow-loading-expected.txt: Added.
        * http/tests/loading/preload-slow-loading.php: Added.
2010-07-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        REGRESSION (HTML5 parser?): Impossible to get past the CAPTCHA on postcode.royalmail.com
        https://bugs.webkit.org/show_bug.cgi?id=41797

        Once we resume parsing after script execution, we want to clear the
        preload scanner so we don't scan any bytes it might have accumulated.

        Test: http/tests/loading/preload-slow-loading.php

        * html/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        Make WebKitTestRunner resize the view specially for the W3C SVG tests.
        https://bugs.webkit.org/show_bug.cgi?id=42126

        * WebKitTestRunner/PlatformWebView.h:
        * WebKitTestRunner/TestInvocation.cpp:
        (WTR::TestInvocation::TestInvocation): Store the path as a C
        string for later use.
        (WTR::TestInvocation::~TestInvocation):
        (WTR::sizeWebViewForCurrentTest): Resize the WebView to the proper
        size, depending on whether this is a W3C SVG test.
        (WTR::TestInvocation::invoke): Call the size function.
        * WebKitTestRunner/TestInvocation.h:
        * WebKitTestRunner/mac/PlatformWebViewMac.mm:
        (WTR::PlatformWebView::resizeTo): Implement.
        * WebKitTestRunner/win/PlatformWebViewWin.cpp:
        (WTR::PlatformWebView::resizeTo): Placeholder.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Dominic Mazzoni  <dmazzoni@google.com>

        Reviewed by Darin Fisher.

        Add methods to WebAccessibilityObject to access the Node and
        Document, and then add methods to access some document, node,
        and element properties needed for Windows accessibility.

        https://bugs.webkit.org/show_bug.cgi?id=41569

        * WebKit.gyp:
        * public/WebAccessibilityObject.h:
        * public/WebAttribute.h: Added.
        (WebKit::WebAttribute::~WebAttribute):
        (WebKit::WebAttribute::WebAttribute):
        (WebKit::WebAttribute::operator=):
        * public/WebDocumentType.h: Added.
        (WebKit::WebDocumentType::WebDocumentType):
        (WebKit::WebDocumentType::operator=):
        (WebKit::WebDocumentType::assign):
        * public/WebElement.h:
        * public/WebNamedNodeMap.h: Added.
        (WebKit::WebNamedNodeMap::~WebNamedNodeMap):
        (WebKit::WebNamedNodeMap::WebNamedNodeMap):
        (WebKit::WebNamedNodeMap::operator=):
        * public/WebNode.h:
        * public/WebRenderStyle.h: Added.
        (WebKit::WebRenderStyle::~WebRenderStyle):
        (WebKit::WebRenderStyle::WebRenderStyle):
        (WebKit::WebRenderStyle::operator=):
        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::node):
        (WebKit::WebAccessibilityObject::document):
        * src/WebAttribute.cpp: Added.
        (WebKit::WebAttribute::reset):
        (WebKit::WebAttribute::assign):
        (WebKit::WebAttribute::WebAttribute):
        (WebKit::WebAttribute::localName):
        (WebKit::WebAttribute::value):
        * src/WebDocumentType.cpp: Added.
        (WebKit::WebDocumentType::name):
        (WebKit::WebDocumentType::WebDocumentType):
        (WebKit::WebDocumentType::operator=):
        (WebKit::WebDocumentType::operator PassRefPtr<DocumentType>):
        * src/WebElement.cpp:
        (WebKit::WebElement::attributes):
        * src/WebNamedNodeMap.cpp: Added.
        (WebKit::WebNamedNodeMap::reset):
        (WebKit::WebNamedNodeMap::assign):
        (WebKit::WebNamedNodeMap::WebNamedNodeMap):
        (WebKit::WebNamedNodeMap::length):
        (WebKit::WebNamedNodeMap::attributeItem):
        * src/WebNode.cpp:
        (WebKit::WebNode::element):
        (WebKit::WebNode::hasComputedStyle):
        (WebKit::WebNode::computedStyle):
        * src/WebRenderStyle.cpp: Added.
        (WebKit::WebRenderStyle::reset):
        (WebKit::WebRenderStyle::assign):
        (WebKit::WebRenderStyle::WebRenderStyle):
        (WebKit::WebRenderStyle::display):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Anders Carlsson.

        WKView should override setFrameSize: instead of setFrame:
        https://bugs.webkit.org/show_bug.cgi?id=42127

        * UIProcess/API/mac/WKView.mm:
        (-[WKView setFrameSize:]): Override this method instead of setFrame:,
        since that is the right way to do it.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Just skipping a test on Gtk due to missing DRT features.

        REGRESSION (HTML5 parser?): Impossible to get past the CAPTCHA on postcode.royalmail.com
        https://bugs.webkit.org/show_bug.cgi?id=41797

        * platform/gtk/Skipped:
         - Gtk is missing DRT api.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix crash caused by unintentional deletion of worker bridge and channel.

        WebSocket: Crash caused by calling close() within onmessage handler
        https://bugs.webkit.org/show_bug.cgi?id=41507

        * websocket/tests/workers/close-in-onmessage-crash-expected.txt: Added.
        * websocket/tests/workers/close-in-onmessage-crash.html: Added.
        * websocket/tests/workers/resources/close-in-onmessage-crash.js: Added.
        (runTests.try.ws.onopen):
        (runTests.try.ws.onmessage): Calling close() inside the onmessage handler
        causes the crash.
        (runTests.try.ws.onclose):
        (runTests):
2010-07-12  Yuta Kitamura  <yutak@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix crash caused by unintentional deletion of worker bridge and channel.

        WebSocket: Crash caused by calling close() within onmessage handler
        https://bugs.webkit.org/show_bug.cgi?id=41507

        Test: websocket/tests/workers/close-in-onmessage-crash.html

        * websockets/WebSocket.cpp:
        (WebCore::WebSocket::close): bufferedAmount() may call WebSocket::didClose(),
        which causes m_channel to get freed.
        * websockets/WorkerThreadableWebSocketChannel.cpp:
        (WebCore::WorkerThreadableWebSocketChannel::Bridge::send): Add reference to
        the bridge because waitForMethodCompletion() may dereference the bridge.
        (WebCore::WorkerThreadableWebSocketChannel::Bridge::bufferedAmount): Ditto.
        (WebCore::WorkerThreadableWebSocketChannel::Bridge::waitForMethodCompletion):
        The root cause is a call to WorkerRunLoop::runInMode in this function.
        It may call WebSocket::didClose() even inside WebSocket::close(), which frees
        everything including the worker bridge and the channel.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r63156.
        http://trac.webkit.org/changeset/63156
        https://bugs.webkit.org/show_bug.cgi?id=42129

        broke chromium compile (Requested by jamesr on #webkit).

        * WebKit.gyp:
        * public/WebAccessibilityObject.h:
        * public/WebAttribute.h: Removed.
        * public/WebDocumentType.h: Removed.
        * public/WebElement.h:
        * public/WebNamedNodeMap.h: Removed.
        * public/WebNode.h:
        * public/WebRenderStyle.h: Removed.
        * src/WebAccessibilityObject.cpp:
        * src/WebAttribute.cpp: Removed.
        * src/WebDocumentType.cpp: Removed.
        * src/WebElement.cpp:
        * src/WebNamedNodeMap.cpp: Removed.
        * src/WebNode.cpp:
        * src/WebRenderStyle.cpp: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Gustavo Noronha Silva  <gns@gnome.org>

        Unreviewed. make distcheck fix.

        * GNUmakefile.am:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Oliver Hunt.

        Strip BOMs from source before passing to V8
        https://bugs.webkit.org/show_bug.cgi?id=42102

        This extra copy may carry a performance penalty. We should investigate
        whether this allows any simplification in v8/scanner.cc:SkipJavaScriptWhiteSpace().

        No new tests because no new functionality.

        * bindings/v8/ScriptSourceCode.h:
        (WebCore::ScriptSourceCode::ScriptSourceCode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Need support for a WebKit2-specific Skipped list (and initially add accessibility tests to it)
https://bugs.webkit.org/show_bug.cgi?id=42132

Reviewed by Sam Weinig.

WebKitTools: 

* Scripts/old-run-webkit-tests: In --webkit-test-runner mode, add mac-wk2 to list of
platform directories.

LayoutTests: 

* platform/mac-wk2: Added.
* platform/mac-wk2/Skipped: Added. Initially add the accessibility
directory (with two blocking bugs).



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        Remove use of auto_ptr in WebKitTestRunner
        https://bugs.webkit.org/show_bug.cgi?id=42134
        
        Replaced auto_ptr with PassOwnPtr / OwnPtr.

        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::WKStringToUTF8):
        (WTR::InjectedBundlePage::dump):
        (WTR::InjectedBundlePage::addMessageToConsole):
        * WebKitTestRunner/TestInvocation.cpp:
        (WTR::WKStringToUTF8):
        (WTR::TestInvocation::didRecieveMessageFromInjectedBundle):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        HTML5 Parser: document.write after onload blows away document
        https://bugs.webkit.org/show_bug.cgi?id=40745

        Update test to expect new behavior.

        * http/tests/misc/write-while-waiting.html:
2010-07-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        HTML5 Parser: document.write after onload blows away document
        https://bugs.webkit.org/show_bug.cgi?id=40745

        Rather than blowing away the document when we get a document.write call
        after the document is closed, we new ignore the write.  This
        technically violates the spec (which requires us to blow away the
        document), but blowing away the document breaks too many web sites.

        Rather than this patch, we could go back to our old behavior (which was
        to append the bytes just before EOF), but implementing this approach
        (suggested by Henri) will let us gather data about whether his approach
        is workable.

        See also: http://www.w3.org/Bugs/Public/show_bug.cgi?id=9767

        * dom/Document.cpp:
        (WebCore::Document::write):
        * html/HTMLDocumentParser.cpp:
        (WebCore::HTMLDocumentParser::insert):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Joseph Pecoraro.

        Web Inspector: provide starts and ends for network phases instead of duration.

        https://bugs.webkit.org/show_bug.cgi?id=42091

        * inspector/InspectorResource.cpp:
        (WebCore::InspectorResource::updateResponse):
        (WebCore::InspectorResource::updateScriptObject):
        (WebCore::InspectorResource::buildObjectForTiming):
        * platform/network/ResourceLoadTiming.h:
        (WebCore::ResourceLoadTiming::deepCopy):
        (WebCore::ResourceLoadTiming::operator==):
        (WebCore::ResourceLoadTiming::ResourceLoadTiming):
        * platform/network/ResourceResponseBase.cpp:
        (WebCore::ResourceResponseBase::ResourceResponseBase):
        (WebCore::ResourceResponseBase::wasCached):
        (WebCore::ResourceResponseBase::setWasCached):
        * platform/network/ResourceResponseBase.h:
2010-07-12  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Joseph Pecoraro.

        Web Inspector: provide starts and ends for network phases instead of duration.

        https://bugs.webkit.org/show_bug.cgi?id=42091

        * public/WebURLLoadTiming.h:
        * public/WebURLResponse.h:
        * src/WebURLLoadTiming.cpp:
        (WebKit::WebURLLoadTiming::proxyStart):
        (WebKit::WebURLLoadTiming::setProxyStart):
        (WebKit::WebURLLoadTiming::proxyEnd):
        (WebKit::WebURLLoadTiming::setProxyEnd):
        (WebKit::WebURLLoadTiming::dnsStart):
        (WebKit::WebURLLoadTiming::setDNSStart):
        (WebKit::WebURLLoadTiming::dnsEnd):
        (WebKit::WebURLLoadTiming::setDNSEnd):
        (WebKit::WebURLLoadTiming::connectStart):
        (WebKit::WebURLLoadTiming::setConnectStart):
        (WebKit::WebURLLoadTiming::connectEnd):
        (WebKit::WebURLLoadTiming::setConnectEnd):
        (WebKit::WebURLLoadTiming::sendStart):
        (WebKit::WebURLLoadTiming::setSendStart):
        (WebKit::WebURLLoadTiming::sendEnd):
        (WebKit::WebURLLoadTiming::setSendEnd):
        (WebKit::WebURLLoadTiming::receiveHeadersStart):
        (WebKit::WebURLLoadTiming::setReceiveHeadersStart):
        (WebKit::WebURLLoadTiming::receiveHeadersEnd):
        (WebKit::WebURLLoadTiming::setReceiveHeadersEnd):
        (WebKit::WebURLLoadTiming::sslStart):
        (WebKit::WebURLLoadTiming::setSSLStart):
        (WebKit::WebURLLoadTiming::sslEnd):
        (WebKit::WebURLLoadTiming::setSSLEnd):
        * src/WebURLResponse.cpp:
        (WebKit::WebURLResponse::wasCached):
        (WebKit::WebURLResponse::setWasCached):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix WebKit2 to use the same compiler-selection logic as the other projects.

Rubber-stamped by Maciej Stachowiak.

* WebKit2.xcodeproj/project.pbxproj: Don't hard-code WebKit2 to build with GCC 4.2.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam Weinig.

        Fix a typo in the adoption agency causing test failures
        https://bugs.webkit.org/show_bug.cgi?id=42133

        * html5lib/runner-expected-html5.txt:
2010-07-12  Eric Seidel  <eric@webkit.org>

        Reviewed by Sam Weinig.

        Fix a typo in the adoption agency causing test failures
        https://bugs.webkit.org/show_bug.cgi?id=42133

        The new behavior actually differs from old webkit.
        <p><b><p>TEST
        was not bold in the old parser, but is bold now.
        This matches Minefield and the HTML5 spec.

        Covered by two tests in html5lib/runner.html.

        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by David Levin.

        Add failing animation and canvas tests to WebKit2 Skipped list
        https://bugs.webkit.org/show_bug.cgi?id=42141

        * platform/mac-wk2/Skipped:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Viet-Trung Luu  <viettrungluu@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Pass key down events on to plugins.
        https://bugs.webkit.org/show_bug.cgi?id=42113

        * src/WebPluginContainerImpl.cpp:
        (WebKit::WebPluginContainerImpl::handleKeyboardEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-07-12  Kent Tamura  <tkent@chromium.org>

        Reviewed by David Levin.

        [Chromium] Upstreaming inspector_resources target
        https://bugs.webkit.org/show_bug.cgi?id=41669

        'inspector_resource' is currently in src/webkit/webkit.gyp of
        Chromium tree. We move it to WebKit tree because:
        - DumpRenderTree in WebKit tree needs it, and
        - It's hard to refer to WebKit.gypi and WebCore.gypi from
          webkit_support in both cases of Chromium-tree build and
          WebKit-tree build.

        * WebKit.gyp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63171 268f45cc-cd09-0410-ab3c-d52691b4dbfc