Disable accessibility hooks after test run
commit9d017ed867d7c0b974c9764142abcfda89c58b58
authorkouhei@chromium.org <kouhei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 18 Apr 2014 10:41:14 +0000 (18 10:41 +0000)
committerkouhei@chromium.org <kouhei@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 18 Apr 2014 10:41:14 +0000 (18 10:41 +0000)
tree1422f4f3b067102da24dc976dcf5e150d5f70b9e
parentaca14553fe42da9e94575f9402fe4cb44da066d0
Disable accessibility hooks after test run

Accessibility hooks at WebTestProxy was still active after the test run. This caused WebNodes to be stored after test run in AccessibilityController, causing content_shell leak detector to report false positives on some LayoutTests.

This patch disables accessibility event hook at WebTestProxy if the testRunner is not running.

BUG=332630,364760

Review URL: https://codereview.chromium.org/237963023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264770 0039d316-1c4b-4281-b951-d872f2087c98
content/shell/renderer/test_runner/WebTestProxy.cpp