Cargoify servo

This commit is contained in:
Jack Moffitt 2014-08-28 09:34:23 -06:00
parent db2f642c32
commit c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions

103
tests/wpt/README.md Normal file
View file

@ -0,0 +1,103 @@
This folder contains the web platform tests and the code required to integrate
them with Servo.
Contents
========
In particular, this folder contains:
* `config.ini`: some configuration for the wpt libraries;
* `include.ini`: the subset of tests we currently run;
* `run.py` and `run.sh`: glue code to run the tests in Servo;
* `metadata`: expected failures for the tests we run;
* `web-platform-tests`: submodule pointer to the actual tests.
Running the tests
=================
The simplest way to run the tests in Servo is `make check-wpt` in the build
directory. This will run the subset of JavaScript tests defined in
`include.ini` and log the output to stdout.
Options can be passed through to `run.sh` by using the `WPTARGS` environment
variable. Some useful options are:
* `--include`: specifies which test(s) to run.
For example, `--include=/dom` runs all the DOM tests, `--include=/dom/errors`
runs all the DOM error tests and
`--include=/dom/errors/DOMException-constants.html` runs one specific test.
(Note that this overrides `include.ini` completely.)
* `--processes`: specifies the number of parallel processes to use (default 1).
When this argument is passed, the runner will spawn multiple instances of
Servo simultaneously to run multiple tests in parallel for more efficiency
(especially on multi-core processors).
Running the tests without make
------------------------------
When avoiding `make` for some reason, one can run `run.py` directly. However,
this requires in the first place that the virtualenv has been set up (which can
be done by running `make check-wpt` in advance). Then run from the build
directory:
source _virtualenv/bin/activate
python $srcdir/src/test/wpt/run.py --config srcdir/src/test/wpt/config.ini
with any other desired arguments.
Running the tests manually
--------------------------
It can be useful to run a test without the interference of the test runner, for
example when using a debugger such as `gdb`. In that case, start the server by
first adding the following to the system's hosts file:
127.0.0.1 www.web-platform.test
127.0.0.1 www1.web-platform.test
127.0.0.1 www2.web-platform.test
127.0.0.1 web-platform.test
127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test
127.0.0.1 xn--lve-6lad.web-platform.test
and then running `python serve.py` from `src/tests/wpt/web-platform-tests`.
Then navigate Servo to `http://web-platform.test:8000/path/to/test`.
Updating test expectations
==========================
When fixing a bug that causes the result of a test to change, the expected
results for that test need to be changed. This can be done manually, by editing
the `.ini` file under the `metadata` folder that corresponds to the test. In
this case, remove the references to tests whose expectation is now `PASS`, and
remove `.ini` files that no longer contain any expectations.
When a larger number of changes is required, this process can be automated.
This first requires saving the raw, unformatted log from a test run, for
example by running `WPTARGS=--log-raw /tmp/servo.log make check-wpt`. Once the
log is saved, run from the build directory:
source _virtualenv/bin/activate
_virtualenv/bin/wptupdate \
--ignore-existing \
--config $srcdir/src/test/wpt/config.ini \
/tmp/servo.log
This will update the `.ini` files under the `metadata` folder; commit those
changes along with the code changes that require them.
Updating the upstream tests
===========================
In order to update the upstream tests, fetch the latest commits on the `master`
branch of the upstream `git@github.com:w3c/web-platform-tests.git` repository.
and create a new branch `servo_[current date]` with those commits. Then
cherry-pick our changes to the `resources` submodule; those should be the
latest commits on the branch currently used by Servo. If the `resources`
submodule has been updated upstream, this will also require cherry-picking the
changes there. Finally, push the `servo_[current date]` to our fork at
`git@github.com:servo/web-platform-tests.git` and create a pull request to the
Servo repository with:
* the submodule pointer update;
* an update to `MANIFEST.json` generated by running `tools/scripts/manifest.py`
in web-platform-tests;
* the updated test expectations.

