Skip to content
  • vsevik@chromium.org's avatar
    Web Inspector: InspectorStyleSheet should use stylesheet's original url, not final one. · d73fec12
    vsevik@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=68631
    
    Reviewed by Yury Semikhatsky.
    
    Source/WebCore:
    
    Test: http/tests/inspector/styles/styles-redirected-css.html
    
    * inspector/InspectorStyleSheet.cpp:
    (WebCore::InspectorStyleSheet::resourceStyleSheetText):
    
    LayoutTests:
    
    * http/tests/inspector/elements-test.js:
    (initialize_ElementTest.InspectorTest.getElementStylePropertyTreeItem):
    (initialize_ElementTest.InspectorTest.getMatchedStylePropertyTreeItem):
    (initialize_ElementTest.InspectorTest.getFirstPropertyTreeItemForSection):
    * http/tests/inspector/styles/resources/styles-redirected-css.css: Added.
    (div):
    * http/tests/inspector/styles/resources/styles-redirected-css.php: Added.
    * http/tests/inspector/styles/styles-redirected-css-expected.txt: Added.
    * http/tests/inspector/styles/styles-redirected-css.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d73fec12