mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1124311 - Update web-platform-tests to revision 412773b71c81d7356636f698e86d7b544cf48fcb, a=testonly
This commit is contained in:
parent
7d47fa4cc7
commit
994ce42091
@ -487,9 +487,6 @@
|
||||
{
|
||||
"url": "/FileAPI/BlobURL/support/file_test2.txt"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/FileReader-interface/support/blue-100x100.png"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/FileReader/support/file_test1.txt"
|
||||
},
|
||||
@ -499,12 +496,18 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -517,329 +520,335 @@
|
||||
{
|
||||
"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/tests/submissions/W3C/invalid/idl/enum.widl"
|
||||
"url": "/WebIDL/valid/idl/allowany.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/module.widl"
|
||||
"url": "/WebIDL/valid/idl/array.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/nonnullableany.widl"
|
||||
"url": "/WebIDL/valid/idl/attributes.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/nonnullableobjects.widl"
|
||||
"url": "/WebIDL/valid/idl/callback.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/raises.widl"
|
||||
"url": "/WebIDL/valid/idl/caller.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/scopedname.widl"
|
||||
"url": "/WebIDL/valid/idl/constants.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/sequenceAsAttribute.widl"
|
||||
"url": "/WebIDL/valid/idl/constructor.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/special-omittable.widl"
|
||||
"url": "/WebIDL/valid/idl/dictionary-inherits.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/invalid/idl/stringconstants.idl"
|
||||
"url": "/WebIDL/valid/idl/dictionary.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/readme.txt"
|
||||
"url": "/WebIDL/valid/idl/documentation-dos.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/allowany.widl"
|
||||
"url": "/WebIDL/valid/idl/documentation.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/array.widl"
|
||||
"url": "/WebIDL/valid/idl/enum.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/attributes.widl"
|
||||
"url": "/WebIDL/valid/idl/equivalent-decl.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/callback.widl"
|
||||
"url": "/WebIDL/valid/idl/exception-inheritance.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/caller.widl"
|
||||
"url": "/WebIDL/valid/idl/exception.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/constants.widl"
|
||||
"url": "/WebIDL/valid/idl/getter-setter.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/constructor.widl"
|
||||
"url": "/WebIDL/valid/idl/identifier-qualified-names.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/dictionary-inherits.widl"
|
||||
"url": "/WebIDL/valid/idl/implements.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/dictionary.widl"
|
||||
"url": "/WebIDL/valid/idl/indexed-properties.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/documentation-dos.widl"
|
||||
"url": "/WebIDL/valid/idl/inherits-getter.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/documentation.widl"
|
||||
"url": "/WebIDL/valid/idl/interface-inherits.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/enum.widl"
|
||||
"url": "/WebIDL/valid/idl/iterator.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/equivalent-decl.widl"
|
||||
"url": "/WebIDL/valid/idl/namedconstructor.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/exception-inheritance.widl"
|
||||
"url": "/WebIDL/valid/idl/nointerfaceobject.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/exception.widl"
|
||||
"url": "/WebIDL/valid/idl/nullable.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/getter-setter.widl"
|
||||
"url": "/WebIDL/valid/idl/nullableobjects.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/identifier-qualified-names.widl"
|
||||
"url": "/WebIDL/valid/idl/operation-optional-arg.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/implements.widl"
|
||||
"url": "/WebIDL/valid/idl/overloading.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/indexed-properties.widl"
|
||||
"url": "/WebIDL/valid/idl/overridebuiltins.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/inherits-getter.widl"
|
||||
"url": "/WebIDL/valid/idl/partial-interface.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/interface-inherits.widl"
|
||||
"url": "/WebIDL/valid/idl/primitives.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/iterator.widl"
|
||||
"url": "/WebIDL/valid/idl/prototyperoot.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/namedconstructor.widl"
|
||||
"url": "/WebIDL/valid/idl/putforwards.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/nointerfaceobject.widl"
|
||||
"url": "/WebIDL/valid/idl/reg-operations.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/nullable.widl"
|
||||
"url": "/WebIDL/valid/idl/replaceable.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/nullableobjects.widl"
|
||||
"url": "/WebIDL/valid/idl/sequence.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/operation-optional-arg.widl"
|
||||
"url": "/WebIDL/valid/idl/serializer.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/overloading.widl"
|
||||
"url": "/WebIDL/valid/idl/static.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/overridebuiltins.widl"
|
||||
"url": "/WebIDL/valid/idl/stringifier-attribute.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/partial-interface.widl"
|
||||
"url": "/WebIDL/valid/idl/stringifier-custom.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/primitives.widl"
|
||||
"url": "/WebIDL/valid/idl/stringifier.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/prototyperoot.widl"
|
||||
"url": "/WebIDL/valid/idl/treatasnull.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/putforwards.widl"
|
||||
"url": "/WebIDL/valid/idl/treatasundefined.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/reg-operations.widl"
|
||||
"url": "/WebIDL/valid/idl/typedef.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/replaceable.widl"
|
||||
"url": "/WebIDL/valid/idl/typesuffixes.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/sequence.widl"
|
||||
"url": "/WebIDL/valid/idl/uniontype.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/serializer.widl"
|
||||
"url": "/WebIDL/valid/idl/variadic-operations.widl"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/static.widl"
|
||||
"url": "/WebIDL/valid/xml/allowany.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/stringifier-attribute.widl"
|
||||
"url": "/WebIDL/valid/xml/array.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/stringifier-custom.widl"
|
||||
"url": "/WebIDL/valid/xml/attributes.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/stringifier.widl"
|
||||
"url": "/WebIDL/valid/xml/callback.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/treatasnull.widl"
|
||||
"url": "/WebIDL/valid/xml/caller.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/treatasundefined.widl"
|
||||
"url": "/WebIDL/valid/xml/constants.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/typedef.widl"
|
||||
"url": "/WebIDL/valid/xml/constructor.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/typesuffixes.widl"
|
||||
"url": "/WebIDL/valid/xml/dictionary-inherits.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/uniontype.widl"
|
||||
"url": "/WebIDL/valid/xml/dictionary.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/idl/variadic-operations.widl"
|
||||
"url": "/WebIDL/valid/xml/documentation-dos.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/allowany.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/documentation.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/array.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/enum.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/attributes.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/equivalent-decl.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/callback.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/exception-inheritance.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/caller.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/exception.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/constants.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/getter-setter.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/constructor.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/identifier-qualified-names.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/dictionary-inherits.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/implements.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/dictionary.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/indexed-properties.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/documentation-dos.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/inherits-getter.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/documentation.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/interface-inherits.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/enum.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/iterator.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/equivalent-decl.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/module.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/exception-inheritance.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/namedconstructor.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/exception.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/namespaceobject.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/getter-setter.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/nointerfaceobject.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/identifier-qualified-names.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/nullable.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/implements.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/nullableobjects.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/indexed-properties.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/operation-optional-arg.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/inherits-getter.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/overloading.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/interface-inherits.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/overridebuiltins.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/iterator.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/partial-interface.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/module.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/primitives.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/namedconstructor.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/prototyperoot.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/namespaceobject.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/putforwards.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/nointerfaceobject.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/reg-operations.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/nullable.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/replaceable.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/nullableobjects.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/sequence.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/operation-optional-arg.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/serializer.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/overloading.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/special-omittable.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/overridebuiltins.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/static.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/partial-interface.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/stringifier-attribute.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/primitives.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/stringifier-custom.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/prototyperoot.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/stringifier.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/putforwards.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/treatasnull.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/reg-operations.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/treatasundefined.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/replaceable.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/typedef.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/sequence.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/typesuffixes.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/serializer.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/uniontype.widlprocxml"
|
||||
},
|
||||
{
|
||||
"url": "/WebIDL/tests/submissions/W3C/valid/xml/special-omittable.widlprocxml"
|
||||
"url": "/WebIDL/valid/xml/variadic-operations.widlprocxml"
|
||||
},
|
||||
{
|
||||
"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/XMLHttpRequest-withCredentials.js"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/folder.txt"
|
||||
@ -1357,6 +1366,9 @@
|
||||
{
|
||||
"url": "/dom/nodes/Document-createProcessingInstruction.js"
|
||||
},
|
||||
{
|
||||
"url": "/dom/nodes/Element-matches.js"
|
||||
},
|
||||
{
|
||||
"url": "/dom/nodes/Node-contains.xml"
|
||||
},
|
||||
@ -2506,6 +2518,9 @@
|
||||
{
|
||||
"url": "/images/blue.png"
|
||||
},
|
||||
{
|
||||
"url": "/images/blue96x96.png"
|
||||
},
|
||||
{
|
||||
"url": "/images/broken.png"
|
||||
},
|
||||
@ -2915,13 +2930,7 @@
|
||||
"url": "/resource-timing/test_resource_timing.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": "/selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.js"
|
||||
},
|
||||
{
|
||||
"url": "/service-workers/specgen.json"
|
||||
@ -3097,6 +3106,9 @@
|
||||
{
|
||||
"url": "/webmessaging/README.md"
|
||||
},
|
||||
{
|
||||
"url": "/webmessaging/support/compare.js"
|
||||
},
|
||||
{
|
||||
"url": "/webmessaging/without-ports/025-1.js"
|
||||
},
|
||||
@ -4270,9 +4282,6 @@
|
||||
{
|
||||
"url": "/workers/semantics/encodings/003-1.py"
|
||||
},
|
||||
{
|
||||
"url": "/workers/semantics/interface-objects/001.worker.js"
|
||||
},
|
||||
{
|
||||
"url": "/workers/semantics/multiple-workers/004-2.js"
|
||||
},
|
||||
@ -4306,9 +4315,6 @@
|
||||
{
|
||||
"url": "/workers/support/ErrorEvent.js"
|
||||
},
|
||||
{
|
||||
"url": "/workers/support/EventListener.js"
|
||||
},
|
||||
{
|
||||
"url": "/workers/support/ImportScripts.js"
|
||||
},
|
||||
@ -4333,21 +4339,12 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
@ -4381,10 +4378,16 @@
|
||||
"url": "/2dcontext/shadows/2d.shadow.blur.low-manual.html"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/FileReader-interface/filereader_file-manual.html"
|
||||
"url": "/FileAPI/BlobURL/test1-manual.html"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/FileReader-interface/filereader_file_img-manual.html"
|
||||
"url": "/FileAPI/BlobURL/test2-manual.html"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/BlobURL/test3-manual.html"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/FileReader/test_errors-manual.html"
|
||||
},
|
||||
{
|
||||
"url": "/FileAPI/filelist-section/filelist_multiple_selected_files-manual.html"
|
||||
@ -4395,6 +4398,18 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -5166,6 +5181,11 @@
|
||||
"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",
|
||||
@ -9397,60 +9417,27 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -9460,6 +9447,39 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -10198,6 +10218,12 @@
|
||||
{
|
||||
"url": "/XMLHttpRequest/FormData-append.html"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/XMLHttpRequest-withCredentials.html"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/XMLHttpRequest-withCredentials.worker"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/abort-after-receive.htm"
|
||||
},
|
||||
@ -10657,12 +10683,6 @@
|
||||
{
|
||||
"url": "/XMLHttpRequest/timeout-sync.htm"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/withcredentials-set.htm"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/withcredentials-wrong-state.htm"
|
||||
},
|
||||
{
|
||||
"url": "/XMLHttpRequest/xmlhttprequest-basic.htm"
|
||||
},
|
||||
@ -11341,6 +11361,9 @@
|
||||
{
|
||||
"url": "/dom/nodes/Element-lastElementChild.xhtml"
|
||||
},
|
||||
{
|
||||
"url": "/dom/nodes/Element-matches.html"
|
||||
},
|
||||
{
|
||||
"url": "/dom/nodes/Element-nextElementSibling.html"
|
||||
},
|
||||
@ -13630,6 +13653,9 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -14419,12 +14445,21 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -14509,6 +14544,9 @@
|
||||
{
|
||||
"url": "/media-source/mediasource-config-change-webm-v-framesize.html"
|
||||
},
|
||||
{
|
||||
"url": "/media-source/mediasource-duration-boundaryconditions.html"
|
||||
},
|
||||
{
|
||||
"url": "/media-source/mediasource-duration.html"
|
||||
},
|
||||
@ -14536,18 +14574,27 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -15302,10 +15349,7 @@
|
||||
"url": "/resource-timing/test_resource_timing.html"
|
||||
},
|
||||
{
|
||||
"url": "/selectors-api/tests/submissions/Opera/Element-matches.html"
|
||||
},
|
||||
{
|
||||
"url": "/selectors-api/tests/submissions/Opera/ParentNode-find-findAll.html"
|
||||
"url": "/selectors-api/tests/submissions/Opera/ParentNode-query-queryAll.html"
|
||||
},
|
||||
{
|
||||
"url": "/selectors/attribute-selectors/attribute-case/cssom.html"
|
||||
@ -16894,15 +16938,6 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
@ -16912,12 +16947,6 @@
|
||||
{
|
||||
"url": "/workers/WorkerGlobalScope_importScripts_NetworkErr.htm"
|
||||
},
|
||||
{
|
||||
"url": "/workers/WorkerGlobalScope_nested_Worker.htm"
|
||||
},
|
||||
{
|
||||
"url": "/workers/WorkerGlobalScope_removeEventListener.htm"
|
||||
},
|
||||
{
|
||||
"url": "/workers/WorkerGlobalScope_setInterval.htm"
|
||||
},
|
||||
@ -17102,7 +17131,10 @@
|
||||
"url": "/workers/interfaces.worker"
|
||||
},
|
||||
{
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/onmessage.html"
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/EventTarget.worker"
|
||||
},
|
||||
{
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/onmessage.worker"
|
||||
},
|
||||
{
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/event-ports-dedicated.html"
|
||||
@ -17114,7 +17146,7 @@
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/message-event.html"
|
||||
},
|
||||
{
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/return-value.html"
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/return-value.worker"
|
||||
},
|
||||
{
|
||||
"url": "/workers/interfaces/DedicatedWorkerGlobalScope/postMessage/second-argument-null-in-array.html"
|
||||
@ -17257,6 +17289,9 @@
|
||||
{
|
||||
"url": "/workers/interfaces/WorkerUtils/navigator/language.html"
|
||||
},
|
||||
{
|
||||
"url": "/workers/nested_worker.worker"
|
||||
},
|
||||
{
|
||||
"url": "/workers/postMessage_DataCloneErr.htm"
|
||||
},
|
||||
@ -17287,6 +17322,9 @@
|
||||
{
|
||||
"url": "/workers/semantics/encodings/004.html"
|
||||
},
|
||||
{
|
||||
"url": "/workers/semantics/interface-objects/001.worker"
|
||||
},
|
||||
{
|
||||
"url": "/workers/semantics/interface-objects/002.worker"
|
||||
},
|
||||
@ -17847,6 +17885,10 @@
|
||||
"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"
|
||||
@ -17934,6 +17976,6 @@
|
||||
"deleted": [],
|
||||
"items": {}
|
||||
},
|
||||
"rev": "78bc2a28397159604ce41997e408fbb171e11f8f",
|
||||
"rev": "412773b71c81d7356636f698e86d7b544cf48fcb",
|
||||
"url_base": "/"
|
||||
}
|
@ -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() {
|
@ -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>
|
@ -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() {
|
67
testing/web-platform/tests/FileAPI/fileReader.html
Normal file
67
testing/web-platform/tests/FileAPI/fileReader.html
Normal file
@ -0,0 +1,67 @@
|
||||
<!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>
|
@ -0,0 +1,73 @@
|
||||
<!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>
|
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
@ -0,0 +1,26 @@
|
||||
<!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>
|
||||
|
@ -0,0 +1,51 @@
|
||||
<!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>
|
||||
|
@ -0,0 +1,28 @@
|
||||
<!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>
|
||||
|
@ -0,0 +1,29 @@
|
||||
<!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>
|
||||
|
@ -0,0 +1,12 @@
|
||||
<!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>
|
||||
|
@ -0,0 +1,28 @@
|
||||
<!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>
|
||||
|
@ -1,9 +1,8 @@
|
||||
Description
|
||||
===========
|
||||
The Web Platform Tests Project [![IRC chat](https://goo.gl/6nCIks)](http://irc.w3.org/?channels=testing)
|
||||
==============================
|
||||
|
||||
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.
|
||||
These are test suites for 60+ Web-platform specifications, along
|
||||
with test-infrastructure code for running the tests.
|
||||
|
||||
Running the Tests
|
||||
=================
|
||||
|
@ -7,6 +7,23 @@
|
||||
<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
Loading…
Reference in New Issue
Block a user