11
tests/wpt/config.ini Normal file
View file

@ -0,0 +1,11 @@
[products]
servo =
[web-platform-tests]
remote_url = https://github.com/w3c/web-platform-tests.git
branch = master
sync_path = web-platform-tests
[paths]
tests = web-platform-tests
metadata = metadata

79
tests/wpt/include.ini Normal file
View file

@ -0,0 +1,79 @@
skip: true
[dom]
skip: false
[html]
skip: false
[browsers]
skip: false
[browsing-the-web]
skip: false
[unloading-documents]
skip: true
[history]
skip: false
[the-history-interface]
skip: true
[offline]
skip: true
[dom]
skip: false
[dynamic-markup-insertion]
skip: true
[editing]
skip: true
[infrastructure]
skip: false
[urls]
skip: false
[resolving-urls]
skip: true
[rendering]
skip: true
[semantics]
skip: false
[embedded-content]
skip: false
[the-ol-element]
skip: false
[grouping-ol]
skip: true
[the-li-element]
skip: false
[grouping-li]
skip: true
[media-elements]
skip: true
[the-audio-element]
skip: true
[the-video-element]
skip: true
[scripting-1]
skip: false
[the-template-element]
skip: true
[syntax]
skip: false
[parsing]
skip: true
[parsing-html-fragments]
skip: true
[webappapis]
skip: false
[system-state-and-capabilities]
skip: true
[workers]
skip: false
[constructors]
skip: false
[SharedWorker]
skip: true
[semantics]
skip: false
[navigation]
skip: true
[reporting-errors]
skip: true
[structured-clone]
skip: true
[XMLHttpRequest]
skip: false

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
[FormData-append.html]
type: testharness
[Passing a String object to FormData.append should work.]
expected: FAIL

View file

@ -0,0 +1,5 @@
[abort-after-stop.htm]
type: testharness
[XMLHttpRequest: abort event should fire when stop() method is used]
expected: FAIL

View file

@ -0,0 +1,6 @@
[anonymous-mode-unsupported.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: anonymous mode unsupported]
expected: TIMEOUT

View file

@ -0,0 +1,30 @@
[data-uri-basic.htm]
type: testharness
expected: TIMEOUT
[GET responseText]
expected: TIMEOUT
[GET Content-Type]
expected: TIMEOUT
[GET Content-Type with param]
expected: TIMEOUT
[GET getAllResponseHeaders]
expected: TIMEOUT
[POST responseText]
expected: TIMEOUT
[POST status]
expected: TIMEOUT
[GET responseText base64]
expected: TIMEOUT
[GET status]
expected: TIMEOUT
[GET statusText]
expected: TIMEOUT

View file

@ -0,0 +1,30 @@
[data-uri.htm]
type: testharness
expected: TIMEOUT
[XHR method GET with charset text/plain]
expected: TIMEOUT
[XHR method GET with charset text/plain (base64)]
expected: TIMEOUT
[XHR method GET with charset text/html]
expected: TIMEOUT
[XHR method GET with charset image/png]
expected: TIMEOUT
[XHR method POST with charset text/plain]
expected: TIMEOUT
[XHR method PUT with charset text/plain]
expected: TIMEOUT
[XHR method DELETE with charset text/plain]
expected: TIMEOUT
[XHR method HEAD with charset text/plain]
expected: TIMEOUT
[XHR method UNICORN with charset text/plain]
expected: TIMEOUT

View file

@ -0,0 +1,8 @@
[formdata-blob.htm]
type: testharness
[formdata with blob]
expected: FAIL
[formdata with named blob]
expected: FAIL

View file

@ -0,0 +1,14 @@
[formdata.htm]
type: testharness
[empty formdata]
expected: FAIL
[formdata with string]
expected: FAIL
[formdata with named string]
expected: FAIL
[formdata from form]
expected: FAIL

View file

@ -0,0 +1,5 @@
[getresponseheader-case-insensitive.htm]
type: testharness
[XMLHttpRequest: getResponseHeader() case-insensitive matching]
expected: FAIL

View file

@ -0,0 +1,5 @@
[getresponseheader-chunked-trailer.htm]
type: testharness
[XMLHttpRequest: getResponseHeader() and HTTP trailer]
expected: FAIL

View file

@ -0,0 +1,5 @@
[getresponseheader-error-state.htm]
type: testharness
[XMLHttpRequest: getResponseHeader() in error state (failing cross-origin test)]
expected: FAIL

View file

@ -0,0 +1,59 @@
[interfaces.html]
type: testharness
[XMLHttpRequest interface: operation open(ByteString,DOMString)]
expected: FAIL
[XMLHttpRequest interface: operation open(ByteString,DOMString,boolean,DOMString,DOMString)]
expected: FAIL
[XMLHttpRequest interface: operation send([object Object\],[object Object\],[object Object\],[object Object\],[object Object\],[object Object\])]
expected: FAIL
[XMLHttpRequest interface: operation overrideMimeType(DOMString)]
expected: FAIL
[XMLHttpRequest interface: calling open(ByteString,DOMString,boolean,DOMString,DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError]
expected: FAIL
[XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type (16)]
expected: FAIL
[XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (19)]
expected: FAIL
[XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError]
expected: FAIL
[FormData interface: existence and properties of interface object]
expected: FAIL
[FormData interface object length]
expected: FAIL
[FormData interface: operation append(DOMString,Blob,DOMString)]
expected: FAIL
[FormData interface: operation append(DOMString,DOMString)]
expected: FAIL
[FormData interface: operation getAll(DOMString)]
expected: FAIL
[FormData interface: operation set(DOMString,Blob,DOMString)]
expected: FAIL
[FormData interface: operation set(DOMString,DOMString)]
expected: FAIL
[FormData interface: new FormData() must inherit property "getAll" with the proper type (4)]
expected: FAIL
[FormData interface: calling getAll(DOMString) on new FormData() with too few arguments must throw TypeError]
expected: FAIL
[FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4)]
expected: FAIL
[FormData interface: calling getAll(DOMString) on new FormData(form) with too few arguments must throw TypeError]
expected: FAIL

View file

@ -0,0 +1,6 @@
[open-after-setrequestheader.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() after setRequestHeader()]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[open-referer.htm]
type: testharness
[XMLHttpRequest: open() - value of Referer header]
expected: FAIL

View file

