기여 목록 / 8449930
[DevTools] Rebaseline and re-enable tests after crrev.com/c/8426420
DevToolstestMerged
보안 웹 테스트 2개의 기대 결과를 갱신하고 임시 설정을 제거했습니다.
문제 설명
CL 8426420 반영 후 변경된 DOM 출력에 맞춰 기대 결과를 갱신해야 했습니다.
해결 내용
테스트 2개의 -expected.txt에 certificate-transparency-section 클래스와
공통 표 렌더링 변경에 따른 클래스 속성 출력 차이를 반영하고,
TestExpectations에서 관련 [ Failure Pass ] 항목과 주석을 제거했습니다.
전체 코드 diff는 다음과 같습니다.
diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations
index 268d973..3b983023 100644
--- a/third_party/blink/web_tests/TestExpectations
+++ b/third_party/blink/web_tests/TestExpectations
@@ -4538,10 +4538,6 @@
crbug.com/1380554 external/wpt/content-security-policy/wasm-unsafe-eval/postMessage-wasm-module.html [ Timeout ]
-## Disable layout tests to land crrev.com/c/8426420
-crbug.com/407750721 http/tests/devtools/security/origin-view-ct-compliance.js [ Failure Pass ]
-crbug.com/407750721 http/tests/devtools/security/security-details-updated-with-security-state.js [ Failure Pass ]
-
# ====== Random order flaky tests from here ======
# These tests are flaky when run in random order, which is the default on Linux & Mac since since 2016-12-16.
diff --git a/third_party/blink/web_tests/http/tests/devtools/security/origin-view-ct-compliance-expected.txt b/third_party/blink/web_tests/http/tests/devtools/security/origin-view-ct-compliance-expected.txt
index ab3366f..a8830c59 100644
--- a/third_party/blink/web_tests/http/tests/devtools/security/origin-view-ct-compliance-expected.txt
+++ b/third_party/blink/web_tests/http/tests/devtools/security/origin-view-ct-compliance-expected.txt
@@ -49,7 +49,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Connection
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Protocol
@@ -80,7 +80,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Certificate
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Subject
@@ -147,13 +147,13 @@
</TR>
</TABLE>
</DIV>
- <DIV class=origin-view-section >
+ <DIV class=origin-view-section certificate-transparency-section >
<DIV class=origin-view-section-title role=heading aria-level=2 >
Certificate Transparency
</DIV>
- <TABLE class=details-table sct-summary >
+ <TABLE class= details-table sct-summary >
</TABLE>
- <DIV class=sct-details hidden >
+ <DIV class= sct-details hidden >
</DIV>
<DIV class=origin-view-section-notes >
This request complies with Chrome’s Certificate Transparency policy.
diff --git a/third_party/blink/web_tests/http/tests/devtools/security/security-details-updated-with-security-state-expected.txt b/third_party/blink/web_tests/http/tests/devtools/security/security-details-updated-with-security-state-expected.txt
index 168f9bc3..730463c 100644
--- a/third_party/blink/web_tests/http/tests/devtools/security/security-details-updated-with-security-state-expected.txt
+++ b/third_party/blink/web_tests/http/tests/devtools/security/security-details-updated-with-security-state-expected.txt
@@ -153,7 +153,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Connection
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Protocol
@@ -184,7 +184,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Certificate
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Subject
@@ -301,7 +301,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Connection
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Protocol
@@ -340,7 +340,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Certificate
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Subject
@@ -454,7 +454,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Connection
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Protocol
@@ -493,7 +493,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Certificate
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Subject
@@ -607,7 +607,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Connection
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Protocol
@@ -654,7 +654,7 @@
<DIV class=origin-view-section-title role=heading aria-level=2 >
Certificate
</DIV>
- <TABLE class=details-table >
+ <TABLE class= details-table >
<TR class=details-table-row >
<TD >
Subject테스트 방법
Gerrit에 기록된 CQ 실행은 통과했으며, 2026년 9월 23일(한국 시간) Chromium main에 병합되었습니다.
배운 점
공통 렌더링 함수를 변경하면 다른 영역의 DOM 출력도 달라질 수 있으므로, 기대 결과 갱신 시 함께 확인해야 합니다.