Skip to content
  • commit-queue@webkit.org's avatar
    Web Inspector: Protocol Extension: add getFlowByName command · 285994b5
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=91855
    
    Patch by Andrei Poenaru <poenaru@adobe.com> on 2012-07-24
    Reviewed by Pavel Feldman.
    
    Source/WebCore:
    
    The "getFlowByName" command should return a NamedFlow for a given document and name.
    
    Test: inspector/styles/protocol-css-regions-commands.html
    
    * inspector/Inspector.json:
    * inspector/InspectorCSSAgent.cpp:
    (WebCore::InspectorCSSAgent::getFlowByName):
    (WebCore):
    * inspector/InspectorCSSAgent.h:
    (InspectorCSSAgent):
    * inspector/front-end/CSSStyleModel.js:
    (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync):
    (WebInspector.CSSStyleModel.prototype.getFlowByNameAsync):
    (WebInspector.NamedFlow):
    (WebInspector.NamedFlow.parsePayload):
    
    LayoutTests:
    
    Created a single test suite for the WebInspector protocol extension for CSS Regions.
    
    * inspector/styles/protocol-css-regions-commands-expected.txt: Added.
    * inspector/styles/protocol-css-regions-commands.html: Added.
    * inspector/styles/protocol-getNamedFlowCollection-command-expected.txt: Removed.
    * inspector/styles/protocol-getNamedFlowCollection-command.html: Removed.
    * platform/efl/TestExpectations:
    * platform/qt/Skipped:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    285994b5