Backed out 2 changesets (bug 1124311) for web-platform-tests-4 orange on a CLOSED TREE

Backed out changeset 94c4d5ded3f7 (bug 1124311)
Backed out changeset 77f4d9826e90 (bug 1124311)
This commit is contained in:
Wes Kocher 2015-01-21 17:30:27 -08:00
parent b873b9abad
commit b2bb331a56
373 changed files with 7864 additions and 9493 deletions

View File

@ -24,12 +24,6 @@
[Getters and value conversions should happen in order until an exception is thrown.]
expected: FAIL
[Changes to the blobParts array should be reflected in the returned Blob (pop).]
expected: FAIL
[Changes to the blobParts array should be reflected in the returned Blob (unshift).]
expected: FAIL
[Passing an element as the blobParts array should work.]
expected: FAIL
@ -54,6 +48,12 @@
[Newlines should not change when endings is \'native\'.]
expected: FAIL
[Changes to the blobParts array should be reflected in the returned Blob (pop).]
expected: FAIL
[Changes to the blobParts array should be reflected in the returned Blob (unshift).]
expected: FAIL
[Blob with type "A"]
expected: FAIL
@ -81,3 +81,7 @@
[Blob with type "image/gif\\0"]
expected: FAIL
[no-argument Blob constructor]
expected:
if debug and (os == "mac") and (version == "OS X 10.9") and (processor == "x86_64") and (bits == 64): FAIL

View File

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

View File

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

View File

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

View File

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

View File

@ -1,17 +0,0 @@
[FileReader-multiple-reads.html]
type: testharness
[test FileReader InvalidStateError exception for readAsText]
expected: FAIL
[test FileReader InvalidStateError exception for readAsDataURL]
expected: FAIL
[test FileReader InvalidStateError exception for readAsArrayBuffer]
expected: FAIL
[test FileReader InvalidStateError exception in onloadstart event for readAsArrayBuffer]
expected: FAIL
[test FileReader no InvalidStateError exception in onloadstart event for readAsArrayBuffer]
expected: FAIL

View File

@ -1,5 +0,0 @@
[url_createobjecturl_blob.html]
type: testharness
[Check if the Blob URI starts with \'blob\' using createFor()]
expected: FAIL

View File

@ -487,6 +487,9 @@
{
"url": "/FileAPI/BlobURL/support/file_test2.txt"
},
{
"url": "/FileAPI/FileReader-interface/support/blue-100x100.png"
},
{
"url": "/FileAPI/FileReader/support/file_test1.txt"
},
@ -496,18 +499,12 @@
{
"url": "/FileAPI/filelist-section/support/upload.zip"
},
{
"url": "/FileAPI/reading-data-section/support/blue-100x100.png"
},
{
"url": "/FileAPI/support/Blob.js"
},
{
"url": "/FileAPI/support/upload.txt"
},
{
"url": "/FileAPI/url/url_xmlhttprequest_img-ref.html"
},
{
"url": "/IndexedDB/README.md"
},
@ -520,335 +517,329 @@
{
"url": "/WebCryptoAPI/README.md"
},
{
"url": "/WebIDL/invalid/idl/enum.widl"
},
{
"url": "/WebIDL/invalid/idl/module.widl"
},
{
"url": "/WebIDL/invalid/idl/nonnullableany.widl"
},
{
"url": "/WebIDL/invalid/idl/nonnullableobjects.widl"
},
{
"url": "/WebIDL/invalid/idl/raises.widl"
},
{
"url": "/WebIDL/invalid/idl/scopedname.widl"
},
{
"url": "/WebIDL/invalid/idl/scopedname.widl~"
},
{
"url": "/WebIDL/invalid/idl/sequenceAsAttribute.widl"
},
{
"url": "/WebIDL/invalid/idl/special-omittable.widl"
},
{
"url": "/WebIDL/invalid/idl/stringconstants.idl"
},
{
"url": "/WebIDL/readme.txt"
},
{
"url": "/WebIDL/testable_assertions.txt"
},
{
"url": "/WebIDL/valid/idl/allowany.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/enum.widl"
},
{
"url": "/WebIDL/valid/idl/array.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/module.widl"
},
{
"url": "/WebIDL/valid/idl/attributes.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/nonnullableany.widl"
},
{
"url": "/WebIDL/valid/idl/callback.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/nonnullableobjects.widl"
},
{
"url": "/WebIDL/valid/idl/caller.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/raises.widl"
},
{
"url": "/WebIDL/valid/idl/constants.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/scopedname.widl"
},
{
"url": "/WebIDL/valid/idl/constructor.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/sequenceAsAttribute.widl"
},
{
"url": "/WebIDL/valid/idl/dictionary-inherits.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/special-omittable.widl"
},
{
"url": "/WebIDL/valid/idl/dictionary.widl"
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/stringconstants.idl"
},
{
"url": "/WebIDL/valid/idl/documentation-dos.widl"
"url": "/WebIDL/tests/submissions/W3C/readme.txt"
},
{
"url": "/WebIDL/valid/idl/documentation.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/allowany.widl"
},
{
"url": "/WebIDL/valid/idl/enum.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/array.widl"
},
{
"url": "/WebIDL/valid/idl/equivalent-decl.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/attributes.widl"
},
{
"url": "/WebIDL/valid/idl/exception-inheritance.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/callback.widl"
},
{
"url": "/WebIDL/valid/idl/exception.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/caller.widl"
},
{
"url": "/WebIDL/valid/idl/getter-setter.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/constants.widl"
},
{
"url": "/WebIDL/valid/idl/identifier-qualified-names.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/constructor.widl"
},
{
"url": "/WebIDL/valid/idl/implements.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/dictionary-inherits.widl"
},
{
"url": "/WebIDL/valid/idl/indexed-properties.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/dictionary.widl"
},
{
"url": "/WebIDL/valid/idl/inherits-getter.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/documentation-dos.widl"
},
{
"url": "/WebIDL/valid/idl/interface-inherits.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/documentation.widl"
},
{
"url": "/WebIDL/valid/idl/iterator.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/enum.widl"
},
{
"url": "/WebIDL/valid/idl/namedconstructor.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/equivalent-decl.widl"
},
{
"url": "/WebIDL/valid/idl/nointerfaceobject.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/exception-inheritance.widl"
},
{
"url": "/WebIDL/valid/idl/nullable.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/exception.widl"
},
{
"url": "/WebIDL/valid/idl/nullableobjects.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/getter-setter.widl"
},
{
"url": "/WebIDL/valid/idl/operation-optional-arg.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/identifier-qualified-names.widl"
},
{
"url": "/WebIDL/valid/idl/overloading.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/implements.widl"
},
{
"url": "/WebIDL/valid/idl/overridebuiltins.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/indexed-properties.widl"
},
{
"url": "/WebIDL/valid/idl/partial-interface.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/inherits-getter.widl"
},
{
"url": "/WebIDL/valid/idl/primitives.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/interface-inherits.widl"
},
{
"url": "/WebIDL/valid/idl/prototyperoot.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/iterator.widl"
},
{
"url": "/WebIDL/valid/idl/putforwards.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/namedconstructor.widl"
},
{
"url": "/WebIDL/valid/idl/reg-operations.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/nointerfaceobject.widl"
},
{
"url": "/WebIDL/valid/idl/replaceable.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/nullable.widl"
},
{
"url": "/WebIDL/valid/idl/sequence.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/nullableobjects.widl"
},
{
"url": "/WebIDL/valid/idl/serializer.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/operation-optional-arg.widl"
},
{
"url": "/WebIDL/valid/idl/static.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/overloading.widl"
},
{
"url": "/WebIDL/valid/idl/stringifier-attribute.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/overridebuiltins.widl"
},
{
"url": "/WebIDL/valid/idl/stringifier-custom.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/partial-interface.widl"
},
{
"url": "/WebIDL/valid/idl/stringifier.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/primitives.widl"
},
{
"url": "/WebIDL/valid/idl/treatasnull.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/prototyperoot.widl"
},
{
"url": "/WebIDL/valid/idl/treatasundefined.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/putforwards.widl"
},
{
"url": "/WebIDL/valid/idl/typedef.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/reg-operations.widl"
},
{
"url": "/WebIDL/valid/idl/typesuffixes.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/replaceable.widl"
},
{
"url": "/WebIDL/valid/idl/uniontype.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/sequence.widl"
},
{
"url": "/WebIDL/valid/idl/variadic-operations.widl"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/serializer.widl"
},
{
"url": "/WebIDL/valid/xml/allowany.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/static.widl"
},
{
"url": "/WebIDL/valid/xml/array.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/stringifier-attribute.widl"
},
{
"url": "/WebIDL/valid/xml/attributes.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/stringifier-custom.widl"
},
{
"url": "/WebIDL/valid/xml/callback.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/stringifier.widl"
},
{
"url": "/WebIDL/valid/xml/caller.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/treatasnull.widl"
},
{
"url": "/WebIDL/valid/xml/constants.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/treatasundefined.widl"
},
{
"url": "/WebIDL/valid/xml/constructor.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/typedef.widl"
},
{
"url": "/WebIDL/valid/xml/dictionary-inherits.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/typesuffixes.widl"
},
{
"url": "/WebIDL/valid/xml/dictionary.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/uniontype.widl"
},
{
"url": "/WebIDL/valid/xml/documentation-dos.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/idl/variadic-operations.widl"
},
{
"url": "/WebIDL/valid/xml/documentation.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/allowany.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/enum.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/array.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/equivalent-decl.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/attributes.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/exception-inheritance.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/callback.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/exception.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/caller.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/getter-setter.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/constants.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/identifier-qualified-names.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/constructor.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/implements.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/dictionary-inherits.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/indexed-properties.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/dictionary.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/inherits-getter.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/documentation-dos.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/interface-inherits.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/documentation.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/iterator.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/enum.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/module.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/equivalent-decl.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/namedconstructor.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/exception-inheritance.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/namespaceobject.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/exception.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/nointerfaceobject.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/getter-setter.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/nullable.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/identifier-qualified-names.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/nullableobjects.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/implements.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/operation-optional-arg.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/indexed-properties.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/overloading.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/inherits-getter.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/overridebuiltins.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/interface-inherits.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/partial-interface.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/iterator.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/primitives.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/module.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/prototyperoot.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/namedconstructor.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/putforwards.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/namespaceobject.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/reg-operations.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/nointerfaceobject.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/replaceable.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/nullable.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/sequence.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/nullableobjects.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/serializer.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/operation-optional-arg.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/special-omittable.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/overloading.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/static.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/overridebuiltins.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/stringifier-attribute.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/partial-interface.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/stringifier-custom.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/primitives.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/stringifier.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/prototyperoot.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/treatasnull.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/putforwards.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/treatasundefined.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/reg-operations.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/typedef.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/replaceable.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/typesuffixes.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/sequence.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/uniontype.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/serializer.widlprocxml"
},
{
"url": "/WebIDL/valid/xml/variadic-operations.widlprocxml"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/special-omittable.widlprocxml"
},
{
"url": "/XMLHttpRequest/XMLHttpRequest-withCredentials.js"
"url": "/WebIDL/tests/submissions/W3C/valid/xml/static.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/stringifier-attribute.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/stringifier-custom.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/stringifier.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/treatasnull.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/treatasundefined.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/typedef.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/typesuffixes.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/uniontype.widlprocxml"
},
{
"url": "/WebIDL/tests/submissions/W3C/valid/xml/variadic-operations.widlprocxml"
},
{
"url": "/XMLHttpRequest/folder.txt"
@ -1366,9 +1357,6 @@
{
"url": "/dom/nodes/Document-createProcessingInstruction.js"
},
{
"url": "/dom/nodes/Element-matches.js"
},
{
"url": "/dom/nodes/Node-contains.xml"
},
@ -2518,9 +2506,6 @@
{
"url": "/images/blue.png"
},
{
"url": "/images/blue96x96.png"
},
{
"url": "/images/broken.png"
},
@ -2930,7 +2915,13 @@
"url": "/resource-timing/test_resource_timing.js"
},
{
"url": "/selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.js"
"url": "/selectors-api/tests/submissions/Opera/Element-matches.js"
},
{
"url": "/selectors-api/tests/submissions/Opera/ParentNode-find-findAll.js"
},
{
"url": "/selectors-api/tests/submissions/Opera/level2-lib.js"
},
{
"url": "/service-workers/specgen.json"
@ -3106,9 +3097,6 @@
{
"url": "/webmessaging/README.md"
},
{
"url": "/webmessaging/support/compare.js"
},
{
"url": "/webmessaging/without-ports/025-1.js"
},
@ -4282,6 +4270,9 @@
{
"url": "/workers/semantics/encodings/003-1.py"
},
{
"url": "/workers/semantics/interface-objects/001.worker.js"
},
{
"url": "/workers/semantics/multiple-workers/004-2.js"
},
@ -4315,6 +4306,9 @@
{
"url": "/workers/support/ErrorEvent.js"
},
{
"url": "/workers/support/EventListener.js"
},
{
"url": "/workers/support/ImportScripts.js"
},
@ -4339,12 +4333,21 @@
{
"url": "/workers/support/WorkerNavigator.js"
},
{
"url": "/workers/support/WorkerNested.js"
},
{
"url": "/workers/support/WorkerTerminate.js"
},
{
"url": "/workers/support/WorkerText.txt"
},
{
"url": "/workers/support/XMLHttpRequest.js"
},
{
"url": "/workers/support/XMLHttpRequest.txt"
},
{
"url": "/workers/workers.js"
}
@ -4378,16 +4381,10 @@
"url": "/2dcontext/shadows/2d.shadow.blur.low-manual.html"
},
{
"url": "/FileAPI/BlobURL/test1-manual.html"
"url": "/FileAPI/FileReader-interface/filereader_file-manual.html"
},
{
"url": "/FileAPI/BlobURL/test2-manual.html"
},
{
"url": "/FileAPI/BlobURL/test3-manual.html"
},
{
"url": "/FileAPI/FileReader/test_errors-manual.html"
"url": "/FileAPI/FileReader-interface/filereader_file_img-manual.html"
},
{
"url": "/FileAPI/filelist-section/filelist_multiple_selected_files-manual.html"
@ -4398,18 +4395,6 @@
{
"url": "/FileAPI/idlharness-manual.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_file-manual.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_file_img-manual.html"
},
{
"url": "/FileAPI/url/url_createobjecturl_file-manual.html"
},
{
"url": "/FileAPI/url/url_createobjecturl_file_img-manual.html"
},
{
"url": "/XMLHttpRequest/send-authentication-existing-session-manual.htm"
},
@ -5181,11 +5166,6 @@
"ref_url": "/2dcontext/transformations/canvas_transformations_scale_001-ref.htm",
"url": "/2dcontext/transformations/canvas_transformations_scale_001.htm"
},
{
"ref_type": "==",
"ref_url": "/FileAPI/url/url_xmlhttprequest_img-ref.html",
"url": "/FileAPI/url/url_xmlhttprequest_img.html"
},
{
"ref_type": "==",
"ref_url": "/custom-elements/registering-custom-elements/unresolved-element-pseudoclass/unresolved-element-pseudoclass-css-test-custom-tag-ref.html",
@ -9417,27 +9397,60 @@
{
"url": "/DOMEvents/throwing-in-listener-when-all-have-not-run-yet.html"
},
{
"url": "/FileAPI/Blob-XHR-revoke.html"
},
{
"url": "/FileAPI/Blob-close.html"
},
{
"url": "/FileAPI/Blob-constructor.html"
},
{
"url": "/FileAPI/Blob-slice.html"
},
{
"url": "/FileAPI/BlobURL/test1_manual.html"
},
{
"url": "/FileAPI/BlobURL/test2_manual.html"
},
{
"url": "/FileAPI/BlobURL/test3_manual.html"
},
{
"url": "/FileAPI/File-constructor.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_abort.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_error.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_readAsArrayBuffer.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_readAsDataURL.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_readAsText.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_readystate.html"
},
{
"url": "/FileAPI/FileReader-interface/filereader_result.html"
},
{
"url": "/FileAPI/FileReader/Determining-Encoding.html"
},
{
"url": "/FileAPI/FileReader/test_errors_manual.html"
},
{
"url": "/FileAPI/FileReaderSync.worker"
},
{
"url": "/FileAPI/blob/Blob-XHR-revoke.html"
},
{
"url": "/FileAPI/blob/Blob-close.html"
},
{
"url": "/FileAPI/blob/Blob-constructor.html"
},
{
"url": "/FileAPI/blob/Blob-slice.html"
},
{
"url": "/FileAPI/file/File-constructor.html"
},
{
"url": "/FileAPI/fileReader.html"
},
{
"url": "/FileAPI/filelist-section/filelist.html"
},
@ -9447,39 +9460,6 @@
{
"url": "/FileAPI/idlharness.html"
},
{
"url": "/FileAPI/reading-data-section/Determining-Encoding.html"
},
{
"url": "/FileAPI/reading-data-section/FileReader-multiple-reads.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_abort.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_error.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_readAsArrayBuffer.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_readAsDataURL.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_readAsText.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_readystate.html"
},
{
"url": "/FileAPI/reading-data-section/filereader_result.html"
},
{
"url": "/FileAPI/url/url_createobjecturl_blob.html"
},
{
"url": "/FileAPI/url/url_xmlhttprequest.html"
},
{
"url": "/IndexedDB/abort-in-initial-upgradeneeded.html"
},
@ -10218,12 +10198,6 @@
{
"url": "/XMLHttpRequest/FormData-append.html"
},
{
"url": "/XMLHttpRequest/XMLHttpRequest-withCredentials.html"
},
{
"url": "/XMLHttpRequest/XMLHttpRequest-withCredentials.worker"
},
{
"url": "/XMLHttpRequest/abort-after-receive.htm"
},
@ -10683,6 +10657,12 @@
{
"url": "/XMLHttpRequest/timeout-sync.htm"
},
{
"url": "/XMLHttpRequest/withcredentials-set.htm"
},
{
"url": "/XMLHttpRequest/withcredentials-wrong-state.htm"
},
{
"url": "/XMLHttpRequest/xmlhttprequest-basic.htm"
},
@ -11361,9 +11341,6 @@
{
"url": "/dom/nodes/Element-lastElementChild.xhtml"
},
{
"url": "/dom/nodes/Element-matches.html"
},
{
"url": "/dom/nodes/Element-nextElementSibling.html"
},
@ -13653,9 +13630,6 @@
{
"url": "/html/semantics/forms/attributes-common-to-form-controls/dirname-ltr.html"
},
{
"url": "/html/semantics/forms/attributes-common-to-form-controls/disabled-elements-01.html"
},
{
"url": "/html/semantics/forms/attributes-common-to-form-controls/formAction_document_address.html"
},
@ -14445,21 +14419,12 @@
{
"url": "/js/builtins/Math.min.html"
},
{
"url": "/js/builtins/Object.prototype.freeze.html"
},
{
"url": "/js/builtins/Object.prototype.hasOwnProperty-order.html"
},
{
"url": "/js/builtins/Object.prototype.hasOwnProperty-prototype-chain.html"
},
{
"url": "/js/builtins/Object.prototype.preventExtensions.html"
},
{
"url": "/js/builtins/Object.prototype.seal.html"
},
{
"url": "/js/builtins/WeakMap.prototype-properties.html"
},
@ -14544,9 +14509,6 @@
{
"url": "/media-source/mediasource-config-change-webm-v-framesize.html"
},
{
"url": "/media-source/mediasource-duration-boundaryconditions.html"
},
{
"url": "/media-source/mediasource-duration.html"
},
@ -14574,27 +14536,18 @@
{
"url": "/media-source/mediasource-remove.html"
},
{
"url": "/media-source/mediasource-removesourcebuffer.html"
},
{
"url": "/media-source/mediasource-seek-beyond-duration.html"
},
{
"url": "/media-source/mediasource-seek-during-pending-seek.html"
},
{
"url": "/media-source/mediasource-sequencemode-append-buffer.html"
},
{
"url": "/media-source/mediasource-sourcebuffer-mode.html"
},
{
"url": "/media-source/mediasource-sourcebufferlist.html"
},
{
"url": "/media-source/mediasource-timestamp-offset.html"
},
{
"url": "/mediacapture-streams/obtaining-local-multimedia-content/navigatorusermedia/api-present.html"
},
@ -15349,7 +15302,10 @@
"url": "/resource-timing/test_resource_timing.html"
},
{
"url": "/selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.html"
"url": "/selectors-api/tests/submissions/Opera/Element-matches.html"
},
{
"url": "/selectors-api/tests/submissions/Opera/ParentNode-find-findAll.html"
},
{
"url": "/selectors/attribute-selectors/attribute-case/cssom.html"
@ -16938,6 +16894,15 @@
{
"url": "/workers/WorkerGlobalScope_ErrorEvent_message.htm"
},
{
"url": "/workers/WorkerGlobalScope_EventTarget.htm"
},
{
"url": "/workers/WorkerGlobalScope_XMLHttpRequest.htm"
},
{
"url": "/workers/WorkerGlobalScope_addEventListener.htm"
},
{
"url": "/workers/WorkerGlobalScope_close.htm"
},
@ -16947,6 +16912,12 @@
{
"url": "/workers/WorkerGlobalScope_importScripts_NetworkErr.htm"
},
{
"url": "/workers/WorkerGlobalScope_nested_Worker.htm"
},
{
"url": "/workers/WorkerGlobalScope_removeEventListener.htm"
},
{
"url": "/workers/WorkerGlobalScope_setInterval.htm"
},
@ -17131,10 +17102,7 @@
"url": "/workers/interfaces.worker"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/EventTarget.worker"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/onmessage.worker"
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/onmessage.html"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/event-ports-dedicated.html"
@ -17146,7 +17114,7 @@
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/message-event.html"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/return-value.worker"
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/return-value.html"
},
{
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null-in-array.html"
@ -17289,9 +17257,6 @@
{
"url": "/workers/interfaces/WorkerUtils/navigator/language.html"
},
{
"url": "/workers/nested_worker.worker"
},
{
"url": "/workers/postMessage_DataCloneErr.htm"
},
@ -17322,9 +17287,6 @@
{
"url": "/workers/semantics/encodings/004.html"
},
{
"url": "/workers/semantics/interface-objects/001.worker"
},
{
"url": "/workers/semantics/interface-objects/002.worker"
},
@ -17885,10 +17847,6 @@
"timeout": "long",
"url": "/websockets/cookies/007.html"
},
{
"timeout": "long",
"url": "/websockets/extended-payload-length.html"
},
{
"timeout": "long",
"url": "/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-large.html"
@ -17976,6 +17934,6 @@
"deleted": [],
"items": {}
},
"rev": "412773b71c81d7356636f698e86d7b544cf48fcb",
"rev": "78bc2a28397159604ce41997e408fbb171e11f8f",
"url_base": "/"
}

View File

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

View File

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

View File

@ -0,0 +1,5 @@
[withcredentials-set.htm]
type: testharness
[can also be set in OPEN state]
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

@ -1,14 +0,0 @@
[disabled-elements-01.html]
type: testharness
[Test [button\]: synthetic click events should be dispatched]
expected: FAIL
[Test [input\]: synthetic click events should be dispatched]
expected: FAIL
[Test [select\]: synthetic click events should be dispatched]
expected: FAIL
[Test [textarea\]: synthetic click events should be dispatched]
expected: FAIL

View File

@ -1,5 +0,0 @@
[Object.prototype.freeze.html]
type: testharness
[Object.freeze 1]
expected: FAIL

View File

@ -1,5 +0,0 @@
[Object.prototype.preventExtensions.html]
type: testharness
[Object.preventExtensions 1]
expected: FAIL

View File

@ -1,5 +0,0 @@
[Object.prototype.seal.html]
type: testharness
[Object.seal 1]
expected: FAIL

View File

@ -12,9 +12,3 @@
[Test addSourceBuffer() with AAC and H.264 in separate SourceBuffers]
expected: FAIL
[Test addSourceBuffer() video only]
expected: FAIL
[Test addSourceBuffer() audio only]
expected: FAIL

View File

@ -1,23 +1,5 @@
[mediasource-append-buffer.html]
type: testharness
expected:
if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): TIMEOUT
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): TIMEOUT
[Test MediaSource.removeSourceBuffer() call during a pending appendBuffer().]
expected: FAIL
[Test appendBuffer with partial init segments.]
expected:
if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL
[Test appendBuffer with partial media segments.]
expected:
if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL
[Test abort in the middle of an initialization segment.]
expected:
if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): TIMEOUT
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): TIMEOUT

View File

@ -12,6 +12,3 @@
[Muxed content empty buffered ranges.]
expected: FAIL
[Muxed content with different lengths]
expected: FAIL

View File

@ -1,14 +0,0 @@
[mediasource-duration-boundaryconditions.html]
type: testharness
[Set duration to Number.MAX_VALUE]
expected: FAIL
[Set duration to Number.MIN_VALUE]
expected: FAIL
[Set duration to Number.MAX_VALUE - 1]
expected: FAIL
[Set duration to Number.POSITIVE_INFINITY]
expected: FAIL

View File

@ -62,6 +62,3 @@
if os == "linux": FAIL
if (os == "win") and (version == "5.1.2600"): FAIL
[Test valid WebM type "AUDIO/WEBM;CODECS="vorbis""]
expected: FAIL

View File

@ -12,14 +12,3 @@
[Test removing the end of appended data.]
expected: FAIL
[Test remove with a NEGATIVE_INFINITY end.]
expected: FAIL
[Test remove with a NaN end.]
expected: FAIL
[Test remove with a start at the duration.]
expected:
if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL

View File

@ -1,7 +0,0 @@
[mediasource-removesourcebuffer.html]
type: testharness
[Test removesourcebuffer event on activeSourceBuffers.]
expected:
if not debug and (os == "win") and (version == "6.2.9200") and (processor == "x86_64") and (bits == 64): FAIL
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL

View File

@ -1,11 +0,0 @@
[mediasource-sequencemode-append-buffer.html]
type: testharness
[Test sequence AppendMode appendBuffer(first media segment)]
expected: FAIL
[Test sequence AppendMode appendBuffer(second media segment)]
expected: FAIL
[Test sequence AppendMode appendBuffer(second media segment, then first media segment)]
expected: FAIL

View File

@ -3,7 +3,3 @@
[PerformanceEntry has correct name, initiatorType, startTime, and duration (link)]
disabled: https://bugzilla.mozilla.org/show_bug.cgi?id=1079837
[PerformanceEntry has correct order of timing attributes (xmlhttprequest)]
expected:
if not debug and (os == "win") and (version == "6.1.7601") and (processor == "x86") and (bits == 32): FAIL

View File

@ -1,14 +0,0 @@
[extended-payload-length.html]
type: testharness
[Application data is 125 byte which means any \'Extended payload length\' field isn\'t used at all.]
expected: FAIL
[Application data is 126 byte which starts to use the 16 bit \'Extended payload length\' field.]
expected: FAIL
[Application data is 0xFFFF byte which means the upper bound of the 16 bit \'Extended payload length\' field.]
expected: FAIL
[Application data is (0xFFFF + 1) byte which starts to use the 64 bit \'Extended payload length\' field]
expected: FAIL

View File

@ -1,8 +0,0 @@
[020.html]
type: testharness
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT
[WebSockets: error events]
expected:
if not debug and (os == "linux") and (version == "Ubuntu 12.04") and (processor == "x86_64") and (bits == 64): TIMEOUT

View File

@ -1,5 +0,0 @@
[EventTarget.worker]
type: testharness
[removeEventListener]
expected: FAIL

View File

@ -0,0 +1,5 @@
[onmessage.html]
type: testharness
[onmessage]
expected: FAIL

View File

@ -1,44 +0,0 @@
[001.worker]
type: testharness
[The ErrorEvent interface object should be exposed.]
expected: FAIL
[The SharedWorker interface object should be exposed.]
expected: FAIL
[The MessageChannel interface object should be exposed.]
expected: FAIL
[The FileList interface object should be exposed.]
expected: FAIL
[The ProgressEvent interface object should be exposed.]
expected: FAIL
[The FormData interface object should be exposed.]
expected: FAIL
[The CanvasProxy interface object should be exposed.]
expected: FAIL
[The ImageBitmap interface object should be exposed.]
expected: FAIL
[The CanvasRenderingContext2D interface object should be exposed.]
expected: FAIL
[The DrawingStyle interface object should be exposed.]
expected: FAIL
[The CanvasGradient interface object should be exposed.]
expected: FAIL
[The CanvasPattern interface object should be exposed.]
expected: FAIL
[The Path interface object should be exposed.]
expected: FAIL
[The TextMetrics interface object should be exposed.]
expected: FAIL

View File

@ -16,7 +16,7 @@
</canvas>
<p>After:</p>
<canvas height=100 width=100 id=canvas>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
</canvas>
</div>
<script>

View File

@ -16,7 +16,7 @@
</canvas>
<p>After:</p>
<canvas height=100 width=100 id=canvas>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
</canvas>
</div>
<script>

View File

@ -13,7 +13,7 @@
<div>
<p>Before:</p>
<canvas height=100 width=100 id='original'>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
</canvas>
<p>After:</p>
<canvas height=100 width=100 id=canvas>

View File

@ -16,7 +16,7 @@
</canvas>
<p>After:</p>
<canvas height=100 width=100 id=canvas>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
<label><a href='http://www.w3.org' id='element'>Focus</a></label>
</canvas>
</div>
<script>

View File

@ -16,7 +16,7 @@
</canvas>
<p>After:</p>
<canvas height=100 width=100 id=canvas>
<p id='element' tabindex='1'>This is text.</p>
<p id='element' tabindex='1'>This is text.</p>
</canvas>
</div>
<script>

View File

@ -4,7 +4,7 @@
<link rel=help href="http://dev.w3.org/2006/webapi/FileAPI/#dfn-close">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/Blob.js"></script>
<script src="support/Blob.js"></script>
<div id="log"></div>
<script>
test(function() {

View File

@ -7,7 +7,7 @@
<link rel=help href="http://dev.w3.org/2006/webapi/WebIDL/#es-sequence">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/Blob.js"></script>
<script src="support/Blob.js"></script>
<p><strong><a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=23683">Discussion</a>
is ongoing that will affect a number of the following tests.</strong>
<div id="log"></div>

View File

@ -5,7 +5,7 @@
<link rel=author title="Saurabh Anand" href="mailto:saurabhanandiit@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../support/Blob.js"></script>
<script src="support/Blob.js"></script>
<div id="log"></div>
<script>
test_blob(function() {

View File

@ -1,67 +0,0 @@
<!doctype html>
<html>
<head>
<title>FileReader States</title>
<link rel=help href="http://www.w3.org/TR/FileAPI/#dfn-filereader">
<link rel=author title="Lenient" href="mailto:lenient315@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
test(function() {
assert_true("FileReader" in window, "window should have a FileReader property.");
}, "FileReader interface object");
test(function(){
var fileReader = new FileReader();
assert_true(fileReader instanceof FileReader);
}, "no-argument FileReader constructor");
var t_abort = async_test("FileReader States -- abort");
t_abort.step(function(){
var fileReader = new FileReader();
assert_equals(fileReader.readyState, 0);
assert_equals(fileReader.readyState, FileReader.EMPTY);
var blob = new Blob();
fileReader.readAsArrayBuffer(blob);
assert_equals(fileReader.readyState, 1);
assert_equals(fileReader.readyState, FileReader.LOADING);
fileReader.onabort = this.step_func(function(e) {
assert_equals(fileReader.readyState, 2);
assert_equals(fileReader.readyState, FileReader.DONE);
t_abort.done();
});
fileReader.abort();
fileReader.onabort = this.unreached_func("abort event should fire sync")
});
var t_event = async_test("FileReader States -- events");
t_event.step(function(){
var fileReader = new FileReader();
var blob = new Blob();
fileReader.readAsArrayBuffer(blob);
fileReader.onloadstart = this.step_func(function(e) {
assert_equals(fileReader.readyState, 1);
assert_equals(fileReader.readyState, FileReader.LOADING);
});
fileReader.onprogress = this.step_func(function(e) {
assert_equals(fileReader.readyState, 1);
assert_equals(fileReader.readyState, FileReader.LOADING);
});
fileReader.onloadend = this.step_func(function(e) {
assert_equals(fileReader.readyState, 2);
assert_equals(fileReader.readyState, FileReader.DONE);
t_event.done();
});
});
</script>
</body>
</html>

View File

@ -10,7 +10,7 @@
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
</head>
<body>
<form name='uploadData'>
<input type='file' id='fileChooser' multiple>

View File

@ -1,73 +0,0 @@
<!DOCTYPE html>
<title>FileReader: starting new reads while one is in progress</title>
<link rel="author" title="Yinkan Li" href="mailto:liyinkan.biz@gmail.com">
<link rel="help" href="http://dev.w3.org/2006/webapi/FileAPI/#MultipleReads">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
test(function() {
var blob_1 = new Blob(['TEST000000001'])
var blob_2 = new Blob(['TEST000000002'])
var reader = new FileReader();
reader.readAsText(blob_1)
assert_equals(reader.readyState, FileReader.LOADING, "readyState Must be LOADING")
assert_throws("InvalidStateError", function () {
reader.readAsText(blob_2)
})
}, 'test FileReader InvalidStateError exception for readAsText');
test(function() {
var blob_1 = new Blob(['TEST000000001'])
var blob_2 = new Blob(['TEST000000002'])
var reader = new FileReader();
reader.readAsDataURL(blob_1)
assert_equals(reader.readyState, FileReader.LOADING, "readyState Must be LOADING")
assert_throws("InvalidStateError", function () {
reader.readAsDataURL(blob_2)
})
}, 'test FileReader InvalidStateError exception for readAsDataURL');
test(function() {
var blob_1 = new Blob(['TEST000000001'])
var blob_2 = new Blob(['TEST000000002'])
var reader = new FileReader();
reader.readAsArrayBuffer(blob_1)
assert_equals(reader.readyState, FileReader.LOADING, "readyState Must be LOADING")
assert_throws("InvalidStateError", function () {
reader.readAsArrayBuffer(blob_2)
})
}, 'test FileReader InvalidStateError exception for readAsArrayBuffer');
async_test(function() {
var blob_1 = new Blob(['TEST000000001'])
var blob_2 = new Blob(['TEST000000002'])
var reader = new FileReader();
var triggered = false;
reader.onloadstart = this.step_func_done(function() {
assert_false(triggered, "Only one loadstart event should be dispatched");
triggered = true;
assert_equals(reader.readyState, FileReader.LOADING,
"readyState must be LOADING")
assert_throws("InvalidStateError", function () {
reader.readAsArrayBuffer(blob_2)
})
});
reader.readAsArrayBuffer(blob_1)
assert_equals(reader.readyState, FileReader.LOADING, "readyState Must be LOADING")
}, 'test FileReader InvalidStateError exception in onloadstart event for readAsArrayBuffer');
async_test(function() {
var blob_1 = new Blob(['TEST000000001'])
var blob_2 = new Blob(['TEST000000002'])
var reader = new FileReader();
reader.onloadend = this.step_func_done(function() {
assert_equals(reader.readyState, FileReader.LOADING,
"readyState must be LOADING")
reader.readAsArrayBuffer(blob_2)
assert_equals(reader.readyState, FileReader.LOADING, "readyState Must be LOADING")
});
reader.readAsArrayBuffer(blob_1)
assert_equals(reader.readyState, FileReader.LOADING, "readyState Must be LOADING")
}, 'test FileReader no InvalidStateError exception in onloadstart event for readAsArrayBuffer');
</script>

View File

@ -1,26 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>FileAPI Test: Creating Blob URL with Blob</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="JunChen Xia" href="mailto:xjconlyme@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
var blob = new Blob(["Test Blob"]);
test(function() {
var testBlob = window.URL.createObjectURL(blob);
assert_equals(typeof testBlob, "string", "Blob URI is typeof string");
assert_equals(testBlob.indexOf("blob"), 0, "Blob URI starts with 'blob'");
}, "Check if the Blob URI starts with 'blob' using createObjectURL()");
test(function() {
var testBlob = window.URL.createFor(blob);
assert_equals(typeof testBlob, "string", "Blob URI is typeof string");
assert_equals(testBlob.indexOf("blob"), 0, "Blob URI starts with 'blob'");
}, "Check if the Blob URI starts with 'blob' using createFor()");
</script>

View File

@ -1,51 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>FileAPI Test: Creating Blob URL with File</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="JunChen Xia" href="mailto:xjconlyme@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<meta name="timeout" content="long">
<div>
<p>Test steps:</p>
<ol>
<li>Download <a href="/images/blue96x96.png">blue96x96.png</a> to local.</li>
<li>Select the local file (blue96x96.png) to run the test.</li>
</ol>
</div>
<form name="uploadData">
<input type="file" id="fileChooser">
</form>
<div id="log"></div>
<script>
async_test(function(t) {
var fileInput = document.querySelector('#fileChooser');
fileInput.onchange = t.step_func(function(e) {
var blobURL, file = fileInput.files[0];
test(function() {
assert_true(file instanceof File, "FileList contains File");
}, "Check if FileList contains File");
test(function() {
blobURL = window.URL.createObjectURL(file);
assert_equals(typeof blobURL, "string", "Blob URL is type of string");
assert_equals(blobURL.indexOf("blob"), 0, "Blob URL's scheme is blob");
}, "Check if URL.createObjectURL(File) returns a Blob URL");
test(function() {
blobURL = window.URL.createFor(file);
assert_equals(typeof blobURL, "string", "Blob URL is type of string");
assert_equals(blobURL.indexOf("blob"), 0, "Blob URL's scheme is blob");
}, "Check if URL.createFor(File) returns a Blob URL");
t.done();
});
});
</script>

View File

@ -1,28 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>FileAPI Test: Creating Blob URL with File as image source</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="JunChen Xia" href="mailto:xjconlyme@gmail.com">
<div>
<p>Test steps:</p>
<ol>
<li>Download <a href="/images/blue96x96.png">blue96x96.png</a> to local.</li>
<li>Select the local file (blue96x96.png) to run the test.</li>
</ol>
<p>Pass/fail criteria:</p>
<p>Test passes if there is a filled blue square.</p>
<p><input type="file" accept="image/*" id="fileChooser"></p>
<p><img id="displayImage"></img></p>
</div>
<script>
var fileInput = document.querySelector("#fileChooser");
var img = document.querySelector("#displayImage");
fileInput.addEventListener("change", function(evt) {
img.src = window.URL.createObjectURL(fileInput.files[0]);
}, false);
</script>

View File

@ -1,29 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>FileAPI Test: Creating Blob URL via XMLHttpRequest</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="JunChen Xia" href="mailto:xjconlyme@gmail.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
async_test(function () {
var http = new XMLHttpRequest();
http.open("GET", "/images/blue96x96.png", true);
http.responseType = "blob";
http.onloadend = this.step_func(function(evt) {
var blobURI = window.URL.createObjectURL(http.response);
assert_true(http.response instanceof Blob, "XMLHttpRequest returns instanceof Blob");
assert_equals(typeof blobURI, "string", "Blob URI is typeof string");
assert_equals(blobURI.indexOf("blob"), 0, "Blob URI starts with 'blob'");
assert_equals(http.status, 200, "The status is 200");
assert_equals(http.statusText, "OK", "The status text is OK when XMLHttpRequest returns correct blob");
assert_equals(http.getResponseHeader("Content-Type"), "image/png", "The content type is image/png when set the respnose blob");
this.done();
});
http.send();
});
</script>

View File

@ -1,12 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>FileAPI Reference File</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="JunChen Xia" href="mailto:xjconlyme@gmail.com">
<p>Test passes if there is a filled blue square.</p>
<p>
<img id="fileDisplay" src="/images/blue96x96.png">
</p>

View File

@ -1,28 +0,0 @@
<!DOCTYPE html>
<html class="reftest-wait">
<meta charset="utf-8">
<title>FileAPI Test: Creating Blob URL via XMLHttpRequest as image source</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<link rel="author" title="JunChen Xia" href="mailto:xjconlyme@gmail.com">
<link rel="match" href="url_xmlhttprequest_img-ref.html">
<p>Test passes if there is a filled blue square.</p>
<p>
<img id="fileDisplay">
</p>
<script src="/common/reftest-wait.js"></script>
<script>
var http = new XMLHttpRequest();
http.open("GET", "/images/blue96x96.png", true);
http.responseType = "blob";
http.onloadend = function() {
var fileDisplay = document.querySelector("#fileDisplay");
fileDisplay.src = window.URL.createObjectURL(http.response);
takeScreenshot();
};
http.send();
</script>
</html>

View File

@ -1,8 +1,9 @@
The Web Platform Tests Project [![IRC chat](https://goo.gl/6nCIks)](http://irc.w3.org/?channels=testing)
==============================
Description
===========
These are test suites for 60+ Web-platform specifications, along
with test-infrastructure code for running the tests.
This is the test suites from a number of W3C Working Groups, including the HTML
Working Group, the Web Apps Working Group, the Device APIs Working Group, and
the Web Apps Security Working Group.
Running the Tests
=================

View File

@ -7,23 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
// Step 1.
test(function() {
assert_throws("TypeMismatchError", function() {
window.crypto.getRandomValues(new Float32Array(6))
}, "Float32Array")
assert_throws("TypeMismatchError", function() {
window.crypto.getRandomValues(new Float64Array(6))
}, "Float64Array")
assert_throws("TypeMismatchError", function() {
window.crypto.getRandomValues(new Float32Array(65537))
}, "Float32Array (too long)")
assert_throws("TypeMismatchError", function() {
window.crypto.getRandomValues(new Float64Array(65537))
}, "Float64Array (too long)")
}, "Float arrays")
test(function() {
assert_equals(window.crypto.getRandomValues(new Int8Array(8)).constructor,
Int8Array, "crypto.getRandomValues(new Int8Array(8))")

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