Title: [292082] trunk
Revision
292082
Author
[email protected]
Date
2022-03-29 17:00:20 -0700 (Tue, 29 Mar 2022)

Log Message

Add descriptions on how to start WPT and http test servers to Introduction.md
https://bugs.webkit.org/show_bug.cgi?id=238523

Reviewed by Chris Dumez.

* Introduction.md:

Modified Paths

Diff

Modified: trunk/ChangeLog (292081 => 292082)


--- trunk/ChangeLog	2022-03-29 23:58:21 UTC (rev 292081)
+++ trunk/ChangeLog	2022-03-30 00:00:20 UTC (rev 292082)
@@ -1,3 +1,12 @@
+2022-03-29  Ryosuke Niwa  <[email protected]>
+
+        Add descriptions on how to start WPT and http test servers to Introduction.md
+        https://bugs.webkit.org/show_bug.cgi?id=238523
+
+        Reviewed by Chris Dumez.
+
+        * Introduction.md:
+
 2022-03-29  Don Olmstead  <[email protected]>
 
         [LibWPE] Guard libxkbcommon code with WPE_ENABLE_XKB

Modified: trunk/Introduction.md (292081 => 292082)


--- trunk/Introduction.md	2022-03-29 23:58:21 UTC (rev 292081)
+++ trunk/Introduction.md	2022-03-30 00:00:20 UTC (rev 292082)
@@ -1097,8 +1097,24 @@
 
 ### HTTP Tests
 
-FIXME: Explain how to start and open tests that require HTTP server.
+To open tests under [LayoutTests/http](https://github.com/WebKit/WebKit/tree/main/LayoutTests/http) or
+[LayoutTests/imported/w3c/web-platform-tests](https://github.com/WebKit/WebKit/tree/main/LayoutTests/imported/w3c/web-platform-tests),
+use [Tools/Scripts/open-layout-test](https://github.com/WebKit/WebKit/blob/main/Tools/Scripts/open-layout-test) with the path to a test.
 
+You can also manually start HTTP servers with [`Tools/Scripts/run-webkit-httpd`](https://github.com/WebKit/WebKit/blob/main/Tools/Scripts/run-webkit-httpd).
+To stop the HTTP servers, exit the script (e.g. Control + C on macOS).
+
+Tests under [LayoutTests/http](https://github.com/WebKit/WebKit/tree/main/LayoutTests/http) are accessible at [http://127.0.0.1:8000](http://127.0.0.1:8000)
+except tests in [LayoutTests/http/wpt](https://github.com/WebKit/WebKit/tree/main/LayoutTests/http/wpt),
+which are available at [http://localhost:8800/WebKit/](http://localhost:8800/WebKit/) instead.
+
+The [Web Platform Tests](https://web-platform-tests.org/) imported under
+[LayoutTests/imported/w3c/web-platform-tests](https://github.com/WebKit/WebKit/tree/main/LayoutTests/imported/w3c/web-platform-tests)
+are accessible under HTTP at [http://localhost:8800/](http://localhost:8800/) and HTTPS at [http://localhost:9443/](http://localhost:9443/)
+
+Note that it's important to use the exact host names such as `127.0.0.1` and `localhost` above verbatim
+since some tests rely on or test same-origin or cross-origin behaviors based on those host names.
+
 ## Test Expectations
 
 FIXME: Explain how test expectations work.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to