fune/testing/web-platform/tests/FileAPI/file/File-constructor-endings.html
James Graham 0375220b76 Bug 1429043 - Update web-platform-tests to revision 4de5305adf3d33badc23952672bcf28168fea37e, a=testonly
MozReview-Commit-ID: 8hFZiSUb5Qr


--HG--
rename : testing/web-platform/tests/bluetooth/idl-Bluetooth.html => testing/web-platform/tests/bluetooth/idl/idl-Bluetooth.html
rename : testing/web-platform/tests/cookies/secure/set-from-ws.https.sub.html => testing/web-platform/tests/cookies/secure/set-from-ws.sub.html
rename : testing/web-platform/tests/css/css-values/iframe/vh-support-transform-origin-iframe.html => testing/web-platform/tests/css/css-values/support/vh-support-transform-origin-iframe.html
rename : testing/web-platform/tests/css/css-values/iframe/vh-support-transform-translate-iframe.html => testing/web-platform/tests/css/css-values/support/vh-support-transform-translate-iframe.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/a-ref.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/a-ref.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/match/a-ref.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/match/a-ref.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/match/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/match/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/match/support/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/match/support/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/match/support/tools/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/match/support/tools/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/match/tools/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/match/tools/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/not-match/a-ref.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/not-match/a-ref.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/not-match/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/not-match/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/not-match/support/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/not-match/support/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/not-match/tools/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/not-match/tools/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/selectors/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/selectors/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/support/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/support/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/support/tools/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/support/tools/a.html
rename : testing/web-platform/tests/tools/lint/tests/dummy/css-unique/tools/a.html => testing/web-platform/tests/tools/lint/tests/dummy/css/css-unique/tools/a.html
rename : testing/web-platform/tests/tools/py/.hgignore => testing/web-platform/tests/tools/third_party/py/.hgignore
rename : testing/web-platform/tests/tools/py/AUTHORS => testing/web-platform/tests/tools/third_party/py/AUTHORS
rename : testing/web-platform/tests/tools/py/LICENSE => testing/web-platform/tests/tools/third_party/py/LICENSE
rename : testing/web-platform/tests/tools/py/bench/localpath.py => testing/web-platform/tests/tools/third_party/py/bench/localpath.py
rename : testing/web-platform/tests/tools/py/doc/Makefile => testing/web-platform/tests/tools/third_party/py/doc/Makefile
rename : testing/web-platform/tests/tools/py/doc/_templates/layout.html => testing/web-platform/tests/tools/third_party/py/doc/_templates/layout.html
rename : testing/web-platform/tests/tools/py/doc/announce/release-0.9.0.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-0.9.0.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-0.9.2.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-0.9.2.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.0.0.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.0.0.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.0.1.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.0.1.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.0.2.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.0.2.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.1.0.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.1.0.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.1.1.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.1.1.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.2.0.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.2.0.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.2.1.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.2.1.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.3.0.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.3.0.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.3.1.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.3.1.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.3.2.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.3.2.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.3.3.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.3.3.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.3.4.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.3.4.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.4.0.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.4.0.txt
rename : testing/web-platform/tests/tools/py/doc/announce/release-1.4.1.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/release-1.4.1.txt
rename : testing/web-platform/tests/tools/py/doc/announce/releases.txt => testing/web-platform/tests/tools/third_party/py/doc/announce/releases.txt
rename : testing/web-platform/tests/tools/py/doc/changelog.txt => testing/web-platform/tests/tools/third_party/py/doc/changelog.txt
rename : testing/web-platform/tests/tools/py/doc/code.txt => testing/web-platform/tests/tools/third_party/py/doc/code.txt
rename : testing/web-platform/tests/tools/py/doc/conf.py => testing/web-platform/tests/tools/third_party/py/doc/conf.py
rename : testing/web-platform/tests/tools/py/doc/download.html => testing/web-platform/tests/tools/third_party/py/doc/download.html
rename : testing/web-platform/tests/tools/py/doc/example/genhtml.py => testing/web-platform/tests/tools/third_party/py/doc/example/genhtml.py
rename : testing/web-platform/tests/tools/py/doc/example/genhtmlcss.py => testing/web-platform/tests/tools/third_party/py/doc/example/genhtmlcss.py
rename : testing/web-platform/tests/tools/py/doc/example/genxml.py => testing/web-platform/tests/tools/third_party/py/doc/example/genxml.py
rename : testing/web-platform/tests/tools/py/doc/faq.txt => testing/web-platform/tests/tools/third_party/py/doc/faq.txt
rename : testing/web-platform/tests/tools/py/doc/img/pylib.png => testing/web-platform/tests/tools/third_party/py/doc/img/pylib.png
rename : testing/web-platform/tests/tools/py/doc/io.txt => testing/web-platform/tests/tools/third_party/py/doc/io.txt
rename : testing/web-platform/tests/tools/py/doc/links.inc => testing/web-platform/tests/tools/third_party/py/doc/links.inc
rename : testing/web-platform/tests/tools/py/doc/log.txt => testing/web-platform/tests/tools/third_party/py/doc/log.txt
rename : testing/web-platform/tests/tools/py/doc/style.css => testing/web-platform/tests/tools/third_party/py/doc/style.css
rename : testing/web-platform/tests/tools/py/doc/xml.txt => testing/web-platform/tests/tools/third_party/py/doc/xml.txt
rename : testing/web-platform/tests/tools/py/py/__metainfo.py => testing/web-platform/tests/tools/third_party/py/py/__metainfo.py
rename : testing/web-platform/tests/tools/py/py/_builtin.py => testing/web-platform/tests/tools/third_party/py/py/_builtin.py
rename : testing/web-platform/tests/tools/py/py/_code/__init__.py => testing/web-platform/tests/tools/third_party/py/py/_code/__init__.py
rename : testing/web-platform/tests/tools/py/py/_code/_py2traceback.py => testing/web-platform/tests/tools/third_party/py/py/_code/_py2traceback.py
rename : testing/web-platform/tests/tools/py/py/_io/__init__.py => testing/web-platform/tests/tools/third_party/py/py/_io/__init__.py
rename : testing/web-platform/tests/tools/py/py/_io/capture.py => testing/web-platform/tests/tools/third_party/py/py/_io/capture.py
rename : testing/web-platform/tests/tools/py/py/_io/saferepr.py => testing/web-platform/tests/tools/third_party/py/py/_io/saferepr.py
rename : testing/web-platform/tests/tools/py/py/_log/__init__.py => testing/web-platform/tests/tools/third_party/py/py/_log/__init__.py
rename : testing/web-platform/tests/tools/py/py/_path/__init__.py => testing/web-platform/tests/tools/third_party/py/py/_path/__init__.py
rename : testing/web-platform/tests/tools/py/py/_path/cacheutil.py => testing/web-platform/tests/tools/third_party/py/py/_path/cacheutil.py
rename : testing/web-platform/tests/tools/py/py/_process/__init__.py => testing/web-platform/tests/tools/third_party/py/py/_process/__init__.py
rename : testing/web-platform/tests/tools/py/py/_process/cmdexec.py => testing/web-platform/tests/tools/third_party/py/py/_process/cmdexec.py
rename : testing/web-platform/tests/tools/py/py/_process/forkedfunc.py => testing/web-platform/tests/tools/third_party/py/py/_process/forkedfunc.py
rename : testing/web-platform/tests/tools/py/py/_process/killproc.py => testing/web-platform/tests/tools/third_party/py/py/_process/killproc.py
rename : testing/web-platform/tests/tools/pytest/_pytest/vendored_packages/pluggy-0.3.1.dist-info/WHEEL => testing/web-platform/tests/tools/third_party/py/py/_vendored_packages/apipkg-1.4.dist-info/WHEEL
rename : testing/web-platform/tests/tools/py/py/test.py => testing/web-platform/tests/tools/third_party/py/py/test.py
rename : testing/web-platform/tests/tools/py/testing/code/test_code.py => testing/web-platform/tests/tools/third_party/py/testing/code/test_code.py
rename : testing/web-platform/tests/tools/py/testing/conftest.py => testing/web-platform/tests/tools/third_party/py/testing/conftest.py
rename : testing/web-platform/tests/tools/py/testing/io_/__init__.py => testing/web-platform/tests/tools/third_party/py/testing/io_/__init__.py
rename : testing/web-platform/tests/tools/py/testing/path/repotest.dump => testing/web-platform/tests/tools/third_party/py/testing/path/repotest.dump
rename : testing/web-platform/tests/tools/py/testing/path/svntestbase.py => testing/web-platform/tests/tools/third_party/py/testing/path/svntestbase.py
rename : testing/web-platform/tests/tools/py/testing/path/test_svnurl.py => testing/web-platform/tests/tools/third_party/py/testing/path/test_svnurl.py
rename : testing/web-platform/tests/tools/py/testing/process/__init__.py => testing/web-platform/tests/tools/third_party/py/testing/process/__init__.py
rename : testing/web-platform/tests/tools/py/testing/root/__init__.py => testing/web-platform/tests/tools/third_party/py/testing/root/__init__.py
rename : testing/web-platform/tests/tools/py/testing/root/test_builtin.py => testing/web-platform/tests/tools/third_party/py/testing/root/test_builtin.py
rename : testing/web-platform/tests/tools/py/testing/root/test_std.py => testing/web-platform/tests/tools/third_party/py/testing/root/test_std.py
rename : testing/web-platform/tests/tools/pytest/.gitattributes => testing/web-platform/tests/tools/third_party/pytest/.gitattributes
rename : testing/web-platform/tests/tools/pytest/bench/bench.py => testing/web-platform/tests/tools/third_party/pytest/bench/bench.py
rename : testing/web-platform/tests/tools/pytest/bench/bench_argcomplete.py => testing/web-platform/tests/tools/third_party/pytest/bench/bench_argcomplete.py
rename : testing/web-platform/tests/tools/pytest/bench/empty.py => testing/web-platform/tests/tools/third_party/pytest/bench/empty.py
rename : testing/web-platform/tests/tools/pytest/bench/manyparam.py => testing/web-platform/tests/tools/third_party/pytest/bench/manyparam.py
rename : testing/web-platform/tests/tools/pytest/bench/skip.py => testing/web-platform/tests/tools/third_party/pytest/bench/skip.py
rename : testing/web-platform/tests/tools/pytest/doc/en/_templates/sidebarintro.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/_templates/sidebarintro.html
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/.gitignore => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/.gitignore
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/LICENSE => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/LICENSE
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/README => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/README
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/flask/layout.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/flask/layout.html
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/flask/relations.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/flask/relations.html
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/flask/static/flasky.css_t => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/flask/static/flasky.css_t
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/flask/theme.conf => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/flask/theme.conf
rename : testing/web-platform/tests/tools/pytest/doc/en/_themes/flask_theme_support.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/_themes/flask_theme_support.py
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.0.0.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.0.0.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.0.1.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.0.1.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.1.0.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.1.0.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.1.1.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.1.1.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.1.2.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.1.2.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.1.3.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.1.3.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.2.0.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.2.0.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.2.2.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.2.2.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.3.1.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.3.1.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.3.4.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.3.4.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.4.1.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.4.1.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.4.2.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.4.2.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.5.1.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.5.1.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.6.0.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.6.0.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.6.1.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.6.1.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.6.2.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.6.2.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.7.2.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.7.2.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.8.2.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.8.2.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.8.3.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.8.3.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.8.4.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.8.4.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.8.5.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.8.5.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.8.6.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.8.6.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/announce/release-2.8.7.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/announce/release-2.8.7.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/changelog.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/changelog.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/check_sphinx.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/check_sphinx.py
rename : testing/web-platform/tests/tools/pytest/doc/en/conftest.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/conftest.py
rename : testing/web-platform/tests/tools/pytest/doc/en/contributing.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/contributing.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/example/assertion/global_testmodule_config/conftest.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/assertion/global_testmodule_config/conftest.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/assertion/global_testmodule_config/test_hello.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/assertion/global_testmodule_config/test_hello.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/assertion/test_failures.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/assertion/test_failures.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/conftest.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/conftest.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/costlysetup/sub1/__init__.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/costlysetup/sub1/__init__.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/costlysetup/sub1/test_quick.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/costlysetup/sub1/test_quick.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/costlysetup/sub2/__init__.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/costlysetup/sub2/__init__.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/costlysetup/sub2/test_two.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/costlysetup/sub2/test_two.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/nonpython/test_simple.yml => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/nonpython/test_simple.yml
rename : testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/conftest.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/py2py3/conftest.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py2.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/py2py3/test_py2.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py3.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/py2py3/test_py3.py
rename : testing/web-platform/tests/tools/pytest/doc/en/example/xfail_demo.py => testing/web-platform/tests/tools/third_party/pytest/doc/en/example/xfail_demo.py
rename : testing/web-platform/tests/tools/pytest/doc/en/funcargs.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/funcargs.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/img/cramer2.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/cramer2.png
rename : testing/web-platform/tests/tools/pytest/doc/en/img/freiburg2.jpg => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/freiburg2.jpg
rename : testing/web-platform/tests/tools/pytest/doc/en/img/gaynor3.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/gaynor3.png
rename : testing/web-platform/tests/tools/pytest/doc/en/img/keleshev.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/keleshev.png
rename : testing/web-platform/tests/tools/pytest/doc/en/img/pullrequest.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/pullrequest.png
rename : testing/web-platform/tests/tools/pytest/doc/en/img/pylib.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/pylib.png
rename : testing/web-platform/tests/tools/pytest/doc/en/img/pytest1.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/pytest1.png
rename : testing/web-platform/tests/tools/pytest/doc/en/img/pytest1favi.ico => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/pytest1favi.ico
rename : testing/web-platform/tests/tools/pytest/doc/en/img/theuni.png => testing/web-platform/tests/tools/third_party/pytest/doc/en/img/theuni.png
rename : testing/web-platform/tests/tools/pytest/doc/en/naming20.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/naming20.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/pytest.ini => testing/web-platform/tests/tools/third_party/pytest/doc/en/pytest.ini
rename : testing/web-platform/tests/tools/pytest/doc/en/test/config.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/config.html
rename : testing/web-platform/tests/tools/pytest/doc/en/test/dist.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/dist.html
rename : testing/web-platform/tests/tools/pytest/doc/en/test/extend.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/extend.html
rename : testing/web-platform/tests/tools/pytest/doc/en/test/index.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/index.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/test/plugin/django.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/plugin/django.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/test/plugin/index.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/plugin/index.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/test/plugin/oejskit.rst => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/plugin/oejskit.rst
rename : testing/web-platform/tests/tools/pytest/doc/en/test/test.html => testing/web-platform/tests/tools/third_party/pytest/doc/en/test/test.html
rename : testing/web-platform/tests/tools/pytest/extra/setup-py.test/setup.py => testing/web-platform/tests/tools/third_party/pytest/extra/setup-py.test/setup.py
rename : testing/web-platform/tests/tools/pytest/testing/cx_freeze/tests/test_doctest.txt => testing/web-platform/tests/tools/third_party/pytest/testing/freeze/tests/test_doctest.txt
2018-01-09 14:45:43 +00:00

