- 27 Jun, 2013 26 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
- 26 Jun, 2013 14 commits
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=118098 <rdar://problem/13888138> Patch by Simon Cooper <scooper@apple.com> on 2013-06-26 Reviewed by Alexey Proskuryakov. Allow the preference file to be written * Resources/PlugInSandboxProfiles/com.apple.QuickTime Plugin.plugin.sb: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=118074 <rdar://problem/14279905> Reviewed by Geoffrey Garen. Source/JavaScriptCore: * API/JSStringRef.cpp: (JSStringCreateWithCharactersNoCopy): Create a new OpaqueJSString, using the newly added StringImpl::createWithoutCopying function. * API/JSStringRefPrivate.h: Added. Add a home for the JSStringCreateWithCharactersNoCopy function. * API/OpaqueJSString.h: (OpaqueJSString::OpaqueJSString): Just call isolatedCopy on the passed in string. * API/tests/testapi.c: Add an API test for JSStringCreateWithCharactersNoCopy. * JavaScriptCore.xcodeproj/project.pbxproj: Add new files. Source/WTF: * wtf/text/StringImpl.cpp: (WTF::StringImpl::createFromLiteral): Use the new ConstructWithoutCopying constructor, passing DoesHaveTerminatingNullCharacter to it. Change the other createFromLiteral overload to just call the first. (WTF::StringImpl::createWithoutCopying): Add helper functions for creating strings that shouldn't copy their underlying data. * wtf/text/StringImpl.h: (WTF::StringImpl::StringImpl): Rename the ConstructFromLiteralTag constructor enum to ConstructWithoutCopyingTag. Change the constructor to take an enum that states whether the string has a terminating null character or not. (WTF::StringImpl::createFromLiteral): Call createWithoutCopying. (WTF::StringImpl::requiresCopy): Rename this from isASCIILiteral() and make it more generic so it can handle 16-bit strings as well. (WTF::StringImpl::isolatedCopy): If this string doesn't have to be copied, just create a new StringImpl object that references the current data. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jer.noble@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=118040 Reviewed by Filip Pizlo. Source/WebCore: Test: webaudio/audiobuffer-neuter.html When creating an AudioBuffer's backing ArrayBufferView objects, mark them as 'unneuterable', meaning the underlying data will be copied in a neuter scenario rather than transferred. This means the underlying assumtions of the webaudio code can continue to assume that the memory areas owned by the ArrayBufferView will be present until the AudioBuffer is itself destroyed. In order to not expose the 'unneuterable' behavior to JavaScript, return a fresh Float32Array wrapper around the ArrayBuffer object, rather than our own. * Modules/webaudio/AudioBuffer.cpp: (WebCore::AudioBuffer::AudioBuffer): Mark the newly created channels as not neuterable. (WebCore::AudioBuffer::getChannelData): Return a new Float32Array object rather than a pointer to our own. * Modules/webaudio/AudioBuffer.h: Source/WTF: Add support for 'unneuterable' ArrayBufferViews. Views marked as such will have their underlying ArrayBuffer objects copied rather than transferred to a new view. * wtf/ArrayBuffer.cpp: (WTF::ArrayBuffer::transfer): Check whether the associated views are neuterable, and if not clone the ArrayBuffer rather than transferring it. * wtf/ArrayBuffer.h: (WTF::ArrayBufferContents::copyTo): Added. Utility function. * wtf/ArrayBufferView.cpp: (WTF::ArrayBufferView::ArrayBufferView): (WTF::ArrayBufferView::neuter): * wtf/ArrayBufferView.h: (WTF::ArrayBufferView::setNeuterable): (WTF::ArrayBufferView::isNeuterable): LayoutTests: * webaudio/audiobuffer-neuter.html: Added. * webaudio/audiobuffer-neuter-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
* page/CaptionUserPreferencesMediaAF.cpp: Don't attempt to include CoreText.h if we do not have MediaAccessibility Framework. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=118076 Reviewed by Eric Carlson. * WebCore.vcxproj/WebCore.vcxproj: Enable building the CaptionUserPreferencesMediaAF source file. * page/CaptionUserPreferencesMediaAF.cpp: Add soft-link commands for CoreText symbols needed in the implementation for Windows. * platform/LocalizedStrings.cpp: Enable Text Track-related strings on Windows. * platform/LocalizedStrings.h: Ditto. ../WTF: [Windows] Enable CaptionUserPreferenceMediaAF on Windows. https://bugs.webkit.org/show_bug.cgi?id=118076 Reviewed by Eric Carlson. * wtf/Platform.h: Enable Media Accessibility Framework in Windows build environments that support it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-