Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3022)

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc

Issue 11791018: When an iframe displays its srcdoc, generate navigation events for about:srcdoc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
index ca25c5d86b82456249b0b353bbd4748d99769fdf..0b48565f23ab3e26aedd0810fe4791219f500276 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc
@@ -444,6 +444,11 @@ IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, IFrame) {
RunExtensionSubtest("webnavigation", "test_iframe.html")) << message_;
}
+IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, SrcDoc) {
+ ASSERT_TRUE(
+ RunExtensionSubtest("webnavigation", "test_srcdoc.html")) << message_;
+}
+
IN_PROC_BROWSER_TEST_F(WebNavigationApiTest, OpenTab) {
ASSERT_TRUE(
RunExtensionSubtest("webnavigation", "test_openTab.html")) << message_;

Powered by Google App Engine
This is Rietveld 408576698