Return the document charset for unknown attribute values [chromium/src : main]

0 views
Skip to first unread message

Xiaocheng Hu (Gerrit)

unread,
Jan 11, 2023, 3:58:54 PM1/11/23
to Yash Joshi, blink-rev...@chromium.org, blink-...@chromium.org, chromium...@chromium.org

Attention is currently required from: Yash Joshi.

View Change

1 comment:

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

    • Patch Set #1, Line 63:

      charset.empty() && GetDocument().GetFrame() &&
      (WTF::TextEncoding(charset).IsValid())

      The correct condition seems to be

      ```
      if ((charset.empty() || !WTF::TextEncoding(charset).IsValid()) &&
      GetDocument().GetFrame()) {
      return GetDocument().Encoding();
      }
      ```

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 1
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Yash Joshi <yashjo...@gmail.com>
Gerrit-Comment-Date: Wed, 11 Jan 2023 20:56:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Yash Joshi (Gerrit)

unread,
Jan 13, 2023, 12:19:01 AM1/13/23
to blink-rev...@chromium.org, blink-...@chromium.org, Xiaocheng Hu, chromium...@chromium.org

Attention is currently required from: Xiaocheng Hu.

View Change

1 comment:

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

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 1
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Comment-Date: Fri, 13 Jan 2023 05:18:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-MessageType: comment

Xiaocheng Hu (Gerrit)

unread,
Jan 13, 2023, 2:15:58 PM1/13/23
to Yash Joshi, blink-rev...@chromium.org, blink-...@chromium.org, chromium...@chromium.org

Attention is currently required from: Yash Joshi.

View Change

1 comment:

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

    • Tried implementing the suggestion and the build goes successful after that but the test at http://wp […]

      Could you update this patch as suggested, so that I can trigger a test run here and see the result?

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 1
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Yash Joshi <yashjo...@gmail.com>
Gerrit-Comment-Date: Fri, 13 Jan 2023 19:15:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Xiaocheng Hu <xiaoc...@chromium.org>
Comment-In-Reply-To: Yash Joshi <yashjo...@gmail.com>
Gerrit-MessageType: comment

Yash Joshi (Gerrit)

unread,
Jan 18, 2023, 3:16:37 AM1/18/23
to blink-rev...@chromium.org, blink-...@chromium.org, Xiaocheng Hu, chromium...@chromium.org

View Change

1 comment:

  • Patchset:

    • Patch Set #2:

      Sorry for the delay. Have uploaded the asked patchset

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Comment-Date: Wed, 18 Jan 2023 08:16:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Yash Joshi (Gerrit)

unread,
Jan 18, 2023, 3:16:56 AM1/18/23
to blink-rev...@chromium.org, blink-...@chromium.org, Xiaocheng Hu, chromium...@chromium.org

Attention is currently required from: Xiaocheng Hu.

View Change

1 comment:

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

    • Could you update this patch as suggested, so that I can trigger a test run here and see the result?

      Done

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Comment-Date: Wed, 18 Jan 2023 08:16:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Xiaocheng Hu (Gerrit)

unread,
Jan 18, 2023, 6:15:31 PM1/18/23
to Yash Joshi, blink-rev...@chromium.org, blink-...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Yash Joshi.

View Change

1 comment:

  • Patchset:

    • Patch Set #2:

      Weird... The test passes on our try bots (even without this patch) but fails with the production build. I'll take a look

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Yash Joshi <yashjo...@gmail.com>
Gerrit-Comment-Date: Wed, 18 Jan 2023 23:15:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Xiaocheng Hu (Gerrit)

unread,
Jan 18, 2023, 7:59:24 PM1/18/23
to Yash Joshi, blink-rev...@chromium.org, blink-...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Yash Joshi.

View Change

1 comment:

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Yash Joshi <yashjo...@gmail.com>
Gerrit-Comment-Date: Thu, 19 Jan 2023 00:59:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

Yash Joshi (Gerrit)

unread,
Jan 19, 2023, 8:33:35 AM1/19/23
to blink-rev...@chromium.org, blink-...@chromium.org, Chromium LUCI CQ, Xiaocheng Hu, chromium...@chromium.org

Attention is currently required from: Xiaocheng Hu.

View Change

1 comment:

  • Patchset:

    • Patch Set #2:

      I looked into this and there should be some other issues, see notes at https://bugs.chromium. […]

      No issues then.
      I am very grateful for your time and patience

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Comment-Date: Thu, 19 Jan 2023 13:33:22 +0000

Xiaocheng Hu (Gerrit)

unread,
Jan 20, 2023, 1:37:18 PM1/20/23
to Yash Joshi, blink-rev...@chromium.org, blink-...@chromium.org, Chromium LUCI CQ, chromium...@chromium.org

Attention is currently required from: Yash Joshi.

View Change

1 comment:

  • Patchset:

    • Patch Set #2:

      No issues then. […]

      Sure. Please set WIP/abandon this patch if you are no longer working on it, so that it will be removed from my review queue.

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Yash Joshi <yashjo...@gmail.com>
Gerrit-Comment-Date: Fri, 20 Jan 2023 18:37:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Xiaocheng Hu <xiaoc...@chromium.org>

Yash Joshi (Gerrit)

unread,
Mar 25, 2023, 1:38:19 AM3/25/23
to blink-rev...@chromium.org, blink-...@chromium.org, Chromium LUCI CQ, Xiaocheng Hu, chromium...@chromium.org

Yash Joshi abandoned this change.

View Change

Abandoned More Investigation is needed to find the root cause of this failiure. See Xiaocheng's note at https://bugs.chromium.org/p/chromium/issues/detail?id=1215064#c5

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

Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1b48603bce5cb6f406f75c7bb663ee80b6675436
Gerrit-Change-Number: 4157951
Gerrit-PatchSet: 2
Gerrit-Owner: Yash Joshi <yashjo...@gmail.com>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-MessageType: abandon
Reply all
Reply to author
Forward
0 new messages