104 lines
3.6 KiB
HTML

<!DOCTYPE html>
<meta charset=utf-8>
<title>File constructor: endings option</title>
<link rel=help href="https://w3c.github.io/FileAPI/#file-constructor">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
// Windows platforms use CRLF as the native line ending. All others use LF.
const crlf = navigator.platform.startsWith('Win');
const native_ending = crlf ? '\r\n' : '\n';
function readBlobAsPromise(blob) {
return new Promise((resolve, reject) => {
const reader = new FileReader();
reader.readAsText(blob);
reader.onload = e => resolve(reader.result);
reader.onerror = e => reject(reader.error);
});
}
[
'transparent',
'native'
].forEach(value => test(t => {
assert_class_string(new File([], "name", {endings: value}), 'File',
`Constructor should allow "${value}" endings`);
}, `Valid "endings" value: ${JSON.stringify(value)}`));
[
null,
'',
'invalidEnumValue',
'Transparent',
'NATIVE',
0,
{}
].forEach(value => test(t => {
assert_throws(new TypeError(), () => new File([], "name", {endings: value}),
'File constructor should throw');
}, `Invalid "endings" value: ${JSON.stringify(value)}`));
test(t => {
const test_error = {name: 'test'};
assert_throws(
test_error,
() => new File([], "name", { get endings() { throw test_error; }}),
'File constructor should propagate exceptions from "endings" property');
}, 'Exception propagation from options');
test(t => {
let got = false;
new File([], "name", { get endings() { got = true; } });
assert_true(got, 'The "endings" property was accessed during construction.');
}, 'The "endings" options property is used');
[
{name: 'LF', input: '\n', native: native_ending},
{name: 'CR', input: '\r', native: native_ending},
{name: 'CRLF', input: '\r\n', native: native_ending},
{name: 'CRCR', input: '\r\r', native: native_ending.repeat(2)},
{name: 'LFCR', input: '\n\r', native: native_ending.repeat(2)},
{name: 'LFLF', input: '\n\n', native: native_ending.repeat(2)},
{name: 'CRCRLF', input: '\r\r\n', native: native_ending.repeat(2)},
{name: 'CRLFLF', input: '\r\n\n', native: native_ending.repeat(2)},
{name: 'CRLFCR', input: '\r\n\r\n', native: native_ending.repeat(2)},
{name: 'CRLFCRLF', input: '\r\n\r\n', native: native_ending.repeat(2)},
{name: 'LFCRLFCR', input: '\n\r\n\r', native: native_ending.repeat(3)},
].forEach(testCase => {
promise_test(async t => {
const file = new File([testCase.input], "name");
assert_equals(
await readBlobAsPromise(file), testCase.input,
'Newlines should not change with endings unspecified');
}, `Input ${testCase.name} with endings unspecified`);
promise_test(async t => {
const file = new File([testCase.input], "name", {endings: 'transparent'});
assert_equals(
await readBlobAsPromise(file), testCase.input,
'Newlines should not change with endings "transparent"');
}, `Input ${testCase.name} with endings 'transparent'`);
promise_test(async t => {
const file = new File([testCase.input], "name", {endings: 'native'});
assert_equals(
await readBlobAsPromise(file), testCase.native,
'Newlines should match the platform with endings "native"');
}, `Input ${testCase.name} with endings 'native'`);
});
promise_test(async t => {
const file = new File(['\r', '\n'], "name", {endings: 'native'});
const expected = native_ending.repeat(2);
assert_equals(
await readBlobAsPromise(file), expected,
'CR/LF in adjacent strings should be converted to two platform newlines');
}, `CR/LF in adjacent input strings`);
</script>