• commit-queue@webkit.org's avatar
    PageConsole::addMessage should automatically determine column number alongside line number · ec979f8f
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=114319
    
    Patch by László Langó <lango@inf.u-szeged.hu> on 2013-12-10
    Reviewed by Joseph Pecoraro.
    
    Source/WebCore:
    
    * dom/InlineStyleSheetOwner.cpp:
    (WebCore::InlineStyleSheetOwner::InlineStyleSheetOwner):
    * dom/ScriptElement.cpp:
    (WebCore::ScriptElement::ScriptElement):
    * dom/ScriptableDocumentParser.h:
    * dom/StyledElement.cpp:
    (WebCore::StyledElement::styleAttributeChanged):
    * html/parser/HTMLDocumentParser.cpp:
    (WebCore::HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser):
    (WebCore::HTMLDocumentParser::pumpPendingSpeculations):
    * html/parser/HTMLDocumentParser.h:
    * inspector/InspectorResourceAgent.cpp:
    (WebCore::InspectorResourceAgent::buildInitiatorObject):
    * page/Console.cpp:
    (WebCore::internalAddMessage):
    * page/PageConsole.cpp:
    (WebCore::PageConsole::printSourceURLAndPosition):
    (WebCore::PageConsole::addMessage):
    * page/PageConsole.h:
    * xml/parser/XMLDocumentParser.h:
    * xml/parser/XMLDocumentParserLibxml2.cpp:
    (WebCore::XMLDocumentParser::error):
    
    LayoutTests:
    
    * inspector-protocol/page/deny-X-FrameOption-expected.txt: Added.
    * inspector-protocol/page/deny-X-FrameOption.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ec979f8f
PageConsole.cpp 7.18 KB