Set .mjs file Mime type to be text/javascript [chromium/src : main]

0 views
Skip to first unread message

Jayson Chen (Gerrit)

unread,
Jul 2, 2024, 2:07:24ā€ÆPMJul 2
to Alex Rudenko, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org
Attention needed from Alex Rudenko

Jayson Chen added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Jayson Chen . resolved

Hi Alex, I have a small fix for devtools http handler about the mime type for .mjs file serving from devtools debugging port. Could you take a look when you get a chance? Thank you!

Open in Gerrit

Related details

Attention is currently required from:
  • Alex Rudenko
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: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Gerrit-Change-Number: 5673075
Gerrit-PatchSet: 2
Gerrit-Owner: Jayson Chen <jayso...@microsoft.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Jayson Chen <jayso...@microsoft.com>
Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Jul 2024 18:07:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alex Rudenko (Gerrit)

unread,
Jul 3, 2024, 1:57:26ā€ÆAMJul 3
to Jayson Chen, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org
Attention needed from Jayson Chen

Alex Rudenko voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jayson Chen
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: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Gerrit-Change-Number: 5673075
Gerrit-PatchSet: 3
Gerrit-Owner: Jayson Chen <jayso...@microsoft.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Jayson Chen <jayso...@microsoft.com>
Gerrit-Attention: Jayson Chen <jayso...@microsoft.com>
Gerrit-Comment-Date: Wed, 03 Jul 2024 05:57:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jayson Chen (Gerrit)

unread,
Jul 3, 2024, 2:24:03ā€ÆAMJul 3
to Danil Somsikov, Alex Rudenko, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org
Attention needed from Danil Somsikov

Jayson Chen added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Jayson Chen . resolved

Hi Danil, could you help me take a look at this quick CL? This patch is to fix devtools debugging port serving .mjs file as text/plain mime type. Thank you!

Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
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: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Gerrit-Change-Number: 5673075
Gerrit-PatchSet: 3
Gerrit-Owner: Jayson Chen <jayso...@microsoft.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Jayson Chen <jayso...@microsoft.com>
Gerrit-Attention: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Wed, 03 Jul 2024 06:23:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Danil Somsikov (Gerrit)

unread,
Jul 3, 2024, 2:25:07ā€ÆAMJul 3
to Jayson Chen, Alex Rudenko, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org
Attention needed from Jayson Chen

Danil Somsikov voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jayson Chen
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: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Gerrit-Change-Number: 5673075
Gerrit-PatchSet: 3
Gerrit-Owner: Jayson Chen <jayso...@microsoft.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Jayson Chen <jayso...@microsoft.com>
Gerrit-Attention: Jayson Chen <jayso...@microsoft.com>
Gerrit-Comment-Date: Wed, 03 Jul 2024 06:24:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Jayson Chen (Gerrit)

unread,
Jul 3, 2024, 2:42:19ā€ÆAMJul 3
to Danil Somsikov, Alex Rudenko, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org

Jayson Chen 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: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Gerrit-Change-Number: 5673075
Gerrit-PatchSet: 3
Gerrit-Owner: Jayson Chen <jayso...@microsoft.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Jayson Chen <jayso...@microsoft.com>
Gerrit-Comment-Date: Wed, 03 Jul 2024 06:42:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jul 3, 2024, 2:54:38ā€ÆAMJul 3
to Jayson Chen, Danil Somsikov, Alex Rudenko, chromium...@chromium.org, devtools...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Set .mjs file Mime type to be text/javascript

https://imgur.com/a/L8s84ex

In DevTools, when .mjs file is being served from the backend debugging port, its mime type will be marked as text/plain and become unusable in devtools-frontend due to HTML specification. This patch helps the backend http handler recognize .mjs file.
Bug: 350627117
Change-Id: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Commit-Queue: Jayson Chen <jayso...@microsoft.com>
Reviewed-by: Alex Rudenko <alexr...@chromium.org>
Reviewed-by: Danil Somsikov <d...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1322608}
Files:
  • M content/browser/devtools/devtools_http_handler.cc
Change size: XS
Delta: 1 file changed, 2 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Alex Rudenko, +1 by Danil Somsikov
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: I2f3f764a5119b02f0662fb0dd2b529b5c5380342
Gerrit-Change-Number: 5673075
Gerrit-PatchSet: 4
Gerrit-Owner: Jayson Chen <jayso...@microsoft.com>
Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Jayson Chen <jayso...@microsoft.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages