Add regression test for document.baseURI. [chromium/src : main]

0 views
Skip to first unread message

Arthur Sonzogni (Gerrit)

unread,
Jun 27, 2022, 11:10:36 AM6/27/22
to blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, Kent Tamura, Mike West, Daniel Cheng, Arthur Sonzogni, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Kent Tamura.

View Change

1 comment:

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
Gerrit-Change-Number: 3723568
Gerrit-PatchSet: 8
Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
Gerrit-CC: Arthur Sonzogni <arthurs...@google.com>
Gerrit-CC: Daniel Cheng <dch...@chromium.org>
Gerrit-CC: Mike West <mk...@chromium.org>
Gerrit-Attention: Kent Tamura <tk...@chromium.org>
Gerrit-Comment-Date: Mon, 27 Jun 2022 15:10:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Blink W3C Test Autoroller (Gerrit)

unread,
Jun 27, 2022, 11:17:39 AM6/27/22
to Arthur Sonzogni, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, Kent Tamura, Mike West, Daniel Cheng, Arthur Sonzogni, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Kent Tamura.

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/34606.

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 3723568. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
    Gerrit-Change-Number: 3723568
    Gerrit-PatchSet: 8
    Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
    Gerrit-CC: Arthur Sonzogni <arthurs...@google.com>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Daniel Cheng <dch...@chromium.org>
    Gerrit-CC: Mike West <mk...@chromium.org>
    Gerrit-Attention: Kent Tamura <tk...@chromium.org>
    Gerrit-Comment-Date: Mon, 27 Jun 2022 15:17:31 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Kent Tamura (Gerrit)

    unread,
    Jun 27, 2022, 7:53:07 PM6/27/22
    to Arthur Sonzogni, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, Kent Tamura, Blink W3C Test Autoroller, Mike West, Daniel Cheng, Arthur Sonzogni, Chromium LUCI CQ, chromium...@chromium.org

    Attention is currently required from: Arthur Sonzogni.

    Patch set 9:Code-Review +1

    View Change

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

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
      Gerrit-Change-Number: 3723568
      Gerrit-PatchSet: 9
      Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Arthur Sonzogni <arthurs...@google.com>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-CC: Daniel Cheng <dch...@chromium.org>
      Gerrit-CC: Mike West <mk...@chromium.org>
      Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Comment-Date: Mon, 27 Jun 2022 23:52:59 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      Gerrit-MessageType: comment

      Arthur Sonzogni (Gerrit)

      unread,
      Jun 29, 2022, 5:05:39 AM6/29/22
      to blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, Kent Tamura, Blink W3C Test Autoroller, Mike West, Daniel Cheng, Arthur Sonzogni, Chromium LUCI CQ, chromium...@chromium.org

      Patch set 9:Commit-Queue +2

      View Change

      1 comment:

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

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
      Gerrit-Change-Number: 3723568
      Gerrit-PatchSet: 9
      Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Arthur Sonzogni <arthurs...@google.com>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-CC: Daniel Cheng <dch...@chromium.org>
      Gerrit-CC: Mike West <mk...@chromium.org>
      Gerrit-Comment-Date: Wed, 29 Jun 2022 09:05:30 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Gerrit-MessageType: comment

      Chromium LUCI CQ (Gerrit)

      unread,
      Jun 29, 2022, 6:48:21 AM6/29/22
      to Arthur Sonzogni, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, Kent Tamura, Blink W3C Test Autoroller, Mike West, Daniel Cheng, Arthur Sonzogni, chromium...@chromium.org

      Chromium LUCI CQ submitted this change.

      View Change


      Approvals: Kent Tamura: Looks good to me Arthur Sonzogni: Commit
      Add regression test for document.baseURI.

      The `document.baseURI` is wrongly implemented in Chrome for about:blank
      and about:srcdoc.
      It allows leaking cross-origin data. The leak happens only when the two
      origin are hosted by the same process.

      This patch adds regression tests. I am going to mitigate this bug in a
      follow-up.

      Bug: 1336904
      Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3723568
      Reviewed-by: Kent Tamura <tk...@chromium.org>
      Commit-Queue: Arthur Sonzogni <arthurs...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1019052}
      ---
      M third_party/blink/renderer/core/dom/document.cc
      M third_party/blink/web_tests/FlagExpectations/disable-site-isolation-trials
      M third_party/blink/web_tests/VirtualTestSuites
      A third_party/blink/web_tests/external/wpt/html/infrastructure/urls/terminology-0/document-base-url-initiated-grand-parent.https.window.js
      A third_party/blink/web_tests/platform/generic/external/wpt/html/infrastructure/urls/terminology-0/document-base-url-initiated-grand-parent.https.window-expected.txt
      A third_party/blink/web_tests/platform/generic/virtual/no-auto-wpt-origin-isolation/external/wpt/html/infrastructure/urls/terminology-0/document-base-url-initiated-grand-parent.https.window-expected.txt
      6 files changed, 129 insertions(+), 10 deletions(-)


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

      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
      Gerrit-Change-Number: 3723568
      Gerrit-PatchSet: 10
      Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-CC: Arthur Sonzogni <arthurs...@google.com>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-CC: Daniel Cheng <dch...@chromium.org>
      Gerrit-CC: Mike West <mk...@chromium.org>
      Gerrit-MessageType: merged

      Blink W3C Test Autoroller (Gerrit)

      unread,
      Jun 29, 2022, 7:06:07 AM6/29/22
      to Arthur Sonzogni, Chromium LUCI CQ, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, Kent Tamura, Mike West, Daniel Cheng, Arthur Sonzogni, chromium...@chromium.org

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

      View Change

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

        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I027249095fc7ba55dc3f68c772a72f473cfec409
        Gerrit-Change-Number: 3723568
        Gerrit-PatchSet: 10
        Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-CC: Arthur Sonzogni <arthurs...@google.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Daniel Cheng <dch...@chromium.org>
        Gerrit-CC: Mike West <mk...@chromium.org>
        Gerrit-Comment-Date: Wed, 29 Jun 2022 11:05:49 +0000
        Reply all
        Reply to author
        Forward
        0 new messages