Title: [214343] trunk/LayoutTests
- Revision
- 214343
- Author
- carlo...@webkit.org
- Date
- 2017-03-24 06:30:56 -0700 (Fri, 24 Mar 2017)
Log Message
Unreviewed GTK+ gardening. Rebaseline http/tests/inspector/network/fetch-response-body.html/xhr-response-body.html after r214338.
We are now getting the right application/json for a file data.json. The soup network backend tries to gess the
mime type from the extension when sniffing is not allowed and the mime type is not known. See bug
webkit.org/b/168299, that was added actually to fix these tests, but at that time we also failed to guess the
mime type and returned application/octet-stream.
* platform/gtk/TestExpectations:
* platform/gtk/http/tests/inspector/network/fetch-response-body-expected.txt: Added.
* platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (214342 => 214343)
--- trunk/LayoutTests/ChangeLog 2017-03-24 13:19:56 UTC (rev 214342)
+++ trunk/LayoutTests/ChangeLog 2017-03-24 13:30:56 UTC (rev 214343)
@@ -1,5 +1,18 @@
2017-03-24 Carlos Garcia Campos <cgar...@igalia.com>
+ Unreviewed GTK+ gardening. Rebaseline http/tests/inspector/network/fetch-response-body.html/xhr-response-body.html after r214338.
+
+ We are now getting the right application/json for a file data.json. The soup network backend tries to gess the
+ mime type from the extension when sniffing is not allowed and the mime type is not known. See bug
+ webkit.org/b/168299, that was added actually to fix these tests, but at that time we also failed to guess the
+ mime type and returned application/octet-stream.
+
+ * platform/gtk/TestExpectations:
+ * platform/gtk/http/tests/inspector/network/fetch-response-body-expected.txt: Added.
+ * platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt: Added.
+
+2017-03-24 Carlos Garcia Campos <cgar...@igalia.com>
+
Unreviewed GTK+ gardening. Rebaseline fast/dom/HTMLAnchorElement/anchor-file-blob-convert-to-download.html after r214338.
We are now getting a MIME type for otf files.
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (214342 => 214343)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2017-03-24 13:19:56 UTC (rev 214342)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2017-03-24 13:30:56 UTC (rev 214343)
@@ -3468,6 +3468,8 @@
webkit.org/b/169910 fast/multicol/simple-line-layout-line-index-after-strut.html [ ImageOnlyFailure ]
+webkit.org/b/105954 http/tests/navigation/reload-subframe-object.html [ Failure ]
+
#////////////////////////////////////////////////////////////////////////////////////////
# End of non-crashing, non-flaky tests failing
#////////////////////////////////////////////////////////////////////////////////////////
Added: trunk/LayoutTests/platform/gtk/http/tests/inspector/network/fetch-response-body-expected.txt (0 => 214343)
--- trunk/LayoutTests/platform/gtk/http/tests/inspector/network/fetch-response-body-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/inspector/network/fetch-response-body-expected.txt 2017-03-24 13:30:56 UTC (rev 214343)
@@ -0,0 +1,41 @@
+Tests for getting the content of Fetch requests.
+
+
+== Running test suite: Network.getResponseBody.Fetch
+-- Running test case: Network.getResponseBody.Fetch.Text
+PASS: Resource should be Fetch type.
+PASS: MIMEType should be 'text/plain'.
+PASS: Text content should match data.txt.
+
+-- Running test case: Network.getResponseBody.Fetch.HTML
+PASS: Resource should be Fetch type.
+PASS: MIMEType should be 'text/html'.
+PASS: Text content should match data.html.
+
+-- Running test case: Network.getResponseBody.Fetch.JSON
+PASS: Resource should be Fetch type.
+FAIL: MIMEType should be 'application/octet-stream'.
+ Expected: "application/octet-stream"
+ Actual: "application/json"
+PASS: JSON content should match data.json.
+
+-- Running test case: Network.getResponseBody.Fetch.JSON2
+PASS: Resource should be Fetch type.
+PASS: MIMEType should be 'application/json'.
+PASS: JSON content should match specified content.
+
+-- Running test case: Network.getResponseBody.Fetch.JSON3
+PASS: Resource should be Fetch type.
+PASS: MIMEType should be 'application/vnd.api+json'.
+PASS: JSON content should match specified content.
+
+-- Running test case: Network.getResponseBody.Fetch.SVG
+PASS: Resource should be Fetch type.
+PASS: MIMEType should be 'image/svg+xml'.
+PASS: SVG content should be text.
+
+-- Running test case: Network.getResponseBody.Fetch.PNG
+PASS: Resource should be Fetch type.
+PASS: MIMEType should be 'image/png'.
+PASS: Image content should be text.
+
Added: trunk/LayoutTests/platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt (0 => 214343)
--- trunk/LayoutTests/platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/inspector/network/xhr-response-body-expected.txt 2017-03-24 13:30:56 UTC (rev 214343)
@@ -0,0 +1,41 @@
+Tests for getting the content of XHR requests.
+
+
+== Running test suite: Network.getResponseBody.XHR
+-- Running test case: Network.getResponseBody.XHR.Text
+PASS: Resource should be XHR type.
+PASS: MIMEType should be 'text/plain'.
+PASS: Text content should match data.txt.
+
+-- Running test case: Network.getResponseBody.XHR.HTML
+PASS: Resource should be XHR type.
+PASS: MIMEType should be 'text/html'.
+PASS: Text content should match data.html.
+
+-- Running test case: Network.getResponseBody.XHR.JSON
+PASS: Resource should be XHR type.
+FAIL: MIMEType should be 'application/octet-stream'.
+ Expected: "application/octet-stream"
+ Actual: "application/json"
+PASS: JSON content should match data.json.
+
+-- Running test case: Network.getResponseBody.XHR.JSON2
+PASS: Resource should be XHR type.
+PASS: MIMEType should be 'application/json'.
+PASS: JSON content should match specified content.
+
+-- Running test case: Network.getResponseBody.XHR.JSON3
+PASS: Resource should be XHR type.
+PASS: MIMEType should be 'application/vnd.api+json'.
+PASS: JSON content should match specified content.
+
+-- Running test case: Network.getResponseBody.XHR.SVG
+PASS: Resource should be XHR type.
+PASS: MIMEType should be 'image/svg+xml'.
+PASS: SVG content should be text.
+
+-- Running test case: Network.getResponseBody.XHR.PNG
+PASS: Resource should be XHR type.
+PASS: MIMEType should be 'image/png'.
+PASS: Image content should be text.
+
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes