From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../web-platform/tests/progress-events/Status.html | 26 ++++++++++++ .../tests/progress-events/constructor.html | 43 +++++++++++++++++++ .../tests/progress-events/interface.html | 49 ++++++++++++++++++++++ .../Samsung/firing-events-http-content-length.html | 38 +++++++++++++++++ .../firing-events-http-no-content-length.html | 38 +++++++++++++++++ .../Samsung/resources/no-content-length.py | 15 +++++++ 6 files changed, 209 insertions(+) create mode 100644 testing/web-platform/tests/progress-events/Status.html create mode 100644 testing/web-platform/tests/progress-events/constructor.html create mode 100644 testing/web-platform/tests/progress-events/interface.html create mode 100644 testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-content-length.html create mode 100644 testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-no-content-length.html create mode 100644 testing/web-platform/tests/progress-events/tests/submissions/Samsung/resources/no-content-length.py (limited to 'testing/web-platform/tests/progress-events') diff --git a/testing/web-platform/tests/progress-events/Status.html b/testing/web-platform/tests/progress-events/Status.html new file mode 100644 index 000000000..f2aee75d7 --- /dev/null +++ b/testing/web-platform/tests/progress-events/Status.html @@ -0,0 +1,26 @@ + + + + Progress Events Test Status + + + +

Progress Events Test Suite Status

+ +

This test suite is part of the +Web Application WG's +Test Repository as described in WebApps' +Testing Wiki. +

+ +

The test suite is for the +Progress Events specification. +

+ + + + + diff --git a/testing/web-platform/tests/progress-events/constructor.html b/testing/web-platform/tests/progress-events/constructor.html new file mode 100644 index 000000000..a99013a28 --- /dev/null +++ b/testing/web-platform/tests/progress-events/constructor.html @@ -0,0 +1,43 @@ + +ProgressEvent constructor + + +
+ diff --git a/testing/web-platform/tests/progress-events/interface.html b/testing/web-platform/tests/progress-events/interface.html new file mode 100644 index 000000000..850d1b23d --- /dev/null +++ b/testing/web-platform/tests/progress-events/interface.html @@ -0,0 +1,49 @@ + +The ProgressEvent interface + + +
+ diff --git a/testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-content-length.html b/testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-content-length.html new file mode 100644 index 000000000..d897a7110 --- /dev/null +++ b/testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-content-length.html @@ -0,0 +1,38 @@ + + + + ProgressEvent: firing events for HTTP with Content-Length + + + + + +
+ + + diff --git a/testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-no-content-length.html b/testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-no-content-length.html new file mode 100644 index 000000000..b30b03afe --- /dev/null +++ b/testing/web-platform/tests/progress-events/tests/submissions/Samsung/firing-events-http-no-content-length.html @@ -0,0 +1,38 @@ + + + + ProgressEvent: firing events for HTTP with no Content-Length + + + + + +
+ + + diff --git a/testing/web-platform/tests/progress-events/tests/submissions/Samsung/resources/no-content-length.py b/testing/web-platform/tests/progress-events/tests/submissions/Samsung/resources/no-content-length.py new file mode 100644 index 000000000..0b47ff146 --- /dev/null +++ b/testing/web-platform/tests/progress-events/tests/submissions/Samsung/resources/no-content-length.py @@ -0,0 +1,15 @@ +def main(request, response): + response.headers.update([('Transfer-Encoding', 'chunked'), + ('Content-Type', 'text/html'), + ('Connection', 'keep-alive')]) + response.write_status_headers() + response.explicit_flush = True + + string = "W3C" + for i in xrange(1000): + response.writer.write("%s\r\n%s\r\n" % (len(string), string)) + response.writer.flush(); + + response.writer.write("0\r\n\r\n") + response.writer.flush(); + -- cgit v1.2.3