2011-02-04 Andrey Kosyakov <caseq@chromium.org>
authorcaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2011 13:25:42 +0000 (13:25 +0000)
committercaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Feb 2011 13:25:42 +0000 (13:25 +0000)
commit3d57ec671d3925ca886406af247cb0ffa32bcfc4
tree32ff38a5d01025bde76f0fec92be5b8d4b8ab95d
parentc436d330dbed26b8ba04af3f59c77705e7cf3d42
2011-02-04  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: support overriding user agent strings
        https://bugs.webkit.org/show_bug.cgi?id=51485

        Test: http/tests/inspector/extensions-useragent.html

        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::disconnectFrontend):
        (WebCore::InspectorController::setUserAgentOverride):
        (WebCore::InspectorController::userAgentOverride):
        * inspector/InspectorController.h:
        * inspector/front-end/ExtensionAPI.js:
        (WebInspector.injectedExtensionAPI.InspectedWindow.prototype.reload):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onReload):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::userAgent):
        (WebCore::FrameLoader::applyUserAgent):

2011-02-04  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: support overriding user agent strings
        https://bugs.webkit.org/show_bug.cgi?id=51485

        * http/tests/inspector/extensions-useragent-expected.txt: Added.
        * http/tests/inspector/extensions-useragent.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
Source/WebCore/ChangeLog
Source/WebCore/inspector/Inspector.idl
Source/WebCore/inspector/InspectorAgent.cpp
Source/WebCore/inspector/InspectorAgent.h
Source/WebCore/inspector/front-end/ExtensionAPI.js
Source/WebCore/inspector/front-end/ExtensionServer.js
Source/WebCore/loader/FrameLoader.cpp