summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/content_script_all_frames_apitest.cc
blob: 3ed2f05809c361dd0fb76fbaac2ef24a00654331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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) {
  ASSERT_TRUE(test_server()->Start());
  ASSERT_TRUE(RunExtensionTest("content_scripts/all_frames")) << message_;
}

// TODO(rafaelw): This test now fails because non-extension processes do not
// get extension bindings setup by scheme. Fixing crbug.com/53610 will fix this.
IN_PROC_BROWSER_TEST_F(ExtensionApiTest,
    DISABLED_ContentScriptExtensionIframe) {
  ASSERT_TRUE(test_server()->Start());
  ASSERT_TRUE(RunExtensionTest("content_scripts/extension_iframe")) << message_;
}