Title: [235669] trunk/LayoutTests
Revision
235669
Author
ms2...@igalia.com
Date
2018-09-05 08:22:15 -0700 (Wed, 05 Sep 2018)

Log Message

GTK-focused gardening
https://bugs.webkit.org/show_bug.cgi?id=189305

Unreviewed test gardening.


* TestExpectations: Remove passing test.
* fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html: Speculative fix for r235484.
* platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt: Added.
* platform/gtk/http/tests/loading/oauth-expected.txt: Added.
* platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt: Added.
* platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt: Updated for r235354.
* platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: Updated for r235245.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (235668 => 235669)


--- trunk/LayoutTests/ChangeLog	2018-09-05 14:42:45 UTC (rev 235668)
+++ trunk/LayoutTests/ChangeLog	2018-09-05 15:22:15 UTC (rev 235669)
@@ -1,3 +1,18 @@
+2018-09-05  Ms2ger  <ms2...@igalia.com>
+
+        GTK-focused gardening
+        https://bugs.webkit.org/show_bug.cgi?id=189305
+
+        Unreviewed test gardening.
+
+        * TestExpectations: Remove passing test.
+        * fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html: Speculative fix for r235484.
+        * platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt: Added.
+        * platform/gtk/http/tests/loading/oauth-expected.txt: Added.
+        * platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt: Added.
+        * platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt: Updated for r235354.
+        * platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt: Updated for r235245.
+
 2018-09-04  Yacine Bandou  <yacine.bandou_...@softathome.com>
 
         [EME] Add a layoutTest for ClearKey WebM video playback

Modified: trunk/LayoutTests/TestExpectations (235668 => 235669)


--- trunk/LayoutTests/TestExpectations	2018-09-05 14:42:45 UTC (rev 235668)
+++ trunk/LayoutTests/TestExpectations	2018-09-05 15:22:15 UTC (rev 235669)
@@ -275,7 +275,6 @@
 imported/w3c/web-platform-tests/xhr/send-authentication-competing-names-passwords.htm [ Failure ]
 imported/w3c/web-platform-tests/xhr/preserve-ua-header-on-redirect.htm [ Failure ]
 imported/w3c/web-platform-tests/xhr/setrequestheader-case-insensitive.htm [ Failure ]
-imported/w3c/web-platform-tests/xhr/send-network-error-async-events.sub.htm [ Failure ]
 http/tests/security/cross-origin-cached-images-parallel.html [ DumpJSConsoleLogInStdErr ]
 
 # textarea.animate is not supported

Modified: trunk/LayoutTests/fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html (235668 => 235669)


--- trunk/LayoutTests/fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html	2018-09-05 14:42:45 UTC (rev 235668)
+++ trunk/LayoutTests/fast/mediastream/RTCPeerConnection-media-setup-callbacks-single-dialog.html	2018-09-05 15:22:15 UTC (rev 235669)
@@ -40,7 +40,7 @@
             .then(function (s) {
                 stream = s;
 
-                startTestWithMedia();
+                return startTestWithMedia();
             })
             .catch(function (error) {
                 testFailed(`Unable to get user media: ${error}`);
@@ -52,15 +52,15 @@
                 pcA.addTrack(stream.getAudioTracks()[0], stream);
 
                 debug("A: create offer");
-                return pcA.createOffer(offer => {
+                return pcA.createOffer().then(offer => {
                     debug("A: got offer, set it as local description");
-                    pcA.setLocalDescription(offer, () => {
+                    return pcA.setLocalDescription(offer).then(() => {
                         debug("A: local offer set");
                         shouldBe("pcA.signalingState", "'have-local-offer'");
 
                         debug("A: send offer to B");
                         debug("A --- offer --> B");
-                        offerToPcB(pcA.localDescription);
+                        return offerToPcB(pcA.localDescription);
                     }, gotError);
 
                 }, gotError);
@@ -68,7 +68,7 @@
 
             function offerToPcB(offer) {
                 debug("B: got offer from A, set it as remote description");
-                pcB.setRemoteDescription(offer, () => {
+                return pcB.setRemoteDescription(offer).then(() => {
                     debug("B: remote offer set");
                     shouldBe("pcB.signalingState", "'have-remote-offer'");
 
@@ -76,15 +76,15 @@
                     pcB.addTrack(stream.getAudioTracks()[0], stream);
 
                     debug("B: create answer");
-                    return pcB.createAnswer(answer => {
+                    return pcB.createAnswer().then(answer => {
                         debug("B: got answer, set it as local description");
-                        pcB.setLocalDescription(answer, () => {
+                        return pcB.setLocalDescription(answer).then(() => {
                             debug("B: local answer set");
                             shouldBe("pcB.signalingState", "'stable'");
 
                             debug("B: send answer to A");
                             debug("A <-- answer -- B");
-                            answerToA(pcB.localDescription);
+                            return answerToA(pcB.localDescription);
                         }, gotError);
                     }, gotError);
                 }, gotError);
@@ -92,7 +92,7 @@
 
             function answerToA(answer) {
                 debug("A: got answer from B, set it as remote description");
-                pcA.setRemoteDescription(answer, () => {
+                return pcA.setRemoteDescription(answer).then(() => {
                     debug("A: remote answer set");
                     shouldBe("pcA.signalingState", "'stable'");
 

Added: trunk/LayoutTests/platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt (0 => 235669)


--- trunk/LayoutTests/platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/inspector/network/resource-request-headers-expected.txt	2018-09-05 15:22:15 UTC (rev 235669)
@@ -0,0 +1,36 @@
+127.0.0.1:8000 - didReceiveAuthenticationChallenge - ProtectionSpaceAuthenticationSchemeHTTPBasic - Simulating cancelled authentication sheet
+127.0.0.1:8000 - didReceiveAuthenticationChallenge - ProtectionSpaceAuthenticationSchemeHTTPBasic - Simulating cancelled authentication sheet
+Test for Resource request headers which may not have been immediately available but eventually are (Cookie, Authorization).
+
+
+== Running test suite: Resource.Metrics.RequestHeaders
+-- Running test case: Resource.Metrics.RequestHeaders.WithoutCookie
+PASS: Resource should be created.
+PASS: Resource should receive a Response.
+PASS: Request should not have a 'Cookie' header.
+
+-- Running test case: Resource.Metrics.RequestHeaders.WithCookie
+PASS: Resource should be created.
+PASS: Resource should receive a Response.
+PASS: 'Cookie' header value should be `InspectorTestCookie=1234`.
+
+-- Running test case: Resource.Metrics.RequestHeaders.BasicAuth.None
+PASS: Resource should be created.
+PASS: Resource should receive a Response.
+PASS: Resource should have a 401 status code.
+PASS: Response should have a 'WWW-Authenticate' response header for the failure.
+PASS: Request should not have a 'Authorization' header.
+
+-- Running test case: Resource.Metrics.RequestHeaders.BasicAuth.Failure
+PASS: Resource should be created.
+PASS: Resource should receive a Response.
+PASS: Resource should have a 401 status code.
+PASS: Response should have a 'WWW-Authenticate' response header for the failure.
+PASS: 'Authorization' header value should be for badUsername:badPassword.
+
+-- Running test case: Resource.Metrics.RequestHeaders.BasicAuth.Success
+PASS: Resource should be created.
+PASS: Resource should receive a Response.
+PASS: Resource should have a 200 status code.
+PASS: 'Authorization' header value should be for goodUsername:goodPassword.
+

Added: trunk/LayoutTests/platform/gtk/http/tests/loading/oauth-expected.txt (0 => 235669)


--- trunk/LayoutTests/platform/gtk/http/tests/loading/oauth-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/loading/oauth-expected.txt	2018-09-05 15:22:15 UTC (rev 235669)
@@ -0,0 +1,6 @@
+main frame - didStartProvisionalLoadForFrame
+main frame - didCommitLoadForFrame
+main frame - didFinishDocumentLoadForFrame
+main frame - didHandleOnloadEventsForFrame
+main frame - didFinishLoadForFrame
+

Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt (0 => 235669)


--- trunk/LayoutTests/platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/connection-refusal-in-frame-resource-load-statistics-expected.txt	2018-09-05 15:22:15 UTC (rev 235669)
@@ -0,0 +1,11 @@
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost/' failed: Unexpected response code: 200
+Construct a cross-site WebSocket in a frame with server-side refusal. The test passes if Resource Load Statistics logs it properly.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS localhost registered as subresource under 127.0.0.1.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Modified: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt (235668 => 235669)


--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt	2018-09-05 14:42:45 UTC (rev 235668)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/xhr/send-network-error-sync-events.sub-expected.txt	2018-09-05 15:22:15 UTC (rev 235669)
@@ -1,4 +1,4 @@
-Blocked access to external URL http://nonexistent-origin.localhost:8800/
+Blocked access to external URL http://nonexistent.localhost:8800/
 
 PASS http URL 
 FAIL data URL assert_throws: function "function ()

Modified: trunk/LayoutTests/platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt (235668 => 235669)


--- trunk/LayoutTests/platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt	2018-09-05 14:42:45 UTC (rev 235668)
+++ trunk/LayoutTests/platform/gtk/js/dom/dom-static-property-for-in-iteration-expected.txt	2018-09-05 15:22:15 UTC (rev 235669)
@@ -51,6 +51,7 @@
 PASS a["offsetHeight"] is 17
 PASS a["outerText"] is nerget
 PASS a["webkitdropzone"] is 
+PASS a["inputMode"] is 
 PASS a["style"] is [object CSSStyleDeclaration]
 PASS a["onabort"] is null
 PASS a["onblur"] is null
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to