| Index: content/browser/security_exploit_browsertest.cc
|
| diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
|
| index dcf51ef65a4fcd10cff2329c3bd604c9e6ae07da..93970344ff4fe32a698d7712f3b4f7f86ce46a78 100644
|
| --- a/content/browser/security_exploit_browsertest.cc
|
| +++ b/content/browser/security_exploit_browsertest.cc
|
| @@ -21,6 +21,7 @@
|
| #include "content/public/browser/interstitial_page_delegate.h"
|
| #include "content/public/browser/storage_partition.h"
|
| #include "content/public/common/appcache_info.h"
|
| +#include "content/public/common/bindings_policy.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/file_chooser_params.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| @@ -178,8 +179,9 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, SetWebUIProperty) {
|
|
|
| NavigateToURL(shell(), foo);
|
| EXPECT_EQ(base::ASCIIToUTF16("OK"), shell()->web_contents()->GetTitle());
|
| - EXPECT_EQ(0,
|
| - shell()->web_contents()->GetRenderViewHost()->GetEnabledBindings());
|
| + EXPECT_FALSE(
|
| + shell()->web_contents()->GetRenderViewHost()->GetEnabledBindings() &
|
| + BINDINGS_POLICY_WEB_UI);
|
|
|
| RenderProcessHostWatcher terminated(
|
| shell()->web_contents(),
|
|
|