1. 21 Nov, 2013 40 commits
    • commit-queue@webkit.org's avatar
      Remove ENABLE_WORKERS · f0eff209
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105784
      
      .:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/WebCore:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      Source/WebKit:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      
      Source/WebKit/efl:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_memory_cache_clear):
      
      Source/WebKit/win:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * WebWorkersPrivate.cpp:
      (WebWorkersPrivate::workerThreadCount):
      
      Source/WTF:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * wtf/FeatureDefines.h:
      * wtf/nix/FeatureDefinesNix.h:
      
      Tools:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * Scripts/webkitperl/FeatureList.pm:
      
      WebKitLibraries:
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-11-21
      Reviewed by Darin Adler.
      
      * win/tools/vsprops/FeatureDefines.props:
      * win/tools/vsprops/FeatureDefinesCairo.props:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0eff209
    • alex.christensen@flexsim.com's avatar
      [Win] Unreviewed build fix after r159632. · eca09750
      alex.christensen@flexsim.com authored
      * platform/network/curl/SSLHandle.cpp:
      (WebCore::certVerifyCallback):
      Fixed template syntax.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eca09750
    • fpizlo@apple.com's avatar
      Fix a typo (requriements->requirements). · bae5e2c5
      fpizlo@apple.com authored
      * runtime/StackAlignment.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bae5e2c5
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Fix build after r159656 · 5c581fb5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124755
      
      Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-11-21
      Reviewed by Gyuyoung Kim.
      
      Page title was moved to page load state.
      
      * UIProcess/InspectorServer/efl/WebInspectorServerEfl.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c581fb5
    • alex.christensen@flexsim.com's avatar
      Unreviewed build fix. · d7cbffe4
      alex.christensen@flexsim.com authored
      * src/libGLESv2/Constants.h: Added from checkout a60e0805721f62c28a55faf2df74472cc5fc91fc.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7cbffe4
    • betravis@adobe.com's avatar
      Web Inspector: [CSS Shapes] Refactor highlighting code to decrease Shapes API surface · 3239a7c0
      betravis@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124737
      
      Reviewed by Timothy Hatcher.
      
      Source/WebCore:
      
      Add a virtual method to Shapes, buildPath, that can be used to build the
      path (in the Shape coordinate system) for display in the Inspector. This allows us
      to remove methods such as type(), polygon(), and logicalRx/Ry() which exposed the
      inner workings of the Shapes classes. Also covers the addition of the BoxShape type.
      
      Refactoring, existing test is inspector-protocol/model/highlight-shape-outside.html.
      
      * inspector/InspectorOverlay.cpp:
      (WebCore::appendPathCommandAndPoints): Points need to be translated from shape space
      to renderer space using ShapeInfo.
      (WebCore::buildObjectForShapeOutside): Add the ShapeOutsideInfo to the path info struct.
      * rendering/shapes/BoxShape.cpp:
      (WebCore::BoxShape::buildPath): Build the path for a BoxShape.
      * rendering/shapes/BoxShape.h:
      * rendering/shapes/PolygonShape.cpp:
      (WebCore::PolygonShape::buildPath): Build the path for a PolygonShape.
      * rendering/shapes/PolygonShape.h:
      * rendering/shapes/RasterShape.h:
      * rendering/shapes/RectangleShape.cpp:
      (WebCore::RectangleShape::buildPath): Build the path for a RectangleShape.
      * rendering/shapes/RectangleShape.h:
      * rendering/shapes/Shape.h:
      
      LayoutTests:
      
      The shapes paths are now drawn in shape-coordinate space before being translated to
      renderer space. With different writing modes, shapes may have their coordinates
      translated. For example, a rectangle specified as four points [top left, top right,
      bottom right, bottom left] in vertical-lr space would appear as [top left, bottom left,
      bottom right, top right] in horizontal-tb space. Adjusting the previous tests, and
      adding a test for the new box value.
      
      * inspector-protocol/model/highlight-shape-outside-expected.txt:
      * inspector-protocol/model/highlight-shape-outside.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3239a7c0
    • mark.lam@apple.com's avatar
      CodeBlock::m_numCalleeRegisters need to honor native stack alignment. · c4ed0fc6
      mark.lam@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124754.
      
      Reviewed by Filip Pizlo.
      
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::newRegister):
      * dfg/DFGVirtualRegisterAllocationPhase.cpp:
      (JSC::DFG::VirtualRegisterAllocationPhase::run):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4ed0fc6
    • mrowe@apple.com's avatar
      <https://webkit.org/b/124702> Stop overriding VALID_ARCHS. · 836db138
      mrowe@apple.com authored
      All modern versions of Xcode set it appropriately for our needs.
      
      Reviewed by Alexey Proskuryakov.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      
      Source/WebInspectorUI:
      
      * Configurations/Base.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      
      Tools:
      
      * MiniBrowser/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      836db138
    • ryumiel@company100.net's avatar
      [GTK] Unreviewed buildfix after r159614 and r159656. · 99adce44
      ryumiel@company100.net authored
      Source/WebCore:
      
      * bindings/gobject/WebKitDOMCustom.cpp: Add missing header
      
      Source/WebKit2:
      
      * UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:
      (WebKit::WebInspectorServer::buildPageList): Use the page load state to get page title.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99adce44
    • commit-queue@webkit.org's avatar
      Fix WinCairo unreachable code warnings in SimpleLineLayout.cpp · 32f52b52
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124704
      
      Patch by Laszlo Vidacs <lac@inf.u-szeged.hu> on 2013-11-21
      Reviewed by Antti Koivisto.
      
      Fix unreachable code warnings using conditional directives.
      
      * rendering/SimpleLineLayout.cpp:
      (WebCore::SimpleLineLayout::canUseFor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32f52b52
    • mrowe@apple.com's avatar
      <https://webkit.org/b/124701> Fix an error in a few Xcode configuration setting files. · 2a0e83e0
      mrowe@apple.com authored
      Reviewed by Alexey Proskuryakov.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      
      Source/ThirdParty/ANGLE:
      
      * Configurations/Base.xcconfig:
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      
      Source/WTF:
      
      * Configurations/Base.xcconfig:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a0e83e0
    • mrowe@apple.com's avatar
      <https://webkit.org/b/124700> Fix some deprecation warnings. · 01352df3
      mrowe@apple.com authored
      Reviewed by Anders Carlsson.
      
      Source/WebCore:
      
      * platform/mac/HTMLConverter.mm:
      (fileWrapperForURL): Move off a deprecated NSFileWrapper method.
      
      Source/WebKit/mac:
      
      * Plugins/WebNetscapePluginStream.mm:
      (WebNetscapePluginStream::startStream): Move off a deprecated NSData method.
      * WebView/WebDataSource.mm:
      (-[WebDataSource _fileWrapperForURL:]): Move off a deprecated NSFileWrapper method.
      * WebView/WebHTMLView.mm:
      (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]): Ditto.
      
      Source/WebKit2:
      
      * UIProcess/API/mac/WKView.mm:
      (-[WKView namesOfPromisedFilesDroppedAtDestination:]): Move off a deprecated NSFileWrapper method.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01352df3
    • andersca@apple.com's avatar
      Didn't mean to commit this. · 35afcabb
      andersca@apple.com authored
      * UIProcess/PageLoadState.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35afcabb
    • bfulgham@apple.com's avatar
      Unreviewed gardening to hide annoying *.user files when. · c50f172a
      bfulgham@apple.com authored
      * ANGLE.vcxproj: Added property svn:ignore.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c50f172a
    • andersca@apple.com's avatar
      Move page title handling to the page load state · 72bc5df2
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124748
      
      Reviewed by Dan Bernstein.
      
      * UIProcess/API/C/WKPage.cpp:
      (WKPageCopyTitle):
      * UIProcess/PageLoadState.cpp:
      (WebKit::PageLoadState::reset):
      (WebKit::PageLoadState::didCommitLoad):
      (WebKit::PageLoadState::title):
      (WebKit::PageLoadState::setTitle):
      * UIProcess/PageLoadState.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::didReceiveTitleForFrame):
      * UIProcess/WebPageProxy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72bc5df2
    • msaboff@apple.com's avatar
      ARM64: Implement push/pop equivalents in LLInt · 6175888a
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124721
      
      Reviewed by Filip Pizlo.
      
      Added pushLRAndFP and popLRAndFP that push and pop the link register and frame pointer register.
      These ops emit code just like what the compiler emits in the prologue and epilogue.  Also changed
      pushCalleeSaves and popCalleeSaves to use the same store pair and load pair instructions to do
      the actually pushing and popping.  Finally changed the implementation of push and pop to raise
      an exception since we don't have (or need) a single register push or pop.
      
      * llint/LowLevelInterpreter64.asm:
      * offlineasm/arm64.rb:
      * offlineasm/instructions.rb:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6175888a
    • msaboff@apple.com's avatar
      JSC: Removed unused opcodes from offline assembler · ff9d4ce5
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124749
      
      Reviewed by Mark Hahnenberg.
      
      Removed the unused, X86 only peekq and pokeq.
      
      * offlineasm/instructions.rb:
      * offlineasm/x86.rb:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff9d4ce5
    • msaboff@apple.com's avatar
      REGRESSION(159395) Fix branch8(…, AbsoluteAddress, …) in ARM64 MacroAssembler · d72c71a2
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124688
      
      Reviewed by Geoffrey Garen.
      
      Changed handling of the address for the load8() in the branch8(AbsoluteAddress) to be like
      the rest of the branchXX(AbsoluteAddress) fucntions.
      
      * assembler/MacroAssemblerARM64.h:
      (JSC::MacroAssemblerARM64::branch8):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d72c71a2
    • fpizlo@apple.com's avatar
      BytecodeGenerator should align the stack according to native conventions · 11a11359
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124735
      
      Reviewed by Mark Lam.
      
      * bytecompiler/BytecodeGenerator.h:
      (JSC::CallArguments::registerOffset):
      (JSC::CallArguments::argumentCountIncludingThis):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::CallArguments::CallArguments):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11a11359
    • dbates@webkit.org's avatar
      [iOS] Build fix; export symbol for WebCore::provideDeviceOrientationTo() · dfbf4350
      dbates@webkit.org authored
      Add the symbol __ZN7WebCore26provideDeviceOrientationToEPNS_4PageEPNS_23DeviceOrientationClientE.
      
      * WebCore.exp.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfbf4350
    • dbates@webkit.org's avatar
      Add !USE(NETWORK_CFDATA_ARRAY_CALLBACK)-guard · 1404d558
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124741
      
      Reviewed by Alexey Proskuryakov.
      
      Add !USE(NETWORK_CFDATA_ARRAY_CALLBACK)-guard around code that is unused
      when building with feature NETWORK_CFDATA_ARRAY_CALLBACK.
      
      Additionally, add a declaration for allocateSegment() with attribute WARN_UNUSED_RETURN
      to have the compiler warn when the return value of this function is unused. Together with
      warnings treated as errors this change will prevent a memory leak.
      
      * platform/SharedBuffer.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1404d558
    • dbates@webkit.org's avatar
      Remove unused functions from WebCore and WebKit2 · efa37bfb
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124739
      
      Reviewed by Alexey Proskuryakov.
      
      Source/WebCore:
      
      * editing/markup.cpp: Remove unused functions isHTMLBlockElement and
      ancestorToRetainStructureAndAppearanceWithNoRenderer.
      * rendering/InlineElementBox.cpp: Append newline to the end of the file.
      
      Source/WebKit2:
      
      Remove unused functions autoreleased({WKURLRequestRef, WKURLResponseRef}).
      
      * UIProcess/API/mac/WKBrowsingContextController.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efa37bfb
    • dbates@webkit.org's avatar
      Only generate isObservable() when IDL specifies GenerateIsReachable · 1ccf4754
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124729
      
      Reviewed by Geoffrey Garen.
      
      We should only generate the static inline function isObservable() when the IDL
      specifies GenerateIsReachable. Otherwise, this function is unused.
      
      Added a new test IDL TestGenerateIsReachable.idl and expected results to test that
      we generate isObservable() when an IDL specifies GenerateIsReachable. Additionally,
      rebased existing test results.
      
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateImplementation):
      * bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.cpp: Added.
      * bindings/scripts/test/CPP/WebDOMTestGenerateIsReachable.h: Added.
      * bindings/scripts/test/GObject/WebKitDOMTestGenerateIsReachable.cpp: Added.
      * bindings/scripts/test/GObject/WebKitDOMTestGenerateIsReachable.h: Added.
      * bindings/scripts/test/GObject/WebKitDOMTestGenerateIsReachablePrivate.h: Added.
      * bindings/scripts/test/JS/JSTestActiveDOMObject.cpp: Removed unused function isObservable().
      * bindings/scripts/test/JS/JSTestCustomNamedGetter.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestEventConstructor.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestEventTarget.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestException.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestGenerateIsReachable.cpp: Added.
      * bindings/scripts/test/JS/JSTestGenerateIsReachable.h: Added.
      * bindings/scripts/test/JS/JSTestInterface.cpp: Removed unused function isObservable().
      * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestNamedConstructor.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestOverloadedConstructors.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.cpp: Ditto.
      * bindings/scripts/test/JS/JSTestTypedefs.cpp: Ditto.
      * bindings/scripts/test/JS/JSattribute.cpp: Ditto.
      * bindings/scripts/test/JS/JSreadonly.cpp: Ditto.
      * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.h: Added.
      * bindings/scripts/test/ObjC/DOMTestGenerateIsReachable.mm: Added.
      * bindings/scripts/test/ObjC/DOMTestGenerateIsReachableInternal.h: Added.
      * bindings/scripts/test/TestGenerateIsReachable.idl: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ccf4754
    • ossy@webkit.org's avatar
      Rename PlatformCertificateInfo to CertificateInfo · 1b45c5d8
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124150
      
      Reviewed by Darin Adler.
      
      * GNUmakefile.list.am:
      * NetworkProcess/AsynchronousNetworkLoaderClient.cpp:
      (WebKit::AsynchronousNetworkLoaderClient::didReceiveResponse):
      * NetworkProcess/NetworkProcess.h:
      * NetworkProcess/NetworkProcess.messages.in:
      * NetworkProcess/NetworkResourceLoader.cpp:
      * NetworkProcess/mac/NetworkProcessMac.mm:
      (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):
      * NetworkProcess/soup/NetworkProcessSoup.cpp:
      (WebKit::NetworkProcess::allowSpecificHTTPSCertificateForHost):
      * PlatformEfl.cmake:
      * PlatformGTK.cmake:
      * Shared/API/c/mac/WKCertificateInfoMac.mm:
      (WKCertificateInfoCreateWithCertficateChain):
      (WKCertificateInfoGetCertificateChain):
      * Shared/Authentication/AuthenticationManager.cpp:
      (WebKit::AuthenticationManager::tryUseCertificateInfoForChallenge):
      (WebKit::AuthenticationManager::useCredentialForChallenge):
      * Shared/Authentication/AuthenticationManager.h:
      * Shared/Authentication/AuthenticationManager.messages.in:
      * Shared/Authentication/mac/AuthenticationManager.mac.mm:
      (WebKit::AuthenticationManager::tryUseCertificateInfoForChallenge):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/WebCertificateInfo.h:
      (WebKit::WebCertificateInfo::create):
      (WebKit::WebCertificateInfo::certificateInfo):
      (WebKit::WebCertificateInfo::WebCertificateInfo):
      * Shared/mac/CertificateInfo.h: Renamed from Source/WebKit2/Shared/mac/PlatformCertificateInfo.h.
      (WebKit::CertificateInfo::certificateChain):
      * Shared/mac/CertificateInfo.mm: Renamed from Source/WebKit2/Shared/mac/PlatformCertificateInfo.mm.
      (WebKit::CertificateInfo::CertificateInfo):
      (WebKit::CertificateInfo::encode):
      (WebKit::CertificateInfo::decode):
      (WebKit::CertificateInfo::dump):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::encodePlatformData):
      (CoreIPC::::decodePlatformData):
      * Shared/soup/CertificateInfo.cpp: Renamed from Source/WebKit2/Shared/soup/PlatformCertificateInfo.cpp.
      (WebKit::CertificateInfo::CertificateInfo):
      (WebKit::CertificateInfo::~CertificateInfo):
      (WebKit::CertificateInfo::encode):
      (WebKit::CertificateInfo::decode):
      * Shared/soup/CertificateInfo.h: Renamed from Source/WebKit2/Shared/soup/PlatformCertificateInfo.h.
      (WebKit::CertificateInfo::certificate):
      (WebKit::CertificateInfo::tlsErrors):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::encodePlatformData):
      (CoreIPC::::decodePlatformData):
      * UIProcess/API/gtk/WebKitCertificateInfo.cpp:
      (webkitCertificateInfoGetCertificateInfo):
      * UIProcess/API/gtk/WebKitCertificateInfoPrivate.h:
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_tls_info):
      * UIProcess/Authentication/AuthenticationChallengeProxy.cpp:
      (WebKit::AuthenticationChallengeProxy::useCredential):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::allowSpecificHTTPSCertificateForHost):
      * UIProcess/WebFrameProxy.cpp:
      (WebKit::WebFrameProxy::didCommitLoad):
      * UIProcess/WebFrameProxy.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::didCommitLoadForFrame):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebPageProxy.messages.in:
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/Network/WebResourceLoader.cpp:
      (WebKit::WebResourceLoader::didReceiveResponseWithCertificateInfo):
      * WebProcess/Network/WebResourceLoader.h:
      * WebProcess/Network/WebResourceLoader.messages.in:
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
      * WebProcess/WebProcess.h:
      * WebProcess/WebProcess.messages.in:
      * WebProcess/soup/WebProcessSoup.cpp:
      (WebKit::WebProcess::allowSpecificHTTPSCertificateForHost):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b45c5d8
    • ossy@webkit.org's avatar
      [EFL][GTK][WK2] Build fix after r159641 · 40204b71
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124742
      
      Patch by Sergio Correia <sergio.correia@openbossa.org> on 2013-11-21
      Reviewed by Csaba Osztrogonác.
      
      Should fetch activeURL from page load state.
      
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkitWebViewUpdateURI):
      * UIProcess/InspectorServer/efl/WebInspectorServerEfl.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/InspectorServer/gtk/WebInspectorServerGtk.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40204b71
    • bdakin@apple.com's avatar
      Add a new mode to extend the tile cache beyond the page · 8af619cc
      bdakin@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124216
      
      Reviewed by Simon Fraser.
      
      This patch makes it possible to give the tile cache a margin of tiles. If there is 
      a margin of tiles, this patch paints those tiles with the background color. Note 
      that this patch does not actually give the tile cache a margin at this time.
      
      You opt into a margined tiled cache by called setTileMargins() with number of 
      pixels that the margin on that side should be. 
      * platform/graphics/TiledBacking.h:
      * platform/graphics/ca/mac/TileController.h:
      * platform/graphics/ca/mac/TileController.mm:
      (WebCore::TileController::TileController):
      (WebCore::TileController::tilesWouldChangeForVisibleRect):
      
      TileController::bounds() now computes the bounds INCLUDING the margin.
      (WebCore::TileController::bounds):
      
      adjustRectAtTileIndexForMargin() is a new function that is required to get the 
      rect size for tiles in the margin right. rectForTileIndex() assumes all tiles 
      strive to be the size of m_tileSize, but now margin tiles will be whatever the 
      margin sizes were set to.
      (WebCore::TileController::adjustRectAtTileIndexForMargin):
      (WebCore::TileController::rectForTileIndex):
      
      This is another instance where m_tileSize is not always the right size to use.
      (WebCore::TileController::getTileIndexRangeForRect):
      
      The tile coverage rect now might include the margin tiles. Only include them in 
      slow-scrolling mode if the current position is within one tile of the edge.
      (WebCore::TileController::computeTileCoverageRect):
      
      tileSizeForCoverageRect() does not make sense in a world where the coverage rect 
      will include margin. Instead, this patch implements the current strategy more 
      explicitly by returning the visibleRect in the slow scrolling case, and in the 
      process this patch also re-names tileSizeForCoverageRect() to computeTileSize() 
      since it no longer takes a coverageRect.
      (WebCore::TileController::computeTileSize):
      (WebCore::TileController::revalidateTiles):
      
      New setters and getters for the tile margins on each side.
      (WebCore::TileController::setTileMargins):
      (WebCore::TileController::hasMargins):
      (WebCore::TileController::topMarginHeight):
      (WebCore::TileController::bottomMarginHeight):
      (WebCore::TileController::leftMarginWidth):
      (WebCore::TileController::rightMarginWidth):
      
      New function to add margin onto the composited bounds if there is one.
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::tiledBackingHasMargin):
      (WebCore::RenderLayerBacking::paintContents):
      (WebCore::RenderLayerBacking::compositedBoundsIncludingMargin):
      * rendering/RenderLayerBacking.h:
      
      Do not set masks to bounds if there is a margin on the root layer.
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::updateBacking):
      (WebCore::RenderLayerCompositor::mainFrameBackingIsTiledWithMargin):
      * rendering/RenderLayerCompositor.h:
      
      Allow background color to paint into the margin tiles.
      * rendering/RenderView.cpp:
      (WebCore::RenderView::paintBoxDecorations):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8af619cc
    • ap@apple.com's avatar
      Implement WebCrypto wrapKey · abd0bbca
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124738
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Tests: crypto/subtle/aes-cbc-wrap-rsa-non-extractable.html
             crypto/subtle/aes-cbc-wrap-rsa.html
      
      * bindings/js/JSSubtleCryptoCustom.cpp:
      (WebCore::exportKey): Factored out the actual operation that can be chained with
      encryption for wrapKey.
      (WebCore::JSSubtleCrypto::exportKey):
      (WebCore::JSSubtleCrypto::wrapKey):
      (WebCore::JSSubtleCrypto::unwrapKey): Fixed a memory leak in failure code path.
      
      * crypto/SubtleCrypto.idl: Added wrapKey.
      
      LayoutTests: 
      
      * crypto/subtle/aes-cbc-wrap-rsa-expected.txt: Added.
      * crypto/subtle/aes-cbc-wrap-rsa-non-extractable-expected.txt: Added.
      * crypto/subtle/aes-cbc-wrap-rsa-non-extractable.html: Added.
      * crypto/subtle/aes-cbc-wrap-rsa.html: Added.
      
      * crypto/subtle/aes-export-key-expected.txt:
      * crypto/subtle/hmac-export-key-expected.txt:
      There is no longer a console message, the error is in an exception.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abd0bbca
    • fpizlo@apple.com's avatar
      Unreviewed, preemptive build fix. · 35569e79
      fpizlo@apple.com authored
      * runtime/StackAlignment.h:
      (JSC::stackAlignmentBytes):
      (JSC::stackAlignmentRegisters):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35569e79
    • fpizlo@apple.com's avatar
      JSC should know what the stack alignment conventions are · 802ad32f
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124736
      
      Reviewed by Mark Lam.
      
      * GNUmakefile.list.am:
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * runtime/StackAlignment.h: Added.
      (JSC::stackAlignmentBytes):
      (JSC::stackAlignmentRegisters):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      802ad32f
    • andersca@apple.com's avatar
      Fetch all page loading related URLs from the page load state · a8f218e8
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124732
      
      Reviewed by Dan Bernstein.
      
      * UIProcess/API/C/WKPage.cpp:
      (WKPageCopyActiveURL):
      (WKPageCopyProvisionalURL):
      (WKPageCopyCommittedURL):
      * UIProcess/API/mac/WKBrowsingContextController.mm:
      (-[WKBrowsingContextController unreachableURL]):
      * UIProcess/PageLoadState.h:
      (WebKit::PageLoadState::provisionalURL):
      (WebKit::PageLoadState::url):
      (WebKit::PageLoadState::unreachableURL):
      * UIProcess/WebPageProxy.cpp:
      * UIProcess/WebPageProxy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8f218e8
    • beidson@apple.com's avatar
      Hook up WebProcess-side of getOrEstablishIDBDatabaseMetadata · 025e3ee1
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124698
      
      Reviewed by Anders Carlsson.
      
      With this change the IDB API in WebKit2 using the DatabaseProcess finally does something observable:
      window.indexedDB.open() sends an error to Javascript.
      
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
      (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata): Continue calling back to the
        WebProcess with dummy data, but include the request ID for reference.
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
      
      Add a new class that wraps a completion callback function and gives it a unique integer identifier.
      It also allows for wrapping an abort callback function (in case a connection is lost, for example).
      It is templated to flexibly handle any callback function signature.
      * Shared/AsyncRequest.cpp: Added.
      (WebKit::generateRequestID):
      (WebKit::AsyncRequest::AsyncRequest):
      (WebKit::AsyncRequest::~AsyncRequest):
      (WebKit::AsyncRequest::setAbortHandler):
      (WebKit::AsyncRequest::requestAborted):
      (WebKit::AsyncRequest::clearAbortHandler):
      * Shared/AsyncRequest.h: Added.
      (WebKit::AsyncRequest::requestID):
      (WebKit::AsyncRequest::requestCompleted):
      
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
      (WebKit::WebIDBServerConnection::getOrEstablishIDBDatabaseMetadata): Wrap the completion handler in an
        AsyncRequest and save off the request for later use.
      (WebKit::WebIDBServerConnection::didGetOrEstablishIDBDatabaseMetadata): Send the results to the AsyncRequest.
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
      
      * WebKit2.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      025e3ee1
    • andersca@apple.com's avatar
      Move activeURL getter to PageLoadState · 9e9e6762
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124690
      
      Reviewed by Tim Horton.
      
      * UIProcess/PageLoadState.cpp:
      (WebKit::PageLoadState::activeURL):
      * UIProcess/PageLoadState.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::activeURL):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e9e6762
    • ap@apple.com's avatar
      Implement WebCrypto unwrapKey · 19cf70fd
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124725
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Tests: crypto/subtle/aes-cbc-unwrap-failure.html
             crypto/subtle/aes-cbc-unwrap-rsa.html
      
      * bindings/js/JSCryptoAlgorithmDictionary.cpp:
      * bindings/js/JSCryptoAlgorithmDictionary.h:
      Removed calls for wrap/unwrap parameter parsing, these are just the same as encrypt/decrypt.
      
      * bindings/js/JSCryptoOperationData.cpp:
      (WebCore::cryptoOperationDataFromJSValue):
      * bindings/js/JSCryptoOperationData.h:
      * crypto/CryptoKeySerialization.h:
      More Vector<char> elimination.
      
      * bindings/js/JSDOMPromise.cpp:
      * bindings/js/JSDOMPromise.h:
      Removed unneccessary copy constructor and assignment operator, they are no diffdrent
      than compiler generated ones.
      
      * bindings/js/JSSubtleCryptoCustom.cpp:
      (WebCore::cryptoKeyUsagesFromJSValue): Minor style fixes.
      (WebCore::JSSubtleCrypto::encrypt): Ditto.
      (WebCore::JSSubtleCrypto::decrypt): Ditto.
      (WebCore::JSSubtleCrypto::sign): Ditto.
      (WebCore::JSSubtleCrypto::verify): Ditto.
      (WebCore::JSSubtleCrypto::generateKey): Ditto.
      (WebCore::importKey): Separated actual import operation and the parts that read
      arguments from ExecState, and call the promise. Logically, this should be outside
      of bindings code even, but JWK makes that quite challenging.
      (WebCore::JSSubtleCrypto::importKey): This only does the more mundane arguments
      and return parts now.
      (WebCore::JSSubtleCrypto::exportKey): Minor style fixes.
      (WebCore::JSSubtleCrypto::unwrapKey): Chain decrypt and import.
      
      * crypto/CryptoAlgorithm.cpp:
      (WebCore::CryptoAlgorithm::encryptForWrapKey):
      (WebCore::CryptoAlgorithm::decryptForUnwrapKey):
      * crypto/CryptoAlgorithm.h:
      There are algorithms that expose wrap/unwrap, but not encrypt/decrypt. These will
      override these new functions, and leave encrypt/decrypt to raise NOT_SUPPORTED_ERR.
      
      * crypto/SubtleCrypto.idl: Added unwrapKey.
      
      LayoutTests: 
      
      * crypto/subtle/aes-cbc-unwrap-failure-expected.txt: Added.
      * crypto/subtle/aes-cbc-unwrap-failure.html: Added.
      * crypto/subtle/aes-cbc-unwrap-rsa-expected.txt: Added.
      * crypto/subtle/aes-cbc-unwrap-rsa.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19cf70fd
    • commit-queue@webkit.org's avatar
      [MIPS] Build fails since r159545. · 0390ec2f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124716
      
      Patch by Balazs Kilvady <kilvadyb@homejinni.com> on 2013-11-21
      Reviewed by Michael Saboff.
      
      Add missing implementations in MacroAssembler and LLInt for MIPS.
      
      * assembler/MIPSAssembler.h:
      (JSC::MIPSAssembler::sync):
      * assembler/MacroAssemblerMIPS.h:
      (JSC::MacroAssemblerMIPS::store8):
      (JSC::MacroAssemblerMIPS::memoryFence):
      * offlineasm/mips.rb:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0390ec2f
    • simon.fraser@apple.com's avatar
      Clean up WebKit2 initialization · 87130376
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124696
      
      Reviewed by Sam Weinig.
      
      Call InitializeWebKit2() everywhere we need to do one-time
      initialization in WebKit2, rather than having a hotch-potch
      of init code.
      
      * Shared/APIObject.cpp:
      (API::Object::Object):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
      * UIProcess/Launcher/mac/ProcessLauncherMac.mm: Removed an unused #include.
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87130376
    • commit-queue@webkit.org's avatar
      [curl]Improve ssl certificate storage and check · a2378e48
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124569
      
      Patch by Robert Sipka <sipka@inf.u-szeged.hu> on 2013-11-21
      Reviewed by Brent Fulgham.
      
      Storage and check the whole certificate chain, not just the root certificate.
      
      * platform/network/curl/SSLHandle.cpp:
      (WebCore::allowsAnyHTTPSCertificateHosts):
      (WebCore::sslIgnoreHTTPSCertificate):
      (WebCore::pemData):
      (WebCore::certVerifyCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2378e48
    • mitz@apple.com's avatar
      Reverted r159603, as it appears to have caused Safari’s Web processes to crash on launch. · b336d3d9
      mitz@apple.com authored
      Requested by Sam Weinig.
      
      * Scripts/webkit2/messages.py:
      (struct_or_class):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPageCreationParameters.cpp:
      (WebKit::WebPageCreationParameters::encode):
      (WebKit::WebPageCreationParameters::decode):
      * Shared/WebPageCreationParameters.h:
      * Shared/mac/ObjCObjectGraphCoders.h:
      * Shared/mac/ObjCObjectGraphCoders.mm:
      (WebKit::ObjCObjectGraphEncoder::baseEncode):
      (WebKit::WebContextObjCObjectGraphEncoderImpl::WebContextObjCObjectGraphEncoderImpl):
      (WebKit::WebContextObjCObjectGraphEncoderImpl::encode):
      (WebKit::InjectedBundleObjCObjectGraphEncoderImpl::encode):
      (WebKit::WebContextObjCObjectGraphEncoder::WebContextObjCObjectGraphEncoder):
      (WebKit::WebContextObjCObjectGraphEncoder::encode):
      * UIProcess/WebConnectionToWebProcess.cpp:
      (WebKit::WebConnectionToWebProcess::encodeMessageBody):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::createNewWebProcess):
      (WebKit::WebContext::createWebPage):
      (WebKit::WebContext::postMessageToInjectedBundle):
      (WebKit::WebContext::didReceiveSyncMessage):
      * UIProcess/WebContextUserMessageCoders.h:
      (WebKit::WebContextUserMessageEncoder::WebContextUserMessageEncoder):
      (WebKit::WebContextUserMessageEncoder::encode):
      (WebKit::WebContextUserMessageDecoder::decode):
      * UIProcess/WebPageGroup.cpp:
      * UIProcess/WebPageGroup.h:
      (WebKit::WebPageGroup::sendToAllProcessesInGroup):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::create):
      (WebKit::WebPageProxy::WebPageProxy):
      (WebKit::WebPageProxy::initializeWebPage):
      (WebKit::WebPageProxy::loadURL):
      (WebKit::WebPageProxy::loadURLRequest):
      (WebKit::WebPageProxy::loadFile):
      (WebKit::WebPageProxy::loadData):
      (WebKit::WebPageProxy::loadHTMLString):
      (WebKit::WebPageProxy::loadAlternateHTMLString):
      (WebKit::WebPageProxy::loadPlainTextString):
      (WebKit::WebPageProxy::loadWebArchiveData):
      (WebKit::WebPageProxy::postMessageToInjectedBundle):
      (WebKit::WebPageProxy::initializeCreationParameters):
      * UIProcess/WebPageProxy.h:
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::disconnect):
      (WebKit::WebProcessProxy::createWebPage):
      * UIProcess/WebProcessProxy.h:
      * WebProcess/InjectedBundle/InjectedBundleUserMessageCoders.h:
      (WebKit::InjectedBundleUserMessageEncoder::encode):
      (WebKit::InjectedBundleUserMessageDecoder::decode):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::webPageGroup):
      * WebProcess/WebProcess.h:
      * WebProcess/WebProcess.messages.in:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b336d3d9
    • commit-queue@webkit.org's avatar
      [WinCairo] Building ANGLE libraries fails. · 24511866
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124679
      
      Patch by peavo@outlook.com <peavo@outlook.com> on 2013-11-21
      Reviewed by Brent Fulgham.
      
      Source/ThirdParty/ANGLE:
      
      Added/removed files to/from project, and re-added constants.h file.
      
      * ANGLE.vcxproj/libEGL.vcxproj:
      * ANGLE.vcxproj/libEGL.vcxproj.filters:
      * ANGLE.vcxproj/libGLESv2.vcxproj:
      * ANGLE.vcxproj/libGLESv2.vcxproj.filters:
      * ANGLE.vcxproj/libGLESv2Common.props:
      * ANGLE.vcxproj/translator_common.vcxproj:
      * ANGLE.vcxproj/translator_common.vcxproj.filters:
      * ANGLE.vcxproj/translator_glsl.vcxproj:
      * ANGLE.vcxproj/translator_glsl.vcxproj.filters:
      * ANGLE.vcxproj/translator_hlsl.vcxproj:
      * ANGLE.vcxproj/translator_hlsl.vcxproj.filters:
      * src/libGLESv2/libGLESv2.def:
      
      Source/WebKit:
      
      * WebKit.vcxproj/WebKit/WebKitCFLite.props: Link with translator_hlsl.lib.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24511866
    • commit-queue@webkit.org's avatar
      Fix sh4 build after r159545. · 5c642dd6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124713
      
      Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-21
      Reviewed by Michael Saboff.
      
      Add missing implementations in macro assembler and LLINT for sh4.
      
      * assembler/MacroAssemblerSH4.h:
      (JSC::MacroAssemblerSH4::load8):
      (JSC::MacroAssemblerSH4::store8):
      (JSC::MacroAssemblerSH4::memoryFence):
      * assembler/SH4Assembler.h:
      (JSC::SH4Assembler::synco):
      * offlineasm/sh4.rb: Handle "memfence" opcode.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c642dd6
    • commit-queue@webkit.org's avatar
      Fix hover area for divs with css transforms · 2f67ac8d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124647
      
      Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-11-21
      Reviewed by Allan Sandfeld Jensen.
      
      Source/WebCore:
      
      Non transformed layers are now being hit last, not through or in-between transformed layers.
      The paint order says that the divs creating stacking contexts (including transforms) are painted after the
      other siblings so they should be hit tested in the reverse order. Also, a rotated div in a non-rotated parent
      should be hit in its entire area, not hit its parent's background, even if the z-coordinate is negative where
      the mouse is located.
      
      Test: transforms/3d/hit-testing/hover-rotated-negative-z.html
      
      * rendering/RenderLayer.cpp:
      (WebCore::computeZOffset):
      
      LayoutTests:
      
      * transforms/3d/hit-testing/hover-rotated-negative-z.html: Added.
      * transforms/3d/hit-testing/hover-rotated-negative-z-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f67ac8d