1. 22 Jan, 2013 40 commits
    • mark.lam@apple.com's avatar
      Change the Supplementable class to not use AtomicString. · e69ee170
      mark.lam@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107535.
      
      Reviewed by Adam Barth.
      
      Replaced the use of AtomicString keys with literal const char* keys.
      This simplifies the SupplementMap and makes it slightly leaner and faster.
      
      Source/WebCore: 
      
      No new tests.
      
      * Modules/battery/BatteryController.cpp:
      (WebCore::BatteryController::supplementName):
      * Modules/battery/BatteryController.h:
      (BatteryController):
      * Modules/battery/NavigatorBattery.cpp:
      (WebCore::NavigatorBattery::supplementName):
      (WebCore):
      (WebCore::NavigatorBattery::from):
      * Modules/battery/NavigatorBattery.h:
      (NavigatorBattery):
      * Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp:
      (WebCore::DraggedIsolatedFileSystem::supplementName):
      * Modules/filesystem/chromium/DraggedIsolatedFileSystem.h:
      (DraggedIsolatedFileSystem):
      * Modules/gamepad/NavigatorGamepad.cpp:
      (WebCore::NavigatorGamepad::supplementName):
      (WebCore):
      (WebCore::NavigatorGamepad::from):
      * Modules/gamepad/NavigatorGamepad.h:
      (NavigatorGamepad):
      * Modules/geolocation/GeolocationController.cpp:
      (WebCore::GeolocationController::supplementName):
      * Modules/geolocation/GeolocationController.h:
      (GeolocationController):
      * Modules/geolocation/NavigatorGeolocation.cpp:
      (WebCore::NavigatorGeolocation::supplementName):
      (WebCore):
      (WebCore::NavigatorGeolocation::from):
      * Modules/geolocation/NavigatorGeolocation.h:
      (NavigatorGeolocation):
      * Modules/indexeddb/DOMWindowIndexedDatabase.cpp:
      (WebCore::DOMWindowIndexedDatabase::supplementName):
      (WebCore):
      (WebCore::DOMWindowIndexedDatabase::from):
      * Modules/indexeddb/DOMWindowIndexedDatabase.h:
      (DOMWindowIndexedDatabase):
      * Modules/indexeddb/PageGroupIndexedDatabase.cpp:
      (WebCore::PageGroupIndexedDatabase::supplementName):
      (WebCore):
      (WebCore::PageGroupIndexedDatabase::from):
      * Modules/indexeddb/PageGroupIndexedDatabase.h:
      (PageGroupIndexedDatabase):
      * Modules/indexeddb/WorkerContextIndexedDatabase.cpp:
      (WebCore::WorkerContextIndexedDatabase::supplementName):
      (WebCore):
      (WebCore::WorkerContextIndexedDatabase::from):
      * Modules/indexeddb/WorkerContextIndexedDatabase.h:
      (WorkerContextIndexedDatabase):
      * Modules/intents/DOMWindowIntents.cpp:
      (WebCore::DOMWindowIntents::supplementName):
      (WebCore):
      (WebCore::DOMWindowIntents::from):
      * Modules/intents/DOMWindowIntents.h:
      (DOMWindowIntents):
      * Modules/mediastream/UserMediaController.cpp:
      (WebCore::UserMediaController::supplementName):
      * Modules/mediastream/UserMediaController.h:
      (UserMediaController):
      * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
      (WebCore::NavigatorContentUtils::supplementName):
      * Modules/navigatorcontentutils/NavigatorContentUtils.h:
      (NavigatorContentUtils):
      * Modules/networkinfo/NavigatorNetworkInfoConnection.cpp:
      (WebCore::NavigatorNetworkInfoConnection::supplementName):
      (WebCore):
      (WebCore::NavigatorNetworkInfoConnection::from):
      * Modules/networkinfo/NavigatorNetworkInfoConnection.h:
      (NavigatorNetworkInfoConnection):
      * Modules/networkinfo/NetworkInfoController.cpp:
      (WebCore::NetworkInfoController::supplementName):
      * Modules/networkinfo/NetworkInfoController.h:
      (NetworkInfoController):
      * Modules/notifications/DOMWindowNotifications.cpp:
      (WebCore::DOMWindowNotifications::supplementName):
      (WebCore):
      (WebCore::DOMWindowNotifications::from):
      * Modules/notifications/DOMWindowNotifications.h:
      (DOMWindowNotifications):
      * Modules/notifications/NotificationController.cpp:
      (WebCore::NotificationController::supplementName):
      * Modules/notifications/NotificationController.h:
      (NotificationController):
      * Modules/notifications/WorkerContextNotifications.cpp:
      (WebCore::WorkerContextNotifications::supplementName):
      (WebCore):
      (WebCore::WorkerContextNotifications::from):
      * Modules/notifications/WorkerContextNotifications.h:
      (WorkerContextNotifications):
      * Modules/quota/DOMWindowQuota.cpp:
      (WebCore::DOMWindowQuota::supplementName):
      (WebCore):
      (WebCore::DOMWindowQuota::from):
      * Modules/quota/DOMWindowQuota.h:
      (DOMWindowQuota):
      * Modules/speech/DOMWindowSpeechSynthesis.cpp:
      (WebCore::DOMWindowSpeechSynthesis::supplementName):
      (WebCore):
      (WebCore::DOMWindowSpeechSynthesis::from):
      * Modules/speech/DOMWindowSpeechSynthesis.h:
      (DOMWindowSpeechSynthesis):
      * Modules/speech/SpeechRecognitionController.cpp:
      (WebCore::SpeechRecognitionController::supplementName):
      * Modules/speech/SpeechRecognitionController.h:
      (SpeechRecognitionController):
      * Modules/vibration/Vibration.cpp:
      (WebCore::Vibration::supplementName):
      * Modules/vibration/Vibration.h:
      (Vibration):
      * Modules/webdatabase/DatabaseContext.cpp:
      (WebCore::DatabaseContext::supplementName):
      (WebCore):
      (WebCore::DatabaseContext::existingDatabaseContextFrom):
      (WebCore::DatabaseContext::from):
      * Modules/webdatabase/DatabaseContext.h:
      (DatabaseContext):
      * dom/ContextFeatures.cpp:
      (WebCore::ContextFeatures::supplementName):
      * dom/ContextFeatures.h:
      * dom/DeviceMotionController.cpp:
      (WebCore::DeviceMotionController::supplementName):
      * dom/DeviceMotionController.h:
      (DeviceMotionController):
      * dom/DeviceOrientationController.cpp:
      (WebCore::DeviceOrientationController::supplementName):
      * dom/DeviceOrientationController.h:
      (DeviceOrientationController):
      * loader/PrerendererClient.cpp:
      (WebCore::PrerendererClient::supplementName):
      * loader/PrerendererClient.h:
      (PrerendererClient):
      * page/DOMWindowPagePopup.cpp:
      (WebCore::DOMWindowPagePopup::supplementName):
      * page/DOMWindowPagePopup.h:
      (DOMWindowPagePopup):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::supplementName):
      * page/SpeechInput.h:
      (SpeechInput):
      * platform/RefCountedSupplement.h:
      (WebCore::RefCountedSupplement::provideTo):
      (WebCore::RefCountedSupplement::from):
      * platform/Supplementable.h:
      (WebCore):
      (WebCore::Supplement::provideTo):
      (WebCore::Supplement::from):
      (WebCore::Supplementable::provideSupplement):
      (WebCore::Supplementable::removeSupplement):
      (WebCore::Supplementable::requireSupplement):
      (Supplementable):
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::supplementName):
      (WebCore):
      (WebCore::InternalSettings::from):
      * testing/InternalSettings.h:
      (InternalSettings):
      
      Source/WebKit/chromium: 
      
      * src/ContextFeaturesClientImpl.cpp:
      (ContextFeaturesCache):
      (WebKit::ContextFeaturesCache::supplementName):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e69ee170
    • commit-queue@webkit.org's avatar
      Convert disable-msg to disable for new pylint. · 7bd559c9
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107627
      
      Patch by Tim 'mithro' Ansell <mithro@mithis.com> on 2013-01-22
      Reviewed by Eric Seidel.
      
      * Scripts/webkitpy/common/checkout/scm/svn.py:
      (SVNRepository.has_authorization_for_realm):
      * Scripts/webkitpy/common/net/buildbot/buildbot.py:
      (Builder.force_build):
      * Scripts/webkitpy/common/system/executive_mock.py:
      (MockExecutive2.run_command):
      * Scripts/webkitpy/layout_tests/port/base.py:
      (Port.reference_files):
      * Scripts/webkitpy/layout_tests/port/chromium_port_testcase.py:
      (ChromiumPortTestCase.test_default_configuration):
      * Scripts/webkitpy/layout_tests/port/port_testcase.py:
      (PortTestCase.test_expectations_ordering):
      * Scripts/webkitpy/layout_tests/servers/http_server_base.py:
      (HttpServerBase._check_that_all_ports_are_available):
      * Scripts/webkitpy/tool/commands/abstractlocalservercommand.py:
      (AbstractLocalServerCommand.execute):
      * Scripts/webkitpy/tool/commands/download.py:
      (AbstractPatchProcessingCommand):
      * Scripts/webkitpy/tool/commands/rebaseline.py:
      (AbstractRebaseliningCommand):
      (AbstractParallelRebaselineCommand):
      * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
      (_BaseTestCase.setUp):
      (TestAnalyzeBaselines.setUp):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140508 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bd559c9
    • tkent@chromium.org's avatar
      2013-01-22 Kent Tamura <tkent@chromium.org> · 80be365a
      tkent@chromium.org authored
              [Chromium] Fix svn:mime-type of PNG files in platform/chromium*/
      
              * platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-color-stop-units-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-linear-angle-gradients-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-linear-right-angle-gradients-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-radial-gradients-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-radial-gradients2-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-repeating-linear-gradient-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/gradients/unprefixed-repeating-radial-gradients-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/fast/sub-pixel/transformed-iframe-copy-on-scroll-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/platform/chromium-linux/compositing/gestures/gesture-tapHighlight-simple-nested-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.png: Added property svn:mime-type.
              * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/video/video-controls-layer-creation-expected.png: Added property svn:mime-type.
              * platform/chromium-mac-lion/fast/inline/justify-emphasis-inline-box-expected.png: Added property svn:mime-type.
              * platform/chromium-mac/fast/forms/datetimelocal/datetimelocal-appearance-l10n-expected.png: Added property svn:mime-type.
              * platform/chromium-mac/fast/inline/justify-emphasis-inline-box-expected.png: Added property svn:mime-type.
              * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/datetime-suggestion-picker-appearance-locale-hebrew-expected.png: Added property svn:mime-type.
              * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-appearance-locale-hebrew-expected.png: Added property svn:mime-type.
              * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-locale-hebrew-expected.png: Added property svn:mime-type.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80be365a
    • morrita@google.com's avatar
      non-ENABLE(DETAILS_ELEMENT) build fails. · 376a4f8e
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107626
      
      Reviewed by Kent Tamura.
      
      No new tests, build configuration change.
      
      * rendering/RenderObject.h:
      (RenderObject): Added a missing condition.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      376a4f8e
    • commit-queue@webkit.org's avatar
      Whitelist should also work for the WebVTT ::cue element without an argument · 0bcebbe8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107488
      
      Source/WebCore:
      
      Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-22
      Reviewed by Andreas Kling.
      
      Apply filtering if the cue shadow pseudoId is set on the selector.
      
      Existing tests were modified to cover this case.
      
      * css/RuleSet.cpp:
      (WebCore::determinePropertyWhitelistType):
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlTextTrackContainerElement::createSubtrees):
      * html/track/TextTrackCue.h:
      (WebCore::TextTrackCue::cueShadowPseudoId):
      
      LayoutTests:
      
      Patch by Dima Gorbik <dgorbik@apple.com> on 2013-01-22
      Reviewed by Andreas Kling.
      
      * media/track/track-css-property-whitelist-expected.txt:
      * media/track/track-css-property-whitelist.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bcebbe8
    • fpizlo@apple.com's avatar
      Convert CSE phase to not rely too much on NodeIndex · 396f07d9
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107616
      
      Reviewed by Geoffrey Garen.
              
      - Instead of looping over the graph (which assumes that you can simply loop over all
        nodes without considering blocks first) to reset node.replacement, do that in the
        loop that sets up relevantToOSR, just before running CSE on the block.
              
      - Instead of having a relevantToOSR bitvector indexed by NodeIndex, made
        NodeRelevantToOSR be a NodeFlag. We had exactly one bit left in NodeFlags, so I did
        some reshuffling to fit it in.
      
      * dfg/DFGCSEPhase.cpp:
      (JSC::DFG::CSEPhase::CSEPhase):
      (JSC::DFG::CSEPhase::eliminateIrrelevantPhantomChildren):
      (JSC::DFG::CSEPhase::performNodeCSE):
      (JSC::DFG::CSEPhase::performBlockCSE):
      (CSEPhase):
      * dfg/DFGNodeFlags.h:
      (DFG):
      * dfg/DFGNodeType.h:
      (DFG):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      396f07d9
    • hayato@chromium.org's avatar
      Make MediaQueryEvaluator(bool) constructor explicit. · 9bd6bb75
      hayato@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107620
      
      Reviewed by Hajime Morita.
      
      No new tests: no change in behavior.
      
      * css/MediaQueryEvaluator.h:
      (MediaQueryEvaluator):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9bd6bb75
    • tkent@chromium.org's avatar
      [Chromium] Layout test calendar-picker-mouse-operations.html is flaky · 3b89510a
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107423
      
      * platform/chromium/TestExpectations:
      Update the bug URL.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b89510a
    • tkent@chromium.org's avatar
      [Chromium] Fix calendar-picker-key-operations.html · 77984db5
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101408
      
      Reviewed by Kentaro Hara.
      
      * platform/chromium/TestExpectations:
      * platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations.html:
      We need to apply the waitUntilClosing idiom because picker closing
      operation is asynchronous.
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations-expected.txt:
      Fix a failure.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77984db5
    • yosin@chromium.org's avatar
      Unreviewed. Remove a wrong entry from platfrom/chromium/TestExpectations · 293a9054
      yosin@chromium.org authored
      * platform/chromium/TestExpectations: Remove an entry for fast/forms/associated-element-crash.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      293a9054
    • nduca@chromium.org's avatar
      [chromium] Add WebDiscardableMemory to platform · de45d1c1
      nduca@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107183
      
      Reviewed by James Robinson.
      
      WebDiscardable provides a wrapper around memory that can be
      relcaimed by the underlying kernel when it is under heavy memory
      pressure. This will be used in a followup patch in the Chromium
      image decoding store for decoded/resized images.
      
      * Platform.gypi:
      * chromium/public/Platform.h:
      (WebKit):
      (Platform):
      (WebKit::Platform::allocateDiscardableMemory):
      * chromium/public/WebDiscardableMemory.h: Added.
      (WebKit):
      (WebDiscardableMemory):
      (WebKit::WebDiscardableMemory::~WebDiscardableMemory):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de45d1c1
    • andersca@apple.com's avatar
      Source/WebCore: Use a platform strategy for local storage · 89cf38d9
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * WebCore.exp.in:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      Add new files.
      
      * platform/PlatformStrategies.h:
      Add a way to create/get the storage strategy.
      
      * storage/StorageNamespace.cpp:
      (WebCore::StorageNamespace::localStorageNamespace):
      (WebCore::StorageNamespace::sessionStorageNamespace):
      Call the storage strategy.
      
      * storage/StorageNamespace.h:
      * storage/StorageStrategy.cpp: Added.
      (WebCore::StorageStrategy::localStorageNamespace):
      (WebCore::StorageStrategy::sessionStorageNamespace):
      Call through to StorageNamespaceImpl.
      
      * storage/StorageStrategy.h: Added.
      
      Source/WebKit/efl: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::createStorageStrategy):
      * WebCoreSupport/PlatformStrategiesEfl.h:
      (PlatformStrategiesEfl):
      
      Source/WebKit/gtk: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::createStorageStrategy):
      * WebCoreSupport/PlatformStrategiesGtk.h:
      (PlatformStrategiesGtk):
      
      Source/WebKit/mac: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebCoreSupport/WebPlatformStrategies.h:
      (WebPlatformStrategies):
      * WebCoreSupport/WebPlatformStrategies.mm:
      (WebPlatformStrategies::createStorageStrategy):
      
      Source/WebKit/qt: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::createStorageStrategy):
      * WebCoreSupport/PlatformStrategiesQt.h:
      (PlatformStrategiesQt):
      
      Source/WebKit/win: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::createStorageStrategy):
      * WebCoreSupport/WebPlatformStrategies.h:
      (WebPlatformStrategies):
      
      Source/WebKit/wince: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::createStorageStrategy):
      * WebCoreSupport/PlatformStrategiesWinCE.h:
      (PlatformStrategiesWinCE):
      
      Source/WebKit2: Use a platforom strategy for local storage
      https://bugs.webkit.org/show_bug.cgi?id=107600
      
      Reviewed by Andreas Kling.
      
      Update for new storage strategy.
      
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      (WebKit::WebPlatformStrategies::createStorageStrategy):
      (WebKit):
      * WebProcess/WebCoreSupport/WebPlatformStrategies.h:
      (WebPlatformStrategies):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89cf38d9
    • commit-queue@webkit.org's avatar
      Optimize the texture packing for texImage2D() and texSubImage2D() in WebGL · e1f938f4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105821
      
      Patch by Jun Jiang <jun.a.jiang@intel.com> on 2013-01-22
      Reviewed by Kenneth Russell.
      
      The original texture packing code uses function pointers to denote each unpack and pack operations for different combination of Source formats,
      Destination formats and Alpha Operations. It could be made cleaner and simpler. In this patch, template functions are used and try best to avoid
      generating useless code for unreachable path to avoid code bloat. Moreover, the flipY operation is moved into the pack operation instead of
      operating in a standalone method to improve performance.
      
      Already covered by current test.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore):
      (WebCore::WebGLRenderingContext::texImage2DImpl):
      (WebCore::WebGLRenderingContext::texSubImage2DImpl):
      * platform/graphics/GraphicsContext3D.cpp:
      (WebCore::GraphicsContext3D::packImageData):
      (WebCore::GraphicsContext3D::extractImageData):
      (WebCore::GraphicsContext3D::extractTextureData):
      (WebCore):
      (WebCore::GraphicsContext3D::packPixels):
      * platform/graphics/GraphicsContext3D.h:
      (WebCore::GraphicsContext3D::srcFormatComeFromDOMElementOrImageData):
      (GraphicsContext3D):
      (WebCore::GraphicsContext3D::ImageExtractor::imageSourceFormat):
      (ImageExtractor):
      * platform/graphics/cairo/GraphicsContext3DCairo.cpp:
      (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
      * platform/graphics/cg/GraphicsContext3DCG.cpp:
      (WebCore::getSourceDataFormat):
      (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
      * platform/graphics/efl/GraphicsContext3DEfl.cpp:
      (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
      * platform/graphics/qt/GraphicsContext3DQt.cpp:
      (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
      * platform/graphics/skia/GraphicsContext3DSkia.cpp:
      (WebCore::GraphicsContext3D::ImageExtractor::extractImage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1f938f4
    • commit-queue@webkit.org's avatar
      Flakiness dashboard: update builders.jsonp · 25060fe3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107610
      
      Patch by Frank Farzan <frankf@chromium.org> on 2013-01-22
      Reviewed by Ojan Vafai.
      
      * TestResultServer/static-dashboards/builders.jsonp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25060fe3
    • leandrogracia@chromium.org's avatar
      [Chromium] Expose didCommitCompositorFrame in WebWidgetClient. · d826ed1c
      leandrogracia@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107325
      
      Reviewed by James Robinson.
      
      Add a notification on WebWidgetClient called when the compositor commits a frame.
      
      * public/WebWidgetClient.h:
      (WebWidgetClient):
      (WebKit::WebWidgetClient::didCommitCompositorFrame):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::didCommit):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d826ed1c
    • commit-queue@webkit.org's avatar
      Add Android instrumentation tests from ChromiumLinux waterfall · 08e955f1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107597
      
      Patch by Frank Farzan <frankf@chromium.org> on 2013-01-22
      Reviewed by Ojan Vafai.
      
      * TestResultServer/static-dashboards/builders.js:
      (loadBuildersList):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08e955f1
    • haraken@chromium.org's avatar
      Implement UIEvent constructor · 7b8ddbae
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107430
      
      Reviewed by Adam Barth.
      
      Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
      
      UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
      which is enabled on Safari and Chromium for now.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Test: fast/events/constructors/ui-event-constructor.html
      
      * Configurations/FeatureDefines.xcconfig:
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeader):
      * bindings/scripts/test/V8/V8TestInterface.h:
      (V8TestInterface):
      * dom/UIEvent.cpp:
      (WebCore::UIEventInit::UIEventInit):
      (WebCore):
      (WebCore::UIEvent::UIEvent):
      * dom/UIEvent.h:
      (WebCore):
      (UIEventInit):
      (UIEvent):
      (WebCore::UIEvent::create):
      (WebCore::UIEvent::view):
      (WebCore::UIEvent::detail):
      (FocusInEventDispatchMediator):
      (FocusOutEventDispatchMediator):
      * dom/UIEvent.idl:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      
      LayoutTests:
      
      * fast/events/constructors/ui-event-constructor-expected.txt: Added.
      * fast/events/constructors/ui-event-constructor.html: Added.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b8ddbae
    • commit-queue@webkit.org's avatar
      [EFL][WebGL] Enable WebGL LayoutTests. · 1e9883f5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107485
      
      Patch by Kondapally Kalyan <kalyan.kondapally@intel.com> on 2013-01-22
      Reviewed by Laszlo Gombos.
      
      This patch enables WebGL LayoutTests for Efl Port.
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e9883f5
    • commit-queue@webkit.org's avatar
      Add functions to ChangeLog - parse bug desc/changed functions, delete/prepend entries · 35b092f5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107478
      
      Patch by Timothy Loh <timloh@chromium.com> on 2013-01-22
      Reviewed by Eric Seidel.
      
      On the road to resolving Bug 74358, we need a few more functions in
      changelog.py.
      To make things easier to mock, change @staticmethods to @classmethods.
      
      * Scripts/webkitpy/common/checkout/changelog.py:
      (ChangeLogEntry):
      (ChangeLogEntry._parse_reviewer_text):
      (ChangeLogEntry._split_contributor_names):
      (ChangeLogEntry._parse_author_name_and_email):
      (ChangeLogEntry._parse_author_text):
      (ChangeLogEntry._parse_touched_functions):
      (ChangeLogEntry._parse_bug_description):
      (ChangeLogEntry._parse_entry):
      (ChangeLogEntry.date_line):
      (ChangeLogEntry.bug_description):
      (ChangeLogEntry.touched_functions):
      (ChangeLogEntry.touched_files_text):
      (ChangeLogEntry.is_touched_files_text_clean):
      (ChangeLog):
      (ChangeLog.parse_latest_entry_from_file):
      (ChangeLog._separate_revision_and_line):
      (ChangeLog.parse_entries_from_file):
      (ChangeLog.set_short_description_and_bug_url):
      (ChangeLog.delete_entries):
      (ChangeLog.prepend_text):
      * Scripts/webkitpy/common/checkout/changelog_unittest.py:
      (test_parse_log_entries_from_changelog):
      (test_latest_entry_parse):
      (test_set_short_description_and_bug_url):
      (test_delete_entries):
      (test_prepend_text):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35b092f5
    • noel.gordon@gmail.com's avatar
      [chromium] webaudio/realtimeanalyser-fft-sizing.html is failing on Win7 · 95ee6f3f
      noel.gordon@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107581
      
      Unreviewed gardening.
      
      Results on all win platforms match the generic expected result (so use that).
      
      * platform/chromium-linux/webaudio/realtimeanalyser-fft-sizing-expected.txt: Removed.
      * platform/chromium-win-xp/webaudio/realtimeanalyser-fft-sizing-expected.txt: Removed.
      * platform/chromium-win/webaudio/realtimeanalyser-fft-sizing-expected.txt: Removed.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95ee6f3f
    • jsbell@chromium.org's avatar
      IndexedDB: Remove IDBKey from WebKitIDL · c837f818
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97375
      
      Reviewed by Kentaro Hara.
      
      Now that references to the artificial IDBKey type have been removed from all IDLs, remove
      the support code, and move the conversion code into the IDBBindingUtilities. Removes
      references to the autogenerated {V8,JS}IDBKey{Custom,}.{cpp,h} from the project files.
      
      No new tests - just code moves/removing unused code. Updated binding reference test results.
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Modules/indexeddb/IDBKey.idl: Removed.
      * Target.pri:
      * UseJSC.cmake:
      * UseV8.cmake:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/IDBBindingUtilities.cpp:
      (WebCore::toJS): Moved here from JSIDBKeyCustom.cpp
      (WebCore):
      * bindings/js/JSIDBKeyCustom.cpp: Removed.
      * bindings/scripts/CodeGeneratorJS.pm:
      (JSValueToNative):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateFunctionCallString):
      (GetNativeType):
      (JSValueToNative):
      * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
      * bindings/scripts/test/CPP/WebDOMTestObj.h:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
      * bindings/scripts/test/JS/JSTestObj.cpp:
      * bindings/scripts/test/JS/JSTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.mm:
      * bindings/scripts/test/TestObj.idl: Removed IDBKey-specific test.
      * bindings/scripts/test/V8/V8TestObj.cpp:
      * bindings/v8/IDBBindingUtilities.cpp:
      (WebCore::toV8): Moved here from V8IDBKeyCustom.cpp
      (WebCore):
      * bindings/v8/custom/V8IDBKeyCustom.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c837f818
    • roger_fong@apple.com's avatar
      Unreviewed VS2010 build fix following r140259. · 2aa3e0bc
      roger_fong@apple.com authored
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2aa3e0bc
    • ap@apple.com's avatar
      Move sandbox initialization to ChildProcess · c7497c76
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=107486
      
              Reviewed by Sam Weinig.
      
              * NetworkProcess/NetworkProcess.h:
              * NetworkProcess/NetworkProcess.cpp:
              (WebKit::NetworkProcess::initializeSandbox): Removed. We no longer need this function
              to be implemented in each process type.
      
              * NetworkProcess/mac/NetworkProcessMac.mm:
              (WebKit::initializeSandbox): Removed a custom (and incomplete) implementation.
              (WebKit::NetworkProcess::processUpdateSandboxInitializationParameters): Clear
              sandbox profile path in parameters, telling ChildProcess to not enter a sandbox.
      
              * PluginProcess/PluginProcess.h:
              * PluginProcess/mac/PluginProcessMac.mm:
              Added FIXMEs, saying that we should switch to ChildProcess implementation.
      
              * Shared/ChildProcess.cpp: Dummy implementations for other platforms.
      
              * Shared/ChildProcess.h: Added processUpdateSandboxInitializationParameters, which
              child processes will override to change sandbox initialization parameters.
      
              * Shared/SandboxInitializationParameters.h: Added.
              * Shared/mac/SandboxInitialiationParametersMac.mm: Added.
              Abstracts out sandbox parameter vector for coding safety. Encapsulates other
              things that subclasses will want to do differently.
      
              * Shared/mac/ChildProcessMac.mm: (WebKit::ChildProcess::initializeSandbox):
              Added a shared implementation, based largely on WebProcess version.
      
              * SharedWorkerProcess/mac/SharedWorkerProcessMac.mm: Removed custom sandboxing code.
      
              * WebKit2.xcodeproj/project.pbxproj: Added SandboxInitializationParameters files.
      
              * WebProcess/WebProcess.cpp:
              * WebProcess/WebProcess.h:
              Updated dummy implementations to match ChildProcess.
      
              * WebProcess/mac/WebProcessMac.mm:
              (WebKit): Moved sandboxing code to ChildProcess.
              (WebKit::WebProcess::processUpdateSandboxInitializationParameters): Override
              profile path, because default one doesn't work for WebProcessService.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7497c76
    • tonyg@chromium.org's avatar
      Fix assertions in make8BitFrom16BitSource() with threaded parser · 0635b2fa
      tonyg@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107596
      
      Reviewed by Adam Barth.
      
      This fixes an assertion in several fast/parser tests. We need to keep track of whether the data is all 8bit.
      Luckily this doesn't cost us any size on CompactHTMLToken because the bitfields are collapsed (verified by COMPILE_ASSERT).
      
      No new tests because covered by existing fast/parser tests.
      
      * html/parser/CompactHTMLToken.cpp:
      (WebCore::CompactHTMLToken::CompactHTMLToken):
      * html/parser/CompactHTMLToken.h:
      (WebCore::CompactHTMLToken::isAll8BitData):
      (CompactHTMLToken):
      * html/parser/HTMLToken.h:
      (WebCore::AtomicHTMLToken::AtomicHTMLToken):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0635b2fa
    • tonyg@chromium.org's avatar
      Fix ASSERT(!hasInsertionPoint()) in threaded HTML parser · 57dabcd9
      tonyg@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107593
      
      Reviewed by Adam Barth.
      
      Prior to this patch, several fast/parser tests hit ASSERT(!hasInsertionPoint()) in prepareToStopParsing().
      That was because hasInsertionPoint() checks m_input.haveSeenEndOfFile() which was skipped for the threaded
      parser case. This patch causes us to call markEndOfFile().
      
      No new tests because covered by existing fast/parser tests.
      
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::didReceiveTokensFromBackgroundParser): This FIXME was done in a previous patch.
      (WebCore::HTMLDocumentParser::finish):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57dabcd9
    • jsbell@chromium.org's avatar
      Prevent race condition during Worker shutdown · 54114a53
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107577
      
      Reviewed by Dmitry Titov.
      
      Source/WebCore:
      
      During worker shutdown, from the main thread a cleanup task is posted followed by
      terminating the message queue, which prevents further tasks from being processed. It was
      possible for another task be posted by another thread between the main thread calls
      to postTask and terminate(), which would cause that task to run after cleanup. Expose
      a new WTF::MessageQueue::appendAndKill() method which keeps a mutex around the two steps,
      and use that during worker shutdown.
      
      No reliable tests for the race - problem identified by inspection of user crash stacks.
      
      * workers/WorkerRunLoop.cpp:
      (WebCore::WorkerRunLoop::postTaskAndTerminate): New method, uses MessageQueue::appendAndKill()
      * workers/WorkerRunLoop.h:
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThread::stop): Uses postTaskAndTerminate() to avoid race.
      
      Source/WTF:
      
      Add MessageQueue::appendAndKill() which wraps those two steps with a mutex so other
      threads can't sneak a message in between.
      
      * wtf/MessageQueue.h: Added appendAndKill() method.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54114a53
    • tony@chromium.org's avatar
      Unreviewed, rolling out r140171. · fd13b5b6
      tony@chromium.org authored
      http://trac.webkit.org/changeset/140171
      https://bugs.webkit.org/show_bug.cgi?id=107193
      
      Regressed scrollable region size in other cases.
      
      Source/WebCore:
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::simplifiedLayout):
      
      LayoutTests:
      
      * fast/overflow/height-during-simplified-layout-expected.txt: Removed.
      * fast/overflow/height-during-simplified-layout.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd13b5b6
    • ap@apple.com's avatar
      [WK2] WebProcessService is not terminated when page is closed · 96ba478a
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=107595
      
              Reviewed by Anders Carlsson.
      
              * platform/mac/RunLoopMac.mm: (WebCore::RunLoop::stop): Allow stopping XPC service
              run loop. Also, harmonized NSApp vs. [NSApplication sharedApplication] usage.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96ba478a
    • jchaffraix@webkit.org's avatar
      [CSS Grid Layout] Add grid.css to hold the common grid testing code · 4cf26729
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107044
      
      Reviewed by Tony Chang.
      
      * fast/css-grid-layout/containing-block-grids.html:
      Removed 2 bad display: none rules that where overriden by
      the inline style declaration.
      
      * fast/css-grid-layout/minmax-fixed-logical-height-only.html:
      * fast/css-grid-layout/breadth-size-resolution-grid.html:
      * fast/css-grid-layout/calc-resolution-grid-item.html:
      * fast/css-grid-layout/display-grid-set-get.html:
      * fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
      * fast/css-grid-layout/grid-columns-rows-get-set.html:
      * fast/css-grid-layout/grid-element-padding-margin.html:
      * fast/css-grid-layout/minmax-fixed-logical-width-only.html:
      * fast/css-grid-layout/minmax-min-content-column-resolution-columns.html:
      * fast/css-grid-layout/minmax-min-content-column-resolution-rows.html:
      * fast/css-grid-layout/percent-grid-item-in-percent-grid-track-in-percent-grid.html:
      * fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html:
      * fast/css-grid-layout/percent-grid-item-in-percent-grid-track.html:
      * fast/css-grid-layout/percent-padding-margin-resolution-grid-item-update.html:
      * fast/css-grid-layout/percent-padding-margin-resolution-grid-item.html:
      * fast/css-grid-layout/percent-resolution-grid-item.html:
      * fast/css-grid-layout/place-cell-by-index.html:
      Updated all the files above to:
      - use grid.css.
      - rename 'a', 'b', 'c' and 'd' to more meaningful.
      - change the previous ids to be classes as we ended up having several divs with the same id.
      
      * fast/css-grid-layout/resources/grid.css: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cf26729
    • ojan@chromium.org's avatar
      REGRESION(r130774): preferred width of tables does not take max-width into account · f7e426d9
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107576
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Constrain preferred widths by min/max the way we do in other
      RenderBlock subclasses. Eventually, we'll shared the code with
      RenderBlock, but this is an incremental step in that direction
      that we can safely merge into release branches.
      
      Test: fast/table/min-max-width-preferred-size.html
      
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::computePreferredLogicalWidths):
      
      LayoutTests:
      
      * fast/table/min-max-width-preferred-size-expected.txt: Added.
      * fast/table/min-max-width-preferred-size.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7e426d9
    • abarth@webkit.org's avatar
      The BackgroundHTMLParser shouldn't pause when waiting for scripts · c5c3254e
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107584
      
      Reviewed by Eric Seidel.
      
      Previously, the BackgroundHTMLParser would pause itself when it
      encountered a scrip tag and wait for a signal from the main thread to
      continue. After this patch, the BackgroundHTMLParser continues ahead
      and the main thread keeps a queue of pending tokens.
      
      This patch brings us closer to speculative parsing because when the
      BackgroundHTMLParser is continuing ahead, it is speculating that it is
      in the correct state. A future patch will let us abort incorret
      speculations and resume from an eariler point in the input stream.
      
      * html/parser/BackgroundHTMLParser.cpp:
      (WebCore::checkThatTokensAreSafeToSendToAnotherThread):
      (WebCore::BackgroundHTMLParser::BackgroundHTMLParser):
      (WebCore::BackgroundHTMLParser::simulateTreeBuilder):
      (WebCore::BackgroundHTMLParser::pumpTokenizer):
      (WebCore::TokenDelivery::TokenDelivery):
      (TokenDelivery):
      (WebCore::TokenDelivery::execute):
      (WebCore::BackgroundHTMLParser::sendTokensToMainThread):
      * html/parser/BackgroundHTMLParser.h:
      (BackgroundHTMLParser):
      * html/parser/CompactHTMLToken.h:
      (WebCore):
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::didReceiveTokensFromBackgroundParser):
      (WebCore):
      (WebCore::HTMLDocumentParser::processTokensFromBackgroundParser):
      (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
      * html/parser/HTMLDocumentParser.h:
      (HTMLDocumentParser):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5c3254e
    • commit-queue@webkit.org's avatar
      [BlackBerry] GIF & RAF animations sometimes don't resume after zoom · 5b2e61f2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107590
      
      Patch by Andrew Lo <anlo@rim.com> on 2013-01-22
      Reviewed by Rob Buis.
      Internally reviewed by Jakob Petsovits.
      
      Internal PR 276907.
      Dispatch render jobs when resuming backing store updates to perform jobs
      queued when updates were suspended.
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::resumeBackingStoreUpdates):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b2e61f2
    • lforschler@apple.com's avatar
      Create a MAC EWS startup shell script. · 1b2f6aea
      lforschler@apple.com authored
      Reviewed by Ryosuke Niwa.
      
      * EWSTools/start-queue-mac.sh: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b2f6aea
    • simon.fraser@apple.com's avatar
      Fix scrollperf logging · 277cd0f9
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107589
      
      Reviewed by Tim Horton.
      
      The scrollperf logging had two issues:
      
      1. It relied on a paint logging a "filled" event, but it's possible
      for existing tiles to be moved into the viewport and filling it, so
      we need to log from the scrolling thread both when we have unfilled pixels,
      and when the last scroll revealed unfilled pixels.
      
      2. On some pages, z-index:-1 elements behind the body cause the root
      TileCache to have drawsContent set to false, so none of its tiles paint. In
      that case, the check for a non-zero paintCount in TileCache::blankPixelCountForTiles()
      was wrong; we don't think there's a way to have an unpainted tile in the tree.
      
      Also fix the signature of blankPixelCountForTiles() to take references.
      
      * page/scrolling/mac/ScrollingTreeScrollingNodeMac.h:
      (ScrollingTreeScrollingNodeMac):
      * page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
      (WebCore::ScrollingTreeScrollingNodeMac::ScrollingTreeScrollingNodeMac):
      (WebCore::ScrollingTreeScrollingNodeMac::logExposedUnfilledArea):
      * platform/graphics/ca/mac/TileCache.h:
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::blankPixelCountForTiles):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      277cd0f9
    • msaboff@apple.com's avatar
      sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A7.2.html is crashing · 0a3c938a
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=90742
      
      Unreviewed.  Test passes without any error or crashing.  Suspect
      that the original issue has been resolved.
      
      * platform/mac/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a3c938a
    • hclam@chromium.org's avatar
      Make CompactHTMLToken a little more compact · f9795242
      hclam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107317
      
      Patch by Eric Seidel <eric@webkit.org> on 2013-01-22
      Reviewed by Adam Barth.
      
      The windows builders got sad because MSVC won't combine
      adjacent bit-fields with different types.  Changing
      bool to unsigned should fix the problem.
      
      * html/parser/CompactHTMLToken.h:
      (CompactHTMLToken):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9795242
    • roger_fong@apple.com's avatar
      JavaScriptCore property sheets, project files and modified build scripts. · 0c30b331
      roger_fong@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106987
      
      Reviewed by Brent Fulgham.
      
      * JavaScriptCore.vcxproj: Added.
      * JavaScriptCore.vcxproj/JavaScriptCore.resources: Added.
      * JavaScriptCore.vcxproj/JavaScriptCore.resources/Info.plist: Added.
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: Added.
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: Added.
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.user: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreCF.props: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreCommon.props: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreDebug.props: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreExports.def: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGenerated.make: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj.filters: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGenerated.vcxproj.user: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGeneratedCommon.props: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGeneratedDebug.props: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreGeneratedRelease.props: Added.
      * JavaScriptCore.vcxproj/JavaScriptCorePostBuild.cmd: Added.
      * JavaScriptCore.vcxproj/JavaScriptCorePreBuild.cmd: Added.
      * JavaScriptCore.vcxproj/JavaScriptCorePreLink.cmd: Added.
      * JavaScriptCore.vcxproj/JavaScriptCoreRelease.props: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/LLIntAssembly.make: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/LLIntAssembly.vcxproj: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/LLIntAssembly.vcxproj.user: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntAssembly/build-LLIntAssembly.sh: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.make: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/LLIntDesiredOffsets.vcxproj.user: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntDesiredOffsets/build-LLIntDesiredOffsets.sh: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractor.vcxproj.user: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorCommon.props: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorDebug.props: Added.
      * JavaScriptCore.vcxproj/LLInt.vcproj/LLIntOffsetsExtractor/LLIntOffsetsExtractorRelease.props: Added.
      * JavaScriptCore.vcxproj/build-generated-files.sh: Added.
      * JavaScriptCore.vcxproj/copy-files.cmd: Added.
      * JavaScriptCore.vcxproj/jsc: Added.
      * JavaScriptCore.vcxproj/jsc/jsc.vcxproj: Added.
      * JavaScriptCore.vcxproj/jsc/jsc.vcxproj.filters: Added.
      * JavaScriptCore.vcxproj/jsc/jsc.vcxproj.user: Added.
      * JavaScriptCore.vcxproj/jsc/jscCommon.props: Added.
      * JavaScriptCore.vcxproj/jsc/jscDebug.props: Added.
      * JavaScriptCore.vcxproj/jsc/jscPostBuild.cmd: Added.
      * JavaScriptCore.vcxproj/jsc/jscPreBuild.cmd: Added.
      * JavaScriptCore.vcxproj/jsc/jscPreLink.cmd: Added.
      * JavaScriptCore.vcxproj/jsc/jscRelease.props: Added.
      * config.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c30b331
    • hclam@chromium.org's avatar
      [chromium] Update test expectations · 75e2ec0d
      hclam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107587
      
      Unreviewed. Mark these tests as slow on Win7 Debug:
      platform/chromium/virtual/gpu/fast/hidpi/clip-text-in-hidpi.html
      platform/chromium/virtual/gpu/fast/hidpi/device-scale-factor-paint.html
      platform/chromium/virtual/gpu/fast/hidpi/focus-rings.html
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      75e2ec0d
    • commit-queue@webkit.org's avatar
      [Blackberry] Static code analysis warning fixes · 8c295b00
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107464
      
      Patch by Anthony Scian <ascian@rim.com> on 2013-01-22
      Reviewed by Rob Buis.
      
      Klocwork issues: 1367, 2367
      - add NULL pointer checks detected by static code analysis
      
      * platform/blackberry/WidgetBlackBerry.cpp:
      (WebCore::Widget::setCursor):
      * plugins/blackberry/PluginViewBlackBerry.cpp:
      (WebCore::PluginView::updatePluginWidget):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c295b00
    • joepeck@webkit.org's avatar
      [Mac] Enable Page Visibility (PAGE_VISIBILITY_API) · f8be7cc2
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107230
      
      Reviewed by David Kilzer.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      No new tests. Covered by existing tests which are now unskipped.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (TestRunner::resetPageVisibility):
      Fix a typo in the original implementation. resetPageVisibility should
      pass initialState YES so an event is not dispatched, which causes
      issues in multiple tests. This now matches other ports.
      
      LayoutTests:
      
      * fast/events/page-visibility-iframe-delete-test-expected.txt:
      * fast/events/page-visibility-iframe-delete-test.html:
      Fix a typo.
      
      * platform/mac/TestExpectations:
      Unskip the tests on OS X.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8be7cc2