| Index: chrome/browser/extensions/active_script_controller_browsertest.cc
|
| diff --git a/chrome/browser/extensions/active_script_controller_browsertest.cc b/chrome/browser/extensions/active_script_controller_browsertest.cc
|
| index 6234be632b03aae07a700e022288c18b34e73c83..5bbc1014015b32b5d1100a61ba75da261e7004cc 100644
|
| --- a/chrome/browser/extensions/active_script_controller_browsertest.cc
|
| +++ b/chrome/browser/extensions/active_script_controller_browsertest.cc
|
| @@ -266,10 +266,7 @@ testing::AssertionResult ActiveScriptTester::Verify() {
|
|
|
| // Otherwise, we don't have permission, and have to grant it. Ensure the
|
| // script has *not* already executed.
|
| - // Currently, it's okay for content scripts to execute, because we don't
|
| - // block them.
|
| - // TODO(rdevlin.cronin): Fix this.
|
| - if (inject_success_listener_->was_satisfied() && type_ != CONTENT_SCRIPT) {
|
| + if (inject_success_listener_->was_satisfied()) {
|
| return testing::AssertionFailure() <<
|
| name_ << "'s script ran without permission.";
|
| }
|
|
|