Title: [234827] trunk/LayoutTests/imported/w3c
Revision
234827
Author
[email protected]
Date
2018-08-13 16:45:51 -0700 (Mon, 13 Aug 2018)

Log Message

[WPT] Ensure templated tests do set a Content-Type: text/html HTTP header
https://bugs.webkit.org/show_bug.cgi?id=188523

Reviewed by Alexey Proskuryakov.

Importing change made in https://github.com/web-platform-tests/wpt/pull/12450
This helps running WPT tests in more platforms.

* web-platform-tests/tools/serve/serve.py:
(HtmlWrapperHandler):

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (234826 => 234827)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2018-08-13 23:37:57 UTC (rev 234826)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2018-08-13 23:45:51 UTC (rev 234827)
@@ -1,3 +1,16 @@
+2018-08-13  Youenn Fablet  <[email protected]>
+
+        [WPT] Ensure templated tests do set a Content-Type: text/html HTTP header
+        https://bugs.webkit.org/show_bug.cgi?id=188523
+
+        Reviewed by Alexey Proskuryakov.
+
+        Importing change made in https://github.com/web-platform-tests/wpt/pull/12450
+        This helps running WPT tests in more platforms.
+
+        * web-platform-tests/tools/serve/serve.py:
+        (HtmlWrapperHandler):
+
 2018-08-13  Ali Juma  <[email protected]>
 
         [IntersectionObserver] Validate threshold values

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/tools/serve/serve.py (234826 => 234827)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/tools/serve/serve.py	2018-08-13 23:37:57 UTC (rev 234826)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/tools/serve/serve.py	2018-08-13 23:45:51 UTC (rev 234827)
@@ -118,6 +118,7 @@
 
 
 class HtmlWrapperHandler(WrapperHandler):
+    headers = [('Content-Type', 'text/html')]
     def _meta_replacement(self, key, value):
         if key == b"timeout":
             if value == b"long":
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to