@ -0,0 +1,3 @@
[open-url-about-blank-window.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[open-url-base-inserted.htm]
type: testharness
[XMLHttpRequest: open() resolving URLs - insert ]
expected: FAIL

View file

@ -0,0 +1,5 @@
[open-url-base.htm]
type: testharness
[XMLHttpRequest: open() resolving URLs - ]
expected: FAIL

View file

@ -0,0 +1,5 @@
[open-url-bogus.htm]
type: testharness
[XMLHttpRequest: open() - bogus URLs (http:)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[open-url-encoding.htm]
type: testharness
[XMLHttpRequest: open() - URL encoding]
expected: FAIL

View file

@ -0,0 +1,3 @@
[open-url-javascript-window-2.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[open-url-javascript-window.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[open-url-multi-window-2.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[open-url-multi-window-3.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[open-url-multi-window-4.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() resolving URLs (multi-Window; 4; evil)]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[open-url-multi-window-5.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() resolving URLs (multi-Window; 5)]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[open-url-multi-window.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() resolving URLs (multi-Window; 1)]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[open-url-worker-origin.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: worker scripts, origin and referrer]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[overridemimetype-done-state.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in DONE state]
expected: FAIL

View file

@ -0,0 +1,5 @@
[overridemimetype-headers-received-state-force-shiftjis.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in HEADERS RECEIVED state, enforcing Shift-JIS encoding]
expected: FAIL

View file

@ -0,0 +1,5 @@
[overridemimetype-invalid-mime-type.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in unsent state, invalid MIME types]
expected: FAIL

View file

@ -0,0 +1,5 @@
[overridemimetype-loading-state.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in LOADING state]
expected: FAIL

View file

@ -0,0 +1,5 @@
[overridemimetype-open-state-force-utf-8.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in open state, enforcing UTF-8 encoding]
expected: FAIL

View file

@ -0,0 +1,5 @@
[overridemimetype-open-state-force-xml.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in open state, XML MIME type with UTF-8 charset]
expected: FAIL

View file

@ -0,0 +1,5 @@
[overridemimetype-unsent-state-force-shiftjis.htm]
type: testharness
[XMLHttpRequest: overrideMimeType() in unsent state, enforcing Shift-JIS encoding]
expected: FAIL

View file

@ -0,0 +1,5 @@
[progress-events-response-data-gzip.htm]
type: testharness
[XMLHttpRequest: progress events and GZIP encoding]
expected: FAIL

View file

@ -0,0 +1,5 @@
[response-data-arraybuffer.htm]
type: testharness
[XMLHttpRequest: The response attribute: ArrayBuffer data]
expected: FAIL

View file

@ -0,0 +1,5 @@
[response-data-blob.htm]
type: testharness
[XMLHttpRequest: The response attribute: Blob data]
expected: FAIL

View file

@ -0,0 +1,5 @@
[response-data-deflate.htm]
type: testharness
[XMLHttpRequest: content-encoding:deflate response was correctly inflated]
expected: FAIL

View file

@ -0,0 +1,5 @@
[response-data-gzip.htm]
type: testharness
[XMLHttpRequest: GZIP response was correctly inflated]
expected: FAIL

View file

@ -0,0 +1,3 @@
[response-json.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[responsetext-decoding.htm]
type: testharness
disabled: flaky

View file

@ -0,0 +1,5 @@
[responsexml-basic.htm]
type: testharness
[XMLHttpRequest: responseXML basic test]
expected: FAIL

View file

@ -0,0 +1,62 @@
[responsexml-document-properties.htm]
type: testharness
[domain]
expected: FAIL
[URL]
expected: FAIL
[documentURI]
expected: FAIL
[referrer]
expected: FAIL
[title]
expected: FAIL
[contentType]
expected: FAIL
[readyState]
expected: FAIL
[location]
expected: FAIL
[defaultView]
expected: FAIL
[body]
expected: FAIL
[images]
expected: FAIL
[doctype]
expected: FAIL
[forms]
expected: FAIL
[all]
expected: FAIL
[links]
expected: FAIL
[cookie]
expected: FAIL
[lastModified set according to HTTP header]
expected: FAIL
[cookie (after setting it)]
expected: FAIL
[styleSheets]
expected: FAIL
[implementation]
expected: FAIL

View file

@ -0,0 +1,26 @@
[responsexml-media-type.htm]
type: testharness
[XMLHttpRequest: responseXML MIME type tests (\'\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'bogus\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'bogus+xml\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'video/x-awesome+xml\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'text/xml\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'application\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'application/xhtml+xml\', should parse)]
expected: FAIL
[XMLHttpRequest: responseXML MIME type tests (\'image/svg+xml\', should parse)]
expected: FAIL

View file

@ -0,0 +1,14 @@
[responsexml-non-document-types.htm]
type: testharness
[XMLHttpRequest: responseXML/responseText on other responseType (arraybuffer)]
expected: FAIL
[XMLHttpRequest: responseXML/responseText on other responseType (blob)]
expected: FAIL
[XMLHttpRequest: responseXML/responseText on other responseType (json)]
expected: FAIL
[XMLHttpRequest: responseXML/responseText on other responseType (text)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-accept-language.htm]
type: testharness
[Send "sensible" default value, whatever that means]
expected: FAIL

View file

@ -0,0 +1,3 @@
[send-after-setting-document-domain.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[send-authentication-basic-cors-not-enabled.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated CORS requests with user name and password passed to open() (asserts failure)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-authentication-basic-cors.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated CORS requests with user name and password passed to open() (asserts failure)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-authentication-basic-repeat-no-args.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated requests with user name and password passed to open() in first request, without in second]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-authentication-basic-setrequestheader-existing-session.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader() when there is an existing session]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-authentication-basic-setrequestheader.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated request using setRequestHeader()]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-authentication-basic.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated requests with user name and password passed to open()]
expected: FAIL

View file

@ -0,0 +1,20 @@
[send-authentication-competing-names-passwords.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user/pass in open() call]
expected: FAIL
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options another user/pass in open() call - must override cached credentials from previous test]
expected: FAIL
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user/pass both in URL userinfo AND open() call - expexted that open() wins]
expected: FAIL
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user/pass *only* in URL userinfo]
expected: FAIL
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user name in URL userinfo, password in open() call: user name wins and password is thrown away]
expected: FAIL
[XMLHttpRequest: send() - "Basic" authenticated requests with competing user name/password options user name and password in URL userinfo, only user name in open() call: user name in open() wins]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-authentication-cors-basic-setrequestheader.htm]
type: testharness
[XMLHttpRequest: send() - "Basic" authenticated CORS request using setRequestHeader() (expects to succeed)]
expected: FAIL

View file

@ -0,0 +1,8 @@
[send-conditional.htm]
type: testharness
[XMLHttpRequest: send() - conditional requests (tag)]
expected: FAIL
[XMLHttpRequest: send() - conditional requests (date)]
expected: FAIL

View file

@ -0,0 +1,20 @@
[send-content-type-charset.htm]
type: testharness
[XMLHttpRequest: send() - charset parameter of Content-Type]
expected: FAIL
[XMLHttpRequest: send() - charset parameter of Content-Type 1]
expected: FAIL
[XMLHttpRequest: send() - charset parameter of Content-Type 2]
expected: FAIL
[XMLHttpRequest: send() - charset parameter of Content-Type 3]
expected: FAIL
[XMLHttpRequest: send() - charset parameter of Content-Type 6]
expected: FAIL
[XMLHttpRequest: send() - charset parameter of Content-Type 7]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-content-type-string.htm]
type: testharness
[XMLHttpRequest: send() - Content-Type]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-data-arraybuffer.htm]
type: testharness
[XMLHttpRequest: The send() method: ArrayBuffer data]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-data-blob.htm]
type: testharness
[XMLHttpRequest: The send() method: Blob data]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-data-formdata.htm]
type: testharness
[XmlHttpRequest: The send() method: FormData data]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-entity-body-document-bogus.htm]
type: testharness
[XMLHttpRequest: send() - unserializable Document]
expected: FAIL

View file

@ -0,0 +1,3 @@
[send-entity-body-document.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,9 @@
[send-entity-body-get-head-async.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (GET)]
expected: NOTRUN
[XMLHttpRequest: send() - non-empty data argument and GET/HEAD - async, no upload events should fire (HEAD)]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[send-entity-body-none.htm]
type: testharness
[XMLHttpRequest: send(null) - no entity body]
expected: FAIL

View file

@ -0,0 +1,6 @@
[send-network-error-async-events.sub.htm]
type: testharness
expected: TIMEOUT
[XmlHttpRequest: The send() method: Fire a progress event named error when Network error happens (synchronous flag is unset)]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[send-network-error-sync-events.sub.htm]
type: testharness
[XmlHttpRequest: The send() method: Throw a "throw an "NetworkError" exception when Network error happens (synchronous flag is set)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[send-no-response-event-loadend.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: The send() method: Fire a progress event named loadend (no response entity body)]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[send-no-response-event-order.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: The send() method: event order when there is no response entity body]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[send-non-same-origin.sub.htm]
type: testharness
[XMLHttpRequest: send() - non same-origin (folder.txt)]
expected: FAIL

View file

@ -0,0 +1,14 @@
[send-redirect-bogus.htm]
type: testharness
[XMLHttpRequest: send() - Redirects (bogus Location header) (302: http://example.not)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (bogus Location header) (302: mailto:someone@example.org)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (bogus Location header) (303: http://example.not)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (bogus Location header) (303: foobar:someone@example.org)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-redirect-infinite-sync.htm]
type: testharness
[XMLHttpRequest: send() - Redirects (infinite loop; sync) (301)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-redirect-infinite.htm]
type: testharness
[XMLHttpRequest: send() - Redirects (infinite loop)]
expected: FAIL

View file

@ -0,0 +1,14 @@
[send-redirect-no-location.htm]
type: testharness
[XMLHttpRequest: send() - Redirects (no Location header) (301)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (no Location header) (302)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (no Location header) (303)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (no Location header) (307)]
expected: FAIL

View file

@ -0,0 +1,14 @@
[send-redirect-to-cors.htm]
type: testharness
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (301)]
expected: FAIL
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (302)]
expected: FAIL
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (303)]
expected: FAIL
[XMLHttpRequest: send() - Redirect to CORS-enabled resource (307)]
expected: FAIL

View file

@ -0,0 +1,14 @@
[send-redirect-to-non-cors.htm]
type: testharness
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (301)]
expected: FAIL
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (302)]
expected: FAIL
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (303)]
expected: FAIL
[XMLHttpRequest: send() - Redirect to cross-origin resource, not CORS-enabled (307)]
expected: FAIL

View file

@ -0,0 +1,14 @@
[send-redirect.htm]
type: testharness
[XMLHttpRequest: send() - Redirects (basics) (301)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (basics) (302)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (basics) (303)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (basics) (307)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[send-response-event-order.htm]
type: testharness
[XMLHttpRequest: The send() method: event order when synchronous flag is unset]
expected: FAIL

View file

@ -0,0 +1,3 @@
[setrequestheader-bogus-name.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[setrequestheader-bogus-value.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[setrequestheader-case-insensitive.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - headers that differ in case]
expected: FAIL

View file

@ -0,0 +1,26 @@
[setrequestheader-header-allowed.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Authorization)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Pragma)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Content-Transfer-Encoding)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Content-Type)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Overwrite)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (If)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Status-URI)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (X-Pink-Unicorn)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[setrequestheader-header-forbidden.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - headers that are forbidden]
expected: FAIL

View file

@ -0,0 +1,3 @@
[status-async.htm]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[status-basic.htm]
type: testharness
disabled: true

View file

@ -0,0 +1,60 @@
[status-error.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 400]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 401]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 410]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling GET 699]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling HEAD 699]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling POST 699]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 200]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 404]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 500]
expected: TIMEOUT
[XMLHttpRequest: status error handling PUT 699]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[timeout-cors-async.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: timeout event and cross-origin request]
expected: NOTRUN

View file

@ -0,0 +1,5 @@
[timeout-sync.htm]
type: testharness
[setting timeout attribute on sync request]
expected: FAIL

View file

@ -0,0 +1,5 @@
[withcredentials-wrong-state.htm]
type: testharness
[XMLHttpRequest: setting withCredentials when not in UNSENT, OPENED state]
expected: FAIL

View file

@ -0,0 +1,5 @@
[xmlhttprequest-network-error-sync.htm]
type: testharness
[XMLHttpRequest: members during network errors (sync)]
expected: FAIL

View file

@ -0,0 +1,5 @@
[xmlhttprequest-network-error.htm]
type: testharness
[XMLHttpRequest: members during network errors]
expected: FAIL

View file

@ -0,0 +1,3 @@
[xmlhttprequest-timeout-aborted.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[xmlhttprequest-timeout-abortedonmain.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[xmlhttprequest-timeout-overrides.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[xmlhttprequest-timeout-overridesexpires.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[xmlhttprequest-timeout-simple.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[xmlhttprequest-timeout-synconmain.html]
type: testharness
expected: TIMEOUT

Some files were not shown because too many files have changed in this diff Show more