1. 27 Jun, 2013 31 commits
    • commit-queue@webkit.org's avatar
      Polish context menus for media elements · fe125904
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118078
      <rdar://problem/14278960>
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-06-27
      Reviewed by Eric Carlson.
      
      No new tests: media/context-menu-action.html,
      which has been disabled by bug 116651, is used to test context menus.
      
      * English.lproj/Localizable.strings: Changed "Fullscreen" to "Full Screen"
      and added strings "Show Controls" and "Hide Controls".
      
      * page/ContextMenuController.cpp: Updated to include a new context menu item
      that toggles betweeen "Show Controls" and "Hide Controls".
      
      * platform/ContextMenuItem.h:
      
      * platform/LocalizedStrings.cpp:
      * platform/LocalizedStrings.h:
      * platform/efl/LocalizedStringsEfl.cpp:
      * platform/gtk/LocalizedStringsGtk.cpp:
      * platform/qt/LocalizedStringsQt.cpp:
      Added equivalents of localized strings "Show Controls" and "Hide Controls".
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe125904
    • ossy@webkit.org's avatar
      [webkitpy] AbstractPatchSequencingCommand should have _prepare_state · ca529ecf
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118128
      
      Reviewed by Ryosuke Niwa.
      
      It is a preparation for a new webkit-patch command: run-tests-touched-by-attachment
      https://bugs.webkit.org/show_bug.cgi?id=117831
      
      * Scripts/webkitpy/tool/commands/download.py:
      (AbstractPatchSequencingCommand):
      (AbstractPatchSequencingCommand._prepare_to_process): Call _prepare_state before prepare_steps.
      (AbstractPatchSequencingCommand._process_patch): Use the same initial state for each patch.
      (AbstractPatchSequencingCommand._prepare_state): Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca529ecf
    • ossy@webkit.org's avatar
      Fix cast-align warnings in WebKit2/Platform/CoreIPC · 9c8071f4
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=117987
      
      Reviewed by Rob Buis, WK2 signed-off by Anders Carlsson.
      
      * Platform/CoreIPC/ArgumentDecoder.cpp:
      (CoreIPC::ArgumentDecoder::decode):
      * Platform/CoreIPC/ArgumentEncoder.cpp:
      (CoreIPC::ArgumentEncoder::encode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c8071f4
    • cfleizach@apple.com's avatar
      AX: IOS: crash while navigating with SVG · 9ab1f15c
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118101
      
      Source/WebCore: 
      
      Need to check if the SVG path exists before copying it.
      
      Reviewed by Stephen Chenney.
      
      Test: platform/iphone-simulator/accessibility/svg-path-crash.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::elementPath):
      * rendering/svg/RenderSVGShape.h:
      (WebCore::RenderSVGShape::hasPath):
      
      LayoutTests: 
      
      Reviewed by Stephen Chenney.
      
      * platform/iphone-simulator/accessibility/svg-path-crash-expected.txt: Added.
      * platform/iphone-simulator/accessibility/svg-path-crash.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ab1f15c
    • commit-queue@webkit.org's avatar
      [Qt] Build overrides -j when given --makeargs="-sj40" · ca3c5299
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116897
      
      Patch by Brendan Long <b.long@cablelabs.com> on 2013-06-27
      Reviewed by Csaba Osztrogonác.
      
      * Scripts/webkitdirs.pm:
      (buildQMakeProjects):
      Change regex checking for -j* to also check for -*j*
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca3c5299
    • commit-queue@webkit.org's avatar
      Removing the redundant checks after r152078 · ebf60dde
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118117
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-06-27
      Reviewed by Simon Fraser.
      
      Avoided redundant checks in RenderLayerCompositor::reasonsForCompositing() after r152078.
      
      No new tests as no functionality change.
      
      * inspector/InspectorLayerTreeAgent.cpp:
      (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::logReasonsForCompositing):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebf60dde
    • commit-queue@webkit.org's avatar
      [BlackBerry] We should clear all markers when input changes a word · 2fa585ec
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118136
      JIRA115313.
      
      For the case where a letter is added to the middle of a misspelled word, we were
      sending incorrect offsets to clear spelling markers. However, since this
      expanded the current word, it overlaps entirely the previous spelling marker so
      no issue is found. However, if the keypress is backspace, the incorrect range
      is smaller, causing an overlap which recreates the marker over the last character.
      Setting shouldEraseMarkersAfterChangeSelection to follow continuous spell checking,
      which will clear all markers regardless of overlap.
      This patch also sustains spelling markers after the user taps to move the caret onto
      the word, which is a nice gain as it was asked for previously.
      
      Patch by Nima Ghanavatian <nghanavatian@blackberry.com> on 2013-06-27
      Reviewed by Rob Buis.
      
      Internally Reviewed by Mike Fenton
      
      * WebCoreSupport/EditorClientBlackBerry.cpp:
      (WebCore::EditorClientBlackBerry::shouldEraseMarkersAfterChangeSelection):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2fa585ec
    • mario@webkit.org's avatar
      [GTK] Unreviewed gardening. Unskip tests no longer timing out. · b8e48e06
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118135
      
      Unreviewed GTK gardening.
      
      Patch by Simon Pena <simon.pena@samsung.com> on 2013-06-27
      
      * platform/gtk-wk1/TestExpectations:
      * platform/gtk/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8e48e06
    • ch.dumez@sisa.samsung.com's avatar
      Remove [NoInterfaceObject] from WorkerGlobalScope · 1a536842
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118071
      
      Reviewed by Kentaro Hara.
      
      .:
      
      Update GENERATE_BINDINGS CMake macro to take 2 additional parameters
      now needed by the preprocess-idls.pl script.
      
      * Source/cmake/WebKitMacros.cmake:
      
      Source/WebCore:
      
      Expose WorkerGlobalScope interface in worker environment as per the latest
      specification:
      http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#the-workerglobalscope-common-interface
      
      Also expose the SharedWorkerGlobalScope interface when the JavaScript global environment is a
      shared worker environment, and the DedicatedWorkerGlobalScope interface when the JavaScript
      global environment is a dedicated worker environment:
      http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#sharedworkerglobalscope
      http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#dedicatedworkerglobalscope
      
      The semantics of the [GlobalContext] IDL extended attribute has changed to support this
      use case. The value for the extended attribute is now the name of the interface to which the
      Constructor attribute should be added (Window, WorkerGlobalScope, SharedWorkerGlobalScope...).
      It is possible to specify several interface names by using '&' as separator. For e.g.
      [GlobalContext=DOMWindow&WorkerGlobalScope].
      
      Tests: fast/js/global-constructors-attributes-dedicated-worker.html
             fast/js/global-constructors-attributes-shared-worker.html
      
      * CMakeLists.txt:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * Modules/websockets/WebSocket.idl:
      * UseJSC.cmake:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateConstructorHelperMethods):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/generate-bindings.pl:
      (checkIfIDLAttributesExists):
      * bindings/scripts/preprocess-idls.pl:
      * dom/MessageChannel.idl:
      * dom/MessageEvent.idl:
      * fileapi/Blob.idl:
      * fileapi/FileReader.idl:
      * fileapi/FileReaderSync.idl:
      * html/DOMURL.idl:
      * html/canvas/ArrayBuffer.idl:
      * html/canvas/DataView.idl:
      * html/canvas/Float32Array.idl:
      * html/canvas/Float64Array.idl:
      * html/canvas/Int16Array.idl:
      * html/canvas/Int32Array.idl:
      * html/canvas/Int8Array.idl:
      * html/canvas/Uint16Array.idl:
      * html/canvas/Uint32Array.idl:
      * html/canvas/Uint8Array.idl:
      * html/canvas/Uint8ClampedArray.idl:
      * page/EventSource.idl:
      * workers/DedicatedWorkerGlobalScope.idl:
      * workers/SharedWorkerGlobalScope.idl:
      * workers/WorkerGlobalScope.idl:
      * workers/WorkerLocation.idl:
      * xml/XMLHttpRequest.idl:
      
      Tools:
      
      Update bindings test script to pass 2 additional parameters
      now needed by the preprocess-idls.pl script.
      
      * Scripts/webkitpy/bindings/main.py:
      (BindingsTests.generate_supplemental_dependency):
      (BindingsTests.main):
      
      LayoutTests:
      
      Split fast/js/global-constructors-attributes-worker.html test into 2 for both
      shared and dedicated workers, as the output is now different.
      
      * fast/js/global-constructors-attributes-dedicated-worker-expected.txt: Copied from LayoutTests/fast/js/global-constructors-attributes-worker-expected.txt.
      * fast/js/global-constructors-attributes-dedicated-worker.html: Copied from LayoutTests/fast/js/global-constructors-attributes-worker.html.
      * fast/js/global-constructors-attributes-shared-worker-expected.txt: Renamed from LayoutTests/fast/js/global-constructors-attributes-worker-expected.txt.
      * fast/js/global-constructors-attributes-shared-worker.html: Renamed from LayoutTests/fast/js/global-constructors-attributes-worker.html.
      * fast/js/script-tests/global-constructors-attributes.js:
      (.self.postMessage):
      (.self.onconnect.self.postMessage):
      (.self.onconnect):
      * platform/efl/fast/js/global-constructors-attributes-dedicated-worker-expected.txt: Copied from LayoutTests/platform/gtk/fast/js/global-constructors-attributes-worker-expected.txt.
      * platform/efl/fast/js/global-constructors-attributes-shared-worker-expected.txt: Copied from LayoutTests/platform/gtk/fast/js/global-constructors-attributes-worker-expected.txt.
      * platform/gtk/fast/js/global-constructors-attributes-dedicated-worker-expected.txt: Renamed from LayoutTests/platform/gtk/fast/js/global-constructors-attributes-worker-expected.txt.
      * platform/gtk/fast/js/global-constructors-attributes-shared-worker-expected.txt: Renamed from LayoutTests/platform/efl/fast/js/global-constructors-attributes-worker-expected.txt.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a536842
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r152074. · e629d653
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/152074
      https://bugs.webkit.org/show_bug.cgi?id=118137
      
      It caused lots of layout and API test crash on Qt Wk2.
      (Requested by kadam on #webkit).
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * Target.pri:
      * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp: Removed.
      * platform/graphics/texmap/coordinated/CompositingCoordinator.h: Removed.
      
      Source/WebKit2:
      
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
      (WebKit::CoordinatedLayerTreeHost::~CoordinatedLayerTreeHost):
      (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
      (WebKit::CoordinatedLayerTreeHost::setRootCompositingLayer):
      (WebKit::CoordinatedLayerTreeHost::invalidate):
      (WebKit::CoordinatedLayerTreeHost::forceRepaint):
      (WebKit::CoordinatedLayerTreeHost::sizeDidChange):
      (WebKit::CoordinatedLayerTreeHost::flushPendingLayerChanges):
      (WebKit::CoordinatedLayerTreeHost::clearPendingStateChanges):
      (WebKit::CoordinatedLayerTreeHost::initializeRootCompositingLayerIfNeeded):
      (WebKit::CoordinatedLayerTreeHost::syncLayerState):
      (WebKit::CoordinatedLayerTreeHost::prepareCustomFilterProxiesIfNeeded):
      (WebKit::CoordinatedLayerTreeHost::checkCustomFilterProgramProxies):
      (WebKit::CoordinatedLayerTreeHost::removeCustomFilterProgramProxy):
      (WebKit::CoordinatedLayerTreeHost::detachLayer):
      (WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush):
      (WebKit::CoordinatedLayerTreeHost::syncDisplayState):
      (WebKit::CoordinatedLayerTreeHost::didPerformScheduledLayerFlush):
      (WebKit::CoordinatedLayerTreeHost::createPageOverlayLayer):
      (WebKit::CoordinatedLayerTreeHost::createImageBackingIfNeeded):
      (WebKit::CoordinatedLayerTreeHost::createImageBacking):
      (WebKit::CoordinatedLayerTreeHost::updateImageBacking):
      (WebKit::CoordinatedLayerTreeHost::clearImageBackingContents):
      (WebKit::CoordinatedLayerTreeHost::removeImageBacking):
      (WebKit::CoordinatedLayerTreeHost::flushPendingImageBackingChanges):
      (WebKit::CoordinatedLayerTreeHost::notifyAnimationStarted):
      (WebKit::CoordinatedLayerTreeHost::notifyFlushRequired):
      (WebKit::CoordinatedLayerTreeHost::paintContents):
      (WebKit::CoordinatedLayerTreeHost::createGraphicsLayer):
      (WebKit::CoordinatedLayerTreeHost::deviceScaleFactor):
      (WebKit::CoordinatedLayerTreeHost::pageScaleFactor):
      (WebKit::CoordinatedLayerTreeHost::createUpdateAtlas):
      (WebKit::CoordinatedLayerTreeHost::removeUpdateAtlas):
      (WebKit::CoordinatedLayerTreeHost::visibleContentsRect):
      (WebKit::CoordinatedLayerTreeHost::mainContentsLayer):
      (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
      (WebKit::CoordinatedLayerTreeHost::deviceOrPageScaleFactorChanged):
      (WebKit::CoordinatedLayerTreeHost::graphicsLayerFactory):
      (WebKit::CoordinatedLayerTreeHost::scheduleAnimation):
      (WebKit::CoordinatedLayerTreeHost::renderNextFrame):
      (WebKit::CoordinatedLayerTreeHost::purgeBackingStores):
      (WebKit::CoordinatedLayerTreeHost::paintToSurface):
      (WebKit::CoordinatedLayerTreeHost::scheduleReleaseInactiveAtlases):
      (WebKit::CoordinatedLayerTreeHost::releaseInactiveAtlasesTimerFired):
      (WebKit::CoordinatedLayerTreeHost::commitScrollOffset):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
      * WebProcess/WebPage/LayerTreeHost.h:
      (WebKit::LayerTreeHost::setVisibleContentsRect):
      (WebKit::LayerTreeHost::renderNextFrame):
      (WebKit::LayerTreeHost::purgeBackingStores):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e629d653
    • commit-queue@webkit.org's avatar
      Avoid duplicating hostWindow() call in FrameView::setFrameRect() · cf0157f4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118115
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-06-27
      Reviewed by Christophe Dumez.
      
      Remove a redundant call in FrameView::setFrameRect().
      
      No function change, no tests.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::scheduleAnimation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf0157f4
    • commit-queue@webkit.org's avatar
      [Qt] Unreviewed gardening · 1fed0933
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118100
      
      Unreviewed Qt gardening.
      
      Moved hover-display-block-none.html from fast/regions to fast/css.
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-06-27
      
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fed0933
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Rebase the previous test. · 739bf704
      zarvai@inf.u-szeged.hu authored
      Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-06-27
      
      * platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      739bf704
    • commit-queue@webkit.org's avatar
      Fixing some compiler warnings · e5994d3a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=117791
      
      Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-06-27
      Reviewed by Martin Robinson.
      
      Source/WebCore:
      
      No new tests needed.
      
      * accessibility/atk/WebKitAccessibleInterfaceText.cpp:
      (webkitAccessibleTextGetTextForOffset): Fixed warning about
      uninitialized variable.
      
      Source/WebKit2:
      
      * UIProcess/API/gtk/tests/WebExtensionTest.cpp: Properly
      initialized GDBusInterfaceVTable.
      * WebProcess/InjectedBundle/API/gtk/WebKitWebPage.cpp:
      (webkitWebPageCreate): Added missing fields to the
      WKBundlePageLoaderClient.
      
      Tools:
      
      * GNUmakefile.am: Silenced format warning.
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::globalObjectIsAvailableForFrame):
      Solved warning about uninitialized variable.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5994d3a
    • commit-queue@webkit.org's avatar
      Use consistent file names for WidgetBackingStoreGtkX11 class · a73513a2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118124
      
      Patch by Iago Toral Quiroga <itoral@igalia.com> on 2013-06-27
      Reviewed by Carlos Garcia Campos.
      
      Source/WebCore:
      
      * GNUmakefile.list.am:
      * PlatformGTK.cmake:
      * platform/gtk/GtkWidgetBackingStoreX11.cpp: Removed.
      * platform/gtk/GtkWidgetBackingStoreX11.h: Removed.
      * platform/gtk/WidgetBackingStoreGtkX11.cpp: Added.
      (WebCore::WidgetBackingStoreGtkX11::create):
      (WebCore::WidgetBackingStoreGtkX11::WidgetBackingStoreGtkX11):
      (WebCore::WidgetBackingStoreGtkX11::~WidgetBackingStoreGtkX11):
      (WebCore::WidgetBackingStoreGtkX11::cairoSurface):
      (WebCore::WidgetBackingStoreGtkX11::scroll):
      * platform/gtk/WidgetBackingStoreGtkX11.h: Added.
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      
      Source/WebKit2:
      
      * UIProcess/cairo/BackingStoreCairo.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a73513a2
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Rebase and skipping failing tests. · 85fa73fc
      zarvai@inf.u-szeged.hu authored
      Patch by Gabor Abraham <abrhm@inf.u-szeged.hu> on 2013-06-27
      
      * platform/qt-5.0-wk1/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/qt/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85fa73fc
    • commit-queue@webkit.org's avatar
      Web Inspector: Display color picker in popover on color swatch click · 9848b0bb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=117919
      
      Patch by Matthew Holden <jftholden@yahoo.com> on 2013-06-27
      Reviewed by Timothy Hatcher.
      
      Includes fixes from second code review.
      
      * Localizations/en.lproj/localizedStrings.js:
      * UserInterface/CSSColorPicker.css: Added.
      (.colorpicker-container):
      (.colorpicker-fill-parent):
      (.colorpicker-top):
      (.colorpicker-color):
      (.colorpicker-bottom span):
      (.colorpicker-text):
      (.colorpicker-color-text-value):
      (.colorpicker-hue):
      (.colorpicker-fill):
      (.colorpicker-range-container):
      (.colorpicker-range-container *):
      (.colorpicker-range-container label):
      (.colorpicker-range-container input):
      (.colorpicker-saturation):
      (.colorpicker-value):
      (.colorpicker-dragger):
      (.colorpicker-slider):
      (.colorpicker-container .swatch):
      (.colorpicker-container .swatch-inner):
      * UserInterface/CSSColorPicker.js: Added.
      (WebInspector.CSSColorPicker.consume):
      (WebInspector.CSSColorPicker.move):
      (WebInspector.CSSColorPicker.start):
      (WebInspector.CSSColorPicker.stop):
      (WebInspector.CSSColorPicker.makeDraggable):
      (WebInspector.CSSColorPicker.hueDrag):
      (WebInspector.CSSColorPicker.colorDragStart):
      (WebInspector.CSSColorPicker.colorDrag):
      (WebInspector.CSSColorPicker.alphaDrag):
      (WebInspector.CSSColorPicker.colorSwatchClicked):
      (WebInspector.CSSColorPicker):
      (WebInspector.CSSColorPicker.prototype.get element):
      (WebInspector.CSSColorPicker.prototype.set color):
      (WebInspector.CSSColorPicker.prototype.get color):
      (WebInspector.CSSColorPicker.prototype.get outputColorFormat):
      (WebInspector.CSSColorPicker.prototype.get colorHueOnly):
      (WebInspector.CSSColorPicker.prototype.set displayText):
      (WebInspector.CSSColorPicker.prototype.shown):
      (WebInspector.CSSColorPicker.prototype._updateHelperLocations):
      (WebInspector.CSSColorPicker.prototype._updateDisplay):
      (WebInspector.CSSColorPicker.hsvaToRGBA):
      (WebInspector.CSSColorPicker.rgbaToHSVA):
      * UserInterface/CSSStyleDeclarationTextEditor.js:
      (WebInspector.CSSStyleDeclarationTextEditor.prototype.didDismissPopover):
      (WebInspector.CSSStyleDeclarationTextEditor.prototype.):
      (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
      (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText.colorTextMarker):
      (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText):
      * UserInterface/Main.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9848b0bb
    • timothy@apple.com's avatar
      Notify the debugger about functions created from source code via new... · 57dfdaba
      timothy@apple.com authored
      Notify the debugger about functions created from source code via new Function() or WebCore::JSLazyEventListener.
      
      https://bugs.webkit.org/show_bug.cgi?id=118063
      
      Reviewed by Geoffrey Garen.
      
      Source/JavaScriptCore:
      
      * bytecode/UnlinkedCodeBlock.cpp:
      (JSC::UnlinkedFunctionExecutable::fromGlobalCode): Call Debugger::sourceParsed.
      
      LayoutTests:
      
      * inspector/debugger/debugger-script-preprocessor-expected.txt: Updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57dfdaba
    • ch.dumez@sisa.samsung.com's avatar
      Unreviewed EFL gardening. · c390b11a
      ch.dumez@sisa.samsung.com authored
      Rebaseline fast/js/global-constructors-attributes.html for EFL port
      after r151914. WaveTable was renamed to PeriodicWave.
      
      * platform/efl/fast/js/global-constructors-attributes-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c390b11a
    • zarvai@inf.u-szeged.hu's avatar
      Buildfix for !ENABLE(SVG) builds. · 9f94945f
      zarvai@inf.u-szeged.hu authored
      Reviewed by Csaba Osztrogonác.
      
      Moving RenderObject::hasAspectRatio() outside from ENABLE(SVG) guard.
      
      * rendering/RenderObject.h:
      (WebCore::RenderObject::hasAspectRatio):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f94945f
    • kangil.han@samsung.com's avatar
      Adopt is/toHTMLLabelElement for code cleanup · fc111dc2
      kangil.han@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118113
      
      Reviewed by Andreas Kling.
      
      To enhance readability, this patch adopts is/toHTMLLabelElement.
      This also helps out to reduce duplicated use of static_cast.
      
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::handleAttributeChanged):
      (WebCore::AXObjectCache::labelChanged):
      * accessibility/AccessibilityNodeObject.cpp:
      (WebCore::AccessibilityNodeObject::determineAccessibilityRole):
      (WebCore::AccessibilityNodeObject::labelForElement):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::labelElementContainer):
      (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
      (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::keyMatchesLabelForAttribute):
      * dom/Element.cpp:
      (WebCore::Element::updateLabel):
      * dom/TreeScope.cpp:
      (WebCore::TreeScope::labelElementForId):
      * html/HTMLLabelElement.h:
      (WebCore::isHTMLLabelElement):
      (WebCore::toHTMLLabelElement):
      * html/LabelsNodeList.cpp:
      (WebCore::LabelsNodeList::nodeMatches):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fc111dc2
    • commit-queue@webkit.org's avatar
      [curl] Fix unused variable/parameter warnings · cd150225
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118050
      
      Patch by Peter Gal <galpeter@inf.u-szeged.hu> on 2013-06-27
      Reviewed by Christophe Dumez.
      
      Commented out unused parameters and removed an unused variable in the curl backend.
      
      No tests required.
      
      * platform/network/curl/CredentialStorageCurl.cpp:
      (WebCore::CredentialStorage::getFromPersistentStorage):
      * platform/network/curl/DNSCurl.cpp:
      (WebCore::prefetchDNS):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::curl_lock_callback):
      (WebCore::curl_unlock_callback):
      (WebCore::headerCallback):
      (WebCore::ResourceHandleManager::downloadTimerCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd150225
    • ossy@webkit.org's avatar
      Fix cast-align warnings in WebCore/platform/graphics/cairo · 10ca4fbb
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=117990
      
      Reviewed by Rob Buis.
      
      * platform/graphics/cairo/BitmapImageCairo.cpp:
      (WebCore::BitmapImage::checkForSolidColor):
      * platform/graphics/cairo/ImageBufferCairo.cpp:
      (WebCore::ImageBuffer::platformTransformColorSpace):
      (WebCore::getImageData):
      (WebCore::ImageBuffer::putByteArray):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10ca4fbb
    • commit-queue@webkit.org's avatar
      [curl] Add "set-cookie" to appendable headers · d6dc7eea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118061
      
      Patch by Szabolcs Dávid <davidsz@inf.u-szeged.hu> on 2013-06-27
      Reviewed by Christophe Dumez.
      
      Mark set-cookie as an appendable header.
      
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::isAppendableHeader):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6dc7eea
    • commit-queue@webkit.org's avatar
      [GTK] [WK2] Check value of WEBKIT_INJECTED_BUNDLE_PATH · 87ea3a5c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118055
      
      Patch by Alberto Garcia <agarcia@igalia.com> on 2013-06-27
      Reviewed by Carlos Garcia Campos.
      
      If the directory pointed at by WEBKIT_INJECTED_BUNDLE_PATH does
      not exist, fall back to the system directory.
      
      This makes MiniBrowser work outside the build tree.
      
      * UIProcess/API/gtk/WebKitWebContext.cpp:
      (injectedBundleDirectory):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87ea3a5c
    • commit-queue@webkit.org's avatar
      Source/WebCore: Remove ENABLE_CSS_COMPOSITING guards around... · 0f819eef
      commit-queue@webkit.org authored
      Source/WebCore: Remove ENABLE_CSS_COMPOSITING guards around -webkit-background-blend mode related code. The same flag guards -webkit-blend-mode code, but those guards are not touched by this change.
      
      https://bugs.webkit.org/show_bug.cgi?id=117619
      
      Patch by Horia Iosif Olaru <olaru@adobe.com> on 2013-06-27
      Reviewed by Dean Jackson.
      
      Test: css3/compositing/effect-background-blend-mode-tiled.html
      
      * WebCore.exp.in:
      * bindings/generic/RuntimeEnabledFeatures.h:
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::ComputedStyleExtractor::propertyValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::parseFillProperty):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/DeprecatedStyleBuilder.cpp:
      (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
      
      LayoutTests: Add an extra test to check if tiled background images get blended as expected. This test passed before this change. The tests for this change are the existing background-blend-mode tests.
      
      https://bugs.webkit.org/show_bug.cgi?id=117619
      
      Patch by Horia Iosif Olaru <olaru@adobe.com> on 2013-06-27
      Reviewed by Dean Jackson.
      
      * css3/compositing/effect-background-blend-mode-tiled-expected.txt: Added.
      * css3/compositing/effect-background-blend-mode-tiled.html: Added.
      * platform/mac/css3/compositing/effect-background-blend-mode-tiled-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f819eef
    • ch.dumez@sisa.samsung.com's avatar
      Fix bindings tests after r152080 · 9dba8d39
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118118
      
      Reviewed by Gyuyoung Kim.
      
      r152080 renamed argument to preprocess-idls.pl from --workerContextConstructorsFile
      to --workerGlobalScopeConstructorsFile. This patch updates to bindings test script
      accordingly.
      
      * Scripts/webkitpy/bindings/main.py:
      (BindingsTests.generate_supplemental_dependency):
      (BindingsTests.main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9dba8d39
    • carlosgc@webkit.org's avatar
      [BlackBerry] Handle testRunner.setCustomPolicyDelegate() · 21dd7f94
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=117982
      
      Patch by Carlos Garcia Campos <cargarcia@blackberry.com> on 2013-06-26
      Reviewed by Rob Buis.
      
      Source/WebKit/blackberry:
      
      Take custom policy into account when deciding the policy for
      navigation actions.
      
      Fixes test fast/loader/onload-policy-ignore-for-frame.html.
      
      * Api/DumpRenderTreeClient.h:
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNavigationAction):
      If custom policy is enabled ignore the navigation action when it's
      not permissive.
      
      Tools:
      
      * DumpRenderTree/blackberry/DumpRenderTree.cpp:
      (BlackBerry::WebKit::DumpRenderTree::DumpRenderTree): Initialize
      m_policyDelegateIsPermissive.
      (BlackBerry::WebKit::DumpRenderTree::resetToConsistentStateBeforeTesting):
      Reset m_policyDelegateIsPermissive.
      (BlackBerry::WebKit::DumpRenderTree::setCustomPolicyDelegate): Set
      m_policyDelegateIsPermissive.
      * DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:
      (BlackBerry::WebKit::DumpRenderTree::policyDelegateEnabled):
      Return whether custom policy is enabled.
      (BlackBerry::WebKit::DumpRenderTree::policyDelegateIsPermissive):
      Return whether custom policy is permissive.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21dd7f94
    • ch.dumez@sisa.samsung.com's avatar
      Rename WorkerContext to WorkerGlobalScope · 14792a6b
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118059
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Rename WorkerContext / SharedWorkerContext / DedicatedWorkerContext to
      WorkerGlobalScope / SharedWorkerGlobalScope / DedicatedWorkerGlobalScope
      to match the latest specification:
      http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#workerglobalscope
      
      Those interfaces have [NoInterfaceObject] IDL extended attribute so the
      name did not matter much so far. However, the specification was updated
      and [NoInterfaceObject] was removed. We should therefore rename those
      interfaces as a preparation for this change.
      
      No new tests, no behavior change as these interfaces are not exposed to
      JavaScript yet.
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * Modules/filesystem/WorkerGlobalScopeFileSystem.cpp: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.cpp.
      (WebCore::WorkerGlobalScopeFileSystem::webkitRequestFileSystem):
      (WebCore::WorkerGlobalScopeFileSystem::webkitRequestFileSystemSync):
      (WebCore::WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemURL):
      (WebCore::WorkerGlobalScopeFileSystem::webkitResolveLocalFileSystemSyncURL):
      * Modules/filesystem/WorkerGlobalScopeFileSystem.h: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.h.
      * Modules/filesystem/WorkerGlobalScopeFileSystem.idl: Renamed from Source/WebCore/Modules/filesystem/WorkerContextFileSystem.idl.
      * Modules/indexeddb/IDBFactory.cpp:
      * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.cpp.
      (WebCore::WorkerGlobalScopeIndexedDatabase::WorkerGlobalScopeIndexedDatabase):
      (WebCore::WorkerGlobalScopeIndexedDatabase::~WorkerGlobalScopeIndexedDatabase):
      (WebCore::WorkerGlobalScopeIndexedDatabase::supplementName):
      (WebCore::WorkerGlobalScopeIndexedDatabase::from):
      (WebCore::WorkerGlobalScopeIndexedDatabase::indexedDB):
      * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.h: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.h.
      * Modules/indexeddb/WorkerGlobalScopeIndexedDatabase.idl: Renamed from Source/WebCore/Modules/indexeddb/WorkerContextIndexedDatabase.idl.
      * Modules/notifications/Notification.cpp:
      * Modules/notifications/NotificationCenter.cpp:
      * Modules/notifications/WorkerGlobalScopeNotifications.cpp: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.cpp.
      (WebCore::WorkerGlobalScopeNotifications::WorkerGlobalScopeNotifications):
      (WebCore::WorkerGlobalScopeNotifications::~WorkerGlobalScopeNotifications):
      (WebCore::WorkerGlobalScopeNotifications::supplementName):
      (WebCore::WorkerGlobalScopeNotifications::from):
      (WebCore::WorkerGlobalScopeNotifications::webkitNotifications):
      * Modules/notifications/WorkerGlobalScopeNotifications.h: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.h.
      * Modules/notifications/WorkerGlobalScopeNotifications.idl: Renamed from Source/WebCore/Modules/notifications/WorkerContextNotifications.idl.
      * Modules/webdatabase/DatabaseContext.cpp:
      (WebCore::DatabaseContext::allowDatabaseAccess):
      (WebCore::DatabaseContext::databaseExceededQuota):
      * Modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.cpp.
      (WebCore::WorkerGlobalScopeWebDatabase::openDatabase):
      (WebCore::WorkerGlobalScopeWebDatabase::openDatabaseSync):
      * Modules/webdatabase/WorkerGlobalScopeWebDatabase.h: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.h.
      (WebCore::WorkerGlobalScopeWebDatabase::WorkerGlobalScopeWebDatabase):
      (WebCore::WorkerGlobalScopeWebDatabase::~WorkerGlobalScopeWebDatabase):
      * Modules/webdatabase/WorkerGlobalScopeWebDatabase.idl: Renamed from Source/WebCore/Modules/webdatabase/WorkerContextWebDatabase.idl.
      * Modules/websockets/ThreadableWebSocketChannel.cpp:
      (WebCore::ThreadableWebSocketChannel::create):
      * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
      (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasksCallback):
      * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
      (WebCore::WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel):
      (WebCore::workerGlobalScopeDidSend):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::send):
      (WebCore::workerGlobalScopeDidGetBufferedAmount):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::bufferedAmount):
      (WebCore::workerGlobalScopeDidConnect):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didConnect):
      (WebCore::workerGlobalScopeDidReceiveMessage):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessage):
      (WebCore::workerGlobalScopeDidReceiveBinaryData):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
      (WebCore::workerGlobalScopeDidUpdateBufferedAmount):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didUpdateBufferedAmount):
      (WebCore::workerGlobalScopeDidStartClosingHandshake):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didStartClosingHandshake):
      (WebCore::workerGlobalScopeDidClose):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didClose):
      (WebCore::workerGlobalScopeDidReceiveMessageError):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveMessageError):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::Bridge):
      (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::create):
      (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::~WorkerGlobalScopeDidInitializeTask):
      (WebCore::WorkerThreadableWebSocketChannel::WorkerGlobalScopeDidInitializeTask::WorkerGlobalScopeDidInitializeTask):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::disconnect):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::waitForMethodCompletion):
      * Modules/websockets/WorkerThreadableWebSocketChannel.h:
      (WebCore::WorkerThreadableWebSocketChannel::create):
      (WebCore::WorkerThreadableWebSocketChannel::Bridge::create):
      * Target.pri:
      * UseJSC.cmake:
      * WebCore.order:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/cpp/WebDOMEventTarget.cpp:
      (toWebKit):
      * bindings/cpp/WebDOMEventTarget.h:
      * bindings/generic/ActiveDOMCallback.cpp:
      * bindings/js/DOMRequestState.h:
      (WebCore::DOMRequestState::DOMRequestState):
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSDOMBinding.h:
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::scriptExecutionContext):
      (WebCore::toJSDOMGlobalObject):
      * bindings/js/JSDedicatedWorkerGlobalScopeCustom.cpp: Renamed from Source/WebCore/bindings/js/JSDedicatedWorkerContextCustom.cpp.
      (WebCore::JSDedicatedWorkerGlobalScope::postMessage):
      * bindings/js/JSEventListener.cpp:
      (WebCore::JSEventListener::handleEvent):
      * bindings/js/JSEventTargetCustom.cpp:
      (WebCore::toJS):
      * bindings/js/JSWorkerGlobalScopeBase.cpp: Renamed from Source/WebCore/bindings/js/JSWorkerContextBase.cpp.
      (WebCore::JSWorkerGlobalScopeBase::JSWorkerGlobalScopeBase):
      (WebCore::JSWorkerGlobalScopeBase::finishCreation):
      (WebCore::JSWorkerGlobalScopeBase::destroy):
      (WebCore::JSWorkerGlobalScopeBase::scriptExecutionContext):
      (WebCore::toJS):
      (WebCore::toJSDedicatedWorkerGlobalScope):
      (WebCore::toJSSharedWorkerGlobalScope):
      (WebCore::toJSWorkerGlobalScope):
      * bindings/js/JSWorkerGlobalScopeBase.h: Renamed from Source/WebCore/bindings/js/JSWorkerContextBase.h.
      (WebCore::JSWorkerGlobalScopeBase::impl):
      (WebCore::JSWorkerGlobalScopeBase::createStructure):
      * bindings/js/JSWorkerGlobalScopeCustom.cpp: Renamed from Source/WebCore/bindings/js/JSWorkerContextCustom.cpp.
      (WebCore::JSWorkerGlobalScope::visitChildren):
      (WebCore::JSWorkerGlobalScope::getOwnPropertySlotDelegate):
      (WebCore::JSWorkerGlobalScope::getOwnPropertyDescriptorDelegate):
      (WebCore::JSWorkerGlobalScope::importScripts):
      (WebCore::JSWorkerGlobalScope::setTimeout):
      (WebCore::JSWorkerGlobalScope::setInterval):
      * bindings/js/ScheduledAction.cpp:
      (WebCore::ScheduledAction::execute):
      * bindings/js/ScheduledAction.h:
      * bindings/js/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::startForWorkerGlobalScope):
      (WebCore::ScriptProfiler::stopForWorkerGlobalScope):
      * bindings/js/ScriptProfiler.h:
      * bindings/js/ScriptState.cpp:
      (WebCore::scriptStateFromWorkerGlobalScope):
      * bindings/js/ScriptState.h:
      * bindings/js/WorkerScriptController.cpp:
      (WebCore::WorkerScriptController::WorkerScriptController):
      (WebCore::WorkerScriptController::~WorkerScriptController):
      (WebCore::WorkerScriptController::initScript):
      (WebCore::WorkerScriptController::evaluate):
      (WebCore::WorkerScriptController::setException):
      (WebCore::WorkerScriptController::forbidExecution):
      (WebCore::WorkerScriptController::isExecutionForbidden):
      (WebCore::WorkerScriptController::disableEval):
      (WebCore::WorkerScriptController::attachDebugger):
      (WebCore::WorkerScriptController::detachDebugger):
      * bindings/js/WorkerScriptController.h:
      (WebCore::WorkerScriptController::workerGlobalScopeWrapper):
      (WebCore::WorkerScriptController::initScriptIfNeeded):
      * bindings/js/WorkerScriptDebugServer.cpp:
      (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
      (WebCore::WorkerScriptDebugServer::addListener):
      (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
      (WebCore::WorkerScriptDebugServer::removeListener):
      (WebCore::WorkerScriptDebugServer::runEventLoopWhilePaused):
      * bindings/js/WorkerScriptDebugServer.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeader):
      (GenerateImplementation):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/preprocess-idls.pl:
      * dom/ActiveDOMObject.cpp:
      * dom/EventTarget.h:
      * dom/EventTargetFactory.in:
      * dom/MessagePort.cpp:
      (WebCore::MessagePort::dispatchMessages):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::createdMessagePort):
      (WebCore::ScriptExecutionContext::destroyedMessagePort):
      (WebCore::ScriptExecutionContext::vm):
      * dom/ScriptExecutionContext.h:
      (WebCore::ScriptExecutionContext::isWorkerGlobalScope):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::createForWorker):
      (WebCore::InjectedScriptManager::canAccessInspectedWorkerGlobalScope):
      * inspector/InjectedScriptManager.h:
      * inspector/InspectorConsoleInstrumentation.h:
      (WebCore::InspectorInstrumentation::addMessageToConsole):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didStartWorkerGlobalScopeImpl):
      (WebCore::InspectorInstrumentation::willEvaluateWorkerScript):
      (WebCore::InspectorInstrumentation::workerGlobalScopeTerminatedImpl):
      (WebCore::InspectorInstrumentation::instrumentingAgentsForWorkerGlobalScope):
      (WebCore::InspectorInstrumentation::instrumentingAgentsForNonDocumentContext):
      * inspector/InspectorInstrumentation.h:
      (WebCore::InspectorInstrumentation::didStartWorkerGlobalScope):
      (WebCore::InspectorInstrumentation::workerGlobalScopeTerminated):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::WorkerProfilerAgent::WorkerProfilerAgent):
      (WebCore::WorkerProfilerAgent::startProfiling):
      (WebCore::WorkerProfilerAgent::stopProfiling):
      (WebCore::InspectorProfilerAgent::create):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorRuntimeAgent.h:
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::WorkerFrontendChannel):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::~WorkerFrontendChannel):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::proxy):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::connectToWorkerGlobalScope):
      (WebCore::InspectorWorkerAgent::WorkerFrontendChannel::disconnectFromWorkerGlobalScope):
      (WebCore::InspectorWorkerAgent::connectToWorker):
      (WebCore::InspectorWorkerAgent::disconnectFromWorker):
      (WebCore::InspectorWorkerAgent::didStartWorkerGlobalScope):
      (WebCore::InspectorWorkerAgent::workerGlobalScopeTerminated):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannel):
      * inspector/InspectorWorkerAgent.h:
      * inspector/InstrumentingAgents.cpp:
      (WebCore::instrumentationForWorkerGlobalScope):
      * inspector/InstrumentingAgents.h:
      * inspector/WorkerDebuggerAgent.cpp:
      (WebCore::WorkerDebuggerAgent::create):
      (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
      (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
      (WebCore::WorkerDebuggerAgent::interruptAndDispatchInspectorCommands):
      (WebCore::WorkerDebuggerAgent::injectedScriptForEval):
      * inspector/WorkerDebuggerAgent.h:
      * inspector/WorkerInspectorController.cpp:
      (WebCore::WorkerInspectorController::WorkerInspectorController):
      (WebCore::WorkerInspectorController::connectFrontend):
      * inspector/WorkerInspectorController.h:
      * inspector/WorkerRuntimeAgent.cpp:
      (WebCore::WorkerRuntimeAgent::WorkerRuntimeAgent):
      (WebCore::WorkerRuntimeAgent::injectedScriptForEval):
      (WebCore::WorkerRuntimeAgent::pauseWorkerGlobalScope):
      * inspector/WorkerRuntimeAgent.h:
      (WebCore::WorkerRuntimeAgent::create):
      * loader/ThreadableLoader.cpp:
      (WebCore::ThreadableLoader::create):
      (WebCore::ThreadableLoader::loadResourceSynchronously):
      * loader/WorkerThreadableLoader.cpp:
      (WebCore::WorkerThreadableLoader::WorkerThreadableLoader):
      (WebCore::WorkerThreadableLoader::loadResourceSynchronously):
      (WebCore::workerGlobalScopeDidSendData):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didSendData):
      (WebCore::workerGlobalScopeDidReceiveResponse):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveResponse):
      (WebCore::workerGlobalScopeDidReceiveData):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
      (WebCore::workerGlobalScopeDidFinishLoading):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFinishLoading):
      (WebCore::workerGlobalScopeDidFail):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFail):
      (WebCore::workerGlobalScopeDidFailAccessControlCheck):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailAccessControlCheck):
      (WebCore::workerGlobalScopeDidFailRedirectCheck):
      (WebCore::WorkerThreadableLoader::MainThreadBridge::didFailRedirectCheck):
      * loader/WorkerThreadableLoader.h:
      (WebCore::WorkerThreadableLoader::create):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeRequestFromCache):
      * platform/blackberry/LocalFileSystemBlackBerry.cpp:
      (WebCore::openFileSystem):
      (WebCore::LocalFileSystem::deleteFileSystem):
      * platform/blackberry/WorkerAsyncFileSystemBlackBerry.cpp:
      (WebCore::WorkerAsyncFileSystemBlackBerry::WorkerAsyncFileSystemBlackBerry):
      (WebCore::WorkerAsyncFileSystemBlackBerry::openFileSystem):
      (WebCore::WorkerAsyncFileSystemBlackBerry::deleteFileSystem):
      * platform/blackberry/WorkerAsyncFileSystemBlackBerry.h:
      (WebCore::WorkerAsyncFileSystemBlackBerry::create):
      * platform/blackberry/WorkerAsyncFileWriterBlackBerry.h:
      * platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.cpp:
      (WebCore::WorkerPlatformAsyncFileSystemCallbacks::postTaskToWorkerThread):
      * platform/blackberry/WorkerPlatformAsyncFileSystemCallbacks.h:
      * platform/blackberry/WorkerPlatformFileWriterClient.cpp:
      (WebCore::WorkerPlatformFileWriterClient::postTaskToWorkerThreadIfNeeded):
      * platform/blackberry/WorkerPlatformFileWriterClient.h:
      * workers/DedicatedWorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/DedicatedWorkerContext.cpp.
      (WebCore::DedicatedWorkerGlobalScope::create):
      (WebCore::DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope):
      (WebCore::DedicatedWorkerGlobalScope::~DedicatedWorkerGlobalScope):
      (WebCore::DedicatedWorkerGlobalScope::interfaceName):
      (WebCore::DedicatedWorkerGlobalScope::postMessage):
      (WebCore::DedicatedWorkerGlobalScope::importScripts):
      (WebCore::DedicatedWorkerGlobalScope::thread):
      * workers/DedicatedWorkerGlobalScope.h: Renamed from Source/WebCore/workers/DedicatedWorkerContext.h.
      * workers/DedicatedWorkerGlobalScope.idl: Renamed from Source/WebCore/workers/DedicatedWorkerContext.idl.
      * workers/DedicatedWorkerThread.cpp:
      (WebCore::DedicatedWorkerThread::createWorkerGlobalScope):
      (WebCore::DedicatedWorkerThread::runEventLoop):
      * workers/DedicatedWorkerThread.h:
      * workers/DefaultSharedWorkerRepository.cpp:
      (WebCore::SharedWorkerProxy::postTaskForModeToWorkerGlobalScope):
      (WebCore::SharedWorkerProxy::workerGlobalScopeClosed):
      (WebCore::SharedWorkerProxy::workerGlobalScopeDestroyed):
      (WebCore::SharedWorkerConnectTask::performTask):
      (WebCore::SharedWorkerScriptLoader::notifyFinished):
      (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded):
      * workers/SharedWorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/SharedWorkerContext.cpp.
      (WebCore::createConnectEvent):
      (WebCore::SharedWorkerGlobalScope::create):
      (WebCore::SharedWorkerGlobalScope::SharedWorkerGlobalScope):
      (WebCore::SharedWorkerGlobalScope::~SharedWorkerGlobalScope):
      (WebCore::SharedWorkerGlobalScope::interfaceName):
      (WebCore::SharedWorkerGlobalScope::thread):
      (WebCore::SharedWorkerGlobalScope::logExceptionToConsole):
      * workers/SharedWorkerGlobalScope.h: Renamed from Source/WebCore/workers/SharedWorkerContext.h.
      (WebCore::SharedWorkerGlobalScope::name):
      * workers/SharedWorkerGlobalScope.idl: Renamed from Source/WebCore/workers/SharedWorkerContext.idl.
      * workers/SharedWorkerThread.cpp:
      (WebCore::SharedWorkerThread::createWorkerGlobalScope):
      * workers/SharedWorkerThread.h:
      * workers/Worker.cpp:
      (WebCore::Worker::Worker):
      (WebCore::Worker::postMessage):
      (WebCore::Worker::terminate):
      (WebCore::Worker::notifyFinished):
      * workers/Worker.h:
      * workers/WorkerGlobalScope.cpp: Renamed from Source/WebCore/workers/WorkerContext.cpp.
      (WebCore::CloseWorkerGlobalScopeTask::create):
      (WebCore::CloseWorkerGlobalScopeTask::performTask):
      (WebCore::CloseWorkerGlobalScopeTask::isCleanupTask):
      (WebCore::WorkerGlobalScope::WorkerGlobalScope):
      (WebCore::WorkerGlobalScope::~WorkerGlobalScope):
      (WebCore::WorkerGlobalScope::applyContentSecurityPolicyFromString):
      (WebCore::WorkerGlobalScope::scriptExecutionContext):
      (WebCore::WorkerGlobalScope::virtualURL):
      (WebCore::WorkerGlobalScope::virtualCompleteURL):
      (WebCore::WorkerGlobalScope::completeURL):
      (WebCore::WorkerGlobalScope::userAgent):
      (WebCore::WorkerGlobalScope::disableEval):
      (WebCore::WorkerGlobalScope::location):
      (WebCore::WorkerGlobalScope::close):
      (WebCore::WorkerGlobalScope::navigator):
      (WebCore::WorkerGlobalScope::hasPendingActivity):
      (WebCore::WorkerGlobalScope::postTask):
      (WebCore::WorkerGlobalScope::setTimeout):
      (WebCore::WorkerGlobalScope::clearTimeout):
      (WebCore::WorkerGlobalScope::clearInspector):
      (WebCore::WorkerGlobalScope::setInterval):
      (WebCore::WorkerGlobalScope::clearInterval):
      (WebCore::WorkerGlobalScope::importScripts):
      (WebCore::WorkerGlobalScope::errorEventTarget):
      (WebCore::WorkerGlobalScope::logExceptionToConsole):
      (WebCore::WorkerGlobalScope::addConsoleMessage):
      (WebCore::WorkerGlobalScope::addMessage):
      (WebCore::WorkerGlobalScope::addMessageToWorkerConsole):
      (WebCore::WorkerGlobalScope::isContextThread):
      (WebCore::WorkerGlobalScope::isJSExecutionForbidden):
      (WebCore::WorkerGlobalScope::eventTargetData):
      (WebCore::WorkerGlobalScope::ensureEventTargetData):
      (WebCore::WorkerGlobalScope::Observer::Observer):
      (WebCore::WorkerGlobalScope::Observer::~Observer):
      (WebCore::WorkerGlobalScope::Observer::stopObserving):
      (WebCore::WorkerGlobalScope::registerObserver):
      (WebCore::WorkerGlobalScope::unregisterObserver):
      (WebCore::WorkerGlobalScope::notifyObserversOfStop):
      (WebCore::WorkerGlobalScope::eventQueue):
      * workers/WorkerGlobalScope.h: Renamed from Source/WebCore/workers/WorkerContext.h.
      (WebCore::WorkerGlobalScope::isSharedWorkerGlobalScope):
      (WebCore::WorkerGlobalScope::isDedicatedWorkerGlobalScope):
      (WebCore::WorkerGlobalScope::url):
      (WebCore::WorkerGlobalScope::groupSettings):
      (WebCore::WorkerGlobalScope::script):
      (WebCore::WorkerGlobalScope::clearScript):
      (WebCore::WorkerGlobalScope::thread):
      (WebCore::WorkerGlobalScope::self):
      (WebCore::WorkerGlobalScope::workerInspectorController):
      (WebCore::WorkerGlobalScope::optionalNavigator):
      (WebCore::WorkerGlobalScope::optionalLocation):
      (WebCore::WorkerGlobalScope::isClosing):
      * workers/WorkerGlobalScope.idl: Renamed from Source/WebCore/workers/WorkerContext.idl.
      * workers/WorkerGlobalScopeProxy.h: Renamed from Source/WebCore/workers/WorkerContextProxy.h.
      (WebCore::WorkerGlobalScopeProxy::~WorkerGlobalScopeProxy):
      (WebCore::WorkerGlobalScopeProxy::PageInspector::~PageInspector):
      (WebCore::WorkerGlobalScopeProxy::connectToInspector):
      (WebCore::WorkerGlobalScopeProxy::disconnectFromInspector):
      (WebCore::WorkerGlobalScopeProxy::sendMessageToInspector):
      * workers/WorkerLoaderProxy.h:
      * workers/WorkerMessagingProxy.cpp:
      (WebCore::MessageWorkerGlobalScopeTask::create):
      (WebCore::MessageWorkerGlobalScopeTask::MessageWorkerGlobalScopeTask):
      (WebCore::MessageWorkerGlobalScopeTask::performTask):
      (WebCore::WorkerGlobalScopeDestroyedTask::create):
      (WebCore::WorkerGlobalScopeDestroyedTask::WorkerGlobalScopeDestroyedTask):
      (WebCore::WorkerGlobalScopeDestroyedTask::performTask):
      (WebCore::WorkerTerminateTask::performTask):
      (WebCore::PostMessageToPageInspectorTask::performTask):
      (WebCore::WorkerGlobalScopeProxy::create):
      (WebCore::WorkerMessagingProxy::WorkerMessagingProxy):
      (WebCore::WorkerMessagingProxy::~WorkerMessagingProxy):
      (WebCore::WorkerMessagingProxy::startWorkerGlobalScope):
      (WebCore::WorkerMessagingProxy::postMessageToWorkerGlobalScope):
      (WebCore::WorkerMessagingProxy::postTaskForModeToWorkerGlobalScope):
      (WebCore::WorkerMessagingProxy::workerObjectDestroyedInternal):
      (WebCore::connectToWorkerGlobalScopeInspectorTask):
      (WebCore::WorkerMessagingProxy::connectToInspector):
      (WebCore::disconnectFromWorkerGlobalScopeInspectorTask):
      (WebCore::WorkerMessagingProxy::disconnectFromInspector):
      (WebCore::dispatchOnInspectorBackendTask):
      (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyed):
      (WebCore::WorkerMessagingProxy::workerGlobalScopeClosed):
      (WebCore::WorkerMessagingProxy::workerGlobalScopeDestroyedInternal):
      (WebCore::WorkerMessagingProxy::terminateWorkerGlobalScope):
      * workers/WorkerMessagingProxy.h:
      * workers/WorkerObjectProxy.h:
      * workers/WorkerReportingProxy.h:
      * workers/WorkerRunLoop.cpp:
      (WebCore::WorkerRunLoop::run):
      (WebCore::WorkerRunLoop::runInMode):
      (WebCore::WorkerRunLoop::runCleanupTasks):
      (WebCore::WorkerRunLoop::Task::performTask):
      * workers/WorkerRunLoop.h:
      * workers/WorkerScriptLoader.cpp:
      (WebCore::WorkerScriptLoader::loadSynchronously):
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThread::workerThread):
      (WebCore::WorkerThread::runEventLoop):
      (WebCore::WorkerThreadShutdownFinishTask::performTask):
      (WebCore::WorkerThreadShutdownStartTask::performTask):
      (WebCore::WorkerThread::stop):
      * workers/WorkerThread.h:
      (WebCore::WorkerThread::workerGlobalScope):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::usesDashboardBackwardCompatibilityMode):
      (WebCore::XMLHttpRequest::responseXML):
      
      Source/WebKit/qt:
      
      Update calls to ScriptExecutionContext::isWorkerContext() as it was
      renamed to ScriptExecutionContext::isWorkerGlobalScope().
      
      * WebCoreSupport/NotificationPresenterClientQt.cpp:
      (WebCore::NotificationPresenterClientQt::show):
      (WebCore::NotificationPresenterClientQt::toPage):
      (WebCore::NotificationPresenterClientQt::toFrame):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14792a6b
    • paroga@webkit.org's avatar
      Unreviewed WinCE build fix after r152065. · e52a8ab4
      paroga@webkit.org authored
      * WebCoreSupport/ChromeClientWinCE.cpp:
      (WebKit::ChromeClientWinCE::AXStartFrameLoad):
      (WebKit::ChromeClientWinCE::AXFinishFrameLoad):
      * WebCoreSupport/ChromeClientWinCE.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e52a8ab4
    • commit-queue@webkit.org's avatar
      Avoid redundant checks for Compositing reasons in RenderLayerCompositor · 3359cfcf
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118114
      
      Patch by Sanjoy Pal <sanjoy.pal@samsung.com> on 2013-06-26
      Reviewed by Anders Carlsson.
      
      A RenderObject can be any one of the Video, Canvas, Plugin or Iframe.
      Hence removing the redundant checks.
      
      No new tests as no functionality change.
      
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::reasonsForCompositing):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3359cfcf
  2. 26 Jun, 2013 9 commits
    • commit-queue@webkit.org's avatar
      Sometimes the Flash Player plugin cannot make outgoing connections · d31eb87c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118110
      <rdar://problem/14270933>
      
      Patch by Simon Cooper <scooper@apple.com> on 2013-06-26
      Reviewed by Alexey Proskuryakov.
      
      Allow outgoing and incoming UDP data. Tidy up the QuickTime
      profile as it gets the UDP ability from the common profile.
      
      * Resources/PlugInSandboxProfiles/com.apple.QuickTime Plugin.plugin.sb:
      * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d31eb87c
    • commit-queue@webkit.org's avatar
      Flash Player: deny ipc-posix-sem 59918130 · c9d3a755
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118107
      <rdar://problem/14271105>
      
      Patch by Simon Cooper <scooper@apple.com> on 2013-06-26
      Reviewed by Alexey Proskuryakov.
      
      Allow same-sandbox scoped semaphores on Mavericks. Permit the
      named semaphore for older releases.
      
      * Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9d3a755
    • commit-queue@webkit.org's avatar
      Coordinated Graphics: Separate CoordinatedLayerTreeHost into... · 38323ac7
      commit-queue@webkit.org authored
      Coordinated Graphics: Separate CoordinatedLayerTreeHost into CoordinatedLayerTreeHost and CompositingCoordinator
      https://bugs.webkit.org/show_bug.cgi?id=104360
      
      Patch by Gwang Yoon Hwang <ryumiel@company100.net> on 2013-06-26
      Reviewed by Noam Rosenthal.
      
      The CoordinatedLayerTreeHost has too many responsibilities. It
      implements LayerTreeHost, GraphicsLayerClient,
      CoordinatedGraphicsLayerClient, CoordinatedImageBacking::Client,
      UpdateAtlas::Client, GraphicsLayerFactory and
      WebCustomFilterProgramProxyClient.
      
      This refactoring reduces the responsibilities of CoordinatedLayerTreeHost.
      
      This patch introduces a new class called CompositingCoordinator, which
      takes the responsibility of managing compositing resources in
      WebProcess.
      
      CoordinatedLayerTreeHost is responsible only for the scheduling and
      IPC-specific stuff, which are relevant only for WebKit2.
      
      No new tests, covered by existing tests.
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * Target.pri:
      * platform/graphics/texmap/coordinated/CompositingCoordinator.cpp: Added.
      (WebCore::CompositingCoordinator::create):
      (WebCore::CompositingCoordinator::~CompositingCoordinator):
      (WebCore::CompositingCoordinator::CompositingCoordinator):
      (WebCore::CompositingCoordinator::setRootCompositingLayer):
      (WebCore::CompositingCoordinator::sizeDidChange):
      (WebCore::CompositingCoordinator::flushPendingLayerChanges):
      (WebCore::CompositingCoordinator::syncDisplayState):
      (WebCore::CompositingCoordinator::nextAnimationServiceTime):
      (WebCore::CompositingCoordinator::clearPendingStateChanges):
      (WebCore::CompositingCoordinator::initializeRootCompositingLayerIfNeeded):
      (WebCore::CompositingCoordinator::createRootLayer):
      (WebCore::CompositingCoordinator::syncLayerState):
      (WebCore::CompositingCoordinator::createImageBackingIfNeeded):
      (WebCore::CompositingCoordinator::createImageBacking):
      (WebCore::CompositingCoordinator::updateImageBacking):
      (WebCore::CompositingCoordinator::clearImageBackingContents):
      (WebCore::CompositingCoordinator::removeImageBacking):
      (WebCore::CompositingCoordinator::flushPendingImageBackingChanges):
      (WebCore::CompositingCoordinator::notifyAnimationStarted):
      (WebCore::CompositingCoordinator::notifyFlushRequired):
      (WebCore::CompositingCoordinator::paintContents):
      (WebCore::CompositingCoordinator::createGraphicsLayer):
      (WebCore::CompositingCoordinator::deviceScaleFactor):
      (WebCore::CompositingCoordinator::pageScaleFactor):
      (WebCore::CompositingCoordinator::createUpdateAtlas):
      (WebCore::CompositingCoordinator::removeUpdateAtlas):
      (WebCore::CompositingCoordinator::visibleContentsRect):
      (WebCore::CompositingCoordinator::mainContentsLayer):
      (WebCore::CompositingCoordinator::setVisibleContentsRect):
      (WebCore::CompositingCoordinator::deviceOrPageScaleFactorChanged):
      (WebCore::CompositingCoordinator::detachLayer):
      (WebCore::CompositingCoordinator::commitScrollOffset):
      (WebCore::CompositingCoordinator::renderNextFrame):
      (WebCore::CompositingCoordinator::purgeBackingStores):
      (WebCore::CompositingCoordinator::paintToSurface):
      (WebCore::CompositingCoordinator::scheduleReleaseInactiveAtlases):
      (WebCore::CompositingCoordinator::releaseInactiveAtlasesTimerFired):
      * platform/graphics/texmap/coordinated/CompositingCoordinator.h: Added.
      (WebCore::CompositingCoordinator::clearRootLayer):
      (WebCore::CompositingCoordinator::rootLayer):
      (WebCore::CompositingCoordinator::state):
      
      Source/WebKit2:
      
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
      (WebKit::CoordinatedLayerTreeHost::~CoordinatedLayerTreeHost):
      (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
      (WebKit::CoordinatedLayerTreeHost::setRootCompositingLayer):
      (WebKit::CoordinatedLayerTreeHost::invalidate):
      (WebKit::CoordinatedLayerTreeHost::forceRepaint):
      (WebKit::CoordinatedLayerTreeHost::sizeDidChange):
      (WebKit::CoordinatedLayerTreeHost::setVisibleContentsRect):
      (WebKit::CoordinatedLayerTreeHost::renderNextFrame):
      (WebKit::CoordinatedLayerTreeHost::purgeBackingStores):
      (WebKit::CoordinatedLayerTreeHost::willSyncLayerState):
      (WebKit::CoordinatedLayerTreeHost::prepareCustomFilterProxiesForAnimations):
      (WebKit::CoordinatedLayerTreeHost::checkCustomFilterProgramProxies):
      (WebKit::CoordinatedLayerTreeHost::removeCustomFilterProgramProxy):
      (WebKit::CoordinatedLayerTreeHost::didFlushRootLayer):
      (WebKit::CoordinatedLayerTreeHost::performScheduledLayerFlush):
      (WebKit::CoordinatedLayerTreeHost::createPageOverlayLayer):
      (WebKit::CoordinatedLayerTreeHost::paintLayerContents):
      (WebKit::CoordinatedLayerTreeHost::commitSceneState):
      (WebKit::CoordinatedLayerTreeHost::deviceOrPageScaleFactorChanged):
      (WebKit::CoordinatedLayerTreeHost::graphicsLayerFactory):
      (WebKit::CoordinatedLayerTreeHost::scheduleAnimation):
      (WebKit::CoordinatedLayerTreeHost::commitScrollOffset):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.h:
      * WebProcess/WebPage/LayerTreeHost.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38323ac7
    • commit-queue@webkit.org's avatar
      Silverlight deny ipc-posix-sem LC_Mutex playing Amazon Prime videos · d5f339fd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118102
      <rdar://problem/14194077>
      
      Patch by Simon Cooper <scooper@apple.com> on 2013-06-26
      Reviewed by Alexey Proskuryakov.
      
      Allow same-sandbox scoped semaphores on Mavericks. Permit the
      named semaphore for older releases.
      
      * Resources/PlugInSandboxProfiles/com.microsoft.SilverlightPlugin.sb:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5f339fd
    • commit-queue@webkit.org's avatar
      Update ColorSync shared memory names in plug-in sandbox profile · 0c5b04a6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=118099
      
      Patch by Simon Cooper <scooper@apple.com> on 2013-06-26
      Reviewed by Alexey Proskuryakov.
      
      Update the common profile to use the names used in Mavericks
      
      * Resources/PlugInSandboxProfiles/com.apple.WebKit.plugin-common.sb:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c5b04a6
    • ryuan.choi@samsung.com's avatar
      [EFL][REGRESSION] Crash after r151540 with debug build · 1653dfe9
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118111
      
      Reviewed by Gyuyoung Kim.
      
      * ewk/ewk_view.cpp:
      (ewk_view_scroll): Fixed ASSERT conditions wrongly refactored.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1653dfe9
    • kihong.kwon@samsung.com's avatar
      Vibration cannot be canceled during pattern vibration. · 50b329f6
      kihong.kwon@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=117822
      
      Reviewed by Gyuyoung Kim.
      
      Source/WebCore:
      
      Vibration can not cancel during pattern vibration is working. If resting time which are
      even numbers of pattern m_isVibraing will be false and cancel will thus return early.
      In addition, m_timerStart needs to be stopped in the cancelVibration().
      If cancelVibration() is called right after m_timerStart is fired, timerStartFired
      function can be called even if vibration is already canceled because of timing issue of timer.
      
      Test: vibration/cancelVibration-during-pattern-vibrating.html
      
      * Modules/vibration/Vibration.cpp:
      (WebCore::Vibration::vibrate):
      (WebCore::Vibration::cancelVibration):
      (WebCore::Vibration::suspendVibration):
      (WebCore::Vibration::resumeVibration):
      (WebCore::Vibration::stopVibration):
      (WebCore::Vibration::timerStartFired):
      (WebCore::Vibration::timerStopFired):
      * Modules/vibration/Vibration.h:
      
      LayoutTests:
      
      Add a test case for vibration cancelation during pattern vibration.
      In addition, restore visibilityState before executing cancelVibration-after-pagevisibility-changed-to-hidden.html.
      
      * vibration/cancelVibration-after-pagevisibility-changed-to-hidden.html:
      * vibration/cancelVibration-during-pattern-vibrating-expected.txt: Added.
      * vibration/cancelVibration-during-pattern-vibrating.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50b329f6
    • andersca@apple.com's avatar
      Deprecate StringImpl::charactersWithNullTermination · 18588abd
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118108
      
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      Rename calls to charactersWithNullTermination to deprecatedCharactersWithNullTermination.
      
      * html/canvas/WebGLProgram.cpp:
      (WebCore::WebGLProgram::cacheActiveAttribLocations):
      * platform/graphics/win/FontCacheWin.cpp:
      (WebCore::getLinkedFonts):
      * platform/graphics/win/FontCustomPlatformData.cpp:
      (WebCore::FontCustomPlatformData::fontPlatformData):
      * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
      (WebCore::FontCustomPlatformData::fontPlatformData):
      * platform/graphics/win/IconWin.cpp:
      (WebCore::Icon::createIconForFiles):
      * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
      (WebCore::MediaPlayerPrivateQuickTimeVisualContext::setUpCookiesForQuickTime):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FontPlatformData::FontPlatformData):
      * platform/network/curl/CurlDownload.cpp:
      (CurlDownload::moveFileToDestination):
      * platform/network/win/CookieJarWin.cpp:
      (WebCore::setCookiesFromDOM):
      (WebCore::cookiesForDOM):
      * platform/network/win/DownloadBundleWin.cpp:
      (WebCore::DownloadBundle::appendResumeData):
      (WebCore::DownloadBundle::extractResumeData):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::createInternetHandle):
      (WebCore::ResourceHandle::start):
      (WebCore::ResourceHandle::fileLoadTimer):
      * platform/sql/SQLiteFileSystem.cpp:
      (WebCore::SQLiteFileSystem::openDatabase):
      * platform/sql/SQLiteStatement.cpp:
      (WebCore::SQLiteStatement::prepare):
      * platform/text/win/LocaleWin.cpp:
      (WebCore::LCIDFromLocaleInternal):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getWebLocData):
      (WebCore::createGlobalData):
      (WebCore::setFileDescriptorData):
      (WebCore::getURL):
      (WebCore::setCFData):
      * platform/win/ContextMenuWin.cpp:
      (WebCore::ContextMenu::createPlatformContextMenuFromItems):
      * platform/win/DragImageWin.cpp:
      (WebCore::createDragImageIconForCachedImageFilename):
      * platform/win/FileSystemWin.cpp:
      (WebCore::getFindData):
      (WebCore::deleteFile):
      (WebCore::deleteEmptyDirectory):
      (WebCore::pathByAppendingComponent):
      (WebCore::makeAllDirectories):
      (WebCore::pathGetFileName):
      (WebCore::openTemporaryFile):
      (WebCore::openFile):
      * platform/win/MIMETypeRegistryWin.cpp:
      (WebCore::mimeTypeForExtension):
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/win/PasteboardWin.cpp:
      (WebCore::createGlobalImageFileDescriptor):
      (WebCore::createGlobalHDropContent):
      * platform/win/PathWalker.cpp:
      (WebCore::PathWalker::PathWalker):
      * platform/win/SSLKeyGeneratorWin.cpp:
      (WebCore::WebCore::signedPublicKeyAndChallengeString):
      * platform/win/SharedBufferWin.cpp:
      (WebCore::SharedBuffer::createWithContentsOfFile):
      * platform/wince/FileSystemWinCE.cpp:
      (WebCore::getFileInfo):
      (WebCore::fileExists):
      (WebCore::deleteFile):
      (WebCore::deleteEmptyDirectory):
      (WebCore::makeAllDirectories):
      (WebCore::openTemporaryFile):
      (WebCore::openFile):
      * plugins/win/PluginDatabaseWin.cpp:
      (WebCore::PluginDatabase::getPluginPathsInDirectories):
      (WebCore::addMozillaPluginDirectories):
      (WebCore::addAdobeAcrobatPluginDirectory):
      (WebCore::addJavaPluginDirectory):
      * plugins/win/PluginPackageWin.cpp:
      (WebCore::getVersionInfo):
      (WebCore::PluginPackage::fetchInfo):
      (WebCore::PluginPackage::load):
      * plugins/win/PluginViewWin.cpp:
      (WebCore::PluginView::handlePostReadFile):
      
      Source/WebKit/win:
      
      Rename calls to charactersWithNullTermination to deprecatedCharactersWithNullTermination.
      
      * COMPropertyBag.h:
      (::GetPropertyInfo):
      * WebCoreSupport/WebChromeClient.cpp:
      (WebChromeClient::runOpenPanel):
      * WebCoreSupport/WebInspectorClient.cpp:
      (WebInspectorFrontendClient::updateWindowTitle):
      * WebDownloadCFNet.cpp:
      (WebDownload::didFinish):
      * WebKitSystemBits.cpp:
      (WebVolumeFreeSize):
      * WebLocalizableStrings.cpp:
      (LocalizedString::operator LPCTSTR):
      * WebView.cpp:
      (WebView::setToolTip):
      
      Source/WebKit2:
      
      Rename calls to charactersWithNullTermination to deprecatedCharactersWithNullTermination.
      
      * Platform/CoreIPC/win/ConnectionWin.cpp:
      (CoreIPC::Connection::createServerAndClientIdentifiers):
      
      Source/WTF:
      
      The optimization in String and StringImpl to keep track of whether a string
      has a null terminator isn't worth it; in most cases we call charactersWithNullTermination() on
      temporary strings which ends up copying strings anyway.
      
      A better solution is to have a charactersWithNullTermination() function that returns a Vector<UChar>,
      which is similar to what we have for String::utf8() and String::ascii(). This will be done in a follow-up patch.
      
      * wtf/text/WTFString.cpp:
      (WTF::String::deprecatedCharactersWithNullTermination):
      * wtf/text/WTFString.h:
      
      Tools:
      
      Rename calls to charactersWithNullTermination to deprecatedCharactersWithNullTermination.
      
      * DumpRenderTree/win/DumpRenderTree.cpp:
      (findFontFallback):
      (addFontFallbackIfPresent):
      (removeFontFallbackIfPresent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18588abd
    • roger_fong@apple.com's avatar
      Add an accessibility delegate interface to AppleWin port. · 54e9679c
      roger_fong@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118094.
      
      Reviewed by Brent Fulgham.
      
      * WebKit.vcxproj/Interfaces/Interfaces.vcxproj:
      * WebKit.vcxproj/Interfaces/Interfaces.vcxproj.filters:
      * Interfaces/AccessibilityDelegate.idl: Added.
      * Interfaces/IWebView.idl:
      * Interfaces/WebKit.idl:
      * WebCoreSupport/WebChromeClient.cpp: Add methods that call into the AccessibilityDelegate.
      (WebChromeClient::AXStartFrameLoad):
      (WebChromeClient::AXFinishFrameLoad):
      * WebCoreSupport/WebChromeClient.h:
      * WebView.cpp: Add support for setting and getting the AccessibilityDelegate from the WebView.
      (WebView::close):
      (WebView::setAccessibilityDelegate):
      (WebView::accessibilityDelegate):
      * WebView.h:
      * accessibility/win/AXObjectCacheWin.cpp: We call the page client's AXStartFrameLoad and AXFinishFrameLoad methods here, which will in turn call the AccessibilityDelegate's callbacks.
      (WebCore::AXObjectCache::frameLoadingEventPlatformNotification):
      * loader/EmptyClients.h:
      (WebCore::EmptyChromeClient::AXStartFrameLoad):
      (WebCore::EmptyChromeClient::AXFinishFrameLoad):
      * page/ChromeClient.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54e9679c