Diff
Modified: trunk/LayoutTests/ChangeLog (236002 => 236003)
--- trunk/LayoutTests/ChangeLog 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/ChangeLog 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +1,12 @@
+2018-09-14 Ms2ger <ms2...@igalia.com>
+
+ Remove some obsolete XHR tests
+ https://bugs.webkit.org/show_bug.cgi?id=189581
+
+ Reviewed by Youenn Fablet.
+
+ * TestExpectations: Drop reference to removed test.
+
2018-09-13 Ryosuke Niwa <rn...@webkit.org>
Capturing event listeners are called during bubbling phase for shadow hosts
Modified: trunk/LayoutTests/TestExpectations (236002 => 236003)
--- trunk/LayoutTests/TestExpectations 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/TestExpectations 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1942,8 +1942,6 @@
webkit.org/b/90724 compositing/iframes/iframe-size-from-zero.html [ Failure Pass ]
-webkit.org/b/171031 imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl.htm [ Failure ]
-
webkit.org/b/172961 fast/mediacapturefromelement/CanvasCaptureMediaStream-2d-events.html [ Pass Timeout ]
webkit.org/b/172378 fast/loader/recursive-before-unload-crash.html [ Skip ]
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +1,42 @@
+2018-09-14 Ms2ger <ms2...@igalia.com>
+
+ Remove some obsolete XHR tests
+ https://bugs.webkit.org/show_bug.cgi?id=189581
+
+ Reviewed by Youenn Fablet.
+
+ These tests were removed upstream, but stuck around in WebKit.
+
+ * web-platform-tests/xhr/OWNERS: Removed.
+ * web-platform-tests/xhr/abort-during-open-expected.txt: Removed.
+ * web-platform-tests/xhr/abort-during-open.htm: Removed.
+ * web-platform-tests/xhr/abort-during-open.js: Removed.
+ * web-platform-tests/xhr/abort-during-open.worker-expected.txt: Removed.
+ * web-platform-tests/xhr/abort-during-open.worker.html: Removed.
+ * web-platform-tests/xhr/abort-during-open.worker.js: Removed.
+ * web-platform-tests/xhr/getallresponseheaders-cl-expected.txt: Removed.
+ * web-platform-tests/xhr/getallresponseheaders-cl.htm: Removed.
+ * web-platform-tests/xhr/interfaces-expected.txt: Removed.
+ * web-platform-tests/xhr/interfaces.html: Removed.
+ * web-platform-tests/xhr/open-url-bogus-expected.txt: Removed.
+ * web-platform-tests/xhr/open-url-bogus.htm: Removed.
+ * web-platform-tests/xhr/overridemimetype-done-state-expected.txt: Removed.
+ * web-platform-tests/xhr/overridemimetype-done-state.htm: Removed.
+ * web-platform-tests/xhr/readme.txt: Removed.
+ * web-platform-tests/xhr/responsetype-expected.txt: Removed.
+ * web-platform-tests/xhr/responsetype.html: Removed.
+ * web-platform-tests/xhr/send-non-same-origin.sub-expected.txt: Removed.
+ * web-platform-tests/xhr/send-non-same-origin.sub.htm: Removed.
+ * web-platform-tests/xhr/send-send-expected.txt: Removed.
+ * web-platform-tests/xhr/send-send.htm: Removed.
+ * web-platform-tests/xhr/send-send.js: Removed.
+ * web-platform-tests/xhr/send-send.worker-expected.txt: Removed.
+ * web-platform-tests/xhr/send-send.worker.html: Removed.
+ * web-platform-tests/xhr/send-send.worker.js: Removed.
+ * web-platform-tests/xhr/send-usp-expected.txt: Removed.
+ * web-platform-tests/xhr/send-usp.html: Removed.
+ * web-platform-tests/xhr/send-usp.js: Removed.
+
2018-09-12 Ryosuke Niwa <rn...@webkit.org>
Capturing event listeners are called during bubbling phase for shadow hosts
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/OWNERS (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/OWNERS 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/OWNERS 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,12 +0,0 @@
-@emilio
-@hallvors
-@kangxu
-@caitp
-@Manishearth
-@jungkees
-@ibelem
-@mathiasbynens
-@ronkorving
-@jdm
-@annevk
-@wisniewskit
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-
-PASS XMLHttpRequest: abort() during OPEN
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.htm (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.htm 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.htm 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,14 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>XMLHttpRequest: abort() during OPEN</title>
- <script src=""
- <script src=""
- <link rel="help" href="" data-tested-assertations="following-sibling::ol/li[4] following-sibling::ol/li[5]" />
- <link rel="help" href="" data-tested-assertations="following-sibling::ol/li[1]" />
- </head>
- <body>
- <div id="log"></div>
- <script src=""
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.js (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.js 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.js 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,18 +0,0 @@
-var test = async_test()
-test.step(function() {
- var client = new XMLHttpRequest()
- client.open("GET", "...")
- client._onreadystatechange_ = function() {
- test.step(function() {
- assert_unreached()
- })
- }
- assert_equals(client.readyState, 1, "before abort()")
- assert_equals(client.status, 0)
- assert_equals(client.statusText, "")
- client.abort()
- assert_equals(client.readyState, 1, "after abort()")
- assert_equals(client.status, 0)
- assert_equals(client.statusText, "")
-})
-test.done()
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-
-PASS Untitled
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker.html (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker.html 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker.html 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1 +0,0 @@
-<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker.js (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker.js 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/abort-during-open.worker.js 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-importScripts("/resources/testharness.js");
-importScripts("abort-during-open.js");
-done();
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,5 +0,0 @@
-
-PASS Casing of known headers
-FAIL Casing of known headers 1 assert_regexp_match: expected object "/content-TYPE/" but got "Host: localhost:8800\r\nContent-Type: x/x\r\nConnection: keep-alive\r\nTHIS-IS-A-TEST: 1, 2\r\nAccept: */*\r\nUser-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13) AppleWebKit/605.1.7+ (KHTML, like Gecko)\r\nReferer: http://localhost:8800/XMLHttpRequest/getallresponseheaders-cl.htm\r\nAccept-Language: en-us\r\nAccept-Encoding: gzip, deflate\r\n"
-PASS Casing of known headers 2
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl.htm (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl.htm 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/getallresponseheaders-cl.htm 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,27 +0,0 @@
-<!doctype html>
-<title>Casing of known headers</title>
-<script src=""
-<script src=""
-<script>
-test(() => {
- const client = new XMLHttpRequest
- client.open("GET", "resources/header-content-length.asis", false)
- client.send()
- assert_equals(client.getAllResponseHeaders(), "content-length: 0\r\n")
-})
-test(() => {
- const client = new XMLHttpRequest
- client.open("GET", "resources/echo-headers.py", false)
- client.setRequestHeader("THIS-IS-A-TEST", "1")
- client.setRequestHeader("THIS-is-A-test", "2")
- client.setRequestHeader("content-TYPE", "x/x")
- client.send()
- assert_regexp_match(client.responseText, /content-TYPE/)
- assert_regexp_match(client.responseText, /THIS-IS-A-TEST: 1, 2/)
-})
-promise_test(() => {
- return fetch("resources/echo-headers.py", {headers: [["THIS-is-A-test", 1], ["THIS-IS-A-TEST", 2]] }).then(res => res.text()).then(body => {
- assert_regexp_match(body, /THIS-is-A-test: 1, 2/)
- })
-})
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/interfaces-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/interfaces-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/interfaces-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,170 +0,0 @@
-CONSOLE MESSAGE: line 482: callback not yet supported
-CONSOLE MESSAGE: line 482: callback not yet supported
-XMLHttpRequest IDL tests
-
-
-PASS Test driver
-PASS XMLHttpRequestEventTarget interface: existence and properties of interface object
-PASS XMLHttpRequestEventTarget interface object length
-PASS XMLHttpRequestEventTarget interface object name
-PASS XMLHttpRequestEventTarget interface: existence and properties of interface prototype object
-PASS XMLHttpRequestEventTarget interface: existence and properties of interface prototype object's "constructor" property
-PASS XMLHttpRequestEventTarget interface: existence and properties of interface prototype object's @@unscopables property
-PASS XMLHttpRequestEventTarget interface: attribute onloadstart
-PASS XMLHttpRequestEventTarget interface: attribute onprogress
-PASS XMLHttpRequestEventTarget interface: attribute onabort
-PASS XMLHttpRequestEventTarget interface: attribute onerror
-PASS XMLHttpRequestEventTarget interface: attribute onload
-PASS XMLHttpRequestEventTarget interface: attribute ontimeout
-PASS XMLHttpRequestEventTarget interface: attribute onloadend
-PASS XMLHttpRequestUpload interface: existence and properties of interface object
-PASS XMLHttpRequestUpload interface object length
-PASS XMLHttpRequestUpload interface object name
-PASS XMLHttpRequestUpload interface: existence and properties of interface prototype object
-PASS XMLHttpRequestUpload interface: existence and properties of interface prototype object's "constructor" property
-PASS XMLHttpRequestUpload interface: existence and properties of interface prototype object's @@unscopables property
-PASS XMLHttpRequestUpload must be primary interface of (new XMLHttpRequest()).upload
-PASS Stringification of (new XMLHttpRequest()).upload
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadstart" with the proper type
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onprogress" with the proper type
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onabort" with the proper type
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onerror" with the proper type
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onload" with the proper type
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "ontimeout" with the proper type
-PASS XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadend" with the proper type
-PASS XMLHttpRequest interface: existence and properties of interface object
-PASS XMLHttpRequest interface object length
-PASS XMLHttpRequest interface object name
-PASS XMLHttpRequest interface: existence and properties of interface prototype object
-PASS XMLHttpRequest interface: existence and properties of interface prototype object's "constructor" property
-PASS XMLHttpRequest interface: existence and properties of interface prototype object's @@unscopables property
-PASS XMLHttpRequest interface: attribute onreadystatechange
-PASS XMLHttpRequest interface: constant UNSENT on interface object
-PASS XMLHttpRequest interface: constant UNSENT on interface prototype object
-PASS XMLHttpRequest interface: constant OPENED on interface object
-PASS XMLHttpRequest interface: constant OPENED on interface prototype object
-PASS XMLHttpRequest interface: constant HEADERS_RECEIVED on interface object
-PASS XMLHttpRequest interface: constant HEADERS_RECEIVED on interface prototype object
-PASS XMLHttpRequest interface: constant LOADING on interface object
-PASS XMLHttpRequest interface: constant LOADING on interface prototype object
-PASS XMLHttpRequest interface: constant DONE on interface object
-PASS XMLHttpRequest interface: constant DONE on interface prototype object
-PASS XMLHttpRequest interface: attribute readyState
-PASS XMLHttpRequest interface: operation open(ByteString, USVString)
-PASS XMLHttpRequest interface: operation open(ByteString, USVString, boolean, USVString, USVString)
-PASS XMLHttpRequest interface: operation setRequestHeader(ByteString, ByteString)
-PASS XMLHttpRequest interface: attribute timeout
-PASS XMLHttpRequest interface: attribute withCredentials
-PASS XMLHttpRequest interface: attribute upload
-PASS XMLHttpRequest interface: operation send([object Object],[object Object])
-PASS XMLHttpRequest interface: operation abort()
-PASS XMLHttpRequest interface: attribute responseURL
-PASS XMLHttpRequest interface: attribute status
-PASS XMLHttpRequest interface: attribute statusText
-PASS XMLHttpRequest interface: operation getResponseHeader(ByteString)
-PASS XMLHttpRequest interface: operation getAllResponseHeaders()
-PASS XMLHttpRequest interface: operation overrideMimeType(DOMString)
-PASS XMLHttpRequest interface: attribute responseType
-PASS XMLHttpRequest interface: attribute response
-PASS XMLHttpRequest interface: attribute responseText
-PASS XMLHttpRequest interface: attribute responseXML
-PASS XMLHttpRequest must be primary interface of new XMLHttpRequest()
-PASS Stringification of new XMLHttpRequest()
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "onreadystatechange" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "UNSENT" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "OPENED" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "HEADERS_RECEIVED" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "LOADING" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "DONE" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "readyState" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open(ByteString, USVString)" with the proper type
-PASS XMLHttpRequest interface: calling open(ByteString, USVString) on new XMLHttpRequest() with too few arguments must throw TypeError
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open(ByteString, USVString, boolean, USVString, USVString)" with the proper type
-PASS XMLHttpRequest interface: calling open(ByteString, USVString, boolean, USVString, USVString) on new XMLHttpRequest() with too few arguments must throw TypeError
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "setRequestHeader(ByteString, ByteString)" with the proper type
-PASS XMLHttpRequest interface: calling setRequestHeader(ByteString, ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "timeout" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "withCredentials" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "upload" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send([object Object],[object Object])" with the proper type
-PASS XMLHttpRequest interface: calling send([object Object],[object Object]) on new XMLHttpRequest() with too few arguments must throw TypeError
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "abort()" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseURL" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "status" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getResponseHeader(ByteString)" with the proper type
-PASS XMLHttpRequest interface: calling getResponseHeader(ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getAllResponseHeaders()" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType(DOMString)" with the proper type
-PASS XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseType" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "response" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseText" with the proper type
-PASS XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseXML" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadstart" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onprogress" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onabort" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onerror" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onload" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "ontimeout" with the proper type
-PASS XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadend" with the proper type
-PASS FormData interface: existence and properties of interface object
-PASS FormData interface object length
-PASS FormData interface object name
-PASS FormData interface: existence and properties of interface prototype object
-PASS FormData interface: existence and properties of interface prototype object's "constructor" property
-PASS FormData interface: existence and properties of interface prototype object's @@unscopables property
-PASS FormData interface: operation append(USVString, Blob, USVString)
-PASS FormData interface: operation append(USVString, USVString)
-PASS FormData interface: operation delete(USVString)
-PASS FormData interface: operation get(USVString)
-PASS FormData interface: operation getAll(USVString)
-PASS FormData interface: operation has(USVString)
-PASS FormData interface: operation set(USVString, Blob, USVString)
-PASS FormData interface: operation set(USVString, USVString)
-PASS FormData must be primary interface of new FormData()
-PASS Stringification of new FormData()
-PASS FormData interface: new FormData() must inherit property "append(USVString, Blob, USVString)" with the proper type
-PASS FormData interface: calling append(USVString, Blob, USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "append(USVString, USVString)" with the proper type
-PASS FormData interface: calling append(USVString, USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "delete(USVString)" with the proper type
-PASS FormData interface: calling delete(USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "get(USVString)" with the proper type
-PASS FormData interface: calling get(USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "getAll(USVString)" with the proper type
-PASS FormData interface: calling getAll(USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "has(USVString)" with the proper type
-PASS FormData interface: calling has(USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "set(USVString, Blob, USVString)" with the proper type
-PASS FormData interface: calling set(USVString, Blob, USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData interface: new FormData() must inherit property "set(USVString, USVString)" with the proper type
-PASS FormData interface: calling set(USVString, USVString) on new FormData() with too few arguments must throw TypeError
-PASS FormData must be primary interface of new FormData(form)
-PASS Stringification of new FormData(form)
-PASS FormData interface: new FormData(form) must inherit property "append(USVString, Blob, USVString)" with the proper type
-PASS FormData interface: calling append(USVString, Blob, USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "append(USVString, USVString)" with the proper type
-PASS FormData interface: calling append(USVString, USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "delete(USVString)" with the proper type
-PASS FormData interface: calling delete(USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "get(USVString)" with the proper type
-PASS FormData interface: calling get(USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "getAll(USVString)" with the proper type
-PASS FormData interface: calling getAll(USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "has(USVString)" with the proper type
-PASS FormData interface: calling has(USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "set(USVString, Blob, USVString)" with the proper type
-PASS FormData interface: calling set(USVString, Blob, USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS FormData interface: new FormData(form) must inherit property "set(USVString, USVString)" with the proper type
-PASS FormData interface: calling set(USVString, USVString) on new FormData(form) with too few arguments must throw TypeError
-PASS ProgressEvent interface: existence and properties of interface object
-PASS ProgressEvent interface object length
-PASS ProgressEvent interface object name
-PASS ProgressEvent interface: existence and properties of interface prototype object
-PASS ProgressEvent interface: existence and properties of interface prototype object's "constructor" property
-PASS ProgressEvent interface: existence and properties of interface prototype object's @@unscopables property
-PASS ProgressEvent interface: attribute lengthComputable
-PASS ProgressEvent interface: attribute loaded
-PASS ProgressEvent interface: attribute total
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/interfaces.html (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/interfaces.html 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/interfaces.html 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,136 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>XMLHttpRequest IDL tests</title>
-<script src=""
-<script src=""
-<script src=""
-<script src=""
-
-<h1>XMLHttpRequest IDL tests</h1>
-<div id=log></div>
-
-<script type=text/plain class=untested>
-[TreatNonCallableAsNull]
-callback EventHandlerNonNull = any (Event event);
-typedef EventHandlerNonNull? EventHandler;
-</script>
-<script type=text/plain>
-/*[Exposed=(Window,Worker)]*/
-interface XMLHttpRequestEventTarget : EventTarget {
- // event handlers
- attribute EventHandler onloadstart;
- attribute EventHandler onprogress;
- attribute EventHandler onabort;
- attribute EventHandler onerror;
- attribute EventHandler onload;
- attribute EventHandler ontimeout;
- attribute EventHandler onloadend;
-};
-
-/*[Exposed=(Window,Worker)]*/
-interface XMLHttpRequestUpload : XMLHttpRequestEventTarget {
-};
-
-enum XMLHttpRequestResponseType {
- "",
- "arraybuffer",
- "blob",
- "document",
- "json",
- "text"
-};
-
-[Constructor/*,
- Exposed=(Window,Worker)*/]
-interface XMLHttpRequest : XMLHttpRequestEventTarget {
- // event handler
- attribute EventHandler onreadystatechange;
-
- // states
- const unsigned short UNSENT = 0;
- const unsigned short OPENED = 1;
- const unsigned short HEADERS_RECEIVED = 2;
- const unsigned short LOADING = 3;
- const unsigned short DONE = 4;
- readonly attribute unsigned short readyState;
-
- // request
- void open(ByteString method, USVString url);
- void open(ByteString method, USVString url, boolean async, optional USVString? username = null, optional USVString? password = null);
- void setRequestHeader(ByteString name, ByteString value);
- attribute unsigned long timeout;
- attribute boolean withCredentials;
- readonly attribute XMLHttpRequestUpload upload;
- void send(optional (Document or BodyInit)? body = null);
- void abort();
-
- // response
- readonly attribute USVString responseURL;
- readonly attribute unsigned short status;
- readonly attribute ByteString statusText;
- ByteString? getResponseHeader(ByteString name);
- ByteString getAllResponseHeaders();
- void overrideMimeType(DOMString mime);
- attribute XMLHttpRequestResponseType responseType;
- readonly attribute any response;
- readonly attribute USVString responseText;
- [Exposed=Window] readonly attribute Document? responseXML;
-};
-
-typedef (File or USVString) FormDataEntryValue;
-
-[Constructor(optional HTMLFormElement form)/*,
- Exposed=(Window,Worker)*/]
-interface FormData {
- void append(USVString name, Blob value, optional USVString filename);
- void append(USVString name, USVString value);
- void delete(USVString name);
- FormDataEntryValue? get(USVString name);
- sequence<FormDataEntryValue> getAll(USVString name);
- boolean has(USVString name);
- void set(USVString name, Blob value, optional USVString filename);
- void set(USVString name, USVString value);
- /*iterable<USVString, FormDataEntryValue>;*/
-};
-
-[Constructor(DOMString type, optional ProgressEventInit eventInitDict)/*,
- Exposed=(Window,Worker)*/]
-interface ProgressEvent : Event {
- readonly attribute boolean lengthComputable;
- readonly attribute unsigned long long loaded;
- readonly attribute unsigned long long total;
-};
-
-dictionary ProgressEventInit : EventInit {
- boolean lengthComputable = false;
- unsigned long long loaded = 0;
- unsigned long long total = 0;
-};
-</script>
-<script>
-"use strict";
-var form = document.createElement("form");
-var idlArray = new IdlArray();
-
-function doTest(domIdl) {
- idlArray.add_untested_idls(domIdl);
- [].forEach.call(document.querySelectorAll("script[type=text\\/plain]"), function(node) {
- if (node.className == "untested") {
- idlArray.add_untested_idls(node.textContent);
- } else {
- idlArray.add_idls(node.textContent);
- }
- });
- idlArray.add_objects({
- XMLHttpRequest: ['new XMLHttpRequest()'],
- XMLHttpRequestUpload: ['(new XMLHttpRequest()).upload'],
- FormData: ['new FormData()', 'new FormData(form)']
- });
- idlArray.test();
-}
-
-promise_test(function() {
- return fetch("/interfaces/dom.idl").then(response => response.text())
- .then(doTest);
-}, "Test driver");
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/open-url-bogus-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/open-url-bogus-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/open-url-bogus-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,7 +0,0 @@
-
-PASS XMLHttpRequest: open() - bogus URLs (//[)
-FAIL XMLHttpRequest: open() - bogus URLs (ftp:) assert_throws: function "function () { client.open("GET", url) }" did not throw
-PASS XMLHttpRequest: open() - bogus URLs (http://a a/)
-PASS XMLHttpRequest: open() - bogus URLs (http:////////////)
-PASS XMLHttpRequest: open() - bogus URLs (http://u:p@/)
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/open-url-bogus.htm (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/open-url-bogus.htm 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/open-url-bogus.htm 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>XMLHttpRequest: open() - bogus URLs</title>
- <script src=""
- <script src=""
- <link rel="help" href="" data-tested-assertations="following::ol/li[7] following::ol/li[8]" />
- </head>
- <body>
- <div id="log"></div>
- <script>
- function url(url) {
- test(function() {
- var client = new XMLHttpRequest()
- assert_throws("SyntaxError", function() { client.open("GET", url) })
- }, document.title + " (" + url + ")")
- }
- url("//[")
- url("ftp:")
- url("http://a a/")
- url("http:////////////")
- url("http://u:p@/")
- </script>
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/overridemimetype-done-state-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/overridemimetype-done-state-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/overridemimetype-done-state-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-
-PASS XMLHttpRequest: overrideMimeType() in DONE state
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/overridemimetype-done-state.htm (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/overridemimetype-done-state.htm 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/overridemimetype-done-state.htm 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,26 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>XMLHttpRequest: overrideMimeType() in DONE state</title>
- <meta charset="utf-8">
- <script src=""
- <script src=""
- <link rel="help" href="" data-tested-assertations="/following::ol/li[1]" />
- </head>
- <body>
- <div id="log"></div>
- <script>
- var test = async_test();
- var client = new XMLHttpRequest();
- client._onreadystatechange_ = test.step_func( function() {
- if (client.readyState !== 4) return;
- assert_throws("InvalidStateError", function() { client.overrideMimeType('application/xml;charset=Shift-JIS'); });
- assert_equals(client.responseXML, null);
- test.done();
- });
- client.open("GET", "resources/status.py?type="+encodeURIComponent('text/plain;charset=iso-8859-1')+'&content=%3Cmsg%3E%83%65%83%58%83%67%3C%2Fmsg%3E');
- client.send();
- </script>
-
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/readme.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/readme.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/readme.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,31 +0,0 @@
-Currently this testsuite tries to provide tests for XMLHttpRequest level 1.
-This test suite is not stable and is still under development. Tests may
-contain bugs and may change over time as a result of those bugs being fixed.
-
-When more browsers implement XMLHttpRequest level 2 this testsuite will
-slowly evolve most likely.
-
- http://dev.w3.org/2006/webapi/XMLHttpRequest/
- http://dev.w3.org/2006/webapi/XMLHttpRequest-2/
-
-If the folders above give the status of the feature tested you can assume
-this is against level 1 unless explicitly stated otherwise.
-
-NOTE: readyState and onreadystatechange are tested throughout the various
-tests. statusText is tested together with status.
-
-NOTE: open-url-base* have absolute paths in them. They need to be adjusted
-on a per location basis.
-
-NOTE: open-url-base-inserted-after-open.htm, open-url-base-inserted.htm,
-send-authentication.htm and open-url-base.htm refer to localhost.
-
-
-TESTS THAT ARE UNSTABLE AND (PROBABLY) NEED CHANGES
- responsexml-basic (see email WHATWG)
- send-authentication (see "user:password" debacle)
-
-
-TESTS NOT STARTED ON YET
-
-<iframe> document.domain = w3.org create cross-origin xhr object
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/responsetype-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/responsetype-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/responsetype-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,51 +0,0 @@
-CONSOLE MESSAGE: line 1253: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.
-CONSOLE MESSAGE: line 1253: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.
-CONSOLE MESSAGE: line 1253: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.
-CONSOLE MESSAGE: line 1253: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.
-CONSOLE MESSAGE: line 1253: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.
-CONSOLE MESSAGE: line 1253: XMLHttpRequest.responseType cannot be changed for synchronous HTTP(S) requests made from the window context.
-
-PASS Initial value of responseType
-PASS Set responseType to "" when readyState is UNSENT.
-PASS Set responseType to "" when readyState is OPENED.
-PASS Set responseType to "" when readyState is HEADERS_RECEIVED.
-PASS Set responseType to "" when readyState is LOADING.
-PASS Set responseType to "" when readyState is DONE.
-PASS Set responseType to "" when readyState is OPENED and the sync flag is set.
-PASS Set responseType to "" when readyState is DONE and the sync flag is set.
-PASS Set responseType to "json" when readyState is UNSENT.
-PASS Set responseType to "json" when readyState is OPENED.
-PASS Set responseType to "json" when readyState is HEADERS_RECEIVED.
-PASS Set responseType to "json" when readyState is LOADING.
-PASS Set responseType to "json" when readyState is DONE.
-PASS Set responseType to "json" when readyState is OPENED and the sync flag is set.
-PASS Set responseType to "json" when readyState is DONE and the sync flag is set.
-PASS Set responseType to "document" when readyState is UNSENT.
-PASS Set responseType to "document" when readyState is OPENED.
-PASS Set responseType to "document" when readyState is HEADERS_RECEIVED.
-PASS Set responseType to "document" when readyState is LOADING.
-PASS Set responseType to "document" when readyState is DONE.
-PASS Set responseType to "document" when readyState is OPENED and the sync flag is set.
-PASS Set responseType to "document" when readyState is DONE and the sync flag is set.
-PASS Set responseType to "arraybuffer" when readyState is UNSENT.
-PASS Set responseType to "arraybuffer" when readyState is OPENED.
-PASS Set responseType to "arraybuffer" when readyState is HEADERS_RECEIVED.
-PASS Set responseType to "arraybuffer" when readyState is LOADING.
-PASS Set responseType to "arraybuffer" when readyState is DONE.
-PASS Set responseType to "arraybuffer" when readyState is OPENED and the sync flag is set.
-PASS Set responseType to "arraybuffer" when readyState is DONE and the sync flag is set.
-PASS Set responseType to "blob" when readyState is UNSENT.
-PASS Set responseType to "blob" when readyState is OPENED.
-PASS Set responseType to "blob" when readyState is HEADERS_RECEIVED.
-PASS Set responseType to "blob" when readyState is LOADING.
-PASS Set responseType to "blob" when readyState is DONE.
-PASS Set responseType to "blob" when readyState is OPENED and the sync flag is set.
-PASS Set responseType to "blob" when readyState is DONE and the sync flag is set.
-PASS Set responseType to "text" when readyState is UNSENT.
-PASS Set responseType to "text" when readyState is OPENED.
-PASS Set responseType to "text" when readyState is HEADERS_RECEIVED.
-PASS Set responseType to "text" when readyState is LOADING.
-PASS Set responseType to "text" when readyState is DONE.
-PASS Set responseType to "text" when readyState is OPENED and the sync flag is set.
-PASS Set responseType to "text" when readyState is DONE and the sync flag is set.
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/responsetype.html (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/responsetype.html 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/responsetype.html 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,96 +0,0 @@
-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>XMLHttpRequest.responseType</title>
-<link rel="author" title="Mathias Bynens" href=""
-<link rel="author" title="Ms2ger" href=""
-<link rel="help" href=""
-<script src=""
-<script src=""
-<div id="log"></div>
-<script>
-test(function() {
- var xhr = new XMLHttpRequest();
- assert_equals(xhr.responseType, '');
-}, 'Initial value of responseType');
-
-var types = ['', 'json', 'document', 'arraybuffer', 'blob', 'text'];
-types.forEach(function(type) {
- test(function() {
- var xhr = new XMLHttpRequest();
- xhr.responseType = type;
- assert_equals(xhr.responseType, type);
- }, 'Set responseType to ' + format_value(type) + ' when readyState is UNSENT.');
-
- test(function() {
- var xhr = new XMLHttpRequest();
- xhr.open('get', '/');
- xhr.responseType = type;
- assert_equals(xhr.responseType, type);
- }, 'Set responseType to ' + format_value(type) + ' when readyState is OPENED.');
-
- async_test(function() {
- var xhr = new XMLHttpRequest();
- xhr.open('get', '/');
- xhr._onreadystatechange_ = this.step_func(function() {
- if (xhr.readyState === XMLHttpRequest.HEADERS_RECEIVED) {
- xhr.responseType = type;
- assert_equals(xhr.responseType, type);
- this.done();
- }
- });
- xhr.send();
- }, 'Set responseType to ' + format_value(type) + ' when readyState is HEADERS_RECEIVED.');
-
- async_test(function() {
- var xhr = new XMLHttpRequest();
- xhr.open('get', '/');
- xhr._onreadystatechange_ = this.step_func(function() {
- if (xhr.readyState === XMLHttpRequest.LOADING) {
- assert_throws("InvalidStateError", function() {
- xhr.responseType = type;
- });
- assert_equals(xhr.responseType, "");
- this.done();
- }
- });
- xhr.send();
- }, 'Set responseType to ' + format_value(type) + ' when readyState is LOADING.');
-
- async_test(function() {
- var xhr = new XMLHttpRequest();
- xhr.open('get', '/');
- xhr._onreadystatechange_ = this.step_func(function() {
- if (xhr.readyState === XMLHttpRequest.DONE) {
- assert_throws("InvalidStateError", function() {
- xhr.responseType = type;
- });
- assert_equals(xhr.responseType, "");
- this.done();
- }
- });
- xhr.send();
- }, 'Set responseType to ' + format_value(type) + ' when readyState is DONE.');
-
- // Note: the case of setting responseType first, and then calling synchronous
- // open(), is tested in open-method-responsetype-set-sync.htm.
- test(function() {
- var xhr = new XMLHttpRequest();
- xhr.open('get', '/', false);
- assert_throws("InvalidAccessError", function() {
- xhr.responseType = type;
- });
- assert_equals(xhr.responseType, "");
- }, 'Set responseType to ' + format_value(type) + ' when readyState is OPENED and the sync flag is set.');
-
- test(function() {
- var xhr = new XMLHttpRequest();
- xhr.open('get', '/', false);
- xhr.send();
- assert_equals(xhr.readyState, XMLHttpRequest.DONE);
- assert_throws("InvalidStateError", function() {
- xhr.responseType = type;
- });
- assert_equals(xhr.responseType, "");
- }, 'Set responseType to ' + format_value(type) + ' when readyState is DONE and the sync flag is set.');
-});
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-non-same-origin.sub-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-non-same-origin.sub-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-non-same-origin.sub-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,17 +0,0 @@
-CONSOLE MESSAGE: line 23: Cross origin requests are only supported for HTTP.
-CONSOLE MESSAGE: line 23: XMLHttpRequest cannot load mailto:t...@example.org due to access control checks.
-CONSOLE MESSAGE: line 23: Cross origin requests are only supported for HTTP.
-CONSOLE MESSAGE: line 23: XMLHttpRequest cannot load tel:+31600000000 due to access control checks.
-CONSOLE MESSAGE: line 23: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: line 23: XMLHttpRequest cannot load http://127.0.0.1:8800/ due to access control checks.
-CONSOLE MESSAGE: line 23: Cross origin requests are only supported for HTTP.
-CONSOLE MESSAGE: line 23: XMLHttpRequest cannot load _javascript_:alert('FAIL') due to access control checks.
-CONSOLE MESSAGE: line 23: Origin http://localhost:8800 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: line 23: XMLHttpRequest cannot load http://127.0.0.1:8800/folder.txt due to access control checks.
-
-PASS XMLHttpRequest: send() - non same-origin (mailto:t...@example.org)
-PASS XMLHttpRequest: send() - non same-origin (tel:+31600000000)
-PASS XMLHttpRequest: send() - non same-origin (http://127.0.0.1:8800)
-PASS XMLHttpRequest: send() - non same-origin (_javascript_:alert('FAIL'))
-PASS XMLHttpRequest: send() - non same-origin (folder.txt)
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-non-same-origin.sub.htm (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-non-same-origin.sub.htm 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-non-same-origin.sub.htm 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>XMLHttpRequest: send() - non same-origin</title>
- <script src=""
- <script src=""
- <base>
- <link rel="help" href="" data-tested-assertations="/following::DL[2]/DT[1] /following::DL[2]/DD[1]" />
- <link rel="help" href="" data-tested-assertations="/following::DL[1]/DT[2] /following::DL[1]/DD[2]" />
- </head>
- <body>
- <div id="log"></div>
- <script src=""
- <script>
- // Setting base URL before running the tests
- var host_info = get_host_info();
- document.getElementsByTagName("base")[0].setAttribute("href", host_info.HTTP_REMOTE_ORIGIN);
-
- function url(url) {
- test(function() {
- var client = new XMLHttpRequest()
- client.open("GET", url, false)
- assert_throws("NetworkError", function() { client.send() })
- }, document.title + " (" + url + ")")
- }
- url("mailto:t...@example.org")
- url("tel:+31600000000")
- url(host_info.HTTP_REMOTE_ORIGIN)
- url("_javascript_:alert('FAIL')")
- url("folder.txt")
- </script>
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-
-PASS XMLHttpRequest: send() - send()
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.htm (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.htm 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.htm 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,13 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>XMLHttpRequest: send() - send()</title>
- <script src=""
- <script src=""
- <link rel="help" href="" data-tested-assertations="following::ol/li[2]" />
- </head>
- <body>
- <div id="log"></div>
- <script src=""
- </body>
-</html>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.js (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.js 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.js 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,7 +0,0 @@
-test(function() {
- var client = new XMLHttpRequest()
- client.open("GET", "resources/well-formed.xml")
- client.send(null)
- assert_throws("InvalidStateError", function() { client.send(null) })
- client.abort()
-})
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-
-PASS Untitled
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker.html (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker.html 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker.html 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1 +0,0 @@
-<!-- This file is required for WebKit test infrastructure to run the templated test -->
\ No newline at end of file
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker.js (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker.js 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-send.worker.js 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,3 +0,0 @@
-importScripts("/resources/testharness.js");
-importScripts("send-send.js");
-done();
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp-expected.txt (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp-expected.txt 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp-expected.txt 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,131 +0,0 @@
-
-PASS Overall fetch with URLSearchParams
-PASS XMLHttpRequest.send(URLSearchParams) (0)
-PASS XMLHttpRequest.send(URLSearchParams) (1)
-PASS XMLHttpRequest.send(URLSearchParams) (2)
-PASS XMLHttpRequest.send(URLSearchParams) (3)
-PASS XMLHttpRequest.send(URLSearchParams) (4)
-PASS XMLHttpRequest.send(URLSearchParams) (5)
-PASS XMLHttpRequest.send(URLSearchParams) (6)
-PASS XMLHttpRequest.send(URLSearchParams) (7)
-PASS XMLHttpRequest.send(URLSearchParams) (8)
-PASS XMLHttpRequest.send(URLSearchParams) (9)
-PASS XMLHttpRequest.send(URLSearchParams) (10)
-PASS XMLHttpRequest.send(URLSearchParams) (11)
-PASS XMLHttpRequest.send(URLSearchParams) (12)
-PASS XMLHttpRequest.send(URLSearchParams) (13)
-PASS XMLHttpRequest.send(URLSearchParams) (14)
-PASS XMLHttpRequest.send(URLSearchParams) (15)
-PASS XMLHttpRequest.send(URLSearchParams) (16)
-PASS XMLHttpRequest.send(URLSearchParams) (17)
-PASS XMLHttpRequest.send(URLSearchParams) (18)
-PASS XMLHttpRequest.send(URLSearchParams) (19)
-PASS XMLHttpRequest.send(URLSearchParams) (20)
-PASS XMLHttpRequest.send(URLSearchParams) (21)
-PASS XMLHttpRequest.send(URLSearchParams) (22)
-PASS XMLHttpRequest.send(URLSearchParams) (23)
-PASS XMLHttpRequest.send(URLSearchParams) (24)
-PASS XMLHttpRequest.send(URLSearchParams) (25)
-PASS XMLHttpRequest.send(URLSearchParams) (26)
-PASS XMLHttpRequest.send(URLSearchParams) (27)
-PASS XMLHttpRequest.send(URLSearchParams) (28)
-PASS XMLHttpRequest.send(URLSearchParams) (29)
-PASS XMLHttpRequest.send(URLSearchParams) (30)
-PASS XMLHttpRequest.send(URLSearchParams) (31)
-PASS XMLHttpRequest.send(URLSearchParams) (32)
-PASS XMLHttpRequest.send(URLSearchParams) (33)
-PASS XMLHttpRequest.send(URLSearchParams) (34)
-PASS XMLHttpRequest.send(URLSearchParams) (35)
-PASS XMLHttpRequest.send(URLSearchParams) (36)
-PASS XMLHttpRequest.send(URLSearchParams) (37)
-PASS XMLHttpRequest.send(URLSearchParams) (38)
-PASS XMLHttpRequest.send(URLSearchParams) (39)
-PASS XMLHttpRequest.send(URLSearchParams) (40)
-PASS XMLHttpRequest.send(URLSearchParams) (41)
-PASS XMLHttpRequest.send(URLSearchParams) (42)
-PASS XMLHttpRequest.send(URLSearchParams) (43)
-PASS XMLHttpRequest.send(URLSearchParams) (44)
-PASS XMLHttpRequest.send(URLSearchParams) (45)
-PASS XMLHttpRequest.send(URLSearchParams) (46)
-PASS XMLHttpRequest.send(URLSearchParams) (47)
-PASS XMLHttpRequest.send(URLSearchParams) (48)
-PASS XMLHttpRequest.send(URLSearchParams) (49)
-PASS XMLHttpRequest.send(URLSearchParams) (50)
-PASS XMLHttpRequest.send(URLSearchParams) (51)
-PASS XMLHttpRequest.send(URLSearchParams) (52)
-PASS XMLHttpRequest.send(URLSearchParams) (53)
-PASS XMLHttpRequest.send(URLSearchParams) (54)
-PASS XMLHttpRequest.send(URLSearchParams) (55)
-PASS XMLHttpRequest.send(URLSearchParams) (56)
-PASS XMLHttpRequest.send(URLSearchParams) (57)
-PASS XMLHttpRequest.send(URLSearchParams) (58)
-PASS XMLHttpRequest.send(URLSearchParams) (59)
-PASS XMLHttpRequest.send(URLSearchParams) (60)
-PASS XMLHttpRequest.send(URLSearchParams) (61)
-PASS XMLHttpRequest.send(URLSearchParams) (62)
-PASS XMLHttpRequest.send(URLSearchParams) (63)
-PASS XMLHttpRequest.send(URLSearchParams) (64)
-PASS XMLHttpRequest.send(URLSearchParams) (65)
-PASS XMLHttpRequest.send(URLSearchParams) (66)
-PASS XMLHttpRequest.send(URLSearchParams) (67)
-PASS XMLHttpRequest.send(URLSearchParams) (68)
-PASS XMLHttpRequest.send(URLSearchParams) (69)
-PASS XMLHttpRequest.send(URLSearchParams) (70)
-PASS XMLHttpRequest.send(URLSearchParams) (71)
-PASS XMLHttpRequest.send(URLSearchParams) (72)
-PASS XMLHttpRequest.send(URLSearchParams) (73)
-PASS XMLHttpRequest.send(URLSearchParams) (74)
-PASS XMLHttpRequest.send(URLSearchParams) (75)
-PASS XMLHttpRequest.send(URLSearchParams) (76)
-PASS XMLHttpRequest.send(URLSearchParams) (77)
-PASS XMLHttpRequest.send(URLSearchParams) (78)
-PASS XMLHttpRequest.send(URLSearchParams) (79)
-PASS XMLHttpRequest.send(URLSearchParams) (80)
-PASS XMLHttpRequest.send(URLSearchParams) (81)
-PASS XMLHttpRequest.send(URLSearchParams) (82)
-PASS XMLHttpRequest.send(URLSearchParams) (83)
-PASS XMLHttpRequest.send(URLSearchParams) (84)
-PASS XMLHttpRequest.send(URLSearchParams) (85)
-PASS XMLHttpRequest.send(URLSearchParams) (86)
-PASS XMLHttpRequest.send(URLSearchParams) (87)
-PASS XMLHttpRequest.send(URLSearchParams) (88)
-PASS XMLHttpRequest.send(URLSearchParams) (89)
-PASS XMLHttpRequest.send(URLSearchParams) (90)
-PASS XMLHttpRequest.send(URLSearchParams) (91)
-PASS XMLHttpRequest.send(URLSearchParams) (92)
-PASS XMLHttpRequest.send(URLSearchParams) (93)
-PASS XMLHttpRequest.send(URLSearchParams) (94)
-PASS XMLHttpRequest.send(URLSearchParams) (95)
-PASS XMLHttpRequest.send(URLSearchParams) (96)
-PASS XMLHttpRequest.send(URLSearchParams) (97)
-PASS XMLHttpRequest.send(URLSearchParams) (98)
-PASS XMLHttpRequest.send(URLSearchParams) (99)
-PASS XMLHttpRequest.send(URLSearchParams) (100)
-PASS XMLHttpRequest.send(URLSearchParams) (101)
-PASS XMLHttpRequest.send(URLSearchParams) (102)
-PASS XMLHttpRequest.send(URLSearchParams) (103)
-PASS XMLHttpRequest.send(URLSearchParams) (104)
-PASS XMLHttpRequest.send(URLSearchParams) (105)
-PASS XMLHttpRequest.send(URLSearchParams) (106)
-PASS XMLHttpRequest.send(URLSearchParams) (107)
-PASS XMLHttpRequest.send(URLSearchParams) (108)
-PASS XMLHttpRequest.send(URLSearchParams) (109)
-PASS XMLHttpRequest.send(URLSearchParams) (110)
-PASS XMLHttpRequest.send(URLSearchParams) (111)
-PASS XMLHttpRequest.send(URLSearchParams) (112)
-PASS XMLHttpRequest.send(URLSearchParams) (113)
-PASS XMLHttpRequest.send(URLSearchParams) (114)
-PASS XMLHttpRequest.send(URLSearchParams) (115)
-PASS XMLHttpRequest.send(URLSearchParams) (116)
-PASS XMLHttpRequest.send(URLSearchParams) (117)
-PASS XMLHttpRequest.send(URLSearchParams) (118)
-PASS XMLHttpRequest.send(URLSearchParams) (119)
-PASS XMLHttpRequest.send(URLSearchParams) (120)
-PASS XMLHttpRequest.send(URLSearchParams) (121)
-PASS XMLHttpRequest.send(URLSearchParams) (122)
-PASS XMLHttpRequest.send(URLSearchParams) (123)
-PASS XMLHttpRequest.send(URLSearchParams) (124)
-PASS XMLHttpRequest.send(URLSearchParams) (125)
-PASS XMLHttpRequest.send(URLSearchParams) (126)
-PASS XMLHttpRequest.send(URLSearchParams) (127)
-
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp.html (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp.html 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp.html 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,10 +0,0 @@
-<!DOCTYPE html>
-<meta charset=utf-8>
-<title>XMLHttpRequest.send(URLSearchParams)</title>
-<script src=""
-<script src=""
-<script src=""
-<div id="log"></div>
-<script>
-run_test();
-</script>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp.js (236002 => 236003)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp.js 2018-09-14 05:56:19 UTC (rev 236002)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/xhr/send-usp.js 2018-09-14 07:20:01 UTC (rev 236003)
@@ -1,48 +0,0 @@
-const NUM_TESTS = 128;
-
-function encode(n) {
- if (n === 0x20) {
- return "\x2B";
- }
-
- if (n === 0x2A || n === 0x2D || n === 0x2E ||
- (0x30 <= n && n <= 0x39) || (0x41 <= n && n <= 0x5A) ||
- n === 0x5F || (0x61 <= n && n <= 0x7A)) {
- return String.fromCharCode(n);
- }
-
- var s = n.toString(16).toUpperCase();
- return "%" + (s.length === 2 ? s : '0' + s);
-}
-
-function run_test() {
- var tests = [];
- var overall_test = async_test("Overall fetch with URLSearchParams");
- for (var i = 0; i < NUM_TESTS; i++) {
- // Multiple subtests so that failures can be fine-grained
- tests[i] = async_test("XMLHttpRequest.send(URLSearchParams) (" + i + ")");
- }
-
- // We use a single XHR since this test tends to time out
- // with 128 consecutive fetches when run in parallel
- // with many other WPT tests.
- var x = new XMLHttpRequest();
- x._onload_ = overall_test.step_func(function() {
- var response_split = x.response.split("&");
- overall_test.done();
- for (var i = 0; i < NUM_TESTS; i++) {
- tests[i].step(function() {
- assert_equals(response_split[i], "a" + i + "="+encode(i));
- tests[i].done();
- });
- }
- });
- x._onerror_ = overall_test.unreached_func();
-
- x.open("POST", "resources/content.py");
- var usp = new URLSearchParams();
- for (var i = 0; i < NUM_TESTS; i++) {
- usp.append("a" + i, String.fromCharCode(i));
- }
- x.send(usp)
-}