mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Merge pull request #2958 from Ms2ger/update-wpt
Update web-platform-tests; r=Manishearth
This commit is contained in:
commit
fc37f91f35
9 changed files with 20542 additions and 19975 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,5 +0,0 @@
|
||||||
[abort-upload-event-abort.htm]
|
|
||||||
type: testharness
|
|
||||||
[XMLHttpRequest: The abort() method: Fire a progress event named abort on the XMLHttpRequestUpload object]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[progress-events-response-data-gzip.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: progress events and GZIP encoding]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
[response-data-deflate.htm]
|
||||||
|
type: testharness
|
||||||
|
[XMLHttpRequest: content-encoding:deflate response was correctly inflated]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -1,32 +1,3 @@
|
||||||
[responsetext-decoding.htm]
|
[responsetext-decoding.htm]
|
||||||
type: testharness
|
type: testharness
|
||||||
[XMLHttpRequest: responseText decoding (text/plain %FE%FF)]
|
disabled: flaky
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/plain %FE%FF%FE%FF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/plain %EF%BB%BF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/plain %EF%BB%BF%EF%BB%BF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/xml %FE%FF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/xml %FE%FF%FE%FF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/xml %EF%BB%BF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/xml %EF%BB%BF%EF%BB%BF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (application/xml %3C%3Fxml%20version%3D\'1.0\'%20encoding%3D\'windows-1252\'%3F%3E%3Cx%3E%FF%3C%2Fx%3E)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XMLHttpRequest: responseText decoding (text/html %3C!doctype%20html%3E%3Cmeta%20charset%3Dwindows-1252%3E%FF)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[send-non-same-origin.htm]
|
[send-non-same-origin.sub.htm]
|
||||||
type: testharness
|
type: testharness
|
||||||
[XMLHttpRequest: send() - non same-origin (folder.txt)]
|
[XMLHttpRequest: send() - non same-origin (folder.txt)]
|
||||||
expected: FAIL
|
expected: FAIL
|
|
@ -1,5 +1,17 @@
|
||||||
[Document-getElementById.html]
|
[Document-getElementById.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
[Document.getElementById with an empty string]
|
[Calling document.getElementById with an empty string argument.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[add id attribute via innerHTML]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[remove id attribute via innerHTML]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[add id attribute via outerHTML]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[remove id attribute via outerHTML]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,10 @@ from wptrunner import wptrunner, wptcommandline
|
||||||
import manifest
|
import manifest
|
||||||
|
|
||||||
def update_manifest():
|
def update_manifest():
|
||||||
opts = argparse.Namespace(rebuild=False, experimental_include_local_changes=True,
|
manifest.update_manifest(wptsubdir("web-platform-tests"),
|
||||||
path=wptsubdir("metadata", "MANIFEST.json"))
|
rebuild=False,
|
||||||
manifest.update_manifest(wptsubdir("web-platform-tests"), opts)
|
experimental_include_local_changes=True,
|
||||||
|
path=wptsubdir("metadata", "MANIFEST.json"))
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def run_tests(**kwargs):
|
def run_tests(**kwargs):
|
||||||
|
@ -40,8 +41,7 @@ def main():
|
||||||
parser.add_argument('--update-manifest', dest='update_manifest', action='store_true')
|
parser.add_argument('--update-manifest', dest='update_manifest', action='store_true')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
if args.update_manifest:
|
if args.update_manifest:
|
||||||
update_manifest()
|
return update_manifest()
|
||||||
return True
|
|
||||||
kwargs = set_defaults(args)
|
kwargs = set_defaults(args)
|
||||||
return run_tests(**kwargs)
|
return run_tests(**kwargs)
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit b84bb353b62cef1aba499f3a5531f261ef3afeb3
|
Subproject commit 5aa5d78e820925c5805959174f3a724843309737
|
Loading…
Add table
Add a link
Reference in a new issue