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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_apitest.cc

Issue 2777443002: Use SameDocument instead of SamePage term for extensions. (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | extensions/test/data/web_view/apitest/guest_same_document_navigation.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h" 5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 StopTestServer(); 740 StopTestServer();
741 } 741 }
742 742
743 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIWithHeaders) { 743 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIWithHeaders) {
744 std::string app_location = "web_view/apitest"; 744 std::string app_location = "web_view/apitest";
745 StartTestServer(app_location); 745 StartTestServer(app_location);
746 RunTest("testWebRequestAPIWithHeaders", app_location); 746 RunTest("testWebRequestAPIWithHeaders", app_location);
747 StopTestServer(); 747 StopTestServer();
748 } 748 }
749 749
750 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadEventsSamePageNavigation) { 750 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestLoadEventsSameDocumentNavigation) {
751 std::string app_location = "web_view/apitest"; 751 std::string app_location = "web_view/apitest";
752 StartTestServer(app_location); 752 StartTestServer(app_location);
753 RunTest("testLoadEventsSamePageNavigation", app_location); 753 RunTest("testLoadEventsSameDocumentNavigation", app_location);
754 StopTestServer(); 754 StopTestServer();
755 } 755 }
756 756
757 // Tests the existence of WebRequest API event objects on the request 757 // Tests the existence of WebRequest API event objects on the request
758 // object, on the webview element, and hanging directly off webview. 758 // object, on the webview element, and hanging directly off webview.
759 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIExistence) { 759 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIExistence) {
760 RunTest("testWebRequestAPIExistence", "web_view/apitest"); 760 RunTest("testWebRequestAPIExistence", "web_view/apitest");
761 } 761 }
762 762
763 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIGoogleProperty) { 763 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebRequestAPIGoogleProperty) {
764 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); 764 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest");
765 } 765 }
766 766
767 // This test verifies that webview.contentWindow works inside an iframe 767 // This test verifies that webview.contentWindow works inside an iframe
768 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { 768 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) {
769 LaunchApp("web_view/inside_iframe"); 769 LaunchApp("web_view/inside_iframe");
770 } 770 }
771 771
772 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestCaptureVisibleRegion) { 772 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestCaptureVisibleRegion) {
773 RunTest("testCaptureVisibleRegion", "web_view/apitest"); 773 RunTest("testCaptureVisibleRegion", "web_view/apitest");
774 } 774 }
775 775
776 } // namespace extensions 776 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | extensions/test/data/web_view/apitest/guest_same_document_navigation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698