[PWA/Nav Capturing] Add middle click support [chromium/src : main]

2 views
Skip to first unread message

Dibyajyoti Pal (Gerrit)

unread,
Aug 6, 2024, 4:38:45 PM8/6/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Daniel Murphy

Dibyajyoti Pal voted and added 1 comment

Votes added by Dibyajyoti Pal

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Dibyajyoti Pal . unresolved

PTAL dmurph@ at the overall implementation (mek@ added as cc for eyes).

There might be some test failures for the redirection cases, but `kScopeA2A` and `kScopeA2B` behavior should be working fine.

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Murphy
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 8
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Attention: Daniel Murphy <dmu...@chromium.org>
Gerrit-Comment-Date: Tue, 06 Aug 2024 20:38:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 6, 2024, 5:14:48 PM8/6/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Daniel Murphy and Dibyajyoti Pal

Dibyajyoti Pal voted and added 1 comment

Votes added by Dibyajyoti Pal

Commit-Queue+1

1 comment

Patchset-level comments
Dibyajyoti Pal . unresolved

PTAL dmurph@ at the overall implementation (mek@ added as cc for eyes).

There might be some test failures for the redirection cases, but `kScopeA2A` and `kScopeA2B` behavior should be working fine.

Dibyajyoti Pal

PTAL, handling the build failure locally (should be a simple missing include in the test) and will be uploading everything soon.

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Murphy
  • Dibyajyoti Pal
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 8
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Attention: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Attention: Daniel Murphy <dmu...@chromium.org>
Gerrit-Comment-Date: Tue, 06 Aug 2024 21:14:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Dibyajyoti Pal <diby...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 7, 2024, 12:47:21 PM8/7/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Daniel Murphy

Dibyajyoti Pal added 1 comment

Patchset-level comments
File-level comment, Patchset 8:
Dibyajyoti Pal . resolved

PTAL dmurph@ at the overall implementation (mek@ added as cc for eyes).

There might be some test failures for the redirection cases, but `kScopeA2A` and `kScopeA2B` behavior should be working fine.

Dibyajyoti Pal

PTAL, handling the build failure locally (should be a simple missing include in the test) and will be uploading everything soon.

Dibyajyoti Pal

Turns out the failing tests are for redirects, and all other middle clicks seem to work fine. I will disable the tests so that those can be handled while redirects are being worked on.

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Murphy
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 10
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Attention: Daniel Murphy <dmu...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Aug 2024 16:47:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Dibyajyoti Pal <diby...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Daniel Murphy (Gerrit)

unread,
Aug 7, 2024, 1:55:54 PM8/7/24
to Dibyajyoti Pal, Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Dibyajyoti Pal

Daniel Murphy voted and added 3 comments

Votes added by Daniel Murphy

Code-Review+1

3 comments

File chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
Line 753, Patchset 10: // Even though usage of `chrome::FindBrowserWithTab()` is technically not
// allowed anymore, this is needed because sometimes clicks can launch a new
// tab inside an existing window.
Daniel Murphy . unresolved

The comment seems to be mostly talking about production use-cases, not in tests. So you can probably remove this comment.

Line 798, Patchset 10: // Even though usage of `chrome::FindBrowserWithTab()` is technically not
// allowed anymore, this is needed because sometimes clicks can launch a new
// tab inside an existing window.
Daniel Murphy . unresolved

same, can remove

File chrome/test/data/web_apps/link_capture_test_input.json
Line 1553, Patchset 11 (Latest): "target": "FRAME"
Daniel Murphy . resolved

I see the 'link' type is correct here - so perhaps the window.open API doesn't get events like the anchor links do / doesn't get mouse stuff / keyboard stuff?

That's probably OK... but we should maybe investigate what 'aux' style things can actually be sent / read from window.open.

Resolving - it looks like btn window.open links should never hit the aux-click stuff.

Open in Gerrit

Related details

Attention is currently required from:
  • Dibyajyoti Pal
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 11
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Attention: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Aug 2024 17:55:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 7, 2024, 2:07:00 PM8/7/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Dibyajyoti Pal added 2 comments

File chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
Line 753, Patchset 10: // Even though usage of `chrome::FindBrowserWithTab()` is technically not
// allowed anymore, this is needed because sometimes clicks can launch a new
// tab inside an existing window.
Daniel Murphy . resolved

The comment seems to be mostly talking about production use-cases, not in tests. So you can probably remove this comment.

Dibyajyoti Pal

Done

Line 798, Patchset 10: // Even though usage of `chrome::FindBrowserWithTab()` is technically not
// allowed anymore, this is needed because sometimes clicks can launch a new
// tab inside an existing window.
Daniel Murphy . resolved

same, can remove

Dibyajyoti Pal

Done

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 12
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Aug 2024 18:06:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Daniel Murphy <dmu...@chromium.org>
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 7, 2024, 2:07:00 PM8/7/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Dibyajyoti Pal voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 12
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Wed, 07 Aug 2024 18:06:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 7, 2024, 5:32:23 PM8/7/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Gerrit-Comment-Date: Wed, 07 Aug 2024 21:32:10 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 8, 2024, 11:35:30 AM8/8/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Gerrit-Comment-Date: Thu, 08 Aug 2024 15:35:17 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 8, 2024, 12:01:37 PM8/8/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Dibyajyoti Pal voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 14
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Thu, 08 Aug 2024 16:01:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 8, 2024, 1:05:20 PM8/8/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Dibyajyoti Pal voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 15
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Thu, 08 Aug 2024 17:05:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 8, 2024, 1:05:52 PM8/8/24
to Daniel Murphy, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Dibyajyoti Pal added 1 comment

