Unreviewed, fix test failures after r239698.
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Apr 2019 18:45:33 +0000 (18:45 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Apr 2019 18:45:33 +0000 (18:45 +0000)
<rdar://problem/47223615>

* http/tests/inspector/network/resource-security-connection.html:
Security connection information is sent as part of the metrics, not the response.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244087 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/inspector/network/resource-security-connection.html

index 3b09e10..62f0b7f 100644 (file)
@@ -1,3 +1,11 @@
+2019-04-09  Devin Rousso  <drousso@apple.com>
+
+        Unreviewed, fix test failures after r239698.
+        <rdar://problem/47223615>
+
+        * http/tests/inspector/network/resource-security-connection.html:
+        Security connection information is sent as part of the metrics, not the response.
+
 2019-04-09  John Wilander  <wilander@apple.com>
 
         Pick up Ad Click Attribution conversions in NetworkResourceLoader::willSendRedirectedRequest()
index 6e9fcc3..2a5feb7 100644 (file)
@@ -20,7 +20,7 @@ function test()
         name: "Resource.Security.Connection.Basic",
         description: "Check if a resource has security connection information.",
         test(resolve, reject) {
-            WI.Resource.awaitEvent(WI.Resource.Event.ResponseReceived)
+            WI.Resource.awaitEvent(WI.Resource.Event.MetricsDidChange)
             .then((event) => {
                 let resource = event.target;
                 InspectorTest.expectThat(resource.loadedSecurely, "Resource should have been loaded securely.");