1. 04 Dec, 2013 3 commits
    • ap@apple.com's avatar
      Update WebCrypto JWK mapping to newer proposal · e6074e79
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124218
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Tests: crypto/subtle/jwk-export-use-values.html
             crypto/subtle/jwk-import-use-values.html
      
      1. "extractable" renamed to "ext" in JWK.
      2. New values for "use" mapping, which can now be combined into comma separated lists,
      and cover all possible WebCrypto usages.
      
      * bindings/js/JSCryptoKeySerializationJWK.cpp:
      (WebCore::JSCryptoKeySerializationJWK::reconcileUsages):
      (WebCore::JSCryptoKeySerializationJWK::reconcileExtractable):
      (WebCore::JSCryptoKeySerializationJWK::addJWKAlgorithmToJSON):
      (WebCore::processUseValue):
      (WebCore::JSCryptoKeySerializationJWK::addJWKUseToJSON):
      (WebCore::JSCryptoKeySerializationJWK::serialize):
      
      LayoutTests: 
      
      * crypto/subtle/jwk-export-use-values-expected.txt: Added.
      * crypto/subtle/jwk-export-use-values.html: Added.
      * crypto/subtle/jwk-import-use-values-expected.txt: Added.
      * crypto/subtle/jwk-import-use-values.html: Added.
      New tests for "use" mapping.
      
      * crypto/subtle/aes-cbc-import-jwk.html:
      * crypto/subtle/aes-cbc-unwrap-rsa.html:
      * crypto/subtle/aes-cbc-wrap-rsa-non-extractable.html:
      * crypto/subtle/aes-cbc-wrap-rsa.html:
      * crypto/subtle/aes-export-key-expected.txt:
      * crypto/subtle/aes-export-key.html:
      * crypto/subtle/hmac-export-key-expected.txt:
      * crypto/subtle/hmac-export-key.html:
      * crypto/subtle/hmac-import-jwk.html:
      * crypto/subtle/import-jwk-expected.txt:
      * crypto/subtle/import-jwk.html:
      * crypto/subtle/rsa-export-key-expected.txt:
      * crypto/subtle/rsa-export-key.html:
      * crypto/subtle/rsa-export-private-key-expected.txt:
      * crypto/subtle/rsa-export-private-key.html:
      * crypto/subtle/rsa-oaep-key-manipulation-expected.txt:
      * crypto/subtle/rsa-oaep-key-manipulation.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6074e79
    • andersca@apple.com's avatar
      PageOverlayClientImpl should be a proper API::Client · 0a661907
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125199
      
      Reviewed by Tim Horton.
      
      * WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp:
      (PageOverlayClientImpl::PageOverlayClientImpl):
      (PageOverlayClientImpl::setAccessibilityClient):
      (PageOverlayClientImpl::willMoveToWebPage):
      (PageOverlayClientImpl::didMoveToWebPage):
      (PageOverlayClientImpl::drawRect):
      (PageOverlayClientImpl::mouseEvent):
      (PageOverlayClientImpl::copyAccessibilityAttributeValue):
      (PageOverlayClientImpl::copyAccessibilityAttributeNames):
      (WKBundlePageOverlayCreate):
      (WKBundlePageOverlaySetAccessibilityClient):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a661907
    • andersca@apple.com's avatar
      Initialize the PageBannerClientImpl API::Client · 06f3af04
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125198
      
      Reviewed by Tim Horton.
      
      * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
      (PageBannerClientImpl::PageBannerClientImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06f3af04
  2. 03 Dec, 2013 37 commits
    • msaboff@apple.com's avatar
      ARM64: Crash in JIT code due to improper reuse of cached memory temp register · 7e11b5f2
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125181
      
      Reviewed by Geoffrey Garen.
      
      Changed load8() and load() to invalidate the memory temp CachedTempRegister when the
      destination of an absolute load is the memory temp register since the source address
      is also the memory temp register.  Change branch{8,32,64} of an AbsoluteAddress with
      a register to use the dataTempRegister as the destinate of the absolute load to
      reduce the chance that we need to invalidate the memory temp register cache.
      In the process, found and fixed an outright bug in branch8() where we'd load into
      the data temp register and then compare and branch on the memory temp register.
      
      * assembler/MacroAssemblerARM64.h:
      (JSC::MacroAssemblerARM64::load8):
      (JSC::MacroAssemblerARM64::branch32):
      (JSC::MacroAssemblerARM64::branch64):
      (JSC::MacroAssemblerARM64::branch8):
      (JSC::MacroAssemblerARM64::load):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e11b5f2
    • ryuan.choi@samsung.com's avatar
      [EFL] Disable RTTI for release build · 3962bec0
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125138
      
      Reviewed by Gyuyoung Kim.
      
      Binary size will be reduced about 1M bytes without RTTI.
      ewebkit.so : 43,449,275 -> 42,510,224
      ewebkit2.so: 46,715,870 -> 45,653,989
      
      * Source/cmake/OptionsEfl.cmake: Added -fno-rtti option to CMAKE_CXX_FLAGS_RELEASE.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3962bec0
    • timothy_horton@apple.com's avatar
      Remote Layer Tree: Force repaint · d88cbe51
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125189
      <rdar://problem/15541789>
      
      Reviewed by Anders Carlsson.
      
      * WebProcess/WebPage/mac/RemoteLayerTreeContext.h:
      * WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
      (WebKit::RemoteLayerTreeContext::forceRepaint):
      * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
      * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
      (WebKit::RemoteLayerTreeDrawingArea::forceRepaint):
      Implement WebProcess-synchronous force repaint.
      We don't need the async variant because it is only needed
      to synchronize with the WebProcess-side threaded scrolling
      tree, which is not a component of the remote layer tree model.
      The UI process will not handle the callback until after
      RemoteLayerTreeHost::commit is complete, ensuring that the commit
      is actually done.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d88cbe51
    • fpizlo@apple.com's avatar
      REGRESSION: repro scripts disappear when you rerun tests · ec0ab31d
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125184
      
      Reviewed by Mark Hahnenberg.
              
      This bug made it difficult to quickly see if a test that recently failed is still
      failing while also running a new batch of tests.
      
      Repro scripts are supposed to stay around until you delete them explicitly. This
      patch accomplishes that.
      
      * Scripts/run-jsc-stress-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec0ab31d
    • simon.fraser@apple.com's avatar
      Remove some iOS-related documentScale code · 1dbe9eab
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125194
      
      Source/WebCore:
      
      Reviewed by Enrica Casucci.
      
      Remove exports of nonexistent documentScale-related functions on Frame.
      
      * WebCore.exp.in:
      
      Source/WebKit2:
      
      Reviewed by Enrica Casucci.
      
      Upstream bits of removal of Frame::documentScale on iOS.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::updatePreferences): Whitespace.
      * WebProcess/WebPage/ios/WebPageIOS.mm:
      (WebKit::WebPage::didFinishZooming): Don't call setDocumentScale().
      * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h: Remove minimumDocumentScale().
      * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm: Ditto.
      (WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea): We delegate page scaling on iOS.
      (WebKit::RemoteLayerTreeDrawingArea::setDeviceScaleFactor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dbe9eab
    • ap@apple.com's avatar
      Layout Test platform/mac/accessibility/search-predicate-element-count.html is flaky · 64dd899f
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125195
      
      * platform/mac/TestExpectations: Marking as such.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64dd899f
    • commit-queue@webkit.org's avatar
      [Win] run-jsc-stress-tests has a great number of failures (2026/7606) on Windows · bd1337ca
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125111
      
      Patch by peavo@outlook.com <peavo@outlook.com> on 2013-12-03
      Reviewed by Filip Pizlo.
      
      Almost all errors seem to be caused by differences in line ending when diffing test output with expected output.
      
      * Scripts/run-javascriptcore-tests: Enable api test and stress test for WinCairo.
      * Scripts/run-jsc-stress-tests: Ignore carriage return when diffing test output with expected output.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd1337ca
    • andersca@apple.com's avatar
      PageBannerClientImpl should be an API::Client · 8248130a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125190
      
      Reviewed by Tim Horton.
      
      * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
      (PageBannerClientImpl::PageBannerClientImpl):
      (PageBannerClientImpl::~PageBannerClientImpl):
      (WKBundlePageBannerCreateBannerWithCALayer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8248130a
    • eric.carlson@apple.com's avatar
      Fix regression caused by r158599 · 16e99a3f
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125188
      
      Reviewed by Jer Noble.
      
      * html/HTMLMediaElement.cpp:
      (HTMLMediaElement::clearMediaPlayer): Do not clear m_player when PLUGIN_PROXY_FOR_VIDEO
          is enabled.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16e99a3f
    • commit-queue@webkit.org's avatar
      Nix Upstream: Updating WebCore files · df7b8c69
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124981
      
      Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-12-03
      Reviewed by Benjamin Poulain.
      
      Just to sync our github repo files and the trunk, as part of the upstream process
      
      No new tests needed.
      
      * PlatformNix.cmake:
      * css/mediaControlsNix.css:
      (audio):
      (video::-webkit-media-controls):
      (audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure):
      (video::-webkit-media-controls-enclosure):
      (audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel):
      (video:-webkit-full-page-media):
      (audio:-webkit-full-page-media, video:-webkit-full-page-media):
      (audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button):
      (audio::-webkit-media-controls-overlay-play-button, video::-webkit-media-controls-overlay-play-button):
      (audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button):
      (audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container):
      (audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display):
      (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):
      (audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider):
      (input[type="range"]::-webkit-media-slider-container):
      (input[type="range"]::-webkit-media-slider-container > div):
      (input[type="range"]::-webkit-media-slider-thumb):
      (audio::-webkit-media-controls-seek-back-button, video::-webkit-media-controls-seek-back-button):
      (audio::-webkit-media-controls-seek-forward-button, video::-webkit-media-controls-seek-forward-button):
      (audio::-webkit-media-controls-fullscreen-button, video::-webkit-media-controls-fullscreen-button):
      (audio::-webkit-media-controls-toggle-closed-captions-button, video::-webkit-media-controls-toggle-closed-captions-button):
      (audio::-webkit-media-controls-fullscreen-volume-slider, video::-webkit-media-controls-fullscreen-volume-slider):
      (audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media-controls-fullscreen-volume-min-button):
      (audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media-controls-fullscreen-volume-max-button):
      (video::-webkit-media-text-track-container):
      (video::cue):
      (video::-webkit-media-text-track-region):
      (video::-webkit-media-text-track-region-container):
      (video::-webkit-media-text-track-region-container.scrolling):
      (video::-webkit-media-text-track-display):
      (video::cue(:future)):
      (video::-webkit-media-text-track-container b):
      (video::-webkit-media-text-track-container u):
      (video::-webkit-media-text-track-container i):
      * editing/Editor.cpp:
      (WebCore::Editor::cut):
      (WebCore::Editor::copy):
      (WebCore::Editor::copyImage):
      * editing/Editor.h:
      * html/HTMLCanvasElement.h:
      * platform/Cursor.h:
      * platform/audio/FFTFrame.h:
      * platform/audio/nix/AudioBusNix.cpp:
      (WebCore::AudioBus::loadPlatformResource):
      * platform/graphics/GLContext.h:
      * platform/nix/CursorNix.cpp:
      (WebCore::Cursor::ensurePlatformCursor):
      * platform/nix/GamepadsNix.cpp:
      (WebCore::sampleGamepads):
      * platform/nix/RenderThemeNix.cpp:
      (WebCore::toIntSize):
      (WebCore::toNixRect):
      (WebCore::RenderThemeNix::platformActiveSelectionBackgroundColor):
      (WebCore::RenderThemeNix::platformInactiveSelectionBackgroundColor):
      (WebCore::RenderThemeNix::platformActiveSelectionForegroundColor):
      (WebCore::RenderThemeNix::platformInactiveSelectionForegroundColor):
      (WebCore::RenderThemeNix::platformActiveListBoxSelectionBackgroundColor):
      (WebCore::RenderThemeNix::platformInactiveListBoxSelectionBackgroundColor):
      (WebCore::RenderThemeNix::platformActiveListBoxSelectionForegroundColor):
      (WebCore::RenderThemeNix::platformInactiveListBoxSelectionForegroundColor):
      (WebCore::RenderThemeNix::platformActiveTextSearchHighlightColor):
      (WebCore::RenderThemeNix::platformInactiveTextSearchHighlightColor):
      (WebCore::RenderThemeNix::platformFocusRingColor):
      (WebCore::RenderThemeNix::platformTapHighlightColor):
      (WebCore::RenderThemeNix::paintButton):
      (WebCore::RenderThemeNix::paintTextField):
      (WebCore::RenderThemeNix::paintCheckbox):
      (WebCore::RenderThemeNix::setCheckboxSize):
      (WebCore::RenderThemeNix::paintRadio):
      (WebCore::RenderThemeNix::setRadioSize):
      (WebCore::RenderThemeNix::paintMenuList):
      (WebCore::RenderThemeNix::paintProgressBar):
      (WebCore::RenderThemeNix::paintSliderTrack):
      (WebCore::RenderThemeNix::paintSliderThumb):
      (WebCore::RenderThemeNix::paintInnerSpinButton):
      (WebCore::RenderThemeNix::paintMeter):
      (WebCore::RenderThemeNix::extraMediaControlsStyleSheet):
      (WebCore::RenderThemeNix::paintMediaPlayButton):
      (WebCore::RenderThemeNix::paintMediaMuteButton):
      (WebCore::RenderThemeNix::paintMediaSeekBackButton):
      (WebCore::RenderThemeNix::paintMediaSeekForwardButton):
      (WebCore::RenderThemeNix::paintMediaSliderTrack):
      (WebCore::RenderThemeNix::paintMediaVolumeSliderContainer):
      (WebCore::RenderThemeNix::paintMediaVolumeSliderTrack):
      (WebCore::RenderThemeNix::paintMediaRewindButton):
      * platform/nix/RenderThemeNix.h:
      * rendering/SimpleLineLayout.cpp:
      (WebCore::SimpleLineLayout::canUseFor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160045 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df7b8c69
    • commit-queue@webkit.org's avatar
      Typo: FixedPositionConstaint -> FixedPositionConstraint · db06832f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125171
      
      Patch by Ralph Thomas <ralpht@gmail.com> on 2013-12-03
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      No new tests, no change in behavior.
      
      * page/scrolling/ScrollingConstraints.h:
      * page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp:
      (WebCore::ScrollingCoordinatorCoordinatedGraphics::updateViewportConstrainedNode):
      * page/scrolling/mac/ScrollingCoordinatorMac.mm:
      (WebCore::ScrollingCoordinatorMac::updateViewportConstrainedNode):
      
      Source/WebKit/ios:
      
      * WebCoreSupport/WebFixedPositionContent.mm:
      (-[WebFixedPositionContent scrollOrZoomChanged:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db06832f
    • rniwa@webkit.org's avatar
      Add a script to automatically configure a git clone · 032b1123
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110073
      
      Revert the change to use https for now since git.webkit.org is setup with http.
      
      * Scripts/webkitpy/tool/commands/setupgitclone.py:
      (SetupGitClone.execute):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      032b1123
    • msaboff@apple.com's avatar
      jit/JITArithmetic.cpp doesn't build for non-X86 ports · aa314676
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125185
      
      Rubber stamped by Mark Hahnenberg.
      
      Removed unused declarations and related UNUSED_PARAM().
      
      * jit/JITArithmetic.cpp:
      (JSC::JIT::emit_op_mod):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa314676
    • rego@igalia.com's avatar
      [CSS Regions] Fix Layout/RegionsSelection.html in Mac platform · 98e9a58a
      rego@igalia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124963
      
      Reviewed by Ryosuke Niwa.
      
      Layout/RegionsSelection.html introduced in r159488 was not working in
      Mac platform because of it was trying to use mouse events out of the
      window dimensions. Use collapse() and extend() methods from Selection
      object to solve the issue.
      
      * Layout/resources/regions.js: Use collapse() and extend() instead of
      mouse events.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98e9a58a
    • mitz@apple.com's avatar
      [Cocoa] Give two load delegate methods more conventional names · 6e5de6cc
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125183
      
      Reviewed by Anders Carlsson.
      
      * UIProcess/API/Cocoa/WKBrowsingContextController.mm:
      (didFailProvisionalLoadWithErrorForFrame): Updated for rename.
      (didFailLoadWithErrorForFrame): Ditto.
      * UIProcess/API/Cocoa/WKBrowsingContextLoadDelegate.h: Renamed
      -browsingContextControllerDidFailProvisionalLoad:withError: to
      -browsingContextController:didFailProvisionalLoadWithError: and
      -browsingContextControllerDidFailLoad:withError: to
      -browsingContextController:didFailLoadWithError:.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e5de6cc
    • rniwa@webkit.org's avatar
      Add a script to automatically configure a git clone · bf4100ea
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110073
      
      Reviewed by Benjamin Poulain.
      
      Added "webkit-patch setup-git-clone" to setup a brand new Git clone.
      
      This command runs various commands listed on http://trac.webkit.org/wiki/UsingGitWithWebKit
      
      * Scripts/webkitpy/tool/commands/__init__.py:
      * Scripts/webkitpy/tool/commands/setupgitclone.py: Added.
      (SetupGitClone):
      (SetupGitClone.execute):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf4100ea
    • fpizlo@apple.com's avatar
      ObjectAllocationProfile is racy and the DFG should be cool with that · 62203aa3
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125172
      <rdar://problem/15233487>
      
      Reviewed by Mark Hahnenberg.
              
      We would previously sometimes get a null Structure because checking if the profile is non-null and loading
      the structure from it were two separate operations.
      
      * dfg/DFGAbstractInterpreterInlines.h:
      (JSC::DFG::::executeEffects):
      * dfg/DFGAbstractValue.cpp:
      (JSC::DFG::AbstractValue::setFuturePossibleStructure):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::parseBlock):
      * runtime/JSFunction.h:
      (JSC::JSFunction::allocationProfile):
      (JSC::JSFunction::allocationStructure):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62203aa3
    • rniwa@webkit.org's avatar
      Import the XHTML parsing and serialization tests for template elements · 5aef9889
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125131
      
      Reviewed by Antti Koivisto.
      
      Import the tests for parsing XHTML documents and fragments at f744661dbd0c29bb6a54c1530f9843838eec1300
      after self-closing link elements in template-child-nodes-div.xhtml and template-child-nodes-nested.xhtml
      as these two files would encounter parser errors otherwise (I'll be merging these changes back into
      the web-platform-tests repository later).
      
      This completes the importation of W3C tests for the HTML template element.
      
      * html-templates/additions-to-parsing-xhtml-documents: Added.
      * html-templates/additions-to-parsing-xhtml-documents/node-document-expected.txt: Added.
      * html-templates/additions-to-parsing-xhtml-documents/node-document.html: Added.
      * html-templates/additions-to-parsing-xhtml-documents/template-child-nodes-expected.txt: Added.
      * html-templates/additions-to-parsing-xhtml-documents/template-child-nodes.html: Added.
      * html-templates/additions-to-serializing-xhtml-documents: Added.
      * html-templates/additions-to-serializing-xhtml-documents/outerhtml-expected.txt: Added.
      * html-templates/additions-to-serializing-xhtml-documents/outerhtml.html: Added.
      * html-templates/resources/template-child-nodes-div.xhtml:
      * html-templates/resources/template-child-nodes-nested.xhtml:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5aef9889
    • andersca@apple.com's avatar
      Deprecate WKNotificationProvider · e53d388d
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125178
      
      Reviewed by Sam Weinig.
      
      Source/WebKit2:
      
      * Shared/API/c/WKDeclarationSpecifiers.h:
      Add WK_DEPRECATED and WK_ENUM_DEPRECATED macros so we can things as deprecated.
      
      * UIProcess/API/C/WKNotificationManager.cpp:
      (WKNotificationManagerSetProvider):
      * UIProcess/API/C/WKNotificationManager.h:
      WKNotificationManagerSetProvider now takes a WKNotificationProviderBase.
      
      * UIProcess/API/C/WKNotificationProvider.h:
      Deprecate WKNotificationProvider and kWKNotificationProviderCurrentVersion.
      
      Tools:
      
      Update for WebKit2 changes.
      
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::initialize):
      * WebKitTestRunner/WebNotificationProvider.cpp:
      (WTR::WebNotificationProvider::provider):
      * WebKitTestRunner/WebNotificationProvider.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e53d388d
    • bfulgham@apple.com's avatar
      [Win] Support 64-bit Application Support Libraries Location · 602c1cb1
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125179
      
      Reviewed by Tim Horton.
      
      Enable the user to specify a location for 64-bit support libraries (such as libxml2, ICU, etc.)
      on Windows until an official distribution is available that properly creates registry settings
      to specify these locations.
      
      * Scripts/webkitdirs.pm:
      (setupAppleWinEnv): Notify user to set WEBKIT_64_SUPPORT environment variable if needed.
      (setupCygwinEnv): Report WEWBKIT_64_SUPPORT path when running 64-bit builds.
      (appleApplicationSupportPath): Add WEBKIT_64_SUPPORT location to runtime environment when
      running 64-bit builds.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      602c1cb1
    • beidson@apple.com's avatar
      Indexed Database work should be done on a non-main queue · a2f7d4c8
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125127
      
      Reviewed by Darin Adler.
      
      Add a non-main WorkQueue to the DatabaseProcess:
      * DatabaseProcess/DatabaseProcess.cpp:
      (WebKit::DatabaseProcess::DatabaseProcess):
      (WebKit::DatabaseProcess::queue):
      * DatabaseProcess/DatabaseProcess.h:
      
      * DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
      (WebKit::UniqueIDBDatabase::UniqueIDBDatabase):
      (WebKit::UniqueIDBDatabase::enqueueDatabaseQueueRequest): Add an AsyncRequest to the deque then schedule performing
        the requests on the background WorkQueue.
      (WebKit::UniqueIDBDatabase::processDatabaseRequestQueue): Processes all enqueued database requests.
      (WebKit::UniqueIDBDatabase::getOrEstablishIDBDatabaseMetadata): Renamed from getIDBDatabaseMetadata().
      (WebKit::UniqueIDBDatabase::getOrEstablishIDBDatabaseMetadataInternal): For doing i/o on a background queue/thread.
      * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
      
      Add a creator that takes the abort handler as an argument, and rename requestedCompleted()
      to completeRequest(). This makes more sense in more situations:
      * Shared/AsyncRequest.cpp:
      (WebKit::AsyncRequest::AsyncRequest):
      (WebKit::AsyncRequest::setAbortHandler):
      * Shared/AsyncRequest.h:
      (WebKit::AsyncRequest::completeRequest):
      
      Update for the AsyncRequest rename:
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
      (WebKit::WebIDBServerConnection::didGetOrEstablishIDBDatabaseMetadata):
      
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
      (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a2f7d4c8
    • samuel_white@apple.com's avatar
      AXPress event coordinates are always sent as (0, 0) · 12d5e64d
      samuel_white@apple.com authored
          https://bugs.webkit.org/show_bug.cgi?id=76677
      
          Reviewed by Simon Fraser.
      
          Make sure a press targets an element's center point.
      
          * accessibility/press-targets-center-point-expected.txt: Added.
          * accessibility/press-targets-center-point.html: Added.
      
          Set the coordinates of a simulated press equal to the center of the target
          element when the simulated press does not have a related mouse event.
      
          Test: accessibility/press-targets-center-point.html
      
          * dom/Element.cpp:
          (WebCore::Element::clientRect):
          (WebCore::Element::screenRect):
          * dom/Element.h:
          * dom/EventDispatcher.cpp:
          (WebCore::EventDispatcher::dispatchSimulatedClick):
          * dom/MouseEvent.cpp:
          (WebCore::SimulatedMouseEvent::create):
          (WebCore::SimulatedMouseEvent::SimulatedMouseEvent):
          * dom/MouseEvent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      12d5e64d
    • timothy_horton@apple.com's avatar
      Remove TiledCoreAnimationDrawingArea(Proxy)IOS · 2a15d14b
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125176
      
      Reviewed by Simon Fraser.
      
      Remove unused code.
      
      * UIProcess/API/ios/WKContentView.mm:
      * UIProcess/ios/TiledCoreAnimationDrawingAreaProxyIOS.h: Removed.
      * UIProcess/ios/TiledCoreAnimationDrawingAreaProxyIOS.mm: Removed.
      * Shared/DrawingAreaInfo.h:
      * WebProcess/WebPage/DrawingArea.cpp:
      (WebKit::DrawingArea::create):
      * WebProcess/WebPage/ios/TiledCoreAnimationDrawingAreaIOS.h: Removed.
      * WebProcess/WebPage/ios/TiledCoreAnimationDrawingAreaIOS.mm: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a15d14b
    • dino@apple.com's avatar
      [WebGL] Implement OES texture float linear · ae867077
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124871
      
      Reviewed by Brent Fulgham.
      
      Source/WebCore:
      
      Implement the OES_texture_float_linear extension. Generally
      we'd also enable OES_texture_half_float_linear at the same
      time, but that's blocked on webkit.org/b/110936.
      
      Test: fast/canvas/webgl/oes-texture-float-linear.html
      
      * CMakeLists.txt: Add new files.
      * DerivedSources.cpp: Ditto.
      * DerivedSources.make: Generate new file from IDL.
      * GNUmakefile.list.am: Add new files.
      * WebCore.vcxproj/WebCore.vcxproj: Ditto.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * WebCore.xcodeproj/project.pbxproj: New files for OESTextureFloatLinear.
      
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      (WebCore::toJS): Map the new name into the appropriate type.
      
      * html/canvas/OESTextureFloatLinear.cpp: Added. This is a very simple class
      that's mostly empty.
      (WebCore::OESTextureFloatLinear::OESTextureFloatLinear):
      (WebCore::OESTextureFloatLinear::~OESTextureFloatLinear):
      (WebCore::OESTextureFloatLinear::getName):
      (WebCore::OESTextureFloatLinear::create):
      * html/canvas/OESTextureFloatLinear.h: Added.
      * html/canvas/OESTextureFloatLinear.idl: Added.
      
      * html/canvas/WebGLExtension.h: Declare the new name in the enum of extensions.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::drawArrays): Call new name.
      (WebCore::WebGLRenderingContext::drawElements): Call new name.
      (WebCore::WebGLRenderingContext::getExtension): Create the new extension if asked.
      (WebCore::WebGLRenderingContext::checkTextureCompleteness): Renamed from handleNPOTTextures. Now
      checks for the type of the texture too.
      * html/canvas/WebGLRenderingContext.h: Member variable for new extension.
      
      * html/canvas/WebGLTexture.cpp:
      (WebCore::WebGLTexture::WebGLTexture):
      (WebCore::WebGLTexture::needToUseBlackTexture): Takes an extra parameter which indicates
      if it has an extension enabled.
      (WebCore::WebGLTexture::update): Note it is a float type when updating.
      * html/canvas/WebGLTexture.h: New flag to indicate float type.
      
      * platform/graphics/Extensions3D.h: New flag type.
      * platform/graphics/opengl/Extensions3DOpenGL.cpp:
      (WebCore::Extensions3DOpenGL::supportsExtension): Add a comment about the extension.
      
      LayoutTests:
      
      Add the Khronos test files for this extension.
      
      Add the JS test file for OES_texture_float_linear and OES_texture_half_float_linear
      even though it's only used for the former at the moment.
      
      * fast/canvas/webgl/oes-texture-float-linear.html: Added.
      * fast/canvas/webgl/resources/oes-texture-float-and-half-float-linear.js: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae867077
    • ap@apple.com's avatar
      Support exporting private WebCrypto RSA keys · 902a179d
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124483
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Test: crypto/subtle/rsa-export-private-key.html
      
      It might be better to have our own bignum implementation in WTF, but we currently
      don't, and the need for this computation is Common Crypto specific anyway.
      
      * crypto/CommonCryptoUtilities.h:
      * crypto/CommonCryptoUtilities.cpp:
      (WebCore::CCBigNum::CCBigNum):
      (WebCore::CCBigNum::~CCBigNum):
      (WebCore::CCBigNum::operator=):
      (WebCore::CCBigNum::data):
      (WebCore::CCBigNum::operator-):
      (WebCore::CCBigNum::operator%):
      (WebCore::CCBigNum::inverse):
      Added a minimal wrapper around CommonCrypto BigNum.
      
      * crypto/mac/CryptoKeyRSAMac.cpp:
      (WebCore::getPrivateKeyComponents): Compute missing parts using CCBigNum.
      (WebCore::CryptoKeyRSA::exportData): Implemented private key case.
      
      LayoutTests: 
      
      * crypto/subtle/rsa-export-private-key-expected.txt: Added.
      * crypto/subtle/rsa-export-private-key.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      902a179d
    • andersca@apple.com's avatar
      Remove old WebKit::APIClient cruft · 87fd04f3
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125173
      
      Reviewed by Antti Koivisto.
      
      * Shared/APIClient.h:
      * Shared/APIClientTraits.cpp: Removed.
      * Shared/APIClientTraits.h: Removed.
      * WebKit2.xcodeproj/project.pbxproj:
      * WebProcess/Plugins/PDF/PDFPlugin.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87fd04f3
    • ap@apple.com's avatar
      WebCrypto HMAC doesn't check key algorithm's hash · 6cfecdc0
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125114
      
      Update layout test result for a last minute change in test content.
      
      * crypto/subtle/hmac-check-algorithm-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cfecdc0
    • enrica@apple.com's avatar
      Build fix for iOS. · 4c0169c4
      enrica@apple.com authored
      Reviewed by Tim Horton.
      
      * Shared/WebCoreArgumentCoders.cpp: Added missing header.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c0169c4
    • commit-queue@webkit.org's avatar
      Web Inspector: restore navigation panel state across reloads and reopens · 08ccc28b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122125
      
      Patch by Brian J. Burg <burg@cs.washington.edu> on 2013-12-03
      Reviewed by Timothy Hatcher.
      
      The previous strategy for restoring content views after inspector
      re-open did not consider the active sidebar and its selection, and
      tried to recreate the appropriate selection from the saved content
      view. However, doesn't work for tree elements in the sidebar panel
      that don't change views when selected, such as script breakpoints,
      special breakpoints, call stack, timeline sections, etc.
      
      This patch implements a new strategy that saves the navigation
      sidebar panel's view state by serializing the identity of the
      selected element's represented object. Relevant represented
      object classes implement the saveIdentityToCookie() method. Each
      represented object class also adds a TypeIdentifier property to
      its constructor, to aid inexact matching based on represented
      object type, rather than its complete identity.
      
      When restoring, the navigation sidebar attempts to match added
      tree elements against the pending cookie, and selects the element
      if it matches. A represented object matches if its serialized
      identity matches the previously saved serialized identity.
      
      The inspector view state is now only saved on the page hide event
      (for saving across reopen) and when the main frame commits its
      provisional load (for saving across same-page reloads). It
      consolidates similar view state settings into a single setting.
      
      * UserInterface/ApplicationCacheFrame.js:
      (WebInspector.ApplicationCacheFrame): Add cookie keys and type identifier.
      (WebInspector.ApplicationCacheFrame.prototype.saveIdentityToCookie): Added.
      * UserInterface/ApplicationCacheManager.js: remove objectForCookie().
      * UserInterface/Breakpoint.js:
      (WebInspector.Breakpoint): Add cookie keys and type identifier.
      (WebInspector.Breakpoint.prototype.saveIdentityToCookie):
      * UserInterface/CookieStorageObject.js:
      (WebInspector.CookieStorageObject.prototype.saveIdentityToCookie): Added.
      * UserInterface/DOMStorageObject.js:
      (WebInspector.DOMStorageObject): Add cookie keys and type identifier.
      (WebInspector.DOMStorageObject.prototype.saveIdentityToCookie): Added.
      * UserInterface/DatabaseObject.js:
      (WebInspector.DatabaseObject): Add cookie keys and type identifier.
      (WebInspector.DatabaseObject.prototype.saveIdentityToCookie): Added.
      * UserInterface/DatabaseTableObject.js:
      (WebInspector.DatabaseTableObject): Add cookie keys and type identifier.
      (WebInspector.DatabaseTableObject.prototype.saveIdentityToCookie): Added.
      * UserInterface/DebuggerSidebarPanel.js:
      (WebInspector.DebuggerSidebarPanel.prototype.saveStateToCookie): Added.
      (WebInspector.DebuggerSidebarPanel.prototype.restoreStateFromCookie): Added.
      * UserInterface/Frame.js:
      (WebInspector.Frame): Add cookie keys and type identifier.
      (WebInspector.Frame.prototype.saveIdentityToCookie): Added.
      * UserInterface/FrameResourceManager.js: remove objectForCookie().
      * UserInterface/InstrumentSidebarPanel.js:
      (WebInspector.InstrumentSidebarPanel.prototype.showTimelineForRecordType):
      Return the shown timeline, if any.
      
      (WebInspector.InstrumentSidebarPanel.prototype.saveStateToCookie): Added.
      (WebInspector.InstrumentSidebarPanel.prototype.restoreStateFromCookie): Added.
      (WebInspector.InstrumentSidebarPanel.prototype.showProfile):
      Return the shown profile, if any.
      
      * UserInterface/Main.js:
      (WebInspector): Added cookie keys for the selected sidebar and
      typeidentifier of the sidebar's selected tree element.
      
      (WebInspector.contentLoaded): Remove callbacks for
      resolveAndShowPendingContentViewCookie(). Consolidate all saved
      inspector view state into one Setting. Move special-cased
      restoring of the console to the restoration method. Move saving
      of last opened navigation panel to the saving method.
      
      (WebInspector._mainResourceDidChange): Try to restore saved view
      state when the main resource changes.
      
      (WebInspector._provisionalLoadCommitted): Update the saved view
      state when the navigation commits. This is the last chance to save
      it before the main resource changes and the navigation panel view
      state is discarded and rebuilt.
      
      (WebInspector._pageHidden): Update the saved view state when the
      inspector page is hidden, but before state is discarded.
      
      (WebInspector._navigationSidebarPanelSelected): Don't save last
      navigation sidebar panel.
      (WebInspector._updateCookieForInspectorViewState): Renamed from
      _updateCurrentContentViewCookie. It delegates view state
      serialization to the currently open navigation sidebar, rather
      than the current content view.
      
      (WebInspector._contentBrowserRepresentedObjectsDidChange): Don't
      spuriously serialize the current view state cookie on every
      ContentView change.
      
      (WebInspector._restoreInspectorViewStateFromCookie): Renamed from
      _showContentViewForCookie. It now restores a specific navigation
      panel and delegates remaining view state restoration to the panel
      itself. Last-resort selection of any tree element with the same
      type identifier was moved to the navigation panel's restore method.
      
      * UserInterface/NavigationSidebarPanel.js:
      (WebInspector.NavigationSidebarPanel):
      (WebInspector.NavigationSidebarPanel.prototype.set contentTreeOutline):
      (WebInspector.NavigationSidebarPanel.prototype.createContentTreeOutline):
      Save references to all created TreeOutlines in a Set, so we can
      restore any tree's selection.
      
      (WebInspector.NavigationSidebarPanel.prototype.saveStateToCookie):
      Added. Find the selected tree element from all tree outlines and
      ask it to serialize its identity.
      
      (WebInspector.NavigationSidebarPanel.prototype.restoreStateFromCookie):
      Added. Eagerly search existing tree elements for a matching
      representedObject. If none exists, save the pending cookie and
      schedule last-resort matching using the provided timeout interval.
      
      (WebInspector.NavigationSidebarPanel.prototype._treeElementAddedOrChanged):
      Check if the added tree element matches a pending view state
      cookie, if one exists.
      
      (WebInspector.NavigationSidebarPanel.prototype.treeElementMatchesCookie):
      Added. Check if the tree element's representedObject matches the
      pending view state cookie.
      
      (WebInspector.NavigationSidebarPanel.prototype._checkElementsForPendingViewStateCookie):
      Added. For each provided tree element, check if the tree
      element's represented object produces the same serialized identity
      as the pending view state cookie that we are trying to resolve.
      If a match is found (possibly by relaxing to matching anything
      with the same type), select the tree element and clear both the
      pending view state cookie and last-resort selection timer.
      
      * UserInterface/Resource.js:
      (WebInspector.Resource): Add cookie keys and type identifier.
      (WebInspector.Resource.prototype.saveIdentityToCookie): Added.
      
      * UserInterface/ResourceClusterContentView.js:
      (WebInspector.ResourceClusterContentView.prototype.saveToCookie):
      (WebInspector.ResourceClusterContentView.prototype.restoreFromCookie):
      Since identity state is serialized by the representedObject, these
      methods only need to save view-specific state, such as the visible
      subview. Remove extraneous state.
      
      * UserInterface/Script.js:
      (WebInspector.Script): Add cookie keys and type identifier.
      (WebInspector.Script.prototype.saveIdentityToCookie): Added.
      * UserInterface/StorageManager.js: remove objectForCookie().
      * UserInterface/TimelineManager.js: remove objectForCookie().
      * UserInterface/TimelinesContentView.js:
      (WebInspector.TimelinesContentView.prototype.saveToCookie):
      (WebInspector.TimelinesContentView.prototype.restoreFromCookie):
      Since identity state is serialized by the representedObject, these
      methods only need to save view-specific state, such as the visible
      subview. Remove extraneous state.
      
      * UserInterface/TreeOutline.js: Add TreeOutline.prototype.constructor
      so other code can assume the constructor property exists.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08ccc28b
    • rniwa@webkit.org's avatar
      XML fragment parsing algorithm doesn't use the context element's default namespace URI · 55fa369e
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125132
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      Always use the context element's namespace as the default namespace URI when one is not specified by xmlns.
      
      The new behavior matches that of Internet Explorer and the specified behavior in HTML5:
      http://www.w3.org/TR/2013/CR-html5-20130806/the-xhtml-syntax.html#parsing-xhtml-fragments
      
      "The default namespace is the namespace for which the DOM isDefaultNamespace() method on the element would
      return true."
      
      Test: fast/parser/fragment-parsing-in-document-without-xmlns.html
      
      * xml/parser/XMLDocumentParserLibxml2.cpp:
      (WebCore::XMLDocumentParser::XMLDocumentParser):
      
      LayoutTests:
      
      Added a test for parsing a markup fragment inside a XHTML document without xmlns.
      The parsed fragment should use the context element's namespace as the default namespace.
      
      * fast/parser/fragment-parsing-in-document-without-xmlns-expected.txt: Added.
      * fast/parser/fragment-parsing-in-document-without-xmlns.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55fa369e
    • commit-queue@webkit.org's avatar
      Remove some CSS Variables leftovers · e2986bb9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125167
      
      Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-12-03
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      No new tests needed. Only removing leftover code.
      
      * css/CSSBasicShapes.cpp:
      * css/CSSBasicShapes.h:
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2986bb9
    • commit-queue@webkit.org's avatar
      Remove WTF:: prefix from types in messages.in files. · 249919bb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124578
      
      Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2013-12-03
      Reviewed by Anders Carlsson.
      
      The WTF:: prefixes are removed from the messages.in files, and the
      messages.py now handles unprefixed non-template WTF classes (only
      the WTF::String class is used currently). Tests are also updated.
      
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
      * NetworkProcess/NetworkConnectionToWebProcess.messages.in:
      * NetworkProcess/NetworkProcess.messages.in:
      * PluginProcess/PluginControllerProxy.messages.in:
      * PluginProcess/PluginProcess.messages.in:
      * Scripts/webkit2/messages.py:
      (forward_declarations_and_headers):
      (class_template_headers):
      (argument_coder_headers_for_type):
      * Scripts/webkit2/messages_unittest.py:
      (std):
      * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in:
      * UIProcess/Downloads/DownloadProxy.messages.in:
      * UIProcess/Plugins/PluginProcessProxy.messages.in:
      * UIProcess/Storage/StorageManager.messages.in:
      * UIProcess/WebContext.messages.in:
      * UIProcess/WebCookieManagerProxy.messages.in:
      * UIProcess/WebDatabaseManagerProxy.messages.in:
      * UIProcess/WebIconDatabase.messages.in:
      * UIProcess/WebInspectorProxy.messages.in:
      * UIProcess/WebMediaCacheManagerProxy.messages.in:
      * UIProcess/WebPageProxy.messages.in:
      * UIProcess/WebProcessProxy.messages.in:
      * WebProcess/Cookies/WebCookieManager.messages.in:
      * WebProcess/Geolocation/WebGeolocationManager.messages.in:
      * WebProcess/MediaCache/WebMediaCacheManager.messages.in:
      * WebProcess/Notifications/WebNotificationManager.messages.in:
      * WebProcess/Plugins/PluginProcessConnection.messages.in:
      * WebProcess/Plugins/PluginProxy.messages.in:
      * WebProcess/Storage/StorageAreaMap.messages.in:
      * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
      * WebProcess/WebPage/WebInspector.messages.in:
      * WebProcess/WebPage/WebPage.messages.in:
      * WebProcess/WebProcess.messages.in:
      * WebProcess/soup/WebSoupRequestManager.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      249919bb
    • commit-queue@webkit.org's avatar
      Checking second-to-last bit in address is a typo · c50faa7d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125162
      
      Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-12-03
      Reviewed by Darin Adler.
      
      After talking with the original author of this line,
      is was a typo to make sure that the second-to-last bit
      in an address is 0. Instead, we want to make sure that
      the address is aligned to a 4-byte boundary
      
      No behavior change, so no test is necessary
      
      * platform/graphics/cg/ImageBufferCG.cpp:
      (WebCore::ImageBuffer::ImageBuffer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c50faa7d
    • andersca@apple.com's avatar
      Tweak build fixes. · 75c5c6e6
      andersca@apple.com authored
      * Shared/APIClient.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75c5c6e6
    • dbates@webkit.org's avatar
      ANGLE fails to build with trunk clang: unused constant kTraceBufferLen · f1ae6548
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125164
      https://code.google.com/p/angleproject/issues/detail?id=534
      
      Reviewed by Darin Adler.
      
      Move the definition of the constant kTraceBufferLen under the macro
      guard TRACE_ENABLED since it's only referenced in code guarded by
      TRACE_ENABLED.
      
      * src/compiler/debug.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1ae6548
    • bfulgham@apple.com's avatar
      [Win] WebKit.make Makefile doesn't copy resource bundle to DSTROOT · d507d58d
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125160
      
      Reviewed by Tim Horton.
      
      * WebKit.vcxproj/WebKit.make: Add copy command for resource bundle.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d507d58d
    • mhahnenberg@apple.com's avatar
      run-jsc-stress-tests only supports host environments that have make installed · 77cebd6b
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124550
      
      Reviewed by Darin Adler.
      
      This might not be the case for all hosts, so this patch implements an alternate "backend" 
      for run-jsc-stress-tests to use normal shell commands rather than Makefiles. To remain at 
      least somewhat competitive with the make-based test runner, the shell backend uses subshells
      run in the background to allow tests to run in parallel. Since the concurrency primitives 
      in shell scripting are rather coarse, the overhead of this parallelism is higher than that 
      of the make-based runner.
      
      * Scripts/jsc-stress-test-helpers/shell-runner.sh: Added. This is the runner that is copied into
      the bundle and controls all of the parallel aspects of the shell-based test runner.
      * Scripts/run-jsc-stress-tests:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77cebd6b