OSSCA Chromium

기여 목록 / 8483671

[DevTools] Rebaseline and re-enable tests after crrev.com/c/8451582

DevToolstestMerged

보안 웹 테스트 1개의 기대 결과를 갱신하고 임시 설정을 제거했습니다.

문제 설명

CL 8451582 반영 후 새로 표시되는 안내 문구를 기대 결과에 반영해야 했습니다.

해결 내용

security-details-updated-with-security-state-expected.txt의 Origin 출력 4곳에 일반 안내 문구를 추가하고, TestExpectations에서 해당 [ Failure Pass ] 항목과 주석을 제거했습니다.

전체 코드 diff는 다음과 같습니다.

diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations
index 22a8acd..4a8cbc0 100644
--- a/third_party/blink/web_tests/TestExpectations
+++ b/third_party/blink/web_tests/TestExpectations
@@ -4502,9 +4502,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/8451582
-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/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 730463c..9c6f264f 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
@@ -251,6 +251,11 @@
             </TR>
         </TABLE>
     </DIV>
+    <DIV class=origin-view-section origin-view-notes >
+        <DIV >
+The security details above are from the first inspected response.
+        </DIV>
+    </DIV>
 </DIV>
 Origin view (https://ecdhe.foo.test) -----------
 <DIV jslog=Pane; context: security.origin-view class=widget vbox security-origin-view slot=main >
@@ -404,6 +409,11 @@
             </TR>
         </TABLE>
     </DIV>
+    <DIV class=origin-view-section origin-view-notes >
+        <DIV >
+The security details above are from the first inspected response.
+        </DIV>
+    </DIV>
 </DIV>
 Origin view (https://tls13.foo.test) -----------
 <DIV jslog=Pane; context: security.origin-view class=widget vbox security-origin-view slot=main >
@@ -557,6 +567,11 @@
             </TR>
         </TABLE>
     </DIV>
+    <DIV class=origin-view-section origin-view-notes >
+        <DIV >
+The security details above are from the first inspected response.
+        </DIV>
+    </DIV>
 </DIV>
 Origin view (https://ech.foo.test) -------------
 <DIV jslog=Pane; context: security.origin-view class=widget vbox security-origin-view slot=main >
@@ -718,5 +733,10 @@
             </TR>
         </TABLE>
     </DIV>
+    <DIV class=origin-view-section origin-view-notes >
+        <DIV >
+The security details above are from the first inspected response.
+        </DIV>
+    </DIV>
 </DIV>

테스트 방법

Gerrit에 기록된 CQ 실행은 통과했으며, 2026년 9월 29일(한국 시간) Chromium main에 병합되었습니다.

배운 점

기대 결과를 갱신할 때는 새 출력이 의도한 동작 수정에 해당하는지 확인하고, 임시 설정을 제거해 이후의 예상 밖의 실패를 다시 검출해야 합니다.

참고 자료