Commit 4c763ffb authored by Yi Gu's avatar Yi Gu Committed by Commit Bot

[VizHitTesting] Re-enble a portal unit test due to v2 regression

v2 ignored pointer-events: none for X-origin iframes which made oopif in
a portal hit testable. crrev.com/c/1797092 has addressed this issue.

Bug: 1002228
Change-Id: I6128530c9f0e78462f555b91f3785f1c56fec4f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818865
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: default avatarKevin McNee <mcnee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#698899}
parent de47b200
...@@ -609,13 +609,6 @@ IN_PROC_BROWSER_TEST_P(PortalHitTestBrowserTest, DispatchInputEvent) { ...@@ -609,13 +609,6 @@ IN_PROC_BROWSER_TEST_P(PortalHitTestBrowserTest, DispatchInputEvent) {
// Tests that input events performed over on OOPIF inside a portal are targeted // Tests that input events performed over on OOPIF inside a portal are targeted
// to the portal's parent. // to the portal's parent.
IN_PROC_BROWSER_TEST_P(PortalHitTestBrowserTest, NoInputToOOPIFInPortal) { IN_PROC_BROWSER_TEST_P(PortalHitTestBrowserTest, NoInputToOOPIFInPortal) {
if (features::IsVizHitTestingSurfaceLayerEnabled()) {
// TODO(1002228): Enable this test for the VizHitTestSurfaceLayer case once
// this issue is fixed.
LOG(WARNING) << "Skipping test due to crbug.com/1002228";
return;
}
EXPECT_TRUE(NavigateToURL( EXPECT_TRUE(NavigateToURL(
shell(), embedded_test_server()->GetURL("portal.test", "/title1.html"))); shell(), embedded_test_server()->GetURL("portal.test", "/title1.html")));
WebContentsImpl* web_contents_impl = WebContentsImpl* web_contents_impl =
......
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