Skip to content
Permalink
Browse files
WPT stash server should be kept running when launching wpt server
https://bugs.webkit.org/show_bug.cgi?id=160052

Patch by Youenn Fablet <youenn@apple.com> on 2016-07-23
Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

* web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight-referrer-expected.txt:
* web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt:

Tools:

* Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
(main): waiting to read stdin while stash server is started.

Canonical link: https://commits.webkit.org/178269@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf authored and webkit-commit-queue committed Jul 23, 2016
1 parent 0a9d992 commit e89ba2c758c8a6a38f1c41a1049c79a1c428c9bd
@@ -1,3 +1,17 @@
2016-07-23 Youenn Fablet <youenn@apple.com>

WPT stash server should be kept running when launching wpt server
https://bugs.webkit.org/show_bug.cgi?id=160052

Reviewed by Sam Weinig.

* web-platform-tests/XMLHttpRequest/send-authentication-basic-setrequestheader-and-arguments-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight-expected.txt:
* web-platform-tests/fetch/api/cors/cors-preflight-referrer-expected.txt:
* web-platform-tests/html/semantics/document-metadata/the-link-element/document-without-browsing-context-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/cross_origin_parentage-expected.txt:
* web-platform-tests/html/semantics/embedded-content/the-iframe-element/same_origin_parentage-expected.txt:

2016-07-23 Youenn Fablet <youenn@apple.com>

[Fetch API] Fetch response stream should enqueue Uint8Array
@@ -1,3 +1,3 @@

FAIL XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() and open() arguments (asserts header wins) The operation timed out.
PASS XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() and open() arguments (asserts header wins)

@@ -1,18 +1,16 @@

Harness Error (TIMEOUT), message = null

FAIL CORS [DELETE], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
TIMEOUT CORS [DELETE], server refuses Test timed out
TIMEOUT CORS [PUT], server allows Test timed out
TIMEOUT CORS [PUT], server refuses Test timed out
TIMEOUT CORS [PATCH], server allows Test timed out
TIMEOUT CORS [PATCH], server refuses Test timed out
TIMEOUT CORS [NEW], server allows Test timed out
TIMEOUT CORS [NEW], server refuses Test timed out
TIMEOUT CORS [GET] [x-test-header: allowed], server allows Test timed out
TIMEOUT CORS [GET] [x-test-header: refused], server refuses Test timed out
TIMEOUT CORS [GET] [several headers], server allows Test timed out
TIMEOUT CORS [GET] [several headers], server refuses Test timed out
TIMEOUT CORS [PUT] [several headers], server allows Test timed out
TIMEOUT CORS [PUT] [several headers], server refuses Test timed out
PASS CORS [DELETE], server refuses
FAIL CORS [PUT], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
PASS CORS [PUT], server refuses
FAIL CORS [PATCH], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
PASS CORS [PATCH], server refuses
FAIL CORS [NEW], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
PASS CORS [NEW], server refuses
FAIL CORS [GET] [x-test-header: allowed], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
PASS CORS [GET] [x-test-header: refused], server refuses
FAIL CORS [GET] [several headers], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
PASS CORS [GET] [several headers], server refuses
FAIL CORS [PUT] [several headers], server allows promise_test: Unhandled rejection with value: object "TypeError: Type error"
PASS CORS [PUT] [several headers], server refuses

@@ -1,9 +1,7 @@

Harness Error (TIMEOUT), message = null

FAIL Referrer policy: no-referrer assert_equals: Clean stash response's status is 200 expected 200 but got 500
TIMEOUT Referrer policy: "" Test timed out
TIMEOUT Referrer policy: origin Test timed out
TIMEOUT Referrer policy: origin-when-cross-origin Test timed out
TIMEOUT Referrer policy: unsafe-url Test timed out
FAIL Referrer policy: no-referrer promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL Referrer policy: "" promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL Referrer policy: origin promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL Referrer policy: origin-when-cross-origin promise_test: Unhandled rejection with value: object "TypeError: Type error"
FAIL Referrer policy: unsafe-url promise_test: Unhandled rejection with value: object "TypeError: Type error"

@@ -1,2 +1,4 @@
FAIL: Timed out waiting for notifyDone to be called

PASS Create a document, adopt the node
PASS Create a stylesheet in innerHTML document

@@ -1,7 +1,9 @@
Blocked access to external URL http://www1.web-platform.test:8000/html/semantics/embedded-content/the-iframe-element/cross_origin_child.html


FAIL Check the frame heriarchy assert_equals: expected 200 but got 500
FAIL Check the frame heriarchy 1 assert_equals: expected 200 but got 500
FAIL Check the frame heriarchy 2 assert_equals: expected 200 but got 500
Harness Error (TIMEOUT), message = null

PASS Check the frame heriarchy
TIMEOUT Check the frame heriarchy 1 Test timed out
TIMEOUT Check the frame heriarchy 2 Test timed out

@@ -1,6 +1,6 @@


FAIL Check the frame heriarchy assert_equals: expected 200 but got 500
FAIL Check the frame heriarchy 1 assert_equals: expected 200 but got 500
FAIL Check the frame heriarchy 2 assert_equals: expected 200 but got 500
PASS Check the frame heriarchy
PASS Check the frame heriarchy 1
PASS Check the frame heriarchy 2

@@ -1,3 +1,13 @@
2016-07-23 Youenn Fablet <youenn@apple.com>

WPT stash server should be kept running when launching wpt server
https://bugs.webkit.org/show_bug.cgi?id=160052

Reviewed by Sam Weinig.

* Scripts/webkitpy/layout_tests/servers/web_platform_test_launcher.py:
(main): waiting to read stdin while stash server is started.

2016-07-22 Wenson Hsieh <wenson_hsieh@apple.com>

Media controls should be displayed for media in media documents
@@ -1,7 +1,6 @@
# This Source Code Form is subject to the terms of the 3-clause BSD License
# http://www.w3.org/Consortium/Legal/2008/03-bsd-license.html

import imp
import json
import logging
import os
@@ -40,11 +39,11 @@ def main(argv, stdout, stderr):
logged_servers.append({"protocol": protocol, "port": port, "pid": process.proc.pid})
logger.info("%s, port:%d, pid:%d" % (protocol, port, process.proc.pid))

# Write pids in a file in case abrupt shutdown is needed
with open(argv[0], "wb") as servers_file:
json.dump(logged_servers, servers_file)
# Write pids in a file in case abrupt shutdown is needed
with open(argv[0], "wb") as servers_file:
json.dump(logged_servers, servers_file)

sys.stdin.read(1)
sys.stdin.read(1)


if __name__ == "__main__":

0 comments on commit e89ba2c

Please sign in to comment.