Patchset-level comments
Dibyajyoti Pal . resolved

PTAL dmurph@ at the overall implementation (mek@ added as cc for eyes).

There might be some test failures for the redirection cases, but `kScopeA2A` and `kScopeA2B` behavior should be working fine.

Dibyajyoti Pal

PTAL, handling the build failure locally (should be a simple missing include in the test) and will be uploading everything soon.

Dibyajyoti Pal

Turns out the failing tests are for redirects, and all other middle clicks seem to work fine. I will disable the tests so that those can be handled while redirects are being worked on.

Dibyajyoti Pal

Flakiness seems to be an unrelated infra failure on CrOS, failed crbug.com/358296948

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 15
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Thu, 08 Aug 2024 17:05:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Dibyajyoti Pal <diby...@chromium.org>
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Aug 8, 2024, 2:31:20 PM8/8/24
to Dibyajyoti Pal, Daniel Murphy, Marijn Kruisselbrink, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Chromium LUCI CQ submitted the change with unreviewed changes

Unreviewed changes

11 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:

```
The name of the file: chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
Insertions: 0, Deletions: 6.

The diff is too large to show. Please review the diff.
```
```
The name of the file: chrome/test/data/banners/link_capturing/scope_a/start.html
Insertions: 9, Deletions: 12.

The diff is too large to show. Please review the diff.
```

Change information

Commit message:
[PWA/Nav Capturing] Add middle click support

This CL adds support for middle clicks to be captured for navigation
capturing by PWAs, as per the behavior outlined in
https://docs.google.com/document/d/176tREY7_qmVsRt15z4q6BRhQyfJAUvy__DmEMDbQ8LI/edit?pli=1#heading=h.3r1ull9cvqat.

Middle clicks simulated and triggered from JS inside a test is
different from "real" user initiated middle clicks based on how
the blink layers parses it to output a NavigationPolicy. To keep
the behaviors consistent, this CL also modifies the existing link
capturing browsertests to use a link click behavior that is
closer to production as much as possible.

WebAppLinkCapturingParameterizedBrowsertest.
Bug: 356234778, 351775835
Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Include-Ci-Only-Tests: true
Low-Coverage-Reason: launch utitlities added verified via
Validate-Test-Flakiness: skip
Reviewed-by: Daniel Murphy <dmu...@chromium.org>
Commit-Queue: Dibyajyoti Pal <diby...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1339198}
Files:
  • M chrome/browser/ui/web_applications/web_app_launch_utils.cc
  • M chrome/browser/web_applications/web_app_link_capturing_parameterized_browsertest.cc
  • M chrome/test/data/banners/link_capturing/scope_a/start.html
  • M chrome/test/data/web_apps/link_capture_test_input.json
Change size: M
Delta: 4 files changed, 123 insertions(+), 101 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Daniel Murphy
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 16
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
open
diffy
satisfied_requirement

Marijn Kruisselbrink (Gerrit)

unread,
Aug 13, 2024, 5:49:55 PM8/13/24
to Chromium LUCI CQ, Dibyajyoti Pal, Daniel Murphy, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Dibyajyoti Pal

Marijn Kruisselbrink added 1 comment

File chrome/browser/ui/web_applications/web_app_launch_utils.cc
Line 932, Patchset 16 (Latest): if (!params.browser->app_controller()->ShouldHideNewTabButton()) {
Marijn Kruisselbrink . unresolved

post-land-nit: ShouldHideNewTabButton is not the right way to verify if an app is in tabbed mode or not, as it is possible to have a tabbed PWA without a new-tab button. You probably meant app_controller()->has_tab_strip()?

Open in Gerrit

Related details

Attention is currently required from:
  • Dibyajyoti Pal
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 16
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Attention: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Aug 2024 21:49:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Dibyajyoti Pal (Gerrit)

unread,
Aug 13, 2024, 5:59:12 PM8/13/24
to Chromium LUCI CQ, Daniel Murphy, Marijn Kruisselbrink, chromium...@chromium.org, alancutter...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watc...@chromium.org, dominickn+watch-...@chromium.org, ericwillige...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

Dibyajyoti Pal added 1 comment

File chrome/browser/ui/web_applications/web_app_launch_utils.cc
Line 932, Patchset 16 (Latest): if (!params.browser->app_controller()->ShouldHideNewTabButton()) {
Marijn Kruisselbrink . resolved

post-land-nit: ShouldHideNewTabButton is not the right way to verify if an app is in tabbed mode or not, as it is possible to have a tabbed PWA without a new-tab button. You probably meant app_controller()->has_tab_strip()?

Dibyajyoti Pal

Ack, will fix this in a follow-up CL.

Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I45f1ebfba4dee55d08c721760294d217b57c3820
Gerrit-Change-Number: 5759419
Gerrit-PatchSet: 16
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Daniel Murphy <dmu...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-CC: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Aug 2024 21:59:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Marijn Kruisselbrink <m...@chromium.org>
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages