1. 10 Jan, 2012 40 commits
    • fpizlo@apple.com's avatar
      CodeBlock.h declares too many things · ea74cb1c
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=76001
      
      Rubber stamped by Gavin Barraclough.
              
      Removed all non-CodeBlock type declarations from CodeBlock.h, and put them
      into separate header files. Also removed all non-CodeBlock method implementations
      from CodeBlock.cpp and put them into corresponding cpp files.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * Target.pri:
      * assembler/RepatchBuffer.h:
      * bytecode/CallLinkInfo.cpp: Added.
      (JSC::CallLinkInfo::unlink):
      * bytecode/CallLinkInfo.h: Added.
      (JSC::CallLinkInfo::callTypeFor):
      (JSC::CallLinkInfo::CallLinkInfo):
      (JSC::CallLinkInfo::~CallLinkInfo):
      (JSC::CallLinkInfo::isLinked):
      (JSC::CallLinkInfo::seenOnce):
      (JSC::CallLinkInfo::setSeen):
      (JSC::getCallLinkInfoReturnLocation):
      (JSC::getCallLinkInfoBytecodeIndex):
      * bytecode/CallReturnOffsetToBytecodeOffset.h: Added.
      (JSC::CallReturnOffsetToBytecodeOffset::CallReturnOffsetToBytecodeOffset):
      (JSC::getCallReturnOffset):
      * bytecode/CodeBlock.cpp:
      * bytecode/CodeBlock.h:
      * bytecode/CodeType.h: Added.
      * bytecode/ExpressionRangeInfo.h: Added.
      * bytecode/GlobalResolveInfo.h: Added.
      (JSC::GlobalResolveInfo::GlobalResolveInfo):
      * bytecode/HandlerInfo.h: Added.
      * bytecode/LineInfo.h: Added.
      * bytecode/MethodCallLinkInfo.cpp: Added.
      (JSC::MethodCallLinkInfo::reset):
      * bytecode/MethodCallLinkInfo.h: Added.
      (JSC::MethodCallLinkInfo::MethodCallLinkInfo):
      (JSC::MethodCallLinkInfo::seenOnce):
      (JSC::MethodCallLinkInfo::setSeen):
      (JSC::getMethodCallLinkInfoReturnLocation):
      (JSC::getMethodCallLinkInfoBytecodeIndex):
      * bytecode/StructureStubInfo.h:
      (JSC::getStructureStubInfoReturnLocation):
      (JSC::getStructureStubInfoBytecodeIndex):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea74cb1c
    • tony@chromium.org's avatar
      Need to handle absolutely positioned elements inside flexboxes · af5a9e6b
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70793
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Tests: css3/flexbox/insert-text-crash.html
             css3/flexbox/position-absolute-child.html
      
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::computePreferredMainAxisExtent): Skip the size of positioned elements.
      (WebCore::RenderFlexibleBox::runFreeSpaceAllocationAlgorithm): Add placeholders for positioned elements.
      (WebCore::RenderFlexibleBox::prepareChildForPositionedLayout): Positions the layer for the positioned child.
      (WebCore::RenderFlexibleBox::layoutAndPlaceChildren): Handle positioned elements.
      (WebCore::RenderFlexibleBox::layoutColumnReverse): Adjust the main axis offset of the layer for positioned elements.
      * rendering/RenderFlexibleBox.h:
      
      LayoutTests:
      
      * css3/flexbox/insert-text-crash-expected.txt: Added.
      * css3/flexbox/insert-text-crash.html: Added.
      * css3/flexbox/position-absolute-child-expected.txt: Added.
      * css3/flexbox/position-absolute-child.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af5a9e6b
    • nduca@chromium.org's avatar
      [chromium] Reuse old timebase when activating CCDelayBasedTimeSource · 5eb93de8
      nduca@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75938
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      * platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:
      (WebCore::CCDelayBasedTimeSource::CCDelayBasedTimeSource):
      (WebCore::CCDelayBasedTimeSource::setActive):
      (WebCore::CCDelayBasedTimeSource::onTimerFired):
      (WebCore::CCDelayBasedTimeSource::postNextTickTask):
      * platform/graphics/chromium/cc/CCDelayBasedTimeSource.h:
      
      Source/WebKit/chromium:
      
      * tests/CCDelayBasedTimeSourceTest.cpp:
      (WebKitTests::TEST):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5eb93de8
    • haraken@chromium.org's avatar
      Support the [Supplemental] IDL on methods · 81795bdc
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75944
      
      Reviewed by Adam Barth.
      
      The spec for the [Supplemental] IDL:
      http://dev.w3.org/2006/webapi/WebIDL/#dfn-supplemental-interface
      
      Currently the [Supplemental] IDL is supported on attributes but not supported
      on methods. This patch makes a change to support it.
      
      Specifically, assume the following IDL:
      
          interface [Supplemental=X] Y {
              void func();
          }
      
      Then the code generator generates the following V8X.cpp.
      
          void funcCallback(Arguments& args) {
              X* imp = V8X::toNative(args.Holder());
              Y::func(imp);
          }
      
      Similar code is also generated for JS, ObjC, GObject and CPP bindings.
      
      Test: bindings/scripts/test/TestSupplemental.idl
      
      * bindings/scripts/CodeGeneratorCPP.pm: Modified as described above.
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorGObject.pm: Ditto.
      (GenerateFunction):
      * bindings/scripts/CodeGeneratorJS.pm: Ditto.
      (GenerateParametersCheck):
      * bindings/scripts/CodeGeneratorObjC.pm: Ditto.
      (GenerateImplementation):
      * bindings/scripts/CodeGeneratorV8.pm: Ditto.
      (GenerateFunctionCallString):
      * bindings/scripts/generate-bindings.pl: Ditto.
      
      * bindings/scripts/test/TestSupplemental.idl: Added test cases for [Supplemental] methods.
      
      * bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Updated the test result.
      (WebDOMTestInterface::supplementalMethod1):
      (WebDOMTestInterface::supplementalMethod2):
      * bindings/scripts/test/CPP/WebDOMTestInterface.h: Ditto.
      * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp: Ditto.
      (webkit_dom_test_interface_supplemental_method1):
      (webkit_dom_test_interface_supplemental_method2):
      * bindings/scripts/test/GObject/WebKitDOMTestInterface.h: Ditto.
      * bindings/scripts/test/JS/JSTestInterface.cpp: Ditto.
      (WebCore::JSTestInterfacePrototype::getOwnPropertySlot):
      (WebCore::JSTestInterfacePrototype::getOwnPropertyDescriptor):
      (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod1):
      (WebCore::jsTestInterfacePrototypeFunctionSupplementalMethod2):
      * bindings/scripts/test/JS/JSTestInterface.h: Ditto.
      * bindings/scripts/test/ObjC/DOMTestInterface.h: Ditto.
      * bindings/scripts/test/ObjC/DOMTestInterface.mm: Ditto.
      (-[DOMTestInterface supplementalMethod1]):
      (-[DOMTestInterface supplementalMethod2:objArg:]):
      * bindings/scripts/test/V8/V8TestInterface.cpp: Ditto.
      (WebCore::TestInterfaceInternal::supplementalMethod1Callback):
      (WebCore::TestInterfaceInternal::supplementalMethod2Callback):
      (WebCore::ConfigureV8TestInterfaceTemplate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81795bdc
    • rniwa@webkit.org's avatar
      Chromium rebaseline after r104625. · 7414ccf1
      rniwa@webkit.org authored
      * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7414ccf1
    • tony@chromium.org's avatar
      [chromium] Unreviewed, roll Chromium DEPS to r117109. · 6c50262c
      tony@chromium.org authored
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c50262c
    • rniwa@webkit.org's avatar
      Qt rebaseline after r104625. · d8a76169
      rniwa@webkit.org authored
      * platform/qt/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8a76169
    • haraken@chromium.org's avatar
      [Refactoring] Rename attributes in TestSupplemental.idl to clarify · c500964d
      haraken@chromium.org authored
      that they are supplemental attributes
      https://bugs.webkit.org/show_bug.cgi?id=75942
      
      Reviewed by Adam Barth.
      
      This patch just renames attributes in TestSupplemental.idl
      to make it easy to find in {JS,V8,WebKitDOM,DOM,WebDOM}TestInterface.cpp
      which attributes originate from TestSupplemental.idl.
      
      * bindings/scripts/test/TestSupplemental.idl: Just renamed three attributes.
      
      * bindings/scripts/test/CPP/WebDOMTestInterface.cpp: Updated the test result.
      (WebDOMTestInterface::supplementalStr1):
      (WebDOMTestInterface::supplementalStr2):
      (WebDOMTestInterface::setSupplementalStr2):
      * bindings/scripts/test/CPP/WebDOMTestInterface.h: Ditto.
      * bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp: Ditto.
      (webkit_dom_test_interface_get_supplemental_str1):
      (webkit_dom_test_interface_get_supplemental_str2):
      (webkit_dom_test_interface_set_supplemental_str2):
      (webkit_dom_test_interface_set_property):
      (webkit_dom_test_interface_get_property):
      (webkit_dom_test_interface_class_init):
      * bindings/scripts/test/GObject/WebKitDOMTestInterface.h: Ditto.
      * bindings/scripts/test/JS/JSTestInterface.cpp: Ditto.
      (WebCore::jsTestInterfaceSupplementalStr1):
      (WebCore::jsTestInterfaceSupplementalStr2):
      (WebCore::jsTestInterface):
      (WebCore::setJSTestInterfaceSupplementalStr2):
      (WebCore::setJSTestInterface):
      * bindings/scripts/test/JS/JSTestInterface.h: Ditto.
      * bindings/scripts/test/ObjC/DOMTestInterface.h: Ditto.
      * bindings/scripts/test/ObjC/DOMTestInterface.mm: Ditto.
      (-[DOMTestInterface supplementalStr1]):
      (-[DOMTestInterface supplementalStr2]):
      (-[DOMTestInterface setSupplementalStr2:]):
      (-[DOMTestInterface ]):
      (-[DOMTestInterface set:]):
      * bindings/scripts/test/V8/V8TestInterface.cpp: Ditto.
      (WebCore::TestInterfaceInternal::supplementalStr1AttrGetter):
      (WebCore::TestInterfaceInternal::supplementalStr2AttrGetter):
      (WebCore::TestInterfaceInternal::supplementalStr2AttrSetter):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c500964d
    • commit-queue@webkit.org's avatar
      [chromium] Run webkit_unit_tests as part of webkit-patch build-and-test · f2875a5f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75988
      
      Patch by James Robinson <jamesr@chromium.org> on 2012-01-10
      Reviewed by Adam Barth.
      
      * Scripts/webkitpy/common/config/ports.py:
      (WebKitPort.run_webkit_unit_tests_command):
      (WebKitPort):
      (ChromiumPort.run_webkit_unit_tests_command):
      (ChromiumPort):
      * Scripts/webkitpy/common/config/ports_mock.py:
      (MockPort.run_webkit_unit_tests_command):
      * Scripts/webkitpy/tool/commands/download_unittest.py:
      (DownloadCommandsTest.test_build_and_test):
      (test_land):
      (test_land_red_builders):
      * Scripts/webkitpy/tool/steps/runtests.py:
      (RunTests.run):
      * Scripts/webkitpy/tool/steps/runtests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2875a5f
    • dpranke@chromium.org's avatar
      webkitpy: add os_name, os_version to platforminfo · 3f5b724e
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75931
      
      Reviewed by Eric Siedel.
      
      As a first step in cleaning up the version parsing logic in
      webkitpy.layout_tests.port, this adds common routines for
      getting the os_name and os_version fields to the PlatformInfo
      class. Nothing uses them yet but I've added FIXME's to some of
      the code that needs to be deleted in the port files.
      
      * Scripts/webkitpy/common/system/platforminfo.py:
      (PlatformInfo.__init__):
      (PlatformInfo):
      (PlatformInfo._determine_os_name):
      (PlatformInfo._determine_mac_version):
      (PlatformInfo._determine_linux_version):
      (PlatformInfo._determine_win_version):
      (PlatformInfo.display_name):
      (PlatformInfo.total_bytes_memory):
      (PlatformInfo._compute_bytes_from_vm_stat_output):
      (PlatformInfo.free_bytes_memory):
      * Scripts/webkitpy/common/system/platforminfo_unittest.py: Added.
      (TestPlatformInfo):
      (TestPlatformInfo.make_info):
      (TestPlatformInfo.make_info.mock_run_command):
      (TestPlatformInfo.setUp):
      (TestPlatformInfo.tearDown):
      (TestPlatformInfo.test_basic):
      (TestPlatformInfo.integration_test_basic):
      (TestPlatformInfo.test_display_name_mac):
      (TestPlatformInfo.test_display_name_win32):
      (TestPlatformInfo.test_memory_mac):
      (TestPlatformInfo.test_memory_win32):
      (TestPlatformInfo.test_determine_os_name):
      (TestPlatformInfo.test_determine_mac_version):
      (TestPlatformInfo.test_determine_linux_version):
      (TestPlatformInfo.test_determine_win_version_from_tuple):
      (TestPlatformInfo.test_determine_win_version_from_cmd):
      * Scripts/webkitpy/layout_tests/port/apple.py:
      (ApplePort.__init__):
      * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
      (ChromiumMacPort.__init__):
      * Scripts/webkitpy/layout_tests/port/mac.py:
      (MacPort):
      * Scripts/webkitpy/layout_tests/port/win.py:
      (WinPort):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f5b724e
    • commit-queue@webkit.org's avatar
      [chromium] Correctly recreate DrawingBuffer on lost device · b2475b03
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75912
      
      Patch by John Bauman <jbauman@chromium.org> on 2012-01-10
      Reviewed by Kenneth Russell.
      
      Create new drawing buffer on new context, not old lost context. Also,
      make sure to bind new drawing buffer.
      
      No new tests.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::maybeRestoreContext):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2475b03
    • rniwa@webkit.org's avatar
      Snow Leopard build fix. · 602f8e58
      rniwa@webkit.org authored
      * UIProcess/API/mac/PageClientImpl.h:
      * UIProcess/API/mac/PageClientImpl.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      602f8e58
    • bbudge@chromium.org's avatar
      Allow plugins to add rotate items to browser's context menu. Adds a new · e9160ee4
      bbudge@chromium.org authored
      WebPluginAction struct, with rotate types.
      https://bugs.webkit.org/show_bug.cgi?id=75645
      
      Reviewed by Darin Fisher.
      
      * WebKit.gyp:
      * public/WebContextMenuData.h:
      * public/WebPlugin.h:
      (WebKit::WebPlugin::canRotateView):
      (WebKit::WebPlugin::rotateView):
      * public/WebPluginAction.h: Added.
      (WebKit::WebPluginAction::WebPluginAction):
      * public/WebView.h:
      * src/ContextMenuClientImpl.cpp:
      (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::performMediaPlayerAction):
      (WebKit::WebViewImpl::performPluginAction):
      * src/WebViewImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9160ee4
    • andersca@apple.com's avatar
      Source/JavaScriptCore: Hang opening movie that requires authentication · 222a6311
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75989
      <rdar://problem/9601915>
      
      Reviewed by Sam Weinig.
      
      * wtf/Functional.h:
      Add function wrapper for a function that takes three parameters.
      
      Source/WebKit2: Hang opening movie that requires authentication
      https://bugs.webkit.org/show_bug.cgi?id=75989
      
      Reviewed by Sam Weinig.
      
      Change the way the keychain calls are processed to avoid deadlocks:
      
      1. When a keychain call is made, the web process sends an asynchronous request message to the UI process,
         avoiding the need to bounce calls to the main thread (since CoreIPC only allows sending
         synchronous messages from the main thread). Incidentally, this fixes <rdar://problem/9428041>.
      2. The Web Process now waits on the calling thread, (for a condition variable to be signalled) for a reply message.
      3. The UI process handles the incoming message request message on the connection work queue and uses
         dispatch_async to a global dispatch queue where the keychain call is made.
         We use a global queue to prevent the connection work queue from blocking on the call.
      4. The UI process then sends an asynchronous reply message back to the web process. This message is sent from
         the global dispatch queue.
      5. The Web Process handles the reply message on the connection queue, adds the reply to a map and signals
         the condition variable that the web process is waiting on and the thread that made the keychain call
         can resume execution.
      
      * Shared/mac/SecItemRequestData.cpp:
      (WebKit::SecItemRequestData::SecItemRequestData):
      (WebKit::SecItemRequestData::encode):
      (WebKit::SecItemRequestData::decode):
      * Shared/mac/SecItemRequestData.h:
      (WebKit::SecItemRequestData::type):
      Add a type to SecItemRequestData and encode/decode it.
      
      * Shared/mac/SecItemResponseData.h:
      (WebKit::SecItemResponseData::resultObject):
      Make this return a reference so we can call leakRef() on it.
      
      * Shared/mac/SecKeychainItemRequestData.cpp:
      (WebKit::SecKeychainItemRequestData::SecKeychainItemRequestData):
      (WebKit::SecKeychainItemRequestData::~SecKeychainItemRequestData):
      (WebKit::SecKeychainItemRequestData::attributeList):
      (WebKit::SecKeychainItemRequestData::encode):
      (WebKit::SecKeychainItemRequestData::decode):
      * Shared/mac/SecKeychainItemRequestData.h:
      (WebKit::SecKeychainItemRequestData::type):
      Add a type, and put the OwnPtr and OwnArrayPtr in a RefCounted struct so we can
      correctly copy this object.
      
      * UIProcess/WebConnectionToWebProcess.cpp:
      (WebKit::WebConnectionToWebProcess::WebConnectionToWebProcess):
      Don't open the connection here, the WebProcessProxy object needs to add itself as a queue client before opening.
      
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::disconnect):
      Remove the WebProcessProxy object from the list of connection queue clients.
      
      (WebKit::WebProcessProxy::didReceiveMessageOnConnectionWorkQueue):
      Call didReceiveWebProcessProxyMessageOnConnectionWorkQueue.
      
      (WebKit::WebProcessProxy::didFinishLaunching):
      Add the WebProcessProxy as a queue client and open the connection.
      
      * UIProcess/WebProcessProxy.h:
      WebProcessProxy should inherit from CoreIPC::Connection::QueueClient. Replace all individual keychain
      handler functions with two generic functions, secItemRequest and secKeychainItemRequest.
      
      * UIProcess/WebProcessProxy.messages.in:
      Replace individual keychain messages with SecItemRequest and SecKeychainItemRequest messages.
      
      * UIProcess/mac/WebProcessProxyMac.mm:
      (WebKit::handleSecItemRequest):
      Call the right SecItem function depending on the request type and send back the result.
      
      (WebKit::WebProcessProxy::secItemRequest):
      Dispatch handleSecItemRequest on a global dispatch queue.
      
      (WebKit::handleSecKeychainItemRequest):
      Call the right SecKeychainItem function depending on the request type and send back the result.
      
      (WebKit::WebProcessProxy::secKeychainItemRequest):
      Dispatch handleSecKeychainItemRequest on a global dispatch queue.
      
      * WebKit2.xcodeproj/project.pbxproj:
      Update for added/removed files.
      
      * WebProcess/WebProcess.h:
      Add secItemResponse and secKeychainItemResponse message handlers.
      
      * WebProcess/WebProcess.messages.in:
      Add SecItemResponse and SecKeychainItemResponse messages.
      
      * WebProcess/mac/CoreIPCClientRunLoop.h:
      * WebProcess/mac/CoreIPCClientRunLoop.mm:
      This is no longer needed.
      
      * WebProcess/mac/KeychainItemShimMethods.h:
      * WebProcess/mac/KeychainItemShimMethods.mm:
      (WebKit::managedAttributeLists):
      Make this an atomically initialized static.
      
      (WebKit::managedAttributeListsMutex):
      Add an atomically initialized mutex.
      
      (WebKit::allocateAttributeListContents):
      Use the managedAttributeListsMutex to make this function callable from any thread.
      
      (WebKit::managedKeychainItemContents):
      Make this an atomically initialized static.
      
      (WebKit::managedKeychainItemContentsMutex):
      Add an atomically initialized mutex.
      
      (WebKit::allocateKeychainItemContentData):
      Use the managedAttributeListsMutex to make this function callable from any thread.
      
      (WebKit::webFreeAttributeListContent):
      Use locking so this can be called from any thread.
      
      (WebKit::webFreeKeychainItemContent):
      Ditto.
      
      (WebKit::responseMap):
      Add responseMap thread-safe singleton for holding incoming responses.
      
      (WebKit::generateSecKeychainItemRequestID):
      Return a unique item request id, using OSAtomicIncrement64Barrier for atomicity.
      
      (WebKit::didReceiveSecKeychainItemResponse):
      Pass the response over the response map.
      
      (WebKit::sendSeqKeychainItemRequest):
      Send a request message and wait for a response using ResponseMap::waitForResponse.
      
      (WebKit::webSecKeychainItemCopyContent):
      Send a request using sendSeqKeychainItemRequest.
      
      (WebKit::webSecKeychainItemCreateFromContent):
      Ditto.
      
      (WebKit::webSecKeychainItemModifyContent):
      Ditto.
      
      * WebProcess/mac/KeychainShimResponseMap.h:
      New thread-safe helper class that stores a map of responses and lets client wait for a response
      with a given ID.
      
      (KeychainShimResponseMap::waitForResponse):
      Wait until the response is available in the hash map, then return it.
      
      (KeychainShimResponseMap::didReceiveResponse):
      Add the response to the hash map and signal the condition variable.
      
      * WebProcess/mac/SecItemShimMethods.h:
      * WebProcess/mac/SecItemShimMethods.mm:
      (WebKit::responseMap):
      Add responseMap thread-safe singleton for holding incoming responses.
      
      (WebKit::generateSecItemRequestID):
      Return a unique item request id, using OSAtomicIncrement64Barrier for atomicity.
      
      (WebKit::didReceiveSecItemResponse):
      Pass the response over the response map.
      
      (WebKit::sendSeqItemRequest):
      Send a request message and wait for a response using ResponseMap::waitForResponse.
      
      (WebKit::webSecItemCopyMatching):
      Send a request using sendSeqItemRequest.
      
      (WebKit::webSecItemAdd):
      Ditto.
      
      (WebKit::webSecItemUpdate):
      Ditto.
      
      (WebKit::webSecItemDelete):
      Ditto.
      
      * WebProcess/mac/WebProcessMac.mm:
      (WebKit::WebProcess::secItemResponse):
      Call didReceiveSecItemResponse.
      
      (WebKit::WebProcess::secKeychainItemResponse):
      Call didReceiveSecKeychainItemResponse.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      222a6311
    • senorblanco@chromium.org's avatar
      Source/WebCore: [Chromium] Partial revert of r104566, since it breaks the shared · 44714707
      senorblanco@chromium.org authored
      library build on Windows.
      https://bugs.webkit.org/show_bug.cgi?id=75994
      
      Reviewed by Dmitry Titov.
      
      Covered by SVG feColorMatrix tests (see LayoutTests/ChangeLog).
      
      * WebCore.gypi:
      * platform/graphics/filters/FEColorMatrix.h:
      
      LayoutTests: Suppress failures caused by partial revert of r104566.
      https://bugs.webkit.org/show_bug.cgi?id=75994
      
      Reviewed by Dmitry Titov.
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44714707
    • dimich@chromium.org's avatar
      [Chromium] Unreviewed, rebaseline tests after r104575 and r104588. · f67ac7d0
      dimich@chromium.org authored
      * platform/chromium-mac-leopard/fast/layers/scroll-with-transform-composited-layer-expected.png: Added.
      * platform/chromium-mac-leopard/fast/layers/scroll-with-transform-layer-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f67ac7d0
    • fpizlo@apple.com's avatar
      CodeBlock::m_numParameters should be encapsulated · c4d5496c
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75985
      <rdar://problem/10671020>
      
      Reviewed by Oliver Hunt.
              
      Encapsulated CodeBlock::m_numParameters and hooked argument profile creation
      into it.  This appears to be performance neutral.
      
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::CodeBlock):
      (JSC::CodeBlock::setNumParameters):
      (JSC::CodeBlock::addParameter):
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::numParameters):
      (JSC::CodeBlock::addressOfNumParameters):
      (JSC::CodeBlock::offsetOfNumParameters):
      (JSC::CodeBlock::numberOfArgumentValueProfiles):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::BytecodeGenerator):
      (JSC::BytecodeGenerator::addParameter):
      (JSC::BytecodeGenerator::emitReturn):
      * dfg/DFGAbstractState.cpp:
      (JSC::DFG::AbstractState::AbstractState):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::ByteCodeParser):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGGraph.cpp:
      (JSC::DFG::Graph::predictArgumentTypes):
      * dfg/DFGJITCompiler.cpp:
      (JSC::DFG::JITCompiler::compileFunction):
      * dfg/DFGOperations.cpp:
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::checkArgumentTypes):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::SpeculativeJIT):
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::slideRegisterWindowForCall):
      (JSC::Interpreter::dumpRegisters):
      (JSC::Interpreter::execute):
      (JSC::Interpreter::prepareForRepeatCall):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::arityCheckFor):
      (JSC::lazyLinkFor):
      * runtime/Executable.cpp:
      (JSC::FunctionExecutable::compileForCallInternal):
      (JSC::FunctionExecutable::compileForConstructInternal):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4d5496c
    • dimich@chromium.org's avatar
      [Chromium] Unreviewed test expectations update. This test needs a new baseline for Vista. · 4a3f40c8
      dimich@chromium.org authored
      * platform/chromium-win-vista/fast/text/unicode-variation-selector-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a3f40c8
    • simon.fraser@apple.com's avatar
      Clean up RenderLayerBacking code that looks for the body · bb5490fe
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=39502
      
      Source/WebCore:
      
      Reviewed by Dave Hyatt.
      
      Consolidate code that propagates the <body> background to the
      root, adding a utility method on RenderObject that is called
      by RenderBox and RenderLayerBacking.
      
      Removed an unused method in RenderLayerBacking.
      
      The compositiong changes are not testable, since rendererBackgroundColor()
      is only used by fullscreen at present.
      
      Tests: fast/backgrounds/root-background-propagation.html
             fast/backgrounds/root-background-propagation2.html
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::paintRootBoxFillLayers):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::rendererBackgroundColor):
      * rendering/RenderLayerBacking.h:
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::rendererForRootBackground):
      * rendering/RenderObject.h:
      
      LayoutTests:
      
      Reviewed by Dave Hyatt.
      
      Tests for propagation of the <body> background to the root.
      
      * fast/backgrounds/root-background-propagation-expected.png: Added.
      * fast/backgrounds/root-background-propagation-expected.txt: Added.
      * fast/backgrounds/root-background-propagation.html: Added.
      * fast/backgrounds/root-background-propagation2-expected.png: Added.
      * fast/backgrounds/root-background-propagation2-expected.txt: Added.
      * fast/backgrounds/root-background-propagation2.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb5490fe
    • ojan@chromium.org's avatar
      Layout test rebaselines after r104606. · 6e7b86cc
      ojan@chromium.org authored
      * platform/chromium-win/fast/harness/results-expected.txt: Renamed from LayoutTests/platform/chromium/fast/harness/results-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e7b86cc
    • commit-queue@webkit.org's avatar
      [chromium] Create iterators for the RenderSurface-Layer tree · 380fc24a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=74203
      
      Patch by Dana Jansens <danakj@chromium.org> on 2012-01-10
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      New unit tests: CCLayerIteratorTest.cpp
      
      * WebCore.gypi:
      * platform/graphics/chromium/RenderSurfaceChromium.h:
      * platform/graphics/chromium/cc/CCLayerIterator.cpp: Added.
      (WebCore::CCLayerIteratorActions::BackToFront::begin):
      (WebCore::CCLayerIteratorActions::BackToFront::end):
      (WebCore::CCLayerIteratorActions::BackToFront::next):
      (WebCore::CCLayerIteratorActions::FrontToBack::begin):
      (WebCore::CCLayerIteratorActions::FrontToBack::end):
      (WebCore::CCLayerIteratorActions::FrontToBack::next):
      (WebCore::CCLayerIteratorActions::FrontToBack::goToHighestInSubtree):
      * platform/graphics/chromium/cc/CCLayerIterator.h: Added.
      (WebCore::CCLayerIterator::CCLayerIterator):
      (WebCore::CCLayerIterator::begin):
      (WebCore::CCLayerIterator::end):
      (WebCore::CCLayerIterator::operator++):
      (WebCore::CCLayerIterator::operator==):
      (WebCore::CCLayerIterator::operator!=):
      (WebCore::CCLayerIterator::operator->):
      (WebCore::CCLayerIterator::operator*):
      (WebCore::CCLayerIterator::representsTargetRenderSurface):
      (WebCore::CCLayerIterator::representsContributingRenderSurface):
      (WebCore::CCLayerIterator::representsItself):
      (WebCore::CCLayerIterator::targetRenderSurfaceLayer):
      * platform/graphics/chromium/cc/CCLayerIteratorPosition.h: Added.
      (WebCore::CCLayerIteratorPosition::CCLayerIteratorPosition):
      (WebCore::CCLayerIteratorPosition::currentLayer):
      (WebCore::CCLayerIteratorPosition::currentLayerRepresentsContributingRenderSurface):
      (WebCore::CCLayerIteratorPosition::currentLayerRepresentsTargetRenderSurface):
      (WebCore::CCLayerIteratorPosition::targetRenderSurfaceLayer):
      (WebCore::CCLayerIteratorPosition::targetRenderSurface):
      (WebCore::CCLayerIteratorPosition::targetRenderSurfaceChildren):
      (WebCore::CCLayerIteratorPosition::operator==):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::paintLayerContents):
      (WebCore::CCLayerTreeHost::updateCompositorResources):
      * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
      (WebCore::walkLayersAndCalculateVisibleLayerRects):
      * platform/graphics/chromium/cc/CCRenderSurface.h:
      
      Source/WebKit/chromium:
      
      * WebKit.gypi:
      * tests/CCLayerIteratorTest.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      380fc24a
    • ojan@chromium.org's avatar
      Rename flex-align to flex-item-align. · ff1238c1
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75929
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      The spec has changed and now flex-align will be set on
      the flexbox itself.
      
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator EFlexAlign):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/CSSStyleApplyProperty.cpp:
      (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::applyProperty):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::sizesToIntrinsicLogicalWidth):
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::layoutAndPlaceChildren):
      (WebCore::RenderFlexibleBox::alignChildren):
      * rendering/style/RenderStyle.h:
      (WebCore::RenderStyleBitfields::flexItemAlign):
      (WebCore::RenderStyleBitfields::setFlexItemAlign):
      (WebCore::RenderStyleBitfields::initialFlexItemAlign):
      * rendering/style/RenderStyleConstants.h:
      * rendering/style/StyleFlexibleBoxData.cpp:
      (WebCore::StyleFlexibleBoxData::StyleFlexibleBoxData):
      (WebCore::StyleFlexibleBoxData::operator==):
      * rendering/style/StyleFlexibleBoxData.h:
      
      LayoutTests:
      
      * css3/flexbox/css-properties-expected.txt:
      * css3/flexbox/flex-align-column.html:
      * css3/flexbox/flex-align-vertical-writing-mode.html:
      * css3/flexbox/flex-align.html:
      * css3/flexbox/line-wrapping.html:
      * css3/flexbox/orthogonal-flex-directions.html:
      * css3/flexbox/script-tests/css-properties.js:
      * fast/css/getComputedStyle/computed-style-expected.txt:
      * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
      * svg/css/getComputedStyle-basic-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff1238c1
    • eric.carlson@apple.com's avatar
      Replace TextTrackCue "getCueAsSource" method with "text" attribute · 40e816e8
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75646
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      Test: media/track/track-cue-mutable-text.html
      
      * html/HTMLMediaElement.h: getCueAsSource() -> text().
      
      * html/TextTrackCue.cpp:
      (WebCore::TextTrackCue::setText): New. Set cue text and clear the document fragment.
      (WebCore::TextTrackCue::getCueAsHTML): Allocate the document fragment if it doesn't exist.
      * html/TextTrackCue.h:
      (WebCore::TextTrackCue::text):
      * html/TextTrackCue.idl: getCueAsSource() -> text().
      
      * html/shadow/MediaControlRootElement.cpp:
      (WebCore::MediaControlRootElement::updateTextTrackDisplay): getCueAsSource() -> text().
      * html/shadow/MediaControlRootElementChromium.cpp:
      (WebCore::MediaControlRootElementChromium::updateTextTrackDisplay): getCueAsSource() -> text().
      
      * html/track/WebVTTParser.cpp:
      (WebCore::WebVTTParser::collectCueText): processCueText is dead, long live createNewCue.
      (WebCore::WebVTTParser::createDocumentFragmentFromCueText): New, split out of processCueText.
          Create a document fragment from the String argument.
      (WebCore::WebVTTParser::createNewCue): Split out of processCueText.
      (WebCore::WebVTTParser::constructTreeFromToken): Add a comment pointing to the spec section
          with the rules for DOM construction.
      * html/track/WebVTTParser.h:
      
      LayoutTests: 
      
      * media/track/track-cue-mutable-text-expected.txt: Added.
      * media/track/track-cue-mutable-text.html: Added. New test for mutable cue text.
      * media/track/track-cue-nothing-to-render-expected.txt: getCueAsSource() -> text.
      * media/track/track-cue-nothing-to-render.html: Ditto.
      * media/track/track-cue-rendering-expected.txt: Ditto.
      * media/track/track-cue-rendering.html: Ditto.
      * media/track/track-webvtt-tc001-utf8-expected.txt: Ditto.
      * media/track/track-webvtt-tc001-utf8.html: Ditto.
      * media/track/track-webvtt-tc002-bom-expected.txt: Ditto.
      * media/track/track-webvtt-tc002-bom.html: Ditto.
      * media/track/track-webvtt-tc003-newlines-expected.txt: Ditto.
      * media/track/track-webvtt-tc003-newlines.html: Ditto.
      * media/track/track-webvtt-tc004-magic-header-expected.txt: Ditto.
      * media/track/track-webvtt-tc004-magic-header.html: Ditto.
      * media/track/track-webvtt-tc005-header-comment-expected.txt: Ditto.
      * media/track/track-webvtt-tc005-header-comment.html: Ditto.
      * media/track/track-webvtt-tc006-cue-identifiers-expected.txt: Ditto.
      * media/track/track-webvtt-tc006-cue-identifiers.html: Ditto.
      * media/track/track-webvtt-tc007-cue-no-id-expected.txt: Ditto.
      * media/track/track-webvtt-tc007-cue-no-id.html: Ditto.
      * media/track/track-webvtt-tc008-timings-no-hours-expected.txt: Ditto.
      * media/track/track-webvtt-tc008-timings-no-hours.html: Ditto.
      * media/track/track-webvtt-tc009-timings-hour-expected.txt: Ditto.
      * media/track/track-webvtt-tc009-timings-hour.html: Ditto.
      * media/track/track-webvtt-tc011-blank-lines-expected.txt: Ditto.
      * media/track/track-webvtt-tc011-blank-lines.html: Ditto.
      * media/track/track-webvtt-tc028-unsupported-markup-expected.txt: Ditto.
      * media/track/track-webvtt-tc028-unsupported-markup.html: Ditto.
      * platform/mac/fast/dom/Window/window-properties-expected.txt: Remove getCueAsSource.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40e816e8
    • andersca@apple.com's avatar
      DispatchOnConnectionQueue messages should have a Connection parameter · 318d98ed
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75986
      
      Reviewed by Adam Roben.
      
      Message handlers for messages with the DispatchOnConnectionQueue should have a CoreIPC::Connection
      parameter, making it easier to send messages back over that connection.
      
      * Platform/CoreIPC/HandleMessage.h:
      (CoreIPC::callMemberFunction):
      (CoreIPC::handleMessageOnConnectionQueue):
      * Scripts/webkit2/messages.py:
      (async_case_statement):
      (generate_message_handler):
      * Scripts/webkit2/messages_unittest.py:
      * WebProcess/WebPage/EventDispatcher.cpp:
      (WebKit::EventDispatcher::wheelEvent):
      (WebKit::EventDispatcher::gestureEvent):
      * WebProcess/WebPage/EventDispatcher.h:
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::pluginProcessCrashed):
      * WebProcess/WebProcess.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      318d98ed
    • cmarrin@apple.com's avatar
      Turn off the FilterTrigger in WebKit and WebKit2 · a016f069
      cmarrin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75914
      
      Reviewed by Simon Fraser.
      
      Source/WebKit/mac:
      
      Implement allowedCompositingTriggers to turn on all compositing triggers except FilterTrigger.
      
      * WebCoreSupport/WebChromeClient.h:
      (WebChromeClient::allowedCompositingTriggers):
      
      Source/WebKit2:
      
      Implement allowedCompositingTriggers to turn on all compositing triggers except FilterTrigger.
      
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      (WebKit::WebChromeClient::allowedCompositingTriggers):
      
      LayoutTests:
      
      Test to make sure compositing layers are off for filters
      
      * css3/filters/should-not-have-compositing-layer-expected.txt: Added.
      * css3/filters/should-not-have-compositing-layer.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a016f069
    • aroben@apple.com's avatar
      Make it possible to type data: URLs into MiniBrowser on Windows · ea7f3f4d
      aroben@apple.com authored
      Fixes <http://webkit.org/b/75084> Crash when trying to navigate to a data: URL in
      MiniBrowser on Windows
      
      Reviewed by Darin Adler.
      
      * MiniBrowser/win/BrowserWindow.cpp:
      (BrowserWindow::handleMessage): Instead of checking for an "http://" prefix when deciding
      whether to prepend "http://", just look for whether the typed URL contains a colon. If it
      does, we assume it already has a scheme and don't modify it.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea7f3f4d
    • barraclough@apple.com's avatar
      Build fix following https://bugs.webkit.org/show_bug.cgi?id=75935 · 4d2fdd84
      barraclough@apple.com authored
      Fix 32-bit builds.
      
      * runtime/JSArray.cpp:
      (JSC::JSArray::getOwnPropertyNames):
      (JSC::JSArray::setLength):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d2fdd84
    • jer.noble@apple.com's avatar
      REGRESSION (r102024): Having the Bing homepage open prevents idle sleep · 044eef7a
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75972
      
      Reviewed by Oliver Hunt.
      
      No new tests; no testing infrastructure exists to test display sleep assertions.
      
      Only disable idle and display sleep when a video element is not paused, not looping, and
      has both a video and audio track.
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::mediaPlayerRateChanged): Factor into updateDisableSleep() and
          shouldDisplaySleep().
      (WebCore::HTMLMediaElement::setLoop): Ditto.
      (WebCore::HTMLMediaElement::attributeChanged): Ditto.
      (WebCore::HTMLMediaElement::updateDisableSleep):
      (WebCore::HTMLMediaElement::shouldDisableSleep):
      * html/HTMLMediaElement.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      044eef7a
    • commit-queue@webkit.org's avatar
      [Chromium] Rebaseline after r104585 · 6ba2fd4d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75981
      
      Unreviewed Chromium expectations update.
      
      Patch by Stephen Chenney <schenney@chromium.org> on 2012-01-10
      
      * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
      * platform/chromium-linux/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
      * platform/chromium-linux/svg/custom/shapes-supporting-markers-expected.png:
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
      * platform/chromium-mac-snowleopard/svg/custom/shapes-supporting-markers-expected.png:
      * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
      * platform/chromium-win/svg/W3C-SVG-1.1/painting-marker-03-f-expected.png:
      * platform/chromium-win/svg/custom/shapes-supporting-markers-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ba2fd4d
    • noel.gordon@gmail.com's avatar
      [chromium] Move inspector tests into the inspector test group · 81e416aa
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75926
      
      Reviewed by Adam Barth.
      
      And mark http/tests/inspector/resource-tree/resource-tree-document-url.html as flaky.
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81e416aa
    • mdelaney@apple.com's avatar
      [Mac] Accelerate canvas layers with the same logic as accelerating the canvas itself · bdaa0e7e
      mdelaney@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75921
      
      Reviewed by Simon Fraser.
      
      No new tests. Does not affect detectable behavior.
      
      * rendering/RenderLayerCompositor.cpp: Use canvas's shouldAccelerate to avoid asking
      uninitialized canvas's if they're accelerated or not.
      (WebCore::RenderLayerCompositor::updateBacking):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdaa0e7e
    • aroben@apple.com's avatar
      Make MiniBrowser automatically escape invalid URL characters typed in its URL field · 833cf91e
      aroben@apple.com authored
      Fixes <http://webkit.org/b/75086> Crash when typing a data: URL containing double-quotes in
      MiniBrowser on Windows
      
      Reviewed by Darin Adler.
      
      * MiniBrowser/win/BrowserView.cpp:
      (BrowserView::goToURL): Pass the typed string through
      CFURLCreateStringByAddingPercentEscapes before trying to create a URL from it.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      833cf91e
    • benwells@chromium.org's avatar
      Adding myself (benwells) to committers.py · bc4c833f
      benwells@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75971
      
      Reviewed by Ojan Vafai.
      
      * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc4c833f
    • mitz@apple.com's avatar
      Change -[WebHistoryItem copyWithZone:] to not use NSCopyObject() · 97fa53f5
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75980
      
      Reviewed by Mark Rowe.
      
      * History/WebHistoryItem.mm:
      (-[WebHistoryItem copyWithZone:]): Replaced NSCopyObject() with
      -alloc, -initWithWebCoreHistoryItem:.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97fa53f5
    • barraclough@apple.com's avatar
      Windows build fix. · b80c9f23
      barraclough@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b80c9f23
    • commit-queue@webkit.org's avatar
      [Chromium] Do not recreate texture updater for image layer if one exists. · ad5cf230
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75589
      
      Patch by Daniel Sievers <sievers@chromium.org> on 2012-01-10
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Test: platform/chromium/compositing/img-layer-grow.html
      
      * platform/graphics/chromium/ImageLayerChromium.cpp:
      (WebCore::ImageLayerChromium::createTextureUpdater):
      
      LayoutTests:
      
      * platform/chromium/compositing/img-layer-grow-expected.png: Added.
      * platform/chromium/compositing/img-layer-grow-expected.txt: Added.
      * platform/chromium/compositing/img-layer-grow.html: Added.
      * platform/chromium/compositing/resources/apple.jpg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad5cf230
    • reed@google.com's avatar
      [skia] not all convex paths are convex, so recompute convexity for the problematic ones · 05bc4214
      reed@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75960
      
      Reviewed by Stephen White.
      
      No new tests.
      See related chrome issue
      http://code.google.com/p/chromium/issues/detail?id=108605
      
      * platform/graphics/skia/GraphicsContextSkia.cpp:
      (WebCore::setPathFromConvexPoints):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05bc4214
    • senorblanco@chromium.org's avatar
      [chromium] Unreviewed gardening. · 07e8582f
      senorblanco@chromium.org authored
              
      New baselines for SVG feColorMatrix tests after r104571.
      
      * platform/chromium-linux/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
      * platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
      * platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
      * platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
      * platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
      * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png: Added.
      * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png: Added.
      * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png: Added.
      * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png: Added.
      * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
      * platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/filters/feColorMatrix-offset-expected.png:
      * platform/chromium-mac-snowleopard/svg/filters/feColorMatrix-saturate-expected.png: Added.
      * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png: Removed.
      * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png: Removed.
      * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png: Removed.
      * platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png: Removed.
      * platform/chromium-mac/svg/filters/feColorMatrix-saturate-expected.png: Removed.
      * platform/chromium-win/svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
      * platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
      * platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
      * platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
      * platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
      * platform/chromium-win/svg/filters/feColorMatrix-offset-expected.png:
      * platform/chromium-win/svg/filters/feColorMatrix-saturate-expected.png:
      * platform/chromium/test_expectations.txt:
      * platform/mac/svg/filters/feColorMatrix-saturate-expected.txt: Added.
      * svg/filters/feColorMatrix-saturate-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07e8582f
    • jamesr@google.com's avatar
      [chromium] Remove old WebMimeRegistry.h forwarding header · 2f089f81
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75979
      
      Reviewed by Ryosuke Niwa.
      
      This isn't needed any more.
      
      * WebKit.gyp:
      * public/platform/WebMimeRegistry.h: Removed.
      * src/FrameLoaderClientImpl.cpp:
      * src/PlatformSupport.cpp:
      * src/WebMediaPlayerClientImpl.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f089f81
    • simon.fraser@apple.com's avatar
      Improve keyboard navigation in layout test results · 49f643e2
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75901
      
      Reviewed by Ojan Vafai.
      
      Add support for keyboard shortcuts for navigating the list of tests,
      and for flagging tests.
      
      'i', 'k', 'k', and 'l' go foward, back, to first and to last, denoting
      the current test with a red expand indicator.
      
      'e', 'c' and 't' expand, collapse and toggle the current test.
      
      'f' toggled a test as "flagged", which adds it to a copyable list
      at the bottom of the document. The user can use flagging for whatever they want.
      
      * fast/harness/resources/results-test.js:
      (runTests):
      (runTests.isCollapsed):
      ():
      * fast/harness/results-expected.txt:
      * fast/harness/results.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49f643e2