Commit c1473b61 authored by Avi Drissman's avatar Avi Drissman Committed by Commit Bot

Re-disable "no popups on close" for now.

BUG=1010510

Change-Id: Id17f02751175fc1fefdbd7834f78302d2e04ff23
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835156
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702114}
parent 55cc2a29
......@@ -4218,11 +4218,14 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kAutofillPruneSuggestionsDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillPruneSuggestions)},
// TODO(https://crbug.com/1010509): Re-enable this in Chrome 80.
#if 0
{"allow-popups-during-page-unload",
flag_descriptions::kAllowPopupsDuringPageUnloadName,
flag_descriptions::kAllowPopupsDuringPageUnloadDescription,
kOsAll | kDeprecated,
SINGLE_VALUE_TYPE(switches::kAllowPopupsDuringPageUnload)},
#endif
#if defined(OS_CHROMEOS)
{"enable-advanced-ppd-attributes",
flag_descriptions::kEnableAdvancedPpdAttributesName,
......
......@@ -431,6 +431,8 @@ IN_PROC_BROWSER_TEST_F(PopupBlockerBrowserTest,
ASSERT_EQ(1, GetBlockedContentsCount());
}
// TODO(https://crbug.com/1010509): Re-enable this in Chrome 80.
#if 0
IN_PROC_BROWSER_TEST_F(PopupBlockerBrowserTest, NoPopupsLaunchWhenTabIsClosed) {
base::CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kDisablePopupBlocking);
......@@ -444,6 +446,7 @@ IN_PROC_BROWSER_TEST_F(PopupBlockerBrowserTest, NoPopupsLaunchWhenTabIsClosed) {
// Expect no popup.
ASSERT_EQ(1u, chrome::GetBrowserCount(browser()->profile()));
}
#endif
// This only exists for the AllowPopupsWhenTabIsClosedWithSpecialPolicy test.
// Remove this in Chrome 82. https://crbug.com/937569
......
......@@ -1823,12 +1823,16 @@ bool RenderViewImpl::CanHandleGestureEvent() {
return true;
}
// TODO(https://crbug.com/1010509): Re-enable this in Chrome 80.
// TODO(https://crbug.com/937569): Remove this in Chrome 82.
bool RenderViewImpl::AllowPopupsDuringPageUnload() {
return true;
#if 0
const base::CommandLine& command_line =
*base::CommandLine::ForCurrentProcess();
return command_line.HasSwitch(switches::kAllowPopupsDuringPageUnload) ||
base::FeatureList::IsEnabled(features::kAllowPopupsDuringPageUnload);
#endif
}
bool RenderViewImpl::CanUpdateLayout() {
......
......@@ -4347,6 +4347,9 @@ crbug.com/626703 external/wpt/html/rendering/non-replaced-elements/margin-collap
# Other untriaged test failures, timeouts and crashes from newly-imported WPT tests.
crbug.com/626703 external/wpt/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html [ Failure Pass ]
# TODO(https://crbug.com/1010509): Re-enable this in Chrome 80.
crbug.com/936080 external/wpt/html/browsers/the-window-object/apis-for-creating-and-navigating-browsing-contexts-by-name/no_window_open_when_term_nesting_level_nonzero.window.html [ Failure ]
# Underline offset and thickness are not implemented yet.
crbug.com/785230 external/wpt/css/css-text-decor/text-underline-offset-001.html [ Skip ]
crbug.com/785230 external/wpt/css/css-text-decor/text-underline-offset-scroll-001.html [ Skip ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment