1. 31 Oct, 2013 1 commit
    • ap@apple.com's avatar
      Enable WebCrypto on Mac · 13a73330
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123587
      
      Reviewed by Anders Carlsson.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig: Do it.
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig: Enable it.
      
      * bindings/js/JSCryptoAlgorithmDictionary.cpp: Build fix.
      
      * crypto/CryptoAlgorithmRegistry.cpp: (WebCore::CryptoAlgorithmRegistry::getIdentifierForName):
      Special case empty keys to avoid upsetting HashMap.
      
      * crypto/algorithms/CryptoAlgorithmSHA1.cpp: (WebCore::CryptoAlgorithmSHA1::create):
      Build fix. Can't use make_unique, because constructor is private.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig: Do it.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig: Do it.
      
      LayoutTests:
      
      * TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      Only skipping on specific platforms now.
      
      * crypto: Added.
      * crypto/crypto-gc-expected.txt: Copied from LayoutTests/security/crypto-gc-expected.txt.
      * crypto/crypto-gc.html: Copied from LayoutTests/security/crypto-gc.html.
      * crypto/crypto-random-values-expected.txt: Copied from LayoutTests/security/crypto-random-values-expected.txt.
      * crypto/crypto-random-values-limits-expected.txt: Copied from LayoutTests/security/crypto-random-values-limits-expected.txt.
      * crypto/crypto-random-values-limits.html: Copied from LayoutTests/security/crypto-random-values-limits.html.
      * crypto/crypto-random-values-types-expected.txt: Copied from LayoutTests/security/crypto-random-values-types-expected.txt.
      * crypto/crypto-random-values-types.html: Copied from LayoutTests/security/crypto-random-values-types.html.
      * crypto/crypto-random-values.html: Copied from LayoutTests/security/crypto-random-values.html.
      * crypto/subtle: Added.
      * crypto/subtle/argument-conversion-expected.txt: Copied from LayoutTests/security/crypto-subtle-arguments-expected.txt.
      * crypto/subtle/argument-conversion.html: Copied from LayoutTests/security/crypto-subtle-arguments.html.
      * crypto/subtle/gc-2-expected.txt: Copied from LayoutTests/security/crypto-subtle-gc-2-expected.txt.
      * crypto/subtle/gc-2.html: Copied from LayoutTests/security/crypto-subtle-gc-2.html.
      * crypto/subtle/gc-3-expected.txt: Copied from LayoutTests/security/crypto-subtle-gc-3-expected.txt.
      * crypto/subtle/gc-3.html: Copied from LayoutTests/security/crypto-subtle-gc-3.html.
      * crypto/subtle/gc-expected.txt: Copied from LayoutTests/security/crypto-subtle-gc-expected.txt.
      * crypto/subtle/gc.html: Copied from LayoutTests/security/crypto-subtle-gc.html.
      * crypto/subtle/resources: Added.
      * crypto/subtle/resources/common.js: Copied from LayoutTests/security/resources/common.js.
      * crypto/subtle/sha-1-expected.txt: Copied from LayoutTests/security/crypto-subtle-sha1-expected.txt.
      * crypto/subtle/sha-1.html: Copied from LayoutTests/security/crypto-subtle-sha1.html.
      * security/crypto-gc-expected.txt: Removed.
      * security/crypto-gc.html: Removed.
      * security/crypto-random-values-expected.txt: Removed.
      * security/crypto-random-values-limits-expected.txt: Removed.
      * security/crypto-random-values-limits.html: Removed.
      * security/crypto-random-values-types-expected.txt: Removed.
      * security/crypto-random-values-types.html: Removed.
      * security/crypto-random-values.html: Removed.
      * security/crypto-subtle-arguments-expected.txt: Removed.
      * security/crypto-subtle-arguments.html: Removed.
      * security/crypto-subtle-gc-2-expected.txt: Removed.
      * security/crypto-subtle-gc-2.html: Removed.
      * security/crypto-subtle-gc-3-expected.txt: Removed.
      * security/crypto-subtle-gc-3.html: Removed.
      * security/crypto-subtle-gc-expected.txt: Removed.
      * security/crypto-subtle-gc.html: Removed.
      * security/crypto-subtle-sha1-expected.txt: Removed.
      * security/crypto-subtle-sha1.html: Removed.
      * security/resources/common.js: Removed.
      Moved tests from security/ to crypto/.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158396 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13a73330
  2. 28 Oct, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Parsing support for -webkit-text-decoration-skip: ink · 0171920a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123358
      
      Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-10-28
      Reviewed by Dean Jackson.
      
      Source/JavaScriptCore:
      
      Adding ENABLE(CSS3_TEXT_DECORATION)
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Adds initial parsing support for parsing -webkit-text-decoration-skip with
      values of "none" and "ink". This work is behind the new
      ENABLE(CSS3_TEXT_DECORATION) compile-time flag.
      
      Test: fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip.html
      
      * Configurations/FeatureDefines.xcconfig: Adding ENABLE(CSS3_TEXT_DECORATION)
      * css/CSSComputedStyleDeclaration.cpp: Mapping internal representation of text-decoration-skip
      to a CSSValue
      (WebCore::renderTextDecorationSkipFlagsToCSSValue):
      (WebCore::ComputedStyleExtractor::propertyValue):
      * css/CSSParser.cpp: Actually parsing tokens
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::parseTextDecorationSkip):
      * css/CSSParser.h:
      * css/CSSPropertyNames.in: adding -webkit-text-decoration-skip
      * css/CSSValueKeywords.in: adding ink
      * css/DeprecatedStyleBuilder.cpp: Mapping from CSSValue to internal representation
      (WebCore::ApplyPropertyTextDecorationSkip::valueToDecorationSkip):
      (WebCore::ApplyPropertyTextDecorationSkip::applyValue):
      (WebCore::ApplyPropertyTextDecorationSkip::createHandler):
      (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
      * css/StyleResolver.cpp: decoration-skip uses DeprecatedStyleBuilder
      (WebCore::StyleResolver::applyProperty):
      * rendering/style/RenderStyle.h: Adding functions for modifying and accessing decoration-skip properties
      * rendering/style/RenderStyleConstants.h: Definition of internal representation
      * rendering/style/StyleRareInheritedData.cpp: Setting up constructors and comparators
      (WebCore::StyleRareInheritedData::StyleRareInheritedData):
      (WebCore::StyleRareInheritedData::operator==):
      * rendering/style/StyleRareInheritedData.h: Holds actual value of internal representation
      
      Source/WebKit/mac:
      
      Adding ENABLE(CSS3_TEXT_DECORATION)
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Adding ENABLE(CSS3_TEXT_DECORATION)
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Adding ENABLE(CSS3_TEXT_DECORATION)
      
      * Scripts/webkitperl/FeatureList.pm:
      
      LayoutTests:
      
      Adds a test which makes sure that we can parse the
      -webkit-text-decoration-skip CSS property, as well
      as values for "ink" and "none". We can use the CSSOM
      to test the roundtrip of these values
      
      * fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0171920a
  3. 25 Oct, 2013 3 commits
    • joepeck@webkit.org's avatar
      Upstream ENABLE(REMOTE_INSPECTOR) and enable on iOS and Mac · 1367d77a
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=123111
      
      Reviewed by Timothy Hatcher.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.exp.in:
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/cf:
      
      * WebCoreSupport/WebInspectorClientCF.cpp:
      
      Source/WebKit/ios:
      
      iOS does not have a local inspector, only remote. So give it a custom
      implementation separate from the WebKit/mac WebInspectorClient
      implementation which handles an attaching/detaching local inspector.
      
      * WebKit.xcodeproj/project.pbxproj:
      * ios/WebCoreSupport/WebInspectorClientIOS.mm: Added.
      (WebInspectorClient::WebInspectorClient):
      (WebInspectorClient::inspectorDestroyed):
      (WebInspectorClient::openInspectorFrontend):
      (WebInspectorClient::bringFrontendToFront):
      (WebInspectorClient::closeInspectorFrontend):
      (WebInspectorClient::didResizeMainFrame):
      (WebInspectorClient::highlight):
      (WebInspectorClient::hideHighlight):
      (WebInspectorClient::didSetSearchingForNode):
      (WebInspectorClient::sendMessageToFrontend):
      (WebInspectorClient::sendMessageToBackend):
      (WebInspectorClient::setupRemoteConnection):
      (WebInspectorClient::teardownRemoteConnection):
      (WebInspectorClient::hasLocalSession):
      (WebInspectorClient::canBeRemotelyInspected):
      (WebInspectorClient::inspectedWebView):
      (WebInspectorFrontendClient::WebInspectorFrontendClient):
      (WebInspectorFrontendClient::attachAvailabilityChanged):
      (WebInspectorFrontendClient::frontendLoaded):
      (WebInspectorFrontendClient::localizedStringsURL):
      (WebInspectorFrontendClient::bringToFront):
      (WebInspectorFrontendClient::closeWindow):
      (WebInspectorFrontendClient::disconnectFromBackend):
      (WebInspectorFrontendClient::attachWindow):
      (WebInspectorFrontendClient::detachWindow):
      (WebInspectorFrontendClient::setAttachedWindowHeight):
      (WebInspectorFrontendClient::setAttachedWindowWidth):
      (WebInspectorFrontendClient::setToolbarHeight):
      (WebInspectorFrontendClient::inspectedURLChanged):
      (WebInspectorFrontendClient::updateWindowTitle):
      (WebInspectorFrontendClient::save):
      (WebInspectorFrontendClient::append):
      
      Source/WebKit/mac:
      
      The actual implementation at the WebCoreSupport/WebInspectorClient level
      is the same as INSPECTOR_SERVER. Give debuggable pages a pageIdentifer.
      
      * Configurations/FeatureDefines.xcconfig:
      * Misc/WebKitLogging.h:
      Misc.
      
      * WebCoreSupport/WebInspectorClient.h:
      (WebInspectorClient::pageId):
      (WebInspectorClient::setPageId):
      Give WebInspectorClient's a page identifier.
      
      * WebCoreSupport/WebInspectorClient.mm:
      (WebInspectorClient::WebInspectorClient):
      (WebInspectorClient::inspectorDestroyed):
      (WebInspectorClient::sendMessageToFrontend):
      (WebInspectorClient::sendMessageToBackend):
      (WebInspectorClient::setupRemoteConnection):
      (WebInspectorClient::teardownRemoteConnection):
      (WebInspectorClient::hasLocalSession):
      (WebInspectorClient::canBeRemotelyInspected):
      (WebInspectorClient::inspectedWebView):
      A WebInspectorClient can be either local or remote. Add handling
      for remote connections.
      
      * WebInspector/remote/WebInspectorClientRegistry.h: Added.
      * WebInspector/remote/WebInspectorClientRegistry.mm: Added.
      (+[WebInspectorClientRegistry sharedRegistry]):
      (-[WebInspectorClientRegistry init]):
      (-[WebInspectorClientRegistry _getNextAvailablePageId]):
      (-[WebInspectorClientRegistry registerClient:]):
      (-[WebInspectorClientRegistry unregisterClient:]):
      (-[WebInspectorClientRegistry clientForPageId:]):
      (-[WebInspectorClientRegistry inspectableWebViews]):
      Registry for all potentially debuggable pages. All WebInspectorClient instances.
      
      * WebInspector/remote/WebInspectorRelayDefinitions.h: Added.
      Constants (message keys) shared between WebKit and the XPC process.
      
      * WebInspector/remote/WebInspectorServer.h: Added.
      * WebInspector/remote/WebInspectorServer.mm: Added.
      (-[WebInspectorServer init]):
      (-[WebInspectorServer dealloc]):
      (-[WebInspectorServer start]):
      (-[WebInspectorServer stop]):
      (-[WebInspectorServer isEnabled]):
      (-[WebInspectorServer xpcConnection]):
      (-[WebInspectorServer setupXPCConnectionIfNeeded]):
      (-[WebInspectorServer pushListing]):
      (-[WebInspectorServer hasActiveDebugSession]):
      (-[WebInspectorServer setHasActiveDebugSession:]):
      (-[WebInspectorServer xpcConnection:receivedMessage:userInfo:]):
      (-[WebInspectorServer xpcConnectionFailed:]):
      (-[WebInspectorServer didRegisterClient:]):
      (-[WebInspectorServer didUnregisterClient:]):
      Singleton to start/stop remote inspection. Handles the connection to the XPC
      and hands off connections to the connection controller.
      
      * WebInspector/remote/WebInspectorServerWebViewConnection.h: Added.
      * WebInspector/remote/WebInspectorServerWebViewConnection.mm: Added.
      (-[WebInspectorServerWebViewConnection initWithController:connectionIdentifier:destination:identifier:]):
      (-[WebInspectorServerWebViewConnection setupChannel]):
      (-[WebInspectorServerWebViewConnection dealloc]):
      (-[WebInspectorServerWebViewConnection connectionIdentifier]):
      (-[WebInspectorServerWebViewConnection identifier]):
      (-[WebInspectorServerWebViewConnection clearChannel]):
      (-[WebInspectorServerWebViewConnection sendMessageToFrontend:]):
      (-[WebInspectorServerWebViewConnection sendMessageToBackend:]):
      (-[WebInspectorServerWebViewConnection receivedData:]):
      (-[WebInspectorServerWebViewConnection receivedDidClose:]):
      An individual remote debug session connection.
      
      * WebInspector/remote/WebInspectorServerWebViewConnectionController.h: Added.
      * WebInspector/remote/WebInspectorServerWebViewConnectionController.mm: Added.
      (-[WebInspectorServerWebViewConnectionController initWithServer:]):
      (-[WebInspectorServerWebViewConnectionController dealloc]):
      (-[WebInspectorServerWebViewConnectionController closeAllConnections]):
      (-[WebInspectorServerWebViewConnectionController _listingForWebView:pageId:registry:]):
      (-[WebInspectorServerWebViewConnectionController _pushListing:]):
      (-[WebInspectorServerWebViewConnectionController pushListing:]):
      (-[WebInspectorServerWebViewConnectionController pushListing]):
      (-[WebInspectorServerWebViewConnectionController _receivedSetup:]):
      (-[WebInspectorServerWebViewConnectionController _receivedData:]):
      (-[WebInspectorServerWebViewConnectionController _receivedDidClose:]):
      (-[WebInspectorServerWebViewConnectionController _receivedGetListing:]):
      (-[WebInspectorServerWebViewConnectionController _receivedIndicate:]):
      (-[WebInspectorServerWebViewConnectionController _receivedConnectionDied:]):
      (-[WebInspectorServerWebViewConnectionController receivedMessage:userInfo:]):
      (-[WebInspectorServerWebViewConnectionController connectionClosing:]):
      (-[WebInspectorServerWebViewConnectionController sendMessageToFrontend:userInfo:]):
      ConnectionController:
        - Holds all the current ongoing remote debug connections.
        - Simplifies multi-threaded work on iOS.
        - Dispatches incoming messages from the remote connection.
      
      * WebInspector/remote/WebInspectorRemoteChannel.h: Added.
      * WebInspector/remote/WebInspectorRemoteChannel.mm: Added.
      (+[WebInspectorRemoteChannel createChannelForPageId:connection:]):
      (-[WebInspectorRemoteChannel initWithRemote:local:]):
      (-[WebInspectorRemoteChannel closeFromLocalSide]):
      (-[WebInspectorRemoteChannel closeFromRemoteSide]):
      (-[WebInspectorRemoteChannel sendMessageToFrontend:]):
      (-[WebInspectorRemoteChannel sendMessageToBackend:]):
      Thin interface between the remote connection and web inspector client.
      This simplifies breaking the connection from either side, e.g. the
      page closing, or the remote connection disconnecting.
      
      * WebInspector/remote/WebInspectorXPCWrapper.h: Added.
      * WebInspector/remote/WebInspectorXPCWrapper.m: Added.
      (-[WebInspectorXPCWrapper initWithConnection:]):
      (-[WebInspectorXPCWrapper close]):
      (-[WebInspectorXPCWrapper dealloc]):
      (-[WebInspectorXPCWrapper _deserializeMessage:]):
      (-[WebInspectorXPCWrapper _handleEvent:]):
      (-[WebInspectorXPCWrapper sendMessage:userInfo:]):
      (-[WebInspectorXPCWrapper available]):
      * WebKit.exp:
      XPC Connection wrapper handling a simple message format.
      
      * WebView/WebViewData.h:
      * WebView/WebViewData.mm:
      (-[WebViewPrivate init]):
      (-[WebViewPrivate dealloc]):
      * WebView/WebViewInternal.h:
      * WebView/WebViewPrivate.h:
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      (+[WebView sharedWebInspectorServer]):
      (+[WebView _enableRemoteInspector]):
      (+[WebView _disableRemoteInspector]):
      (+[WebView _disableAutoStartRemoteInspector]):
      (+[WebView _isRemoteInspectorEnabled]):
      (+[WebView _hasRemoteInspectorSession]):
      (-[WebView canBeRemotelyInspected]):
      (-[WebView allowsRemoteInspection]):
      (-[WebView setAllowsRemoteInspection:]):
      (-[WebView setIndicatingForRemoteInspector:]):
      (-[WebView setRemoteInspectorUserInfo:]):
      (-[WebView remoteInspectorUserInfo]):
      Remote inspector private API.
        - Enable / disable globally
        - Allow / disallow per webview
        - Optionally attach a userInfo dictionary on the WebView that is published with listing.
        - Indicate a WebView (implementation to land later)
      
      (-[WebView _didCommitLoadForFrame:]):
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::dispatchDidReceiveTitle):
      Pages changed, pushed page listing.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1367d77a
    • mrowe@apple.com's avatar
      Remove references to OS X 10.7 from Xcode configuration settings. · c835bc52
      mrowe@apple.com authored
      Now that we're not building for OS X 10.7 they're no longer needed.
      
      Reviewed by Anders Carlsson.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/ThirdParty:
      
      * gtest/xcode/Config/General.xcconfig:
      
      Source/ThirdParty/ANGLE:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebInspectorUI:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      * Configurations/BaseXPCService.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebContentProcess.xcconfig:
      
      Source/WTF:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Tools:
      
      * DumpRenderTree/mac/Configurations/Base.xcconfig:
      * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
      * MiniBrowser/Configurations/Base.xcconfig:
      * MiniBrowser/Configurations/DebugRelease.xcconfig:
      * TestWebKitAPI/Configurations/Base.xcconfig:
      * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
      * WebKitLauncher/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c835bc52
    • mrowe@apple.com's avatar
      <rdar://problem/15312643> Prepare for the mysterious future. · 8c1df3fc
      mrowe@apple.com authored
      Reviewed by David Kilzer.
      
      Source/JavaScriptCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/ThirdParty:
      
      * gtest/xcode/Config/General.xcconfig:
      
      Source/ThirdParty/ANGLE:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebInspectorUI:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/Base.xcconfig:
      * Configurations/BaseXPCService.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      * Configurations/FeatureDefines.xcconfig:
      * Configurations/Version.xcconfig:
      * Configurations/WebContentProcess.xcconfig:
      
      Source/WTF:
      
      * Configurations/Base.xcconfig:
      * Configurations/DebugRelease.xcconfig:
      
      Tools:
      
      * DumpRenderTree/mac/Configurations/Base.xcconfig:
      * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
      * MiniBrowser/Configurations/Base.xcconfig:
      * MiniBrowser/Configurations/DebugRelease.xcconfig:
      * TestWebKitAPI/Configurations/Base.xcconfig:
      * TestWebKitAPI/Configurations/DebugRelease.xcconfig:
      * WebKitLauncher/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/DebugRelease.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c1df3fc
  4. 16 Oct, 2013 1 commit
  5. 12 Oct, 2013 1 commit
  6. 01 Oct, 2013 1 commit
    • weinig@apple.com's avatar
      Remove support for DOMFileSystem · 7df82b33
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122137
      
      Reviewed by Anders Carlsson.
      
      .: 
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      * Files elided *
      
      Source/WebKit/blackberry: 
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      (BlackBerry::WebKit::WebPage::clearWebFileSystem):
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/efl: 
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_file_system_path_set):
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * Scripts/webkitperl/FeatureList.pm:
      * Scripts/webkitpy/style/checkers/cpp.py:
      (check_spacing):
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      (CppStyleTest.test_spacing_for_binary_ops):
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: 
      
      * fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt: Removed.
      * fast/dom/MutationObserver/filesystem-callback-delivery.html: Removed.
      * fast/filesystem: Removed.
      * fast/filesystem/async-operations-expected.txt: Removed.
      * fast/filesystem/async-operations.html: Removed.
      * fast/filesystem/cross-filesystem-op-expected.txt: Removed.
      * fast/filesystem/cross-filesystem-op.html: Removed.
      * fast/filesystem/directory-entry-to-uri-expected.txt: Removed.
      * fast/filesystem/directory-entry-to-uri.html: Removed.
      * fast/filesystem/entry-points-missing-arguments-expected.txt: Removed.
      * fast/filesystem/entry-points-missing-arguments.html: Removed.
      * fast/filesystem/file-after-reload-crash-expected.txt: Removed.
      * fast/filesystem/file-after-reload-crash.html: Removed.
      * fast/filesystem/file-entry-to-uri-expected.txt: Removed.
      * fast/filesystem/file-entry-to-uri.html: Removed.
      * fast/filesystem/file-from-file-entry-expected.txt: Removed.
      * fast/filesystem/file-from-file-entry.html: Removed.
      * fast/filesystem/file-metadata-after-write-expected.txt: Removed.
      * fast/filesystem/file-metadata-after-write.html: Removed.
      * fast/filesystem/file-writer-abort-continue-expected.txt: Removed.
      * fast/filesystem/file-writer-abort-continue.html: Removed.
      * fast/filesystem/file-writer-abort-depth-expected.txt: Removed.
      * fast/filesystem/file-writer-abort-depth.html: Removed.
      * fast/filesystem/file-writer-abort-expected.txt: Removed.
      * fast/filesystem/file-writer-abort.html: Removed.
      * fast/filesystem/file-writer-empty-blob-expected.txt: Removed.
      * fast/filesystem/file-writer-empty-blob.html: Removed.
      * fast/filesystem/file-writer-events-expected.txt: Removed.
      * fast/filesystem/file-writer-events.html: Removed.
      * fast/filesystem/file-writer-gc-blob-expected.txt: Removed.
      * fast/filesystem/file-writer-gc-blob.html: Removed.
      * fast/filesystem/file-writer-truncate-extend-expected.txt: Removed.
      * fast/filesystem/file-writer-truncate-extend.html: Removed.
      * fast/filesystem/file-writer-write-overlapped-expected.txt: Removed.
      * fast/filesystem/file-writer-write-overlapped.html: Removed.
      * fast/filesystem/filesystem-missing-arguments-expected.txt: Removed.
      * fast/filesystem/filesystem-missing-arguments.html: Removed.
      * fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt: Removed.
      * fast/filesystem/filesystem-no-callback-null-ptr-crash.html: Removed.
      * fast/filesystem/filesystem-reference-expected.txt: Removed.
      * fast/filesystem/filesystem-reference.html: Removed.
      * fast/filesystem/filesystem-unserializable-expected.txt: Removed.
      * fast/filesystem/filesystem-unserializable.html: Removed.
      * fast/filesystem/filesystem-uri-origin-expected.txt: Removed.
      * fast/filesystem/filesystem-uri-origin.html: Removed.
      * fast/filesystem/flags-passing-expected.txt: Removed.
      * fast/filesystem/flags-passing.html: Removed.
      * fast/filesystem/input-access-entries-expected.txt: Removed.
      * fast/filesystem/input-access-entries.html: Removed.
      * fast/filesystem/not-enough-arguments-expected.txt: Removed.
      * fast/filesystem/not-enough-arguments.html: Removed.
      * fast/filesystem/op-copy-expected.txt: Removed.
      * fast/filesystem/op-copy.html: Removed.
      * fast/filesystem/op-get-entry-expected.txt: Removed.
      * fast/filesystem/op-get-entry.html: Removed.
      * fast/filesystem/op-get-metadata-expected.txt: Removed.
      * fast/filesystem/op-get-metadata.html: Removed.
      * fast/filesystem/op-get-parent-expected.txt: Removed.
      * fast/filesystem/op-get-parent.html: Removed.
      * fast/filesystem/op-move-expected.txt: Removed.
      * fast/filesystem/op-move.html: Removed.
      * fast/filesystem/op-read-directory-expected.txt: Removed.
      * fast/filesystem/op-read-directory.html: Removed.
      * fast/filesystem/op-remove-expected.txt: Removed.
      * fast/filesystem/op-remove.html: Removed.
      * fast/filesystem/op-restricted-chars-expected.txt: Removed.
      * fast/filesystem/op-restricted-chars.html: Removed.
      * fast/filesystem/op-restricted-names-expected.txt: Removed.
      * fast/filesystem/op-restricted-names.html: Removed.
      * fast/filesystem/op-restricted-unicode-expected.txt: Removed.
      * fast/filesystem/op-restricted-unicode.html: Removed.
      * fast/filesystem/read-directory-expected.txt: Removed.
      * fast/filesystem/read-directory.html: Removed.
      * fast/filesystem/resources: Removed.
      * fast/filesystem/resources/async-operations.js: Removed.
      * fast/filesystem/resources/directory-entry-to-uri.js: Removed.
      * fast/filesystem/resources/file-entry-to-uri-sync.js: Removed.
      * fast/filesystem/resources/file-entry-to-uri.js: Removed.
      * fast/filesystem/resources/file-from-file-entry-sync.js: Removed.
      * fast/filesystem/resources/file-from-file-entry.js: Removed.
      * fast/filesystem/resources/file-writer-abort-continue.js: Removed.
      * fast/filesystem/resources/file-writer-abort-depth.js: Removed.
      * fast/filesystem/resources/file-writer-abort.js: Removed.
      * fast/filesystem/resources/file-writer-empty-blob.js: Removed.
      * fast/filesystem/resources/file-writer-events.js: Removed.
      * fast/filesystem/resources/file-writer-gc-blob.js: Removed.
      * fast/filesystem/resources/file-writer-sync-truncate-extend.js: Removed.
      * fast/filesystem/resources/file-writer-sync-write-overlapped.js: Removed.
      * fast/filesystem/resources/file-writer-truncate-extend.js: Removed.
      * fast/filesystem/resources/file-writer-utils.js: Removed.
      * fast/filesystem/resources/file-writer-write-overlapped.js: Removed.
      * fast/filesystem/resources/fs-test-util.js: Removed.
      * fast/filesystem/resources/fs-worker-common.js: Removed.
      * fast/filesystem/resources/op-copy.js: Removed.
      * fast/filesystem/resources/op-get-entry.js: Removed.
      * fast/filesystem/resources/op-get-metadata.js: Removed.
      * fast/filesystem/resources/op-get-parent.js: Removed.
      * fast/filesystem/resources/op-move.js: Removed.
      * fast/filesystem/resources/op-read-directory.js: Removed.
      * fast/filesystem/resources/op-remove.js: Removed.
      * fast/filesystem/resources/op-restricted-chars.js: Removed.
      * fast/filesystem/resources/op-restricted-names.js: Removed.
      * fast/filesystem/resources/op-restricted-unicode.js: Removed.
      * fast/filesystem/resources/op-tests-helper.js: Removed.
      * fast/filesystem/resources/shared-worker-stub.js: Removed.
      * fast/filesystem/resources/simple-persistent-sync.js: Removed.
      * fast/filesystem/resources/simple-persistent.js: Removed.
      * fast/filesystem/resources/simple-readonly.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getdirectory.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getfile.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getmetadata.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-remove.js: Removed.
      * fast/filesystem/resources/simple-temporary-sync.js: Removed.
      * fast/filesystem/resources/simple-temporary.js: Removed.
      * fast/filesystem/resources/sync-operations.js: Removed.
      * fast/filesystem/script-tests: Removed.
      * fast/filesystem/script-tests/TEMPLATE.html: Removed.
      * fast/filesystem/script-tests/filesystem-reference.js: Removed.
      * fast/filesystem/script-tests/filesystem-unserializable.js: Removed.
      * fast/filesystem/script-tests/flags-passing.js: Removed.
      * fast/filesystem/script-tests/read-directory.js: Removed.
      * fast/filesystem/simple-persistent-expected.txt: Removed.
      * fast/filesystem/simple-persistent.html: Removed.
      * fast/filesystem/simple-readonly-expected.txt: Removed.
      * fast/filesystem/simple-readonly-file-object-expected.txt: Removed.
      * fast/filesystem/simple-readonly-file-object.html: Removed.
      * fast/filesystem/simple-readonly.html: Removed.
      * fast/filesystem/simple-required-arguments-getdirectory-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getdirectory.html: Removed.
      * fast/filesystem/simple-required-arguments-getfile-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getfile.html: Removed.
      * fast/filesystem/simple-required-arguments-getmetadata-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getmetadata.html: Removed.
      * fast/filesystem/simple-required-arguments-remove-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-remove.html: Removed.
      * fast/filesystem/simple-temporary-expected.txt: Removed.
      * fast/filesystem/simple-temporary.html: Removed.
      * fast/filesystem/workers: Removed.
      * fast/filesystem/workers/async-operations-expected.txt: Removed.
      * fast/filesystem/workers/async-operations.html: Removed.
      * fast/filesystem/workers/detached-frame-crash-expected.txt: Removed.
      * fast/filesystem/workers/detached-frame-crash.html: Removed.
      * fast/filesystem/workers/file-entry-to-uri-sync-expected.txt: Removed.
      * fast/filesystem/workers/file-entry-to-uri-sync.html: Removed.
      * fast/filesystem/workers/file-from-file-entry-expected.txt: Removed.
      * fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Removed.
      * fast/filesystem/workers/file-from-file-entry-sync.html: Removed.
      * fast/filesystem/workers/file-from-file-entry.html: Removed.
      * fast/filesystem/workers/file-writer-empty-blob-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-empty-blob.html: Removed.
      * fast/filesystem/workers/file-writer-events-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-events-shared-worker-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-events-shared-worker.html: Removed.
      * fast/filesystem/workers/file-writer-events.html: Removed.
      * fast/filesystem/workers/file-writer-gc-blob-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-gc-blob.html: Removed.
      * fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-sync-truncate-extend.html: Removed.
      * fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-sync-write-overlapped.html: Removed.
      * fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-truncate-extend.html: Removed.
      * fast/filesystem/workers/file-writer-write-overlapped-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-write-overlapped.html: Removed.
      * fast/filesystem/workers/resources: Removed.
      * fast/filesystem/workers/resources/detached-frame-crash-frame.html: Removed.
      * fast/filesystem/workers/resources/detached-frame-crash-worker.js: Removed.
      * fast/filesystem/workers/simple-persistent-expected.txt: Removed.
      * fast/filesystem/workers/simple-persistent-sync-expected.txt: Removed.
      * fast/filesystem/workers/simple-persistent-sync.html: Removed.
      * fast/filesystem/workers/simple-persistent.html: Removed.
      * fast/filesystem/workers/simple-temporary-expected.txt: Removed.
      * fast/filesystem/workers/simple-temporary-sync-expected.txt: Removed.
      * fast/filesystem/workers/simple-temporary-sync.html: Removed.
      * fast/filesystem/workers/simple-temporary.html: Removed.
      * fast/filesystem/workers/sync-operations-expected.txt: Removed.
      * fast/filesystem/workers/sync-operations.html: Removed.
      * fast/forms/file/input-file-entries-expected.txt: Removed.
      * fast/forms/file/input-file-entries.html: Removed.
      * http/tests/filesystem: Removed.
      * http/tests/filesystem/no-cache-filesystem-url-expected.txt: Removed.
      * http/tests/filesystem/no-cache-filesystem-url.html: Removed.
      * http/tests/filesystem/resolve-uri-expected.txt: Removed.
      * http/tests/filesystem/resolve-uri.html: Removed.
      * http/tests/filesystem/resources: Removed.
      * http/tests/filesystem/resources/fs-test-util.js: Removed.
      * http/tests/filesystem/resources/fs-worker-common.js: Removed.
      * http/tests/filesystem/resources/fs-worker-test-util.js: Removed.
      * http/tests/filesystem/script-tests: Removed.
      * http/tests/filesystem/script-tests/TEMPLATE.html: Removed.
      * http/tests/filesystem/script-tests/resolve-uri.js: Removed.
      * http/tests/filesystem/workers: Removed.
      * http/tests/filesystem/workers/resolve-url-expected.txt: Removed.
      * http/tests/filesystem/workers/resolve-url-sync-expected.txt: Removed.
      * http/tests/filesystem/workers/resolve-url-sync.html: Removed.
      * http/tests/filesystem/workers/resolve-url.html: Removed.
      * http/tests/filesystem/workers/script-tests: Removed.
      * http/tests/filesystem/workers/script-tests/TEMPLATE.html: Removed.
      * http/tests/filesystem/workers/script-tests/resolve-url-sync.js: Removed.
      * http/tests/inspector/filesystem: Removed.
      * http/tests/inspector/filesystem/delete-entry-expected.txt: Removed.
      * http/tests/inspector/filesystem/delete-entry.html: Removed.
      * http/tests/inspector/filesystem/directory-tree-expected.txt: Removed.
      * http/tests/inspector/filesystem/directory-tree.html: Removed.
      * http/tests/inspector/filesystem/filesystem-test.js: Removed.
      * http/tests/inspector/filesystem/request-directory-content-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-directory-content.html: Removed.
      * http/tests/inspector/filesystem/request-file-content-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-file-content.html: Removed.
      * http/tests/inspector/filesystem/request-filesystem-root-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-filesystem-root.html: Removed.
      * http/tests/inspector/filesystem/request-metadata-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-metadata.html: Removed.
      * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt: Removed.
      * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html: Removed.
      * http/tests/security/filesystem-iframe-from-remote-expected.txt: Removed.
      * http/tests/security/filesystem-iframe-from-remote.html: Removed.
      * http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt: Removed.
      * http/tests/security/mixedContent/filesystem-url-in-iframe.html: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
      * http/tests/workers/resources/sync-operations.js:
      (onmessage):
      * http/tests/workers/terminate-during-sync-operation-expected.txt: Removed.
      * http/tests/workers/terminate-during-sync-operation.html: Removed.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7df82b33
  7. 30 Sep, 2013 1 commit
    • benjamin@webkit.org's avatar
      Remove the code guarded by STYLE_SCOPED · 32bbc4c1
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122123
      
      Reviewed by Anders Carlsson.
      
      .: 
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      Start cleaning the code related to <style scoped>. This patch
      only removes the code with #ifdef guards.
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.exp.in:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
      * bindings/generic/RuntimeEnabledFeatures.h:
      * css/DocumentRuleSets.cpp:
      (WebCore::DocumentRuleSets::appendAuthorStyleSheets):
      * css/ElementRuleCollector.cpp:
      (WebCore::ElementRuleCollector::matchScopedAuthorRules):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::locateCousinList):
      (WebCore::StyleResolver::canShareStyleWithElement):
      (WebCore::StyleResolver::locateSharedStyle):
      * css/StyleResolver.h:
      (WebCore::StyleResolver::ensureScopeResolver):
      * css/StyleScopeResolver.cpp:
      * css/StyleScopeResolver.h:
      * dom/Node.cpp:
      * dom/Node.h:
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::ShadowRoot):
      * dom/ShadowRoot.h:
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::HTMLStyleElement):
      (WebCore::HTMLStyleElement::parseAttribute):
      (WebCore::HTMLStyleElement::insertedInto):
      (WebCore::HTMLStyleElement::removedFrom):
      * html/HTMLStyleElement.h:
      * html/HTMLStyleElement.idl:
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      * testing/InternalSettings.h:
      * testing/InternalSettings.idl:
      * testing/Internals.cpp:
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit: 
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (resetDefaultsToConsistentValues):
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32bbc4c1
  8. 27 Sep, 2013 1 commit
    • jer.noble@apple.com's avatar
      [Mac] Implement the media controls in JavaScript. · b8744b36
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120895
      
      Reviewed by Dean Jackson.
      
      Source/JavaScriptCore:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Re-implement the existing MediaControls constellation of classes in JavaScript
      and CSS. This will allow different ports to configure their controls without
      dependencies on the layout requirements of any other port's controls.
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT:
      * Configurations/FeatureDefines.xcconfig:
      
      Add new source files to the project:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      
      Add a new class MediaControlsHost which the script controls can use to
      communicate with the HTMLMediaElement without exposing private interfaces
      to web facing scripts:
      * Modules/mediacontrols/MediaControlsHost.cpp: Added.
      (WebCore::MediaControlsHost::automaticKeyword): Static method.
      (WebCore::MediaControlsHost::forcedOnlyKeyword): Ditto.
      (WebCore::MediaControlsHost::alwaysOnKeyword): Ditto.
      (WebCore::MediaControlsHost::create): Simple factory.
      (WebCore::MediaControlsHost::MediaControlsHost): Simple constructor.
      (WebCore::MediaControlsHost::~MediaControlsHost): Simple destructor.
      (WebCore::MediaControlsHost::sortedTrackListForMenu): Pass through to CaptionUserPreferences.
      (WebCore::MediaControlsHost::displayNameForTrack): Ditto.
      (WebCore::MediaControlsHost::captionMenuOffItem): Pass through to TextTrack.
      (WebCore::MediaControlsHost::captionMenuAutomaticItem): Ditto.
      (WebCore::MediaControlsHost::captionDisplayMode): Pass through to CaptionUserPreferences.
      (WebCore::MediaControlsHost::setSelectedTextTrack): Pass through to HTMLMediaElement.
      (WebCore::MediaControlsHost::textTrackContainer): Lazily create a MediaControlTextTrackContainerElement.
      (WebCore::MediaControlsHost::updateTextTrackContainer): Pass through to MediaControlTextTrackContainerElement.
      * Modules/mediacontrols/MediaControlsHost.h: Added.
      * Modules/mediacontrols/MediaControlsHost.idl: Added.
      * Modules/mediacontrols/mediaControlsApple.css: Added.
      
      Add convenience methods for adding a MediaControlsHost to a VM.
      * bindings/js/ScriptObject.cpp:
      (WebCore::ScriptGlobalObject::set):
      * bindings/js/ScriptObject.h:
      
      Add the new controller .js implementation:
      * Modules/mediacontrols/mediaControlsApple.js: Added.
      (createControls): Global method to create a new Controller object.
      (Controller): Constructor. Create and configure the default set of controls.
      (Controller.prototype.addListeners): Adds event listeners to the this.video object.
      (Controller.prototype.removeListeners): Removes listeners from same.
      (Controller.prototype.handleEvent): Makes Controller an EventHandler, making registration and
              deregistration simpler.
      (Controller.prototype.createBase): Creates the base controls object and the text track container.
      (Controller.prototype.createControls): Creates the controls panel object and controller UI.
      (Controller.prototype.setControlsType): Switches between Full Screen and Inline style of controller.
      (Controller.prototype.disconnectControls): Disconnects all UI elements from the DOM.
      (Controller.prototype.configureInlineControls): Configures existing controls for Inline mode.
      (Controller.prototype.configureFullScreenControls): Ditto, for Full Screen Mode.
      
      Add listeners for HTMLMediaElement events:
      (Controller.prototype.onloadstart): Update the status display.
      (Controller.prototype.onerror): Ditto.
      (Controller.prototype.onabort): Ditto.
      (Controller.prototype.onsuspend): Ditto.
      (Controller.prototype.onprogress): Ditto.
      (Controller.prototype.onstalled): Ditto.
      (Controller.prototype.onwaiting): Ditto.
      (Controller.prototype.onreadystatechange): Ditto.
      (Controller.prototype.ontimeupdate): Update the timeline and time displays.
      (Controller.prototype.ondurationchange): Ditto.
      (Controller.prototype.onplaying): Update the play button.
      (Controller.prototype.onplay): Ditto.
      (Controller.prototype.onpause): Ditto.
      (Controller.prototype.onratechange): Ditto.
      (Controller.prototype.onvolumechange): Update the volume and mute UI.
      (Controller.prototype.ontexttrackchange): Update the text track container and captions button.
      (Controller.prototype.ontexttrackadd): Ditto.
      (Controller.prototype.ontexttrackremove): Ditto.
      (Controller.prototype.ontexttrackcuechange): Ditto.
      (Controller.prototype.onfullscreenchange): Reconfigure the controls.
      
      Add listeners for UI element events:
      (Controller.prototype.onwrappermousemove): Show the controls and start the hide timer.
      (Controller.prototype.onwrappermouseout): Hide the controls and stop the hide timer.
      (Controller.prototype.onrewindbuttonclicked): Rewind.
      (Controller.prototype.onplaybuttonclicked): Toggle pause.
      (Controller.prototype.ontimelinechange): Update the currentTime.
      (Controller.prototype.ontimelinedown):
      (Controller.prototype.ontimelineup):
      (Controller.prototype.ontimelinemouseover): Show the thumbnail view if available.
      (Controller.prototype.ontimelinemouseout): Hide same.
      (Controller.prototype.ontimelinemousemove): Move the thumbnail view.
      (Controller.prototype.onmutebuttonclicked): Mute audio.
      (Controller.prototype.onminbuttonclicked): Increase volume to max.
      (Controller.prototype.onmaxbuttonclicked): Decrease volume to min.
      (Controller.prototype.onvolumesliderchange): Update the current volume.
      (Controller.prototype.oncaptionbuttonclicked): Show or hide the track menu.
      (Controller.prototype.onfullscreenbuttonclicked): Enter or exit fullscreen.
      (Controller.prototype.oncontrolschange): Show or hide the controls panel.
      (Controller.prototype.onseekbackmousedown): Start seeking and enable the seek timer.
      (Controller.prototype.onseekbackmouseup): Stop seeking and disable the seek timer.
      (Controller.prototype.onseekforwardmousedown): Start seekind and enable the seek timer.
      (Controller.prototype.onseekforwardmouseup): Stop seekind and disable the seek timer.
      
      Add action methods (which are mostly self explanatory):
      (Controller.prototype.updateDuration):
      (Controller.prototype.updatePlaying):
      (Controller.prototype.showControls):
      (Controller.prototype.hideControls):
      (Controller.prototype.removeControls):
      (Controller.prototype.addControls):
      (Controller.prototype.updateTime):
      (Controller.prototype.updateReadyState):
      (Controller.prototype.setStatusHidden):
      (Controller.prototype.updateThumbnailTrack):
      (Controller.prototype.updateCaptionButton):
      (Controller.prototype.updateCaptionContainer):
      (Controller.prototype.buildCaptionMenu):
      (Controller.prototype.captionItemSelected):
      (Controller.prototype.destroyCaptionMenu):
      (Controller.prototype.updateVolume):
      
      Add utility methods:
      (Controller.prototype.isFullScreen):
      (Controller.prototype.canPlay):
      (Controller.prototype.nextRate):
      (Controller.prototype.seekBackFaster):
      (Controller.prototype.seekForwardFaster):
      (Controller.prototype.formatTime):
      (Controller.prototype.trackHasThumbnails):
      
      Add the stylesheet for the javascript controls (which are mostly) copied from
      the (deleted) mediaControlsQuickTime.css and fullscreenQuickTime.css files:
      * Modules/mediacontrols/mediaControlsApple.css: Added.
      * css/fullscreenQuickTime.css: Removed.
      * css/mediaControlsQuickTime.css: Removed.
      
      Inject new stylesheets into UA sheets:
      * css/CSSDefaultStyleSheets.cpp:
      (WebCore::CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement):
      
      Use the new javascript controls rather than MediaControls:
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::childShouldCreateRenderer): Use the javascript controls if available.
      (WebCore::HTMLMediaElement::updateTextTrackDisplay): Ditto.
      (WebCore::HTMLMediaElement::mediaControls): Ditto.
      (WebCore::HTMLMediaElement::hasMediaControls): Ditto.
      (WebCore::HTMLMediaElement::createMediaControls): Ditto.
      (WebCore::HTMLMediaElement::configureMediaControls): Ditto.
      (WebCore::HTMLMediaElement::configureTextTrackDisplay): Ditto.
      (WebCore::HTMLMediaElement::ensureIsolatedWorld): Create a new VM for the controls script.
      (WebCore::HTMLMediaElement::ensureMediaControlsInjectedScript): Inject the media controls script into the VM.
      (WebCore::HTMLMediaElement::didAddUserAgentShadowRoot): Inject the MediaControlsHost into the VM and call
              the scripts global factory function.
      * html/HTMLMediaElement.h:
      
      Remove most of the drawing code from RenderThemeMac and RenderThemeWin and
      add accessors for the new .js and .css file data:
      * rendering/RenderTheme.h:
      (WebCore::RenderTheme::mediaControlsStyleSheet): Empty virtual method.
      (WebCore::RenderTheme::mediaControlsScript): Ditto.
      * rendering/RenderThemeMac.h:
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::mediaControlsStyleSheet): Add accessor for mediaControlsApple.css.
      (WebCore::RenderThemeMac::mediaControlsScript): Add accessor for mediaControlsApple.js.
      (WebCore::RenderThemeMac::adjustSliderThumbSize): Remove the call to adjustMediaSliderThumbSize.
      * rendering/RenderThemeWin.cpp:
      (WebCore::RenderThemeWin::mediaControlsStyleSheet):
      (WebCore::RenderThemeWin::mediaControlsScript):
      * rendering/RenderThemeWin.h:
      
      Source/WebKit/mac:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Define and turn on ENABLE_MEDIA_CONTROLS_SCRIPT.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      Rebaseline changed tests and add new (failing) tests to
      TestExpectations.
      
      * media/audio-delete-while-slider-thumb-clicked.html:
      * platform/mac/TestExpectations:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.png:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt:
      * platform/mac/fast/layers/video-layer-expected.png:
      * platform/mac/fast/layers/video-layer-expected.txt:
      * platform/mac/fullscreen/video-controls-override-expected.txt: Added.
      * platform/mac/media/audio-controls-rendering-expected.png:
      * platform/mac/media/audio-controls-rendering-expected.txt:
      * platform/mac/media/controls-after-reload-expected.png:
      * platform/mac/media/controls-after-reload-expected.txt:
      * platform/mac/media/controls-strict-expected.png:
      * platform/mac/media/controls-strict-expected.txt:
      * platform/mac/media/controls-styling-strict-expected.png:
      * platform/mac/media/controls-styling-strict-expected.txt:
      * platform/mac/media/controls-without-preload-expected.png:
      * platform/mac/media/controls-without-preload-expected.txt:
      * platform/mac/media/media-controls-clone-expected.png:
      * platform/mac/media/media-controls-clone-expected.txt:
      * webarchive/loading/video-in-webarchive-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8744b36
  9. 26 Sep, 2013 2 commits
  10. 25 Sep, 2013 2 commits
  11. 30 Aug, 2013 1 commit
  12. 29 Aug, 2013 1 commit
  13. 06 Aug, 2013 1 commit
    • weinig@apple.com's avatar
      .: Remove support for HTML5 MicroData · b49e18e4
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/OptionsGTK.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: Remove support for HTML5 Microdata
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Target.pri:
      * UseJSC.cmake:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/gobject/GNUmakefile.am:
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSHTMLCollectionCustom.cpp:
      (WebCore::JSHTMLCollection::nameGetter):
      * bindings/js/JSHTMLElementCustom.cpp:
      * bindings/js/JSMicroDataItemValueCustom.cpp: Removed.
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateImplementation):
      * dom/Document.cpp:
      * dom/Document.h:
      * dom/Document.idl:
      * dom/Element.cpp:
      (WebCore::Element::ensureCachedHTMLCollection):
      * dom/LiveNodeList.cpp:
      (WebCore::LiveNodeListBase::rootNode):
      (WebCore::LiveNodeListBase::invalidateCache):
      (WebCore::LiveNodeList::namedItem):
      * dom/LiveNodeList.h:
      (WebCore::LiveNodeListBase::shouldInvalidateTypeOnAttributeChange):
      * dom/MicroDataItemList.cpp: Removed.
      * dom/MicroDataItemList.h: Removed.
      * dom/Node.cpp:
      * dom/Node.h:
      * dom/NodeRareData.cpp:
      * dom/NodeRareData.h:
      * dom/PropertyNodeList.cpp: Removed.
      * dom/PropertyNodeList.h: Removed.
      * dom/PropertyNodeList.idl: Removed.
      * html/CollectionType.h:
      * html/HTMLAnchorElement.cpp:
      * html/HTMLAnchorElement.h:
      * html/HTMLAreaElement.cpp:
      * html/HTMLAreaElement.h:
      * html/HTMLCollection.cpp:
      (WebCore::shouldOnlyIncludeDirectChildren):
      (WebCore::rootTypeFromCollectionType):
      (WebCore::invalidationTypeExcludingIdAndNameAttributes):
      (WebCore::isMatchingElement):
      (WebCore::LiveNodeListBase::item):
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::parseAttribute):
      (WebCore::HTMLElement::isURLAttribute):
      * html/HTMLElement.h:
      * html/HTMLElement.idl:
      * html/HTMLEmbedElement.cpp:
      * html/HTMLEmbedElement.h:
      * html/HTMLIFrameElement.cpp:
      * html/HTMLIFrameElement.h:
      * html/HTMLImageElement.cpp:
      * html/HTMLImageElement.h:
      * html/HTMLLinkElement.cpp:
      * html/HTMLLinkElement.h:
      * html/HTMLMediaElement.cpp:
      * html/HTMLMediaElement.h:
      * html/HTMLMetaElement.cpp:
      * html/HTMLMetaElement.h:
      * html/HTMLObjectElement.cpp:
      * html/HTMLObjectElement.h:
      * html/HTMLPropertiesCollection.cpp: Removed.
      * html/HTMLPropertiesCollection.h: Removed.
      * html/HTMLPropertiesCollection.idl: Removed.
      * html/HTMLSourceElement.cpp:
      * html/HTMLSourceElement.h:
      * html/HTMLTrackElement.cpp:
      * html/HTMLTrackElement.h:
      * html/MicroDataAttributeTokenList.cpp: Removed.
      * html/MicroDataAttributeTokenList.h: Removed.
      * html/MicroDataItemValue.cpp: Removed.
      * html/MicroDataItemValue.h: Removed.
      * html/MicroDataItemValue.idl: Removed.
      
      Source/WebKit/blackberry: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * wtf/FeatureDefines.h:
      
      Tools: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: Remove support for HTML5 MicroData
      https://bugs.webkit.org/show_bug.cgi?id=119480
      
      Reviewed by Anders Carlsson.
      
      * fast/dom/MicroData: Removed.
      * fast/dom/MicroData/001-expected.txt: Removed.
      * fast/dom/MicroData/001.html: Removed.
      * fast/dom/MicroData/002-expected.txt: Removed.
      * fast/dom/MicroData/002.html: Removed.
      * fast/dom/MicroData/003-expected.txt: Removed.
      * fast/dom/MicroData/003.html: Removed.
      * fast/dom/MicroData/004-expected.txt: Removed.
      * fast/dom/MicroData/004.html: Removed.
      * fast/dom/MicroData/005-expected.txt: Removed.
      * fast/dom/MicroData/005.html: Removed.
      * fast/dom/MicroData/006-expected.txt: Removed.
      * fast/dom/MicroData/006.html: Removed.
      * fast/dom/MicroData/007-expected.txt: Removed.
      * fast/dom/MicroData/007.html: Removed.
      * fast/dom/MicroData/008-expected.txt: Removed.
      * fast/dom/MicroData/008.html: Removed.
      * fast/dom/MicroData/009-expected.txt: Removed.
      * fast/dom/MicroData/009.html: Removed.
      * fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree-expected.txt: Removed.
      * fast/dom/MicroData/add-remove-property-to-item-which-is-not-attached-to-domtree.html: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-add-token-expected.txt: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index-expected.txt: Removed.
      * fast/dom/MicroData/domsettabletokenlist-attributes-out-of-range-index.html: Removed.
      * fast/dom/MicroData/element-with-empty-itemprop-expected.txt: Removed.
      * fast/dom/MicroData/element-with-empty-itemprop.html: Removed.
      * fast/dom/MicroData/getitems-empty-string-as-arg-expected.txt: Removed.
      * fast/dom/MicroData/getitems-empty-string-as-arg.html: Removed.
      * fast/dom/MicroData/getitems-multiple-itemtypes-expected.txt: Removed.
      * fast/dom/MicroData/getitems-multiple-itemtypes.html: Removed.
      * fast/dom/MicroData/item-not-attached-to-domtree-expected.txt: Removed.
      * fast/dom/MicroData/item-not-attached-to-domtree.html: Removed.
      * fast/dom/MicroData/item-with-itemprop-attr-expected.txt: Removed.
      * fast/dom/MicroData/item-with-itemprop-attr.html: Removed.
      * fast/dom/MicroData/item-with-itemref-pointing-to-itself-expected.txt: Removed.
      * fast/dom/MicroData/item-with-itemref-pointing-to-itself.html: Removed.
      * fast/dom/MicroData/itemid-attribute-test-001-expected.txt: Removed.
      * fast/dom/MicroData/itemid-attribute-test-001.html: Removed.
      * fast/dom/MicroData/itemid-attribute-test-expected.txt: Removed.
      * fast/dom/MicroData/itemid-attribute-test.html: Removed.
      * fast/dom/MicroData/itemid-must-see-resolved-url-expected.txt: Removed.
      * fast/dom/MicroData/itemid-must-see-resolved-url.html: Removed.
      * fast/dom/MicroData/itemprop-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/itemprop-for-an-element-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-for-an-element-must-be-correct.html: Removed.
      * fast/dom/MicroData/itemprop-must-be-read-only-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-must-be-read-only.html: Removed.
      * fast/dom/MicroData/itemprop-names-override-builtin-properties-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-names-override-builtin-properties.html: Removed.
      * fast/dom/MicroData/itemprop-reflected-by-itemProp-property-expected.txt: Removed.
      * fast/dom/MicroData/itemprop-reflected-by-itemProp-property.html: Removed.
      * fast/dom/MicroData/itemref-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/itemref-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property-expected.txt: Removed.
      * fast/dom/MicroData/itemref-attribute-reflected-by-itemRef-property.html: Removed.
      * fast/dom/MicroData/itemref-for-an-element-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/itemref-for-an-element-must-be-correct.html: Removed.
      * fast/dom/MicroData/itemref-must-be-read-only-expected.txt: Removed.
      * fast/dom/MicroData/itemref-must-be-read-only.html: Removed.
      * fast/dom/MicroData/itemref-pointing-to-root-node-expected.txt: Removed.
      * fast/dom/MicroData/itemref-pointing-to-root-node.html: Removed.
      * fast/dom/MicroData/itemref-refers-first-element-with-given-id-expected.txt: Removed.
      * fast/dom/MicroData/itemref-refers-first-element-with-given-id.html: Removed.
      * fast/dom/MicroData/itemscope-attribute-test-expected.txt: Removed.
      * fast/dom/MicroData/itemscope-attribute-test.html: Removed.
      * fast/dom/MicroData/itemscope-must-be-read-write-expected.txt: Removed.
      * fast/dom/MicroData/itemscope-must-be-read-write.html: Removed.
      * fast/dom/MicroData/itemtype-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/itemtype-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/itemtype-attribute-test-expected.txt: Removed.
      * fast/dom/MicroData/itemtype-attribute-test.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-data-attr-on-object-element.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-href-attr-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-href-attr.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-src-attribute-on-img-element.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-content-attr-on-meta-element.html: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-src-attr-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-reflects-the-src-attr.html: Removed.
      * fast/dom/MicroData/itemvalue-returns-element-itself-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-returns-element-itself.html: Removed.
      * fast/dom/MicroData/itemvalue-returns-null-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-returns-null.html: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-001.html: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002-expected.txt: Removed.
      * fast/dom/MicroData/itemvalue-throws-excpetion-onsetting-002.html: Removed.
      * fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens-expected.txt: Removed.
      * fast/dom/MicroData/microdata-domtokenlist-attribute-add-remove-tokens.html: Removed.
      * fast/dom/MicroData/nameditem-must-be-case-sensitive-expected.txt: Removed.
      * fast/dom/MicroData/nameditem-must-be-case-sensitive.html: Removed.
      * fast/dom/MicroData/nameditem-must-return-correct-item-properties-expected.txt: Removed.
      * fast/dom/MicroData/nameditem-must-return-correct-item-properties.html: Removed.
      * fast/dom/MicroData/nameditem-returns-propertynodelist-expected.txt: Removed.
      * fast/dom/MicroData/nameditem-returns-propertynodelist.html: Removed.
      * fast/dom/MicroData/names-item-out-of-range-index-expected.txt: Removed.
      * fast/dom/MicroData/names-item-out-of-range-index.html: Removed.
      * fast/dom/MicroData/names-property-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/names-property-must-be-correct.html: Removed.
      * fast/dom/MicroData/names-property-test-expected.txt: Removed.
      * fast/dom/MicroData/names-property-test.html: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-itemref-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-itemref.html: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-property-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-add-remove-property.html: Removed.
      * fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-behavior-add-remove-itemscope-attr.html: Removed.
      * fast/dom/MicroData/properties-collection-must-be-correct-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-must-be-correct.html: Removed.
      * fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-must-ignore-properties-of-nested-items.html: Removed.
      * fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-must-see-the-properties-added-in-itemref.html: Removed.
      * fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-namedgetter-with-invalid-name.html: Removed.
      * fast/dom/MicroData/properties-collection-nameditem-test-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-nameditem-test.html: Removed.
      * fast/dom/MicroData/properties-collection-test-expected.txt: Removed.
      * fast/dom/MicroData/properties-collection-test.html: Removed.
      * fast/dom/MicroData/propertiescollection-crash-expected.txt: Removed.
      * fast/dom/MicroData/propertiescollection-crash.html: Removed.
      * fast/dom/MicroData/propertiescollection-on-changing-id-attr-expected.txt: Removed.
      * fast/dom/MicroData/propertiescollection-on-changing-id-attr.html: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemprop-tokens.html: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-add-remove-itemref-tokens.html: Removed.
      * fast/dom/MicroData/propertynodelist-crash-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-crash.html: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-array-values-obtained-from-itemvalue-of-each-element.html: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-test-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-getvalues-test.html: Removed.
      * fast/dom/MicroData/propertynodelist-test-add-remove-element-expected.txt: Removed.
      * fast/dom/MicroData/propertynodelist-test-add-remove-element.html: Removed.
      * fast/dom/MicroData/resources: Removed.
      * fast/dom/MicroData/resources/microdata-common.js: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b49e18e4
  14. 02 Aug, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [Forms: color] <input type='color'> popover color well implementation · 7231230f
      commit-queue@webkit.org authored
      <rdar://problem/14411008> and https://bugs.webkit.org/show_bug.cgi?id=119356
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-08-01
      Reviewed by Benjamin Poulain.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      Source/WebKit2:
      
      This patch adds an popover implementation of <input type='color'>.
      
      * Configurations/FeatureDefines.xcconfig: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::createColorPicker): Updated to pass the
        coordinates of the <input type='color'> element and the WKView
        object for the window.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::viewWillStartLiveResize): Close popover color
        picker when the view is resized.
      (WebKit::WebPageProxy::viewInWindowStateDidChange): Close popover color
        picker when the view is no longer in the window.
      (WebKit::WebPageProxy::showColorPicker): Updated to show either a color panel
        or a popover color picker depending on whether INPUT_TYPE_COLOR_POPOVER is enabled.
      
      * UIProcess/mac/WebColorPickerMac.h:
      * UIProcess/mac/WebColorPickerMac.mm:
      (WebKit::WebColorPickerMac::create):
      (WebKit::WebColorPickerMac::~WebColorPickerMac):
      (WebKit::WebColorPickerMac::WebColorPickerMac):
      (WebKit::WebColorPickerMac::endPicker):
      (WebKit::WebColorPickerMac::setSelectedColor):
      (WebKit::WebColorPickerMac::showColorPicker):
      Methods updated to handle both the color panel implementation and
        the popover implementation; also renamed m_panel to m_colorPickerUI.
      
      (-[WKColorPopoverMac initWithFrame:WebCore::inView:]):
      (-[WKColorPopoverMac setAndShowPicker:WebKit::withColor:]):
      (-[WKColorPopoverMac dealloc]):
      (-[WKColorPopoverMac invalidate]):
      (-[WKColorPopoverMac windowWillClose:]):
      (-[WKColorPopoverMac didChooseColor:]):
      (-[WKColorPopoverMac setColor:]):
      WKColorPopoverMac provides the popover implementation of <input type='color'>.
      
      (-[WKColorPanelMac didChooseColor:]): Updated to match the interface of
        WKColorPickerMac::didChooseColor.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h: Added and enabled INPUT_TYPE_COLOR_POPOVER.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7231230f
  15. 31 Jul, 2013 1 commit
    • commit-queue@webkit.org's avatar
      <input type=color> Mac UI behaviour · 23815488
      commit-queue@webkit.org authored
      <rdar://problem/10269922> and https://bugs.webkit.org/show_bug.cgi?id=61276
      
      Source/JavaScriptCore:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      
      Source/WebCore:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      This patch turns on INPUT_TYPE_COLOR and implements it using the native
      Mac color panel.
      
      No new tests added.
      
      Currently, there are no automated ways to test the types of changes made in this patch. (i.e. checking
      which color is being displayed in the color panel, checking which color element is currently
      associated to the color panel, checking the state of color elements after directing away and
      being directed back to its page, etc.)
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      
      * html/ColorInputType.cpp:
      (WebCore::ColorInputType::handleDOMActivateEvent): Reattaches the color picker if
        a color picker has already been shown for an element
      (WebCore::ColorInputType::shouldResetOnDocumentActivation): Always returns true, needed to
        detach the color picker when caching a page.
      * html/ColorInputType.h:
      
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::documentDidResumeFromPageCache): For <input type='color'>,
        don't reset the element.
      (WebCore::HTMLInputElement::documentWillSuspendForPageCache): For <input type='color'>, call detach().
      * html/HTMLInputElement.h:
      
      * platform/ColorChooser.h:
      (WebCore::ColorChooser::reattachColorChooser): Added definition.
      
      Source/WebKit/mac:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::createColorPicker): Added stub implementation.
      
      Source/WebKit2:
      
      Implemented <input type='color'> on Mac using the native color picker.
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      Code for WebColorPickerMac is derived from Chromium's color_chooser_mac.mm:
      https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/ui/cocoa/color_chooser_mac.mm
      
      * Configurations/FeatureDefines.xcconfig: Enabled INPUT_TYPE_COLOR.
      
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::createColorPicker): Replaced stub implementation
        and return a WebColorPickerMac object.
      
      * UIProcess/WebColorPicker.cpp:
      (WebKit::WebColorPicker::invalidate): Updated to call endChooser().
      (WebKit::WebColorPicker::showColorPicker): Added stub implementation.
      * UIProcess/WebColorPicker.h:
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::close): Removed invalidation of removed color picker objects.
      (WebKit::WebPageProxy::showColorPicker): Updated so that it works for
        multiple <input type='color'> elements on a page.
      (WebKit::WebPageProxy::didEndColorPicker): Removed cleanup of removed color picker objects.
      (WebKit::WebPageProxy::resetStateAfterProcessExited): Removed cleanup of removed color picker objects.
      
      * UIProcess/mac/WebColorPickerMac.h: Added.
      * UIProcess/mac/WebColorPickerMac.mm: Added.
      (WebKit::WebColorPickerMac::create):
      (WebKit::WebColorPickerMac::~WebColorPickerMac):
      (WebKit::WebColorPickerMac::WebColorPickerMac):
      (WebKit::WebColorPickerMac::endPicker):
      (WebKit::WebColorPickerMac::setSelectedColor):
      (WebKit::WebColorPickerMac::didChooseColor):
      (WebKit::WebColorPickerMac::showColorPicker):
      WebColorPickerMac contains a reference to a WKColorPanelMac object
        and is responsible for maintaining the color picker UI.
      
      (-[WKColorPanelMac setAndShowPicker:withColor:]):
      (-[WKColorPanelMac invalidate]):
      (-[WKColorPanelMac windowWillClose:]):
      (-[WKColorPanelMac didChooseColor:]):
      (-[WKColorPanelMac setColor:]):
      WKColorPanelMac is a wrapper for a NSColorPanel object and
        is responsible for the color picker UI.
      
      * WebKit2.xcodeproj/project.pbxproj:
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::createColorChooser): Updated to always create a
        WebColorChooser object.
      
      * WebProcess/WebCoreSupport/WebColorChooser.cpp:
      (WebKit::WebColorChooser::reattachColorChooser): Sets the page's
        active color chooser to the current object and pings the UIProcess
        to show the color picker.
      (WebKit::WebColorChooser::setSelectedColor): Only sets the color in the
        color picker if the WebColorChooser object is the active color element.
      * WebProcess/WebCoreSupport/WebColorChooser.h:
      
      Source/WTF:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      * wtf/FeatureDefines.h: Enabled INPUT_TYPE_COLOR on Mac port.
      
      LayoutTests:
      
      Patch by Ruth Fong <ruth_fong@apple.com> on 2013-07-31
      Reviewed by Brady Eidson.
      
      Updated tests to reflect <input type='color'> being implemented with a native color picker.
      
      * fast/forms/color/input-color-onchange-event-expected.txt:
      
      * platform/mac/TestExpectations: Enabled fast/form/color tests on Mac.
      
      * platform/mac/accessibility/color-well-expected.txt:
      * platform/mac/accessibility/role-subrole-roledescription-expected.txt:
      * platform/mac/accessibility/role-subrole-roledescription.html:
      
      * platform/mac/fast/forms/color/input-appearance-color-expected.txt: Updated test expectations
      on Mac to reflect the fact that the list attribute for <input type='color'> is not yet supported.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23815488
  16. 25 Jul, 2013 1 commit
  17. 05 Jun, 2013 1 commit
    • betravis@adobe.com's avatar
      [CSS Exclusions][CSS Shapes] Split CSS Exclusions & Shapes compile & runtime flags · ed90c982
      betravis@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=117172
      
      Reviewed by Alexandru Chiculita.
      
      .:
      
      Adding the CSS_SHAPES compile flag.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/autotools/symbols.filter:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      Adding the CSS_SHAPES compile flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      This patch adds a new compile and runtime flag for the CSS Shapes feature, which
      has split off from the previous CSS Exclusions and Shapes specification. The
      specifications are available here:
      http://dev.w3.org/csswg/css-exclusions/
      http://dev.w3.org/csswg/css-shapes/
      
      The changes introduce a new CSS_SHAPES compile flag, and a new cssShapesEnabled
      runtime flag. In general, the code changes are simple renames.
      
      Refactoring, no new tests.
      
      * bindings/generic/RuntimeEnabledFeatures.h:
      (WebCore::RuntimeEnabledFeatures::setCSSShapesEnabled):
      (WebCore::RuntimeEnabledFeatures::cssShapesEnabled):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::ComputedStyleExtractor::propertyValue):
      * css/CSSParser.cpp:
      (WebCore::isSimpleLengthPropertyID):
      (WebCore::CSSParser::parseValue):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/DeprecatedStyleBuilder.cpp:
      (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::applyProperty):
      (WebCore::StyleResolver::loadPendingImages):
      * page/animation/CSSPropertyAnimation.cpp:
      (WebCore::CSSPropertyAnimation::ensurePropertyMap):
      * rendering/BidiRun.h:
      (WebCore::BidiRun::BidiRun):
      * rendering/ExclusionShapeInfo.cpp:
      * rendering/ExclusionShapeInfo.h:
      * rendering/ExclusionShapeInsideInfo.cpp:
      * rendering/ExclusionShapeInsideInfo.h:
      * rendering/ExclusionShapeOutsideInfo.cpp:
      * rendering/ExclusionShapeOutsideInfo.h:
      * rendering/LayoutState.cpp:
      (WebCore::LayoutState::LayoutState):
      * rendering/LayoutState.h:
      (WebCore::LayoutState::LayoutState):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::styleDidChange):
      (WebCore::exclusionInfoRequiresRelayout):
      (WebCore::RenderBlock::updateRegionsAndExclusionsBeforeChildLayout):
      (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
      (WebCore::RenderBlock::insertFloatingObject):
      (WebCore::RenderBlock::computeLogicalLocationForFloat):
      (WebCore::RenderBlock::positionNewFloats):
      (WebCore::::collectIfNeeded):
      (WebCore::RenderBlock::logicalLeftOffsetForLine):
      (WebCore::RenderBlock::logicalRightOffsetForLine):
      * rendering/RenderBlock.h:
      (WebCore::RenderBlock::xPositionForFloatIncludingMargin):
      (WebCore::RenderBlock::yPositionForFloatIncludingMargin):
      (WebCore::RenderBlock::FloatIntervalSearchAdapter::FloatIntervalSearchAdapter):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::LineWidth::LineWidth):
      (WebCore::LineWidth::updateAvailableWidth):
      (WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded):
      (WebCore::RenderBlock::constructLine):
      (WebCore::computeExpansionForJustifiedText):
      (WebCore::RenderBlock::computeInlineDirectionPositionsForLine):
      (WebCore::RenderBlock::computeInlineDirectionPositionsForSegment):
      (WebCore::constructBidiRunsForLine):
      (WebCore::RenderBlock::layoutRunsAndFloatsInRange):
      (WebCore::RenderBlock::LineBreaker::nextLineBreak):
      (WebCore::RenderBlock::LineBreaker::nextSegmentBreak):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::willBeDestroyed):
      (WebCore::RenderBox::styleDidChange):
      * rendering/RenderBox.h:
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::RenderBoxModelObject::paintOffset):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::shouldBeNormalFlowOnly):
      * rendering/RenderObject.h:
      (WebCore::RenderObject::hasPaintOffset):
      * rendering/RenderView.h:
      (WebCore::RenderView::pushLayoutState):
      * rendering/style/RenderStyle.cpp:
      (WebCore::RenderStyle::changeRequiresLayout):
      * rendering/style/RenderStyle.h:
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      (WebCore::InternalSettings::setCSSShapesEnabled):
      
      Source/WebKit/blackberry:
      
      Adding the CSS_SHAPES compile flag.
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac:
      
      Adding the CSS_SHAPES compile flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Adding the CSS_SHAPES compile flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Adding the CSS_SHAPES compile flag.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      Adding the CSS_SHAPES compile flag.
      
      * win/tools32/vsprops/FeatureDefines.vsprops:
      * win/tools32/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Adjusting the shape inside tests to use the new setCSSShapesEnabled method, rather
      than the older setCSSExclusionsEnabled method.
      
      * fast/exclusions/css-exclusions-disabled.html:
      * fast/exclusions/parsing/script-tests/parsing-shape-inside.js:
      * fast/exclusions/parsing/script-tests/parsing-shape-lengths.js:
      * fast/exclusions/parsing/script-tests/parsing-shape-margin.js:
      * fast/exclusions/parsing/script-tests/parsing-shape-outside.js:
      * fast/exclusions/parsing/script-tests/parsing-shape-padding.js:
      * fast/exclusions/resources/multi-segment-polygon.js:
      (generatePolygon):
      * fast/exclusions/resources/simple-polygon.js:
      * fast/exclusions/resources/simple-rectangle.js:
      * fast/exclusions/shape-inside/shape-inside-animation.html:
      * fast/exclusions/shape-inside/shape-inside-bottom-edge.html:
      * fast/exclusions/shape-inside/shape-inside-box-sizing.html:
      * fast/exclusions/shape-inside/shape-inside-circle-padding.html:
      * fast/exclusions/shape-inside/shape-inside-circle.html:
      * fast/exclusions/shape-inside/shape-inside-coincident-vertices-expected.html:
      * fast/exclusions/shape-inside/shape-inside-coincident-vertices.html:
      * fast/exclusions/shape-inside/shape-inside-collinear-vertices-expected.html:
      * fast/exclusions/shape-inside/shape-inside-collinear-vertices.html:
      * fast/exclusions/shape-inside/shape-inside-counterclockwise-polygon-expected.html:
      * fast/exclusions/shape-inside/shape-inside-counterclockwise-polygon.html:
      * fast/exclusions/shape-inside/shape-inside-dynamic-nested-expected.html:
      * fast/exclusions/shape-inside/shape-inside-dynamic-nested.html:
      * fast/exclusions/shape-inside/shape-inside-dynamic-shape.html:
      * fast/exclusions/shape-inside/shape-inside-dynamic-text.html:
      * fast/exclusions/shape-inside/shape-inside-ellipse-padding.html:
      * fast/exclusions/shape-inside/shape-inside-ellipse.html:
      * fast/exclusions/shape-inside/shape-inside-empty-expected.html:
      * fast/exclusions/shape-inside/shape-inside-empty.html:
      * fast/exclusions/shape-inside/shape-inside-first-fit-001.html:
      * fast/exclusions/shape-inside/shape-inside-first-fit-002.html:
      * fast/exclusions/shape-inside/shape-inside-first-fit-003.html:
      * fast/exclusions/shape-inside/shape-inside-first-fit-004-expected.html:
      * fast/exclusions/shape-inside/shape-inside-first-fit-004.html:
      * fast/exclusions/shape-inside/shape-inside-first-fit-reflex.html:
      * fast/exclusions/shape-inside/shape-inside-inline-elements.html:
      * fast/exclusions/shape-inside/shape-inside-multiple-blocks-vertical.html:
      * fast/exclusions/shape-inside/shape-inside-multiple-blocks.html:
      * fast/exclusions/shape-inside/shape-inside-on-nested-container-with-unresolved-height.html:
      * fast/exclusions/shape-inside/shape-inside-overflow-fixed-dimensions.html:
      * fast/exclusions/shape-inside/shape-inside-overflow.html:
      * fast/exclusions/shape-inside/shape-inside-partial-fill-001.html:
      * fast/exclusions/shape-inside/shape-inside-partial-fill-002.html:
      * fast/exclusions/shape-inside/shape-inside-percentage-auto.html:
      * fast/exclusions/shape-inside/shape-inside-percentage.html:
      * fast/exclusions/shape-inside/shape-inside-polygon-layout.html:
      * fast/exclusions/shape-inside/shape-inside-polygon-padding-001.html:
      * fast/exclusions/shape-inside/shape-inside-polygon-padding-002.html:
      * fast/exclusions/shape-inside/shape-inside-polygon-padding-003.html:
      * fast/exclusions/shape-inside/shape-inside-polygon-rectangle.html:
      * fast/exclusions/shape-inside/shape-inside-polygon-zoom.html:
      * fast/exclusions/shape-inside/shape-inside-rectangle-padding.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-001-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-001.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-002-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-002.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-003-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-003.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-004-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rectilinear-polygon-004.html:
      * fast/exclusions/shape-inside/shape-inside-regular-polygon16-expected.html:
      * fast/exclusions/shape-inside/shape-inside-regular-polygon16.html:
      * fast/exclusions/shape-inside/shape-inside-regular-polygon8-expected.html:
      * fast/exclusions/shape-inside/shape-inside-regular-polygon8.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-001.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-fit-001-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-fit-001.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-fit-002-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-fit-002.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-fit-003-expected.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-fit-003.html:
      * fast/exclusions/shape-inside/shape-inside-rounded-rectangle-padding.html:
      * fast/exclusions/shape-inside/shape-inside-shape-logical-top.html:
      * fast/exclusions/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout-expected.html:
      * fast/exclusions/shape-inside/shape-inside-sibling-block-dimension-change-needs-relayout.html:
      * fast/exclusions/shape-inside/shape-inside-text.html:
      * fast/exclusions/shape-inside/shape-inside-vertical-text.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-diamond-margin-polygon.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-bottom.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-ellipse-margin-right.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-left-margin-polygon.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-margin-is-ignored.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-non-zero-y.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-overflow-hidden.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-overhang.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-positioning.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-right-margin-polygon.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-circle.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-ellipse.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-inset-rectangle-percentage.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-inset-rectangle.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-polygon.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rectangle-horizontal-multiple.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rectangle-percentage.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rectangle.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rounded-inset-rectangle.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-001.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-002.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-simple-rounded-rectangle-003.html:
      * fast/exclusions/shape-outside-floats/shape-outside-floats-stacked.html:
      * fast/regions/shape-inside/shape-inside-on-additional-regions.html:
      * fast/regions/shape-inside/shape-inside-on-first-region-block-content.html:
      * fast/regions/shape-inside/shape-inside-on-first-region-inline-content-expected.html:
      * fast/regions/shape-inside/shape-inside-on-first-region-inline-content.html:
      * fast/regions/shape-inside/shape-inside-on-regions-block-content-basic-overflow-shape-top-offset.html:
      * fast/regions/shape-inside/shape-inside-on-regions-block-content-overflow-multiple-shapes.html:
      * fast/regions/shape-inside/shape-inside-on-regions-expected.html:
      * fast/regions/shape-inside/shape-inside-on-regions-inline-content-basic-overflow-shape-top-offset.html:
      * fast/regions/shape-inside/shape-inside-on-regions-inline-content-overflow-multiple-shapes.html:
      * fast/regions/shape-inside/shape-inside-on-regions-inline-content.html:
      * fast/regions/shape-inside/shape-inside-on-regions.html:
      * fast/regions/shape-inside/shape-inside-on-second-region-block-content.html:
      * fast/regions/shape-inside/shape-inside-on-second-region-inline-content.html:
      * fast/regions/shape-inside/shape-inside-recursive-layout.html:
      * fast/regions/shape-inside/shape-inside-with-region-borders.html:
      * fast/regions/shape-inside/shape-inside-with-region-padding.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed90c982
  18. 30 May, 2013 1 commit
  19. 20 May, 2013 1 commit
  20. 19 May, 2013 1 commit
    • andersca@apple.com's avatar
      Remove link prerendering code · a82aee4a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=116415
      
      Reviewed by Darin Adler.
      
      .:
      
      This code was only used by Chromium and is dead now.
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      This code was only used by Chromium and is dead now.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/Document.cpp:
      (WebCore::Document::Document):
      * dom/Document.h:
      (WebCore):
      (Document):
      * dom/EventNames.h:
      (WebCore):
      * html/HTMLLinkElement.cpp:
      * html/HTMLLinkElement.h:
      * html/LinkRelAttribute.cpp:
      (WebCore::LinkRelAttribute::LinkRelAttribute):
      * html/LinkRelAttribute.h:
      (LinkRelAttribute):
      * loader/LinkLoader.cpp:
      (WebCore::LinkLoader::~LinkLoader):
      (WebCore::LinkLoader::loadLink):
      (WebCore::LinkLoader::released):
      * loader/LinkLoader.h:
      (WebCore):
      (LinkLoader):
      * loader/LinkLoaderClient.h:
      (LinkLoaderClient):
      * loader/Prerenderer.cpp: Removed.
      * loader/Prerenderer.h: Removed.
      * loader/PrerendererClient.cpp: Removed.
      * loader/PrerendererClient.h: Removed.
      * platform/PrerenderClient.h: Removed.
      * platform/PrerenderHandle.h: Removed.
      
      Source/WebKit/blackberry:
      
      This code was only used by Chromium and is dead now.
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac:
      
      This code was only used by Chromium and is dead now.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      This code was only used by Chromium and is dead now.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      This code was only used by Chromium and is dead now.
      
      * wtf/FeatureDefines.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a82aee4a
  21. 13 May, 2013 1 commit
    • commit-queue@webkit.org's avatar
      WebProcess consuming very high CPU on linkedin.com · 77cff30e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=115601
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-05-13
      Reviewed by Andreas Kling.
      
      Disable WEB_TIMING_MINIMAL.
      Turn off window.performance and performance.now(). Some JS frameworks expect
      additional Web Timing APIs, when performance.now() is available.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * dom/EventTargetFactory.in:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::~DOMWindow):
      (WebCore::DOMWindow::resetDOMWindowProperties):
      (WebCore):
      * page/DOMWindow.h:
      (DOMWindow):
      * page/DOMWindow.idl:
      * page/Performance.cpp:
      (WebCore::Performance::timing):
      * page/Performance.h:
      (Performance):
      * page/Performance.idl:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      * platform/mac/TestExpectations:
      * fast/js/global-constructors-attributes-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77cff30e
  22. 30 Apr, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Animations fail to start on http://www.google.com/insidesearch/howsearchworks/thestory/ · 0d670bbf
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111244
      
      Source/JavaScriptCore:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      Test: fast/dom/Window/web-timing-minimal-performance-now.html
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/EventTargetFactory.in:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::~DOMWindow):
      (WebCore::DOMWindow::resetDOMWindowProperties):
      (WebCore):
      * page/DOMWindow.h:
      (DOMWindow):
      * page/DOMWindow.idl:
      * page/Performance.cpp:
      (WebCore):
      * page/Performance.h:
      (Performance):
      * page/Performance.idl:
      
      Source/WebKit/mac:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-30
      Reviewed by David Kilzer.
      
      Enable performance.now() as a minimal subset of Web Timing API.
      It returns DOMHighResTimeStamp, a monotonically increasing value representing the
      number of milliseconds from the start of the navigation of the current document.
      JS libraries use this API to check against the requestAnimationFrame() timestamp.
      
      We can test the monotonical behaviour of this API only. Checking whether the value
      actually represents the navigation start requires PerformanceTiming enabled.
      
      * fast/dom/Window/web-timing-minimal-performance-now-expected.txt: Added.
      * fast/dom/Window/web-timing-minimal-performance-now.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d670bbf
  23. 28 Apr, 2013 1 commit
    • dino@apple.com's avatar
      [Mac] Disable canvas backing store scaling (HIGH_DPI_CANVAS) · 5b3ac5a0
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=115310
      
      Reviewed by Simon Fraser.
      
      Source/JavaScriptCore:
      
      Remove ENABLE_HIGH_DPI_CANVAS_macosx.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Disable the automatic pixel doubling in canvas backing stores on high
      dpi devices. This will potentially make canvases look worse of high dpi
      displays, but only if they were ignoring devicePixelRatio. Since the
      majority of high dpi displays *do not* auto-double (including mobile
      devices and other desktop browsers), this provides consistency and less
      chance of unnecessary memory use.
      
      * Configurations/FeatureDefines.xcconfig: Remove ENABLE_HIGH_DPI_CANVAS_macosx.
      
      Source/WebKit/mac:
      
      Remove ENABLE_HIGH_DPI_CANVAS_macosx.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Remove ENABLE_HIGH_DPI_CANVAS_macosx.
      
      * Configurations/FeatureDefines.xcconfig:
      
      LayoutTests:
      
      No need for platform-specific results any more.
      
      * fast/canvas/2d.backingStorePixelRatio-expected.txt:
      * fast/canvas/2d.imageDataHD-expected.txt:
      * fast/canvas/canvas-resize-reset-pixelRatio-expected.txt:
      * platform/win/fast/canvas/2d.backingStorePixelRatio-expected.txt: Removed.
      * platform/win/fast/canvas/canvas-resize-reset-pixelRatio-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b3ac5a0
  24. 26 Apr, 2013 1 commit
  25. 09 Apr, 2013 1 commit
    • benjamin@webkit.org's avatar
      Remove HTML Notification · de455ba7
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114231
      
      Reviewed by Ryosuke Niwa.
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      The feature is dead. It was only kept in the tree because of chromium.
      
      * Configurations/FeatureDefines.xcconfig:
      * Modules/notifications/Notification.cpp:
      (WebCore):
      (WebCore::Notification::Notification):
      * Modules/notifications/Notification.h:
      (Notification):
      * Modules/notifications/NotificationCenter.h:
      (NotificationCenter):
      * Modules/notifications/NotificationCenter.idl:
      * page/FeatureObserver.h:
      
      Source/WebKit/blackberry: 
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/qt: 
      
      * WebCoreSupport/NotificationPresenterClientQt.cpp:
      (WebCore::NotificationPresenterClientQt::displayNotification):
      (WebCore::NotificationPresenterClientQt::cancel):
      (WebCore::NotificationPresenterClientQt::notificationClicked):
      (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
      (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
      (WebCore::NotificationPresenterClientQt::dumpShowText):
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: 
      
      * fast/notifications/notifications-with-permission-expected.txt:
      * fast/notifications/notifications-with-permission.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de455ba7
  26. 07 Apr, 2013 1 commit
    • ddkilzer@apple.com's avatar
      Remove the rest of SVG_DOM_OBJC_BINDINGS · 0cd46787
      ddkilzer@apple.com authored
      <http://webkit.org/b/114112>
      
      Reviewed by Geoffrey Garen.
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      - Remove references to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WebCore:
      
      * Configurations/WebCore.xcconfig:
      - Remove EXCLUDED_SOURCE_FILE_NAMES_SVG_DOM_OBJC_BINDINGS.  Note
        that DOMHTMLIFrameElementPrivate.h should not have been in
        this list because the class contained methods other than just
        -getSVGDocument.
      
      * WebCore.xcodeproj/project.pbxproj:
      - Remove DOMHTMLFrameElementPrivate.h since the only method it
        contained was -[DOMHTMLFrameElement getSVGDocument], which was
        part of the SVG DOM Objective-C bindings.
      
      * bindings/objc/DOM.mm:
      (kitClass):
      * bindings/objc/DOMEvents.mm:
      (kitClass):
      * bindings/objc/ExceptionHandlers.mm:
      (WebCore::raiseDOMException):
      - Remove code in ENABLE(SVG_DOM_OBJC_BINDINGS).
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      - Remove reference to SVG_DOM_OBJC_BINDINGS.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      - Remove --svg-dom-objc-bindings switch.
      * qmake/mkspecs/features/features.pri:
      - Remove reference to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cd46787
  27. 26 Mar, 2013 1 commit
    • tkent@chromium.org's avatar
      Rename ENABLE_INPUT_TYPE_DATETIME · 866ba1bd
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113254
      
      Reviewed by Kentaro Hara.
      
      Rename ENABLE_INPUT_TYPE_DATETIME to ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE.
      Actually I'd like to remove the code, but we shouldn't remove it yet
      because we shipped products with it on some platforms.
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      * css/html.css:
      * html/DateTimeInputType.cpp:
      * html/DateTimeInputType.h:
      * html/InputType.cpp:
      (WebCore::createInputTypeFactoryMap):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/chromium:
      
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableInputTypeDateTime):
      (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled):
      * tests/WebViewTest.cpp:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.props:
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.props:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      866ba1bd
  28. 17 Mar, 2013 1 commit
  29. 13 Mar, 2013 1 commit
  30. 08 Mar, 2013 1 commit
    • benjamin@webkit.org's avatar
      [Mac] Add a feature flag for 'view-mode' Media Feature, disable it on Mac · cc507c8c
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111297
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebCore: 
      
      The 'view-mode' Media Feature spec is implemented in WebCore but
      there is no WebKit support for it on Mac.
      Because of this, we always lie and report a windowed view mode.
      
      This patch add a feature flag for the feature and disable it on
      Mac so that we stop reporting incorrect default values.
      
      * WebCore.exp.in:
      * css/CSSValueKeywords.in:
      * css/MediaFeatureNames.h:
      (MediaFeatureNames):
      * css/MediaQueryEvaluator.cpp:
      * css/MediaQueryExp.cpp:
      (WebCore::featureWithCSSValueID):
      (WebCore::featureWithoutValue):
      * page/Page.cpp:
      (WebCore::Page::Page):
      * page/Page.h:
      (Page):
      
      Source/WebKit2: 
      
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
      * WebProcess/WebPage/WebPage.cpp:
      * WebProcess/WebPage/WebPage.h:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h: Add a new feature flag for the view-mode
      CSS media: ENABLE_VIEW_MODE_CSS_MEDIA.
      
      Tools: 
      
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::setViewModeMediaFeature):
      
      LayoutTests: 
      
      * platform/mac/TestExpectations:
      Mark the view-mode tests as failing to track any regression
      or crash in this area.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc507c8c
  31. 07 Mar, 2013 1 commit
    • jer.noble@apple.com's avatar
      Default mouse cursor behavior should be auto-hide for full screen video with custom controls · e0173750
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107601
      
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      Test: fullscreen/video-cursor-auto-hide.html
      
      To facilitate automatically hiding the mouse cursor after a certain amount of idle mouse
      time, add a new CSS property '-webkit-cursor-visibility', and handle that value inside of
      EventHandler. When that value is present, the EventHandler will start a timer which, when
      fired, will set the view's cursor to the None cursor. Subsequent mouse moves will either
      cancel the timer, or reset the auto-hide timer.
      
      Add a new CSS property, '-webkit-cursor-visibility':
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator ECursorVisibility):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/CSSValueKeywords.in:
      * css/StyleBuilder.cpp:
      (WebCore::StyleBuilder::StyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::applyProperty):
      
      Add a rule for video descendants of full screen elements to auto-hide the cursor on hover:
      * css/fullscreen.css:
      (:-webkit-full-screen video:hover):
      
      Add a new timer, m_autoHideCursorTimer, to control resetting the view's cursor to None after
      enough mouse idle time has passed.
      * page/EventHandler.cpp:
      (WebCore::EventHandler::EventHandler):
      (WebCore::EventHandler::~EventHandler):
      (WebCore::EventHandler::clear):
      (WebCore::EventHandler::selectCursor):
      (WebCore::EventHandler::startAutoHideCursorTimer):
      (WebCore::EventHandler::cancelAutoHideCursorTimer):
      (WebCore::EventHandler::autoHideCursorTimerFired):
      * page/EventHandler.h:
      
      Make FrameView::isActive() a public function (like it is in its superclass).
      * page/FrameView.h:
      (FrameView):
      
      Move the definition for timeWithoutMouseMovementBeforeHidingControls from page->theme()
      to page->settings() and allow that setting to be overridden in InternalSettings for
      testing purposes:
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setTimeWithoutMouseMovementBeforeHidingControls):
      (WebCore::Settings::timeWithoutMouseMovementBeforeHidingControls):
      * rendering/RenderTheme.h:
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      (WebCore::InternalSettings::setTimeWithoutMouseMovementBeforeHidingControls):
      * testing/InternalSettings.h:
      (InternalSettings):
      * testing/InternalSettings.idl:
      * html/shadow/MediaControls.cpp:
      (WebCore::MediaControls::startHideFullscreenControlsTimer):
      
      Add support to FeatureObserver for CURSOR_VISIBILITY:
      * page/FeatureObserver.h:
      
      Enable the feature flag:
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * WebKit.vcxproj/FeatureDefines.props:
      
      Source/WebKit/mac:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      * fullscreen/video-cursor-auto-hide-expected.txt: Added.
      * fullscreen/video-cursor-auto-hide.html: Added.
      
      Add an expected failing result in platforms which do not enable CURSOR_VISIBILITY.
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0173750
  32. 05 Mar, 2013 2 commits
    • ddkilzer@apple.com's avatar
      BUILD FIX (r144698): Only enable SPEECH_SYNTHESIS for Mac · 8a4ac927
      ddkilzer@apple.com authored
      <http://webkit.org/b/106742>
      
      Fixes the following build failures:
      
          Undefined symbols for architecture i386:
            "__ZTVN7WebCore25PlatformSpeechSynthesizerE", referenced from:
                __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
            NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
            "__ZN7WebCore25PlatformSpeechSynthesizer19initializeVoiceListEv", referenced from:
                __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
          ld: symbol(s) not found for architecture i386
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      - Fix definition of ENABLE_ENCRYPTED_MEDIA_V2_macosx to match
        other FeatureDefines.xcconfig files.
      - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a4ac927
    • cfleizach@apple.com's avatar
      Support WebSpeech - Speech Synthesis · a9931edc
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106742
      
      Reviewed by Simon Fraser.
      
      Source/JavaScriptCore: 
      
      Enable speech synthesis for the Mac.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      Enable speech synthesis for the Mac.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/mac: 
      
      Enable speech synthesis for the Mac.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      Enable speech synthesis for the Mac.
      
      * Configurations/FeatureDefines.xcconfig:
      
      LayoutTests: 
      
      Unskip speech synthesis tests.
      
      * fast/dom/script-tests/constructed-objects-prototypes.js:
      (constructorPropertiesOnWindow):
      * platform/mac/TestExpectations:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9931edc
  33. 04 Mar, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Add build flag for FontLoader · 375fe100
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111289
      
      Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2013-03-04
      Reviewed by Benjamin Poulain.
      
      Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      375fe100
  34. 27 Feb, 2013 1 commit
    • glenn@skynav.com's avatar
      Add ENABLE_CSS3_TEXT_LINE_BREAK flag. · 4ec5fea6
      glenn@skynav.com authored
      https://bugs.webkit.org/show_bug.cgi?id=110944
      
      Reviewed by Dean Jackson.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      No new tests.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ec5fea6
  35. 26 Feb, 2013 1 commit