#include <stddef.h>
#include <string>
#include <tuple>
#include <variant>
#include <vector>
#include "base/feature_list.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/functional/bind.h"
#include "base/hash/hash.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/path_service.h"
#include "base/ranges/algorithm.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "base/synchronization/lock.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/metrics/user_action_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/test_timeouts.h"
#include "base/test/with_feature_override.h"
#include "base/thread_annotations.h"
#include "base/threading/thread_restrictions.h"
#include "base/unguessable_token.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "cc/input/scroll_utils.h"
#include "chrome/browser/download/download_prefs.h"
#include "chrome/browser/pdf/pdf_extension_test_base.h"
#include "chrome/browser/pdf/pdf_extension_test_util.h"
#include "chrome/browser/pdf/pdf_viewer_stream_manager.h"
#include "chrome/browser/pdf/test_pdf_viewer_stream_manager.h"
#include "chrome/browser/plugins/plugin_test_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/renderer_context_menu/render_view_context_menu_browsertest_util.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/tabs/tab_enums.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/download/public/common/download_item.h"
#include "components/guest_view/browser/test_guest_view_manager.h"
#include "components/metrics/content/subprocess_metrics_provider.h"
#include "components/pdf/browser/pdf_frame_util.h"
#include "components/pdf/common/constants.h"
#include "components/pdf/common/pdf_util.h"
#include "components/policy/core/browser/browser_policy_connector.h"
#include "components/policy/core/common/mock_configuration_policy_provider.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/policy_constants.h"
#include "components/zoom/page_zoom.h"
#include "components/zoom/test/zoom_test_utils.h"
#include "components/zoom/zoom_controller.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/plugin_service.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_widget_host.h"
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/site_isolation_policy.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/url_constants.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/context_menu_interceptor.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "content/public/test/hit_test_region_observer.h"
#include "content/public/test/prerender_test_util.h"
#include "content/public/test/test_frame_navigation_observer.h"
#include "content/public/test/test_navigation_observer.h"
#include "content/public/test/text_input_test_utils.h"
#include "content/public/test/url_loader_interceptor.h"
#include "extensions/browser/api/file_system/file_system_api.h"
#include "extensions/browser/app_window/app_window.h"
#include "extensions/browser/app_window/app_window_registry.h"
#include "extensions/browser/extension_web_contents_observer.h"
#include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_attach_helper.h"
#include "extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h"
#include "extensions/browser/guest_view/mime_handler_view/test_mime_handler_view_guest.h"
#include "extensions/test/result_catcher.h"
#include "extensions/test/test_extension_dir.h"
#include "net/test/embedded_test_server/controllable_http_response.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "pdf/pdf_features.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/context_menu_data/untrustworthy_context_menu_params.h"
#include "third_party/blink/public/common/input/web_input_event.h"
#include "third_party/blink/public/common/input/web_mouse_event.h"
#include "third_party/blink/public/common/messaging/transferable_message.h"
#include "ui/base/clipboard/clipboard.h"
#include "ui/base/clipboard/clipboard_monitor.h"
#include "ui/base/clipboard/clipboard_observer.h"
#include "ui/base/clipboard/test/test_clipboard.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "url/gurl.h"
#if defined(TOOLKIT_VIEWS) && !BUILDFLAG(IS_MAC)
#include "chrome/browser/ui/views/location_bar/zoom_bubble_view.h"
#endif
namespace {
WebContents;
MimeHandlerViewGuest;
TestMimeHandlerViewGuest;
GuestViewManager;
TestGuestViewManager;
TestGuestViewManagerFactory;
ConvertPageCoordToScreenCoord;
GetPdfPluginFrames;
SetInputFocusOnPlugin;
IsEmpty;
StartsWith;
const int kNumberLoadTestParts = …;
#if BUILDFLAG(IS_MAC)
const int kDefaultKeyModifier = blink::WebInputEvent::kMetaKey;
#else
const int kDefaultKeyModifier = …;
#endif
constexpr char kNestedWindowFramesUndefinedCheck[] = …;
struct PDFExtensionLoadTestPassToString { … };
struct PDFExtensionIsolatedContentTestPassToString { … };
void WaitForPluginServiceToLoad() { … }
}
class PDFExtensionTest : public base::test::WithFeatureOverride,
public PDFExtensionTestBase { … };
PDFExtensionTestWithoutOopifOverride;
class PDFExtensionTestWithPartialLoading : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, FullPagePdfHasFocus) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, PdfExtensionLoaded) { … }
class InnerWebContentsAttachDelayer { … };
IN_PROC_BROWSER_TEST_F(PDFExtensionTestWithoutOopifOverride,
PdfExtensionLoadedWhileOldPdfCloses) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, CSPDoesNotBlockEmbedStyles) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, CSPWithSandboxDoesNotBlockPDF) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, CSPFrameAncestorsCanBlockEmbedding) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest,
CSPFrameAncestorsOverridesXFrameOptions) { … }
class PDFExtensionLoadTest
: public PDFExtensionTestWithoutOopifOverride,
public testing::WithParamInterface<std::tuple<int, bool>> { … };
#if BUILDFLAG(IS_LINUX)
#define MAYBE_Load …
#else
#define MAYBE_Load …
#endif
IN_PROC_BROWSER_TEST_P(PDFExtensionLoadTest, MAYBE_Load) { … }
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
IN_PROC_BROWSER_TEST_P(PDFExtensionLoadTest, LoadPrivate) {
LoadAllPdfsTest("pdf_private");
}
#endif
INSTANTIATE_TEST_SUITE_P(…);
PDFExtensionBlobNavigationTest;
IN_PROC_BROWSER_TEST_P(PDFExtensionBlobNavigationTest, NewTab) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionBlobNavigationTest, SameTab) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, LoadInPlatformApp) { … }
class DownloadAwaiter : public content::DownloadManager::Observer { … };
class PDFPluginDisabledTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFPluginDisabledTest, DirectNavigationToPDF) { … }
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
BUILDFLAG(IS_WIN)
#define MAYBE_EmbedPdfPlaceholderWithCSP …
#else
#define MAYBE_EmbedPdfPlaceholderWithCSP …
#endif
IN_PROC_BROWSER_TEST_P(PDFPluginDisabledTest,
MAYBE_EmbedPdfPlaceholderWithCSP) { … }
#if BUILDFLAG(IS_CHROMEOS)
#define MAYBE_IframePdfPlaceholderWithCSP …
#else
#define MAYBE_IframePdfPlaceholderWithCSP …
#endif
IN_PROC_BROWSER_TEST_P(PDFPluginDisabledTest,
MAYBE_IframePdfPlaceholderWithCSP) { … }
IN_PROC_BROWSER_TEST_P(PDFPluginDisabledTest,
IframePlaceholderInjectedIntoNewWindow) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTestWithPartialLoading,
PartialRedirectsFailInPlugin) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, EnsureInternalPluginDisabled) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, EnsureCrossOriginRepliesBlocked) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionTestWithoutOopifOverride,
EnsureSameOriginRepliesAllowed) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, EnsureOpaqueOriginRepliesBlocked) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, BlockDirectAccess) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, EnsurePDFFromLocalFileLoads) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, ExtensionlessPDFLocalFileLoads) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, LinkPermissions) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, TabTitleWithNoTitle) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, TabTitleWithTitle) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, TabTitleWithEmbeddedPdfDataUrl) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, TabTitleWithEmbeddedPdf) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, IsContentsMimeTypePdfNonPdf) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, IsContentsMimeTypePdfEmbedPdf) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, IsContentsMimeTypePdfFullPagePdf) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionTestWithoutOopifOverride,
IsContentsMimeTypePdfFullPagePdfWithMimeTypeParam) { … }
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
#define MAYBE_PdfZoomWithoutBubble …
#else
#define MAYBE_PdfZoomWithoutBubble …
#endif
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, MAYBE_PdfZoomWithoutBubble) { … }
class PDFExtensionScrollTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionScrollTest, WithSpace) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionScrollTest, WithPageDownUp) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionScrollTest, WithArrowLeftRight) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionScrollTest, WithArrowDownUp) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, SelectAllShortcut) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, NavigationOnCorrectTab) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, MultipleDomains) { … }
namespace {
class PDFExtensionIsolatedContentTest
: public PDFExtensionTestWithoutOopifOverride,
public testing::WithParamInterface<std::tuple<bool, bool>> { … };
INSTANTIATE_TEST_SUITE_P(…);
}
IN_PROC_BROWSER_TEST_P(PDFExtensionIsolatedContentTest, ExpectSiteIsolation) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionIsolatedContentTest, PdfAndHtml) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionIsolatedContentTest, DataNavigation) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionIsolatedContentTest, HistoryNavigation) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionIsolatedContentTest, Jitless) { … }
class PDFExtensionLinkClickTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, CtrlLeft) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, Middle) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, CtrlShiftLeft) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, ShiftMiddle) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, ShiftLeft) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, OpenPDFWithReplaceState) { … }
namespace {
class FailOnNavigation : public content::WebContentsObserver { … };
}
IN_PROC_BROWSER_TEST_P(PDFExtensionLinkClickTest, LinkClickInPdfInNonTab) { … }
class PDFExtensionInternalLinkClickTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionInternalLinkClickTest, CtrlLeft) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionInternalLinkClickTest, Middle) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionInternalLinkClickTest, ShiftLeft) { … }
class PDFExtensionComboBoxTest : public PDFExtensionTest { … };
class PDFExtensionSaveTest : public PDFExtensionComboBoxTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionSaveTest, DISABLED_Save) { … }
class PDFExtensionSaveWithPolicyTest : public PDFExtensionSaveTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionSaveWithPolicyTest,
DISABLED_SaveWithPolicy) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionSaveWithPolicyTest,
DISABLED_SaveWithPolicyUniqueNumberSuffix) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionSaveWithPolicyTest,
DISABLED_SaveWithPolicyUniqueTimeSuffix) { … }
class PDFExtensionClipboardTest : public PDFExtensionComboBoxTest,
public ui::ClipboardObserver { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionClipboardTest,
DISABLED_IndividualShiftRightArrowPresses) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionClipboardTest,
DISABLED_IndividualShiftLeftArrowPresses) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionClipboardTest,
DISABLED_CombinedShiftRightArrowPresses) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionClipboardTest,
DISABLED_CombinedShiftArrowPresses) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, PostMessageForZeroSizedEmbed) { … }
void EnsureCustomPinchZoomInvoked(content::RenderFrameHost* guest_mainframe,
WebContents* contents,
base::OnceClosure send_events) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, TouchpadPinchInvokesCustomZoom) { … }
#if !BUILDFLAG(IS_MAC)
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, CtrlWheelInvokesCustomZoom) { … }
#if BUILDFLAG(IS_CHROMEOS_ASH)
#define MAYBE_TouchscreenPinchInvokesCustomZoom …
#else
#define MAYBE_TouchscreenPinchInvokesCustomZoom …
#endif
IN_PROC_BROWSER_TEST_P(PDFExtensionTest,
MAYBE_TouchscreenPinchInvokesCustomZoom) { … }
#endif
PDFExtensionHitTestTest;
IN_PROC_BROWSER_TEST_P(PDFExtensionHitTestTest, DISABLED_MouseLeave) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionHitTestTest, ContextMenuCoordinates) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, BackgroundColor) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, DefaultFocusForEmbeddedPDF) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, DefaultFocusForNonEmbeddedPDF) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, PdfVisibility) { … }
class RequestWaiter { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, DidStopLoading) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, DocumentWriteIntoNewPopup) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, LoadPdfFromExtension) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest,
PdfLoadsWithExtensionThatInjectsFrame) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, Metrics) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest,
MetricsPDFLoadStatusLoadedPdfWithPdfium) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest, DISABLED_TabInAndOutOfPDFPlugin) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest,
CrossOriginEmbedderPolicyRequireCorpPdf) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionTest,
CrossOriginEmbedderPolicyRequireCorpIframe) { … }
class PDFExtensionPrerenderTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderTest, CancelPrerender) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderTest,
CancelPrerenderWithEmbeddedPdf) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderTest,
PrerenderWithCrossSiteEmbeddedPdf) { … }
class PDFExtensionSubmitFormTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionSubmitFormTest, SubmitForm) { … }
class PDFExtensionPrerenderAndFencedFrameTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderAndFencedFrameTest,
DISABLED_LoadPDFInPrerender) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderAndFencedFrameTest,
LoadPdfInFencedFrame) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderAndFencedFrameTest,
LoadPdfInFencedFrameWithoutFencedFrameOptIn) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionPrerenderAndFencedFrameTest,
LoadEmbeddedPdfInFencedFrame) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionTestWithoutOopifOverride,
PdfNavigationDuringProfileShutdown) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionTestWithoutOopifOverride,
ExtensionsBindingLocalHost) { … }
class PDFExtensionIncognitoTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionIncognitoTest, IncognitoFullPage) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionIncognitoTest, IncognitoEmbed) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionIncognitoTest, IncognitoIframe) { … }
class PDFExtensionSameSiteProcessTest : public PDFExtensionTest { … };
IN_PROC_BROWSER_TEST_P(PDFExtensionSameSiteProcessTest,
SameSitePdfContentFramesInSeparateProcesses) { … }
IN_PROC_BROWSER_TEST_P(PDFExtensionSameSiteProcessTest,
SameSitePdfContentFramesInSameProcess) { … }
class PDFExtensionOopifTest : public PDFExtensionTestWithoutOopifOverride { … };
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, OopifPdfPostMessageEmbed) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest,
FindFullPagePdfExtensionHostNonPdf) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest,
FindFullPagePdfExtensionHostEmbedPdf) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest,
FindFullPagePdfExtensionHostFullPagePdf) { … }
IN_PROC_BROWSER_TEST_F(
PDFExtensionOopifTest,
FindFullPagePdfExtensionHostFullPagePdfWithMimeTypeParam) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, NavigateToSamePdf) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, NavigateToDifferentPdf) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, FailToAccessInnerFramesFullPage) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, FailToAccessInnerFramesEmbed) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, FailToAccessInnerFramesIframe) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, LoadDataUrlPdfFullPage) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, LoadDataUrlPdfEmbed) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, LoadDataUrlPdfIframe) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, ReplaceDocumentBody) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, ReplaceDocumentBodyWithIframe) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, DocumentBodyAppendIframe) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, SubframePDFMissingFrameEntry) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest,
PdfExtensionLoadedWhileOldPdfCloses) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest,
BlockPdfEmbedderFramePostMessageToContentFrame) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest,
PdfNavigationDuringProfileShutdown) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifTest, MetricsPDFLoadStatusPartialLoad) { … }
class PDFExtensionOopifBlockPdfFrameNavigationTest
: public PDFExtensionOopifTest { … };
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifBlockPdfFrameNavigationTest,
NonPdfNavigationFullPage) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifBlockPdfFrameNavigationTest,
NonPdfNavigationEmbed) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifBlockPdfFrameNavigationTest,
NonPdfNavigationIframe) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifBlockPdfFrameNavigationTest,
SameUrlNavigationFullPage) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifBlockPdfFrameNavigationTest,
SameUrlNavigationEmbed) { … }
IN_PROC_BROWSER_TEST_F(PDFExtensionOopifBlockPdfFrameNavigationTest,
SameUrlNavigationIframe) { … }
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);
INSTANTIATE_FEATURE_OVERRIDE_TEST_SUITE(…);