[PEPC] Set PEPC default strings [chromium/src : main]

0 views
Skip to first unread message

Andy Paicu (Gerrit)

unread,
Sep 19, 2023, 2:03:01 PM9/19/23
to Thomas Nguyen, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Thomas Nguyen.

Andy Paicu would like Thomas Nguyen to review this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 63 insertions(+), 5 deletions(-)


To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 1
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>

Andy Paicu (Gerrit)

unread,
Sep 19, 2023, 2:03:08 PM9/19/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Thomas Nguyen.

View Change

1 comment:

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 1
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Tue, 19 Sep 2023 18:02:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Thomas Nguyen (Gerrit)

unread,
Sep 20, 2023, 2:19:16 AM9/20/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu.

View Change

4 comments:

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • Patch Set #1, Line 80: EnsureUserAgentShadowRoot();

      This one will have a conflict, let's see which CL will be landing first 😊

    • Patch Set #1, Line 136: UpdateText();

      Can we move this right after `permission_text_` ctor? I am guessing you looked at it, just want to double check

    • Patch Set #1, Line 264: auto permission_descriptors = ParsePermissionDescriptorsFromString(GetType());

      We can keep a local vector of permission_descriptors. In that way, we don't have to parse the descriptors again each team using, and show console error log right from here.

      nit: show error if `permission_descriptors.size() == 0`

  • File third_party/blink/renderer/core/html/parser/html_tree_builder.cc:

    • Patch Set #1, Line 975:

      We might need a test for this change, either unit or wpt test. I don't mind to do it later when we have a better shape of <permission> wpt, but make sure we note that task in our tracker list.

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 1
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Comment-Date: Wed, 20 Sep 2023 06:19:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Thomas Nguyen (Gerrit)

unread,
Sep 20, 2023, 7:46:45 AM9/20/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu.

View Change

1 comment:

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • Patch Set #1, Line 263: void HTMLPermissionElement::UpdateText() {

      We might need to take into account current permission status here right. It feels like we fill the "ask" string here and re-write the string later.

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 1
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Comment-Date: Wed, 20 Sep 2023 11:46:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Andy Paicu (Gerrit)

unread,
Sep 20, 2023, 4:22:46 PM9/20/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Andy Paicu.

Andy Paicu uploaded patch set #2 to this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 86 insertions(+), 7 deletions(-)

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 2

Andy Paicu (Gerrit)

unread,
Sep 20, 2023, 4:23:37 PM9/20/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Thomas Nguyen.

Patch set 2:-Commit-Queue

View Change

5 comments:

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • This one will have a conflict, let's see which CL will be landing first 😊

    • Done. This CL is based on the other one so now that the I've updated to the latest version which contains this, it's no longer in my CL so there won't be a conflict.

    • Can we move this right after `permission_text_` ctor? I am guessing you looked at it, just want to d […]

      `permission_text_` is built in the same call stack as the ctor. At this point the `type` attribute has not been parsed yet so we won't have permission descriptors.

    • We might need to take into account current permission status here right. […]

      Yes, in the future this will need to be updated to take into account the current permission state. Added a TODO.

    • We can keep a local vector of permission_descriptors. […]

      Done

  • File third_party/blink/renderer/core/html/parser/html_tree_builder.cc:

    • We might need a test for this change, either unit or wpt test. […]

      For now I've considered the existing browser test to implicitly test the parsing as well.

      masonf@ do you know where it would be an appropriate place to test that parsing HTML results in the expected HTML elements tree?

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 2
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Wed, 20 Sep 2023 20:23:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

Andy Paicu (Gerrit)

unread,
Sep 21, 2023, 3:16:21 AM9/21/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Thomas Nguyen.

Andy Paicu uploaded patch set #3 to this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 86 insertions(+), 8 deletions(-)

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 3

Thomas Nguyen (Gerrit)

unread,
Sep 21, 2023, 3:47:45 AM9/21/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu.

Patch set 3:Code-Review +1

View Change

4 comments:

  • Patchset:

  • File third_party/blink/public/strings/blink_strings.grd:

    • Patch Set #3, Line 685: Allow

      I think we should keep sync with the last mock strings: "Use ..." instead of "Allow ..." for media permissions, and change later if required.

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • Patch Set #3, Line 181: Vector<PermissionDescriptorPtr> permission_descriptors =

      mojo should be able to clone WFT::Vector `descriptor->permissions = mojo::Clone(permission_descriptors_);`

    • Patch Set #3, Line 295: Vector<mojom::blink::PermissionDescriptorPtr>

      We don't need to create our own Clone function

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 3
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Comment-Date: Thu, 21 Sep 2023 07:47:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

Thomas Nguyen (Gerrit)

unread,
Sep 21, 2023, 3:47:56 AM9/21/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu.

View Change

1 comment:

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 3
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Comment-Date: Thu, 21 Sep 2023 07:47:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Andy Paicu (Gerrit)

unread,
Sep 21, 2023, 4:28:55 AM9/21/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Andy Paicu.

Andy Paicu uploaded patch set #4 to this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 73 insertions(+), 9 deletions(-)

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 4

Andy Paicu (Gerrit)

unread,
Sep 21, 2023, 4:29:41 AM9/21/23
to Mason Freed, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Thomas Nguyen

Attention is currently required from: Mason Freed, Thomas Nguyen.

Andy Paicu would like Mason Freed to review this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 73 insertions(+), 9 deletions(-)


To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 4
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>

Andy Paicu (Gerrit)

unread,
Sep 21, 2023, 4:29:57 AM9/21/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Mason Freed, Thomas Nguyen.

View Change

5 comments:

  • Patchset:

  • Patchset:

  • File third_party/blink/public/strings/blink_strings.grd:

    • I think we should keep sync with the last mock strings: "Use ..." instead of "Allow ... […]

      These strings are based on the "PEPC in Meet" slides so I think they have the highest chance of not needing to be changed for the OT.

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • mojo should be able to clone WFT::Vector `descriptor->permissions = mojo::Clone(permission_descripto […]

      Done. I didn't know about this function. TY.

    • Patch Set #3, Line 295: Vector<mojom::blink::PermissionDescriptorPtr>

      We don't need to create our own Clone function

    • Done

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 4
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Thu, 21 Sep 2023 08:29:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

Thomas Nguyen (Gerrit)

unread,
Sep 21, 2023, 4:47:59 AM9/21/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu, Mason Freed.

Patch set 4:Code-Review +1

View Change

1 comment:

  • File third_party/blink/public/strings/blink_strings.grd:

    • These strings are based on the "PEPC in Meet" slides so I think they have the highest chance of not […]

      Acknowledged. Fine, given that we are still waiting for a final string approval.

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 4
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Thu, 21 Sep 2023 08:47:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Andy Paicu <andy...@chromium.org>
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

Thomas Nguyen (Gerrit)

unread,
Sep 27, 2023, 4:01:38 AM9/27/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu, Mason Freed.

View Change

1 comment:

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 4
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 08:01:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 6:53:59 AM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Andy Paicu, Mason Freed.

Andy Paicu uploaded patch set #5 to this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 72 insertions(+), 9 deletions(-)

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 5

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 6:56:00 AM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Mason Freed.

View Change

2 comments:

  • Patchset:

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • Done

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 5
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 10:55:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 9:55:23 AM9/27/23
to Claudio M, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Thomas Nguyen

Attention is currently required from: Claudio M, Mason Freed.

Andy Paicu would like Claudio M to review this change.

View Change

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MIC.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MIC.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 72 insertions(+), 9 deletions(-)


To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 5
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 9:55:28 AM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Mason Freed, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Claudio M, Mason Freed.

View Change

1 comment:

  • Patchset:

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 5
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 13:55:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Mason Freed (Gerrit)

unread,
Sep 27, 2023, 12:13:54 PM9/27/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu, Claudio M, Thomas Nguyen.

View Change

5 comments:

  • File third_party/blink/public/strings/blink_strings.grd:

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • Patch Set #4, Line 135: permission_descriptors_

      Can you add

      `DCHECK(!permission_descriptors_);`

      here?

    • Patch Set #4, Line 285: }

      Should there be a `CHECK` that `size()` is not greater than 2? It seems like the code understands 0, 1, or 2.

  • File third_party/blink/renderer/core/html/parser/html_tree_builder.cc:

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 4
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 16:13:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Mason Freed (Gerrit)

unread,
Sep 27, 2023, 12:14:19 PM9/27/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu, Claudio M, Thomas Nguyen.

View Change

1 comment:

  • Patchset:

    • Patch Set #5:

      Hi Mason, friendly ping on this.

      Sorry for the delay - I was OOO but forgot to set my status accordingly.

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 5
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 16:14:10 +0000

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 4:27:35 PM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Andy Paicu, Claudio M, Thomas Nguyen.

Andy Paicu uploaded patch set #6 to this change.

View Change

The following approvals got outdated and were removed: Code-Review+1 by Thomas Nguyen

[PEPC] Set PEPC default strings

* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MICROPHONE.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MICROPHONE.png.sha1

M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
9 files changed, 76 insertions(+), 9 deletions(-)

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 6

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 4:29:53 PM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Mason Freed, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Claudio M, Mason Freed, Thomas Nguyen.

View Change

5 comments:

  • File third_party/blink/public/strings/blink_strings.grd:

    • Done

    • Done

  • File third_party/blink/renderer/core/html/html_permission_element.cc:

    • Can you add […]

      Done

    • Should there be a `CHECK` that `size()` is not greater than 2? It seems like the code understands 0, […]

      Done

  • File third_party/blink/renderer/core/html/parser/html_tree_builder.cc:

    • Theoretically, html5lib tests can be added: […]

      I've tried adding the permission element to the "interfaces.html" test in that directory for now but it fails because the `PermissionElement` feature is not enabled. Do you know if there is a standard approach to enable a chrome feature in WPT tests?

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 6
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 20:29:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Andy Paicu <andy...@chromium.org>
Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

Mason Freed (Gerrit)

unread,
Sep 27, 2023, 5:17:13 PM9/27/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Andy Paicu, Claudio M, Thomas Nguyen.

View Change

1 comment:

  • File third_party/blink/renderer/core/html/parser/html_tree_builder.cc:

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 6
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Andy Paicu <andy...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 21:16:59 +0000

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 6:39:36 PM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

Attention is currently required from: Andy Paicu, Claudio M, Thomas Nguyen.

Andy Paicu uploaded patch set #7 to this change.

View Change

[PEPC] Set PEPC default strings


* Add new strings for the default state
* Use said strings in the PEPC
* Ignore contents and end tag when parsing the permission element

Bug: 1462930
Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
---
M chrome/test/data/permissions/permission_element.html
M third_party/blink/public/strings/blink_strings.grd
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MICROPHONE.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MICROPHONE.png.sha1
M third_party/blink/renderer/core/html/html_permission_element.cc
M third_party/blink/renderer/core/html/html_permission_element.h
M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
M third_party/blink/renderer/platform/runtime_enabled_features.json5
M third_party/blink/web_tests/external/wpt/html/semantics/interfaces.js
A third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html
12 files changed, 97 insertions(+), 12 deletions(-)

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 7

Andy Paicu (Gerrit)

unread,
Sep 27, 2023, 6:41:11 PM9/27/23
to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Mason Freed, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Claudio M, Mason Freed, Thomas Nguyen.

View Change

1 comment:

  • File third_party/blink/renderer/core/html/parser/html_tree_builder.cc:

    • Yes, just mark it experimental in runtime_enabled_features: […]

      Thank you. I've added a basic parsing test. PTAL

To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
Gerrit-Change-Number: 4875313
Gerrit-PatchSet: 7
Gerrit-Owner: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
Gerrit-Attention: Claudio M <claudi...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
Gerrit-Comment-Date: Wed, 27 Sep 2023 22:40:58 +0000

Blink W3C Test Autoroller (Gerrit)

unread,
Sep 27, 2023, 6:45:49 PM9/27/23
to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Claudio M, Mason Freed, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Claudio M, Mason Freed, Thomas Nguyen.

Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/42205.

When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

View Change

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 7
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Claudio M <claudi...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Wed, 27 Sep 2023 22:45:40 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No

    Mason Freed (Gerrit)

    unread,
    Sep 27, 2023, 8:13:25 PM9/27/23
    to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Blink W3C Test Autoroller, Claudio M, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Claudio M, Thomas Nguyen.

    Patch set 7:Code-Review +1

    View Change

    3 comments:

    • Patchset:

      • Patch Set #7:

        LGTM! Looks like you'll need to rebaseline a couple tests though. And a few comments on the test.

    • File third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html:

      • Patch Set #7, Line 6: The permission element should have no end tag or content

        This is a good test, but it seems like maybe you could add a few more? Like what happens when it's inside a <template> element? Inside a table? In the <head>? Emitted by a `document.write()`? Parsed by `innerHTML`? Inside an <iframe>? Inside a `display:none` subtree?

        Definitely feel free to take these as action items for a followup CL - it just seems like there should be more testing of the parsing or DOM tree behavior.

      • Patch Set #7, Line 16: document.body.innerText, "this is some text"

        This would be true either way, since the inner text for a content-containing <permission> element would just be that same contained text.

        Perhaps do:
        ```
        const permissionElement = document.body.children[0];
        assert_true(permissionElement instanceof HTMLPermissionElement,...);
        const nextText = permissionElement.nextSibling;
        assert_true(nextText instanceof Text);
        assert_equals(nextText.innerText,"this is some text");
        ```

        or something similar?

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 7
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Claudio M <claudi...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Claudio M <claudi...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Sep 2023 00:13:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Claudio M (Gerrit)

    unread,
    Sep 27, 2023, 8:37:49 PM9/27/23
    to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Blink W3C Test Autoroller, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Thomas Nguyen.

    View Change

    1 comment:

    • Patchset:

      • Patch Set #7:

        I can only review addition of new languages, so you'll have to find another reviewer for third_party/blink/public/strings/blink_strings.grd

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 7
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Sep 2023 00:37:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Andy Paicu (Gerrit)

    unread,
    Sep 28, 2023, 8:53:39 AM9/28/23
    to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

    Attention is currently required from: Andy Paicu, Mason Freed, Thomas Nguyen.

    Andy Paicu uploaded patch set #8 to this change.

    View Change

    The following approvals got outdated and were removed: Code-Review+1 by Mason Freed

    [PEPC] Set PEPC default strings

    * Add new strings for the default state
    * Use said strings in the PEPC
    * Ignore contents and end tag when parsing the permission element

    Bug: 1462930
    Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    ---
    M chrome/test/data/permissions/permission_element.html
    M third_party/blink/public/strings/blink_strings.grd
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MICROPHONE.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MICROPHONE.png.sha1
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
    M third_party/blink/renderer/platform/runtime_enabled_features.json5
    M third_party/blink/web_tests/external/wpt/html/semantics/interfaces.js
    A third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html
    M third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt
    M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
    14 files changed, 110 insertions(+), 12 deletions(-)

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 8
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>

    Andy Paicu (Gerrit)

    unread,
    Sep 28, 2023, 8:56:33 AM9/28/23
    to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Blink W3C Test Autoroller, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Mason Freed, Thomas Nguyen.

    View Change

    2 comments:

    • File third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html:

      • This is a good test, but it seems like maybe you could add a few more? Like what happens when it's i […]

        I added a task to add more parsing tests in a future CL.

      • This would be true either way, since the inner text for a content-containing <permission> element wo […]

        Perhaps I'm misunderstanding but that doesn't seem to be the case. When running this test without the `parser/html_tree_builder.cc` changes, `document.body.innerText` is an empty string (which makes sense since it has 2 child elements (`permission` & `script`) and no text). The `permission` element has the innerText set in this case.

        With the parser changes added back in, there are still the 2 child elements created, however the text is added to `document.body` (not as a child element just as inner text) and the end tag `</permission>` is simply discarded.

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 8
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Sep 2023 12:56:22 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>

    Mason Freed (Gerrit)

    unread,
    Sep 28, 2023, 6:15:56 PM9/28/23
    to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Blink W3C Test Autoroller, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Thomas Nguyen.

    View Change

    1 comment:

    • File third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html:

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 8
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Sep 2023 22:15:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Thomas Nguyen (Gerrit)

    unread,
    Oct 2, 2023, 4:26:40 AM10/2/23
    to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Blink W3C Test Autoroller, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Andy Paicu.

    View Change

    1 comment:

    • File third_party/blink/renderer/core/html/html_permission_element.cc:

      • Patch Set #8, Line 275: CHECK_LE

        Hmm, we don't have a bound check of `type`, and it's still free to add > 3 permission types in <permission> element. Consequently, this check dies with a fatal error without giving any hints. We have to add a size limit at "AttributeChanged" either in this CL or in the next CL.

        If you are not going to add the size limit here, I don't mind to add it in the next CL.

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 8
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Oct 2023 08:26:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Andy Paicu (Gerrit)

    unread,
    Oct 4, 2023, 8:33:10 AM10/4/23
    to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org

    Attention is currently required from: Andy Paicu.

    Andy Paicu uploaded patch set #9 to this change.

    View Change

    [PEPC] Set PEPC default strings


    * Add new strings for the default state
    * Use said strings in the PEPC
    * Ignore contents and end tag when parsing the permission element

    Bug: 1462930
    Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    ---
    M chrome/test/data/permissions/permission_element.html
    M third_party/blink/public/strings/blink_strings.grd
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MICROPHONE.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MICROPHONE.png.sha1
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
    M third_party/blink/renderer/platform/runtime_enabled_features.json5
    M third_party/blink/web_tests/external/wpt/html/semantics/interfaces.js
    A third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html
    M third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt
    M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
    14 files changed, 123 insertions(+), 12 deletions(-)

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: newpatchset
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 9

    Andy Paicu (Gerrit)

    unread,
    Oct 4, 2023, 8:37:09 AM10/4/23
    to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Blink W3C Test Autoroller, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Mason Freed, Thomas Nguyen.

    View Change

    2 comments:

    • File third_party/blink/renderer/core/html/html_permission_element.cc:

      • Hmm, we don't have a bound check of `type`, and it's still free to add > 3 permission types in <perm […]

        Added a TODO for a later CL.

    • File third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html:

      • I'm confused. […]

        Ah I see. Our current implementation of the `<permission>` element does not return the inside text (I assume we would need to implement/override something in order to make it work correctly). So `<permission>.innerText` always returned the empty text which lead me to the false assumption that `innerText` is only the direct text, not including descendants.

        You can try this in the example jsbin: if you run chrome with `--enable-features=PermissionElement --enable-blink-features=PermissionElement`, it will only alert "aaa".

        Now that I know that `innerText` should, in a correct implementation, return all the text, I've reworked the test. PTAL.

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 9
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Oct 2023 12:36:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Andy Paicu <andy...@chromium.org>
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
    Comment-In-Reply-To: Thomas Nguyen <tun...@chromium.org>

    Andy Paicu (Gerrit)

    unread,
    Oct 4, 2023, 8:50:32 AM10/4/23
    to Kinuko Yasuda, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Thomas Nguyen

    Attention is currently required from: Kinuko Yasuda, Mason Freed, Thomas Nguyen.

    Andy Paicu would like Kinuko Yasuda to review this change.

    View Change

    [PEPC] Set PEPC default strings

    * Add new strings for the default state
    * Use said strings in the PEPC
    * Ignore contents and end tag when parsing the permission element

    Bug: 1462930
    Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    ---
    M chrome/test/data/permissions/permission_element.html
    M third_party/blink/public/strings/blink_strings.grd
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MICROPHONE.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
    A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MICROPHONE.png.sha1
    M third_party/blink/renderer/core/html/html_permission_element.cc
    M third_party/blink/renderer/core/html/html_permission_element.h
    M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
    M third_party/blink/renderer/platform/runtime_enabled_features.json5
    M third_party/blink/web_tests/external/wpt/html/semantics/interfaces.js
    A third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html
    M third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt
    M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
    14 files changed, 123 insertions(+), 12 deletions(-)


    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: newchange
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 9
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>

    Andy Paicu (Gerrit)

    unread,
    Oct 4, 2023, 8:50:37 AM10/4/23
    to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Kinuko Yasuda, Mason Freed, Blink W3C Test Autoroller, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Kinuko Yasuda, Mason Freed, Thomas Nguyen.

    View Change

    1 comment:

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 9
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Oct 2023 12:50:28 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No

    Mason Freed (Gerrit)

    unread,
    Oct 4, 2023, 2:31:55 PM10/4/23
    to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Kinuko Yasuda, Blink W3C Test Autoroller, Thomas Nguyen, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kinuko Yasuda, Thomas Nguyen.

    Patch set 9:Code-Review +1

    View Change

    2 comments:

    • Patchset:

    • File third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html:

    To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
    Gerrit-Change-Number: 4875313
    Gerrit-PatchSet: 9
    Gerrit-Owner: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
    Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Attention: Andy Paicu <andy...@chromium.org>
    Gerrit-Attention: Thomas Nguyen <tun...@chromium.org>
    Gerrit-Comment-Date: Wed, 04 Oct 2023 18:31:40 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes

    Thomas Nguyen (Gerrit)

    unread,
    Oct 5, 2023, 4:25:20 AM10/5/23
    to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Mason Freed, Kinuko Yasuda, Blink W3C Test Autoroller, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Andy Paicu, Kinuko Yasuda.

    Patch set 9:Code-Review +1

    View Change

      To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
      Gerrit-Change-Number: 4875313
      Gerrit-PatchSet: 9
      Gerrit-Owner: Andy Paicu <andy...@chromium.org>
      Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
      Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
      Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
      Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
      Gerrit-Attention: Andy Paicu <andy...@chromium.org>
      Gerrit-Comment-Date: Thu, 05 Oct 2023 08:25:10 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes

      Kinuko Yasuda (Gerrit)

      unread,
      Oct 6, 2023, 6:50:27 AM10/6/23
      to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Thomas Nguyen, Mason Freed, Blink W3C Test Autoroller, Chromium LUCI CQ, chromium...@chromium.org

      Attention is currently required from: Andy Paicu.

      Patch set 9:Code-Review +1

      View Change

        To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
        Gerrit-Change-Number: 4875313
        Gerrit-PatchSet: 9
        Gerrit-Owner: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Attention: Andy Paicu <andy...@chromium.org>
        Gerrit-Comment-Date: Fri, 06 Oct 2023 10:50:15 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes

        Andy Paicu (Gerrit)

        unread,
        Oct 6, 2023, 6:55:01 AM10/6/23
        to blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Kinuko Yasuda, Thomas Nguyen, Mason Freed, Blink W3C Test Autoroller, Chromium LUCI CQ, chromium...@chromium.org

        Patch set 9:Commit-Queue +2

        View Change

        1 comment:

        To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
        Gerrit-Change-Number: 4875313
        Gerrit-PatchSet: 9
        Gerrit-Owner: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Comment-Date: Fri, 06 Oct 2023 10:54:47 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes

        Chromium LUCI CQ (Gerrit)

        unread,
        Oct 6, 2023, 7:46:05 AM10/6/23
        to Andy Paicu, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Kinuko Yasuda, Thomas Nguyen, Mason Freed, Blink W3C Test Autoroller, chromium...@chromium.org

        Chromium LUCI CQ submitted this change.

        View Change

        Approvals: Kinuko Yasuda: Looks good to me Mason Freed: Looks good to me Thomas Nguyen: Looks good to me Andy Paicu: Commit
        [PEPC] Set PEPC default strings

        * Add new strings for the default state
        * Use said strings in the PEPC
        * Ignore contents and end tag when parsing the permission element

        Bug: 1462930
        Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
        Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4875313
        Reviewed-by: Thomas Nguyen <tun...@chromium.org>
        Reviewed-by: Mason Freed <mas...@chromium.org>
        Reviewed-by: Kinuko Yasuda <kin...@chromium.org>
        Commit-Queue: Andy Paicu <andy...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1206337}

        ---
        M chrome/test/data/permissions/permission_element.html
        M third_party/blink/public/strings/blink_strings.grd
        A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA.png.sha1
        A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_CAMERA_MICROPHONE.png.sha1
        A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_GEOLOCATION.png.sha1
        A third_party/blink/public/strings/blink_strings_grd/IDS_PERMISSION_REQUEST_MICROPHONE.png.sha1
        M third_party/blink/renderer/core/html/html_permission_element.cc
        M third_party/blink/renderer/core/html/html_permission_element.h
        M third_party/blink/renderer/core/html/parser/html_tree_builder.cc
        M third_party/blink/renderer/platform/runtime_enabled_features.json5
        M third_party/blink/web_tests/external/wpt/html/semantics/interfaces.js
        A third_party/blink/web_tests/external/wpt/html/semantics/permission-element/no-end-tag-no-contents.html
        M third_party/blink/web_tests/webexposed/element-instance-property-listing-expected.txt
        M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
        14 files changed, 123 insertions(+), 12 deletions(-)


        To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-MessageType: merged
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
        Gerrit-Change-Number: 4875313
        Gerrit-PatchSet: 10
        Gerrit-Owner: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Oct 6, 2023, 8:12:56 AM10/6/23
        to Andy Paicu, Chromium LUCI CQ, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, kinuko...@chromium.org, loading-rev...@chromium.org, Kinuko Yasuda, Thomas Nguyen, Mason Freed, chromium...@chromium.org

        The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/42205

        View Change

          To view, visit change 4875313. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: Ic42738bc338e2a9aa152b81f9647028017fc9e9a
          Gerrit-Change-Number: 4875313
          Gerrit-PatchSet: 10
          Gerrit-Owner: Andy Paicu <andy...@chromium.org>
          Gerrit-Reviewer: Andy Paicu <andy...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
          Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
          Gerrit-Reviewer: Thomas Nguyen <tun...@chromium.org>
          Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
          Gerrit-Comment-Date: Fri, 06 Oct 2023 12:12:50 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: No
          Reply all
          Reply to author
          Forward
          0 new messages