diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-25 02:05:39 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-25 02:05:39 +0000 |
commit | 719663e4f49853e2a9ff84bc0ac29cca484105d1 (patch) | |
tree | 175f6f17d37984d9fcea0698f28efece6d2195ef /chrome/browser | |
parent | 6776c72f56c29972bfd47efc1a1cf1629e3c7da2 (diff) | |
download | chromium_src-719663e4f49853e2a9ff84bc0ac29cca484105d1.zip chromium_src-719663e4f49853e2a9ff84bc0ac29cca484105d1.tar.gz chromium_src-719663e4f49853e2a9ff84bc0ac29cca484105d1.tar.bz2 |
Introduce a new 'all_frames' property to content scripts and
default it to false. This should improve performance in
sites that use frames and elimiate confusion, since in most
cases developers *don't* expect content scripts to match
frames.
Review URL: http://codereview.chromium.org/412008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/extensions/content_script_all_frames_apitest.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/extensions/content_script_all_frames_apitest.cc b/chrome/browser/extensions/content_script_all_frames_apitest.cc new file mode 100644 index 0000000..1f61ea4 --- /dev/null +++ b/chrome/browser/extensions/content_script_all_frames_apitest.cc @@ -0,0 +1,10 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/extensions/extension_apitest.h" + +IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContentScriptAllFrames) { + StartHTTPServer(); + ASSERT_TRUE(RunExtensionTest("content_script_all_frames")) << message_; +} |