Closed Bug 1590022 Opened 3 months ago Closed 3 months ago

Use union return value for FileReader.result

Categories

(Core :: DOM: File, task)

task
Not set

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

Bug 858217 implemented the union return values. Now we can update the FileReader interface.

Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/617d82c93a06
Use union return value for FileReader.result, r=smaug

Backed out changeset 617d82c93a06 (Bug 1590022) for test_fileapi_other.html & test_fileapi_other_worker.html failures

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&fromchange=fb084e1780fed1df502582b5acc41256c03b1c7c&tochange=8e8e5bb63105fd26d10f7cba6adf85a606bceaf0&selectedJob=272333297

Backout link: https://hg.mozilla.org/integration/autoland/rev/8e8e5bb63105fd26d10f7cba6adf85a606bceaf0

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=272333297&repo=autoland&lineNumber=6350

[task 2019-10-22T06:05:10.703Z] 06:05:10 INFO - 1949 INFO TEST-START | dom/file/tests/test_fileapi_other.html
[task 2019-10-22T06:05:10.703Z] 06:05:10 INFO - Buffered messages logged at 06:05:00
[task 2019-10-22T06:05:10.703Z] 06:05:10 INFO - 1950 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Want to test data with length %3 == 0
[task 2019-10-22T06:05:10.704Z] 06:05:10 INFO - 1951 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Correct target.
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1952 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | readyState in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1953 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | no error in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1954 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | result in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1955 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | lengthComputable in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1956 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loaded in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1957 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | total in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1958 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Want to test data with length %3 == 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1959 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Correct target.
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1960 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | readyState in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1961 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | no error in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1962 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | result in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1963 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | lengthComputable in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1964 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loaded in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1965 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | total in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1966 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Want to test data with length %3 == 2
[task 2019-10-22T06:05:10.705Z] 06:05:10 INFO - 1967 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Correct target.
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1968 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | readyState in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1969 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | no error in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1970 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | result in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1971 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | lengthComputable in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1972 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loaded in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1973 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | total in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1974 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort() doesn't throw
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1975 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort() is a no-op unless loading
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1976 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort should only fire once
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1977 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loadend shouldn't have fired yet
[task 2019-10-22T06:05:10.706Z] 06:05:10 INFO - 1978 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | should be DONE while firing onabort
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - 1979 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | error set to AbortError for aborted reads
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - Buffered messages finished
[task 2019-10-22T06:05:10.707Z] 06:05:10 WARNING - 1980 INFO TEST-UNEXPECTED-FAIL | dom/file/tests/test_fileapi_other.html | file data should be null on aborted reads - got "", expected null
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:322:16
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - test_abort/</r.onabort@dom/file/tests/common_fileReader.js:685:9
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - test_abort/<@dom/file/tests/common_fileReader.js:734:7
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - test_abort@dom/file/tests/common_fileReader.js:665:10
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - runOtherTests/<@dom/file/tests/common_fileReader.js:216:14
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - 1981 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort should fire before loadend
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - 1982 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loadend should only fire once
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - 1983 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | should be DONE while firing onabort
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - 1984 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | error set to AbortError for aborted reads
[task 2019-10-22T06:05:10.707Z] 06:05:10 WARNING - 1985 INFO TEST-UNEXPECTED-FAIL | dom/file/tests/test_fileapi_other.html | file data should be null on aborted reads - got "", expected null
[task 2019-10-22T06:05:10.707Z] 06:05:10 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:322:16
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - test_abort/</r.onloadend@dom/file/tests/common_fileReader.js:706:9
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - test_abort/<@dom/file/tests/common_fileReader.js:734:7
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - test_abort@dom/file/tests/common_fileReader.js:665:10
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - runOtherTests/<@dom/file/tests/common_fileReader.js:216:14
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1986 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort should fire sync
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1987 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loadend should fire sync
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1988 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort() should not throw
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1989 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort() is a no-op unless loading
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1990 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | readAsText() must throw if loading
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1991 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | abort should not fire
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1992 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | Correct target.
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1993 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | readyState in test reuse-as-abort reading
[task 2019-10-22T06:05:10.708Z] 06:05:10 INFO - 1994 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | no error in test reuse-as-abort reading
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 1995 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | result in test reuse-as-abort reading
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 1996 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | lengthComputable in test reuse-as-abort reading
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 1997 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | loaded in test reuse-as-abort reading
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 1998 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | total in test reuse-as-abort reading
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 1999 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | shouldn't throw when opening nonexistent file, should fire error instead
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 2000 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | should be DONE while firing onerror
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 2001 INFO TEST-PASS | dom/file/tests/test_fileapi_other.html | error set to NotFoundError for nonexistent files
[task 2019-10-22T06:05:10.709Z] 06:05:10 WARNING - 2002 INFO TEST-UNEXPECTED-FAIL | dom/file/tests/test_fileapi_other.html | file data should be null on aborted reads - got "", expected null
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:322:16
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - test_nonExisting/</r.onerror@dom/file/tests/common_fileReader.js:822:9
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 2003 INFO TEST-OK | dom/file/tests/test_fileapi_other.html | took 177ms
[task 2019-10-22T06:05:10.709Z] 06:05:10 INFO - 2004 INFO TEST-START | dom/file/tests/test_fileapi_other_worker.html
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - Buffered messages logged at 06:05:00
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2005 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Want to test data with length %3 == 0
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2006 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Correct target.
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2007 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | readyState in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2008 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | no error in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2009 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | result in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2010 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | lengthComputable in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.710Z] 06:05:10 INFO - 2011 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loaded in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2012 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | total in test dataurl reading, %3 = 0
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2013 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Want to test data with length %3 == 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2014 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Correct target.
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2015 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | readyState in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2016 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | no error in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2017 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | result in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2018 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | lengthComputable in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2019 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loaded in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2020 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | total in test dataurl reading, %3 = 1
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2021 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Want to test data with length %3 == 2
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2022 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Correct target.
[task 2019-10-22T06:05:10.711Z] 06:05:10 INFO - 2023 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | readyState in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2024 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | no error in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2025 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | result in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2026 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | lengthComputable in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2027 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loaded in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2028 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | total in test dataurl reading, %3 = 2
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2029 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort() doesn't throw
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2030 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort() is a no-op unless loading
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2031 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort should only fire once
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2032 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loadend shouldn't have fired yet
[task 2019-10-22T06:05:10.712Z] 06:05:10 INFO - 2033 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | should be DONE while firing onabort
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2034 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | error set to AbortError for aborted reads
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - Buffered messages finished
[task 2019-10-22T06:05:10.713Z] 06:05:10 WARNING - 2035 INFO TEST-UNEXPECTED-FAIL | dom/file/tests/test_fileapi_other_worker.html | file data should be null on aborted reads
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:277:18
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - worker.onmessage@dom/file/tests/test_fileapi_other_worker.html:28:9
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2036 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort should fire before loadend
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2037 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loadend should only fire once
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2038 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | should be DONE while firing onabort
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2039 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | error set to AbortError for aborted reads
[task 2019-10-22T06:05:10.713Z] 06:05:10 WARNING - 2040 INFO TEST-UNEXPECTED-FAIL | dom/file/tests/test_fileapi_other_worker.html | file data should be null on aborted reads
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:277:18
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - worker.onmessage@dom/file/tests/test_fileapi_other_worker.html:28:9
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2041 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort should fire sync
[task 2019-10-22T06:05:10.713Z] 06:05:10 INFO - 2042 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loadend should fire sync
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2043 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort() should not throw
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2044 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort() is a no-op unless loading
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2045 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | readAsText() must throw if loading
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2046 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | abort should not fire
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2047 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | Correct target.
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2048 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | readyState in test reuse-as-abort reading
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2049 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | no error in test reuse-as-abort reading
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2050 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | result in test reuse-as-abort reading
[task 2019-10-22T06:05:10.714Z] 06:05:10 INFO - 2051 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | lengthComputable in test reuse-as-abort reading
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - 2052 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | loaded in test reuse-as-abort reading
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - 2053 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | total in test reuse-as-abort reading
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - 2054 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | shouldn't throw when opening nonexistent file, should fire error instead
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - 2055 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | should be DONE while firing onerror
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - 2056 INFO TEST-PASS | dom/file/tests/test_fileapi_other_worker.html | error set to NotFoundError for nonexistent files
[task 2019-10-22T06:05:10.715Z] 06:05:10 WARNING - 2057 INFO TEST-UNEXPECTED-FAIL | dom/file/tests/test_fileapi_other_worker.html | file data should be null on aborted reads
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - SimpleTest.ok@SimpleTest/SimpleTest.js:277:18
[task 2019-10-22T06:05:10.715Z] 06:05:10 INFO - worker.onmessage@dom/file/tests/test_fileapi_other_worker.html:28:9

Flags: needinfo?(amarchesini)

Another failure which seems to start with these changes: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=272333846&repo=autoland&lineNumber=1611

[task 2019-10-22T06:01:27.593Z] 06:01:27 INFO - TEST-START | /FileAPI/reading-data-section/filereader_abort.html
[task 2019-10-22T06:01:27.596Z] 06:01:27 INFO - Closing window 18
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO -
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-PASS | /FileAPI/reading-data-section/FileReader-multiple-reads.html | test FileReader InvalidStateError exception for readAsText
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-PASS | /FileAPI/reading-data-section/FileReader-multiple-reads.html | test FileReader InvalidStateError exception for readAsDataURL
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-PASS | /FileAPI/reading-data-section/FileReader-multiple-reads.html | test FileReader InvalidStateError exception for readAsArrayBuffer
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-PASS | /FileAPI/reading-data-section/FileReader-multiple-reads.html | test FileReader InvalidStateError exception in onloadstart event for readAsArrayBuffer
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-PASS | /FileAPI/reading-data-section/FileReader-multiple-reads.html | test FileReader no InvalidStateError exception in loadend event handler for readAsArrayBuffer
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-PASS | /FileAPI/reading-data-section/FileReader-multiple-reads.html | test abort and restart in onloadstart event for readAsText
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_abort.html | Aborting before read - assert_equals: expected (object) null but got (string) ""
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_abort.html:19:20
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - test@http://web-platform.test:8000/resources/testharness.js:544:30
[task 2019-10-22T06:01:27.777Z] 06:01:27 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_abort.html:15:9
[task 2019-10-22T06:01:28.207Z] 06:01:28 INFO - .
[task 2019-10-22T06:01:28.207Z] 06:01:28 INFO - TEST-OK | /FileAPI/reading-data-section/filereader_abort.html | took 616ms
[task 2019-10-22T06:01:28.848Z] 06:01:28 INFO - Closing logging queue
[task 2019-10-22T06:01:28.848Z] 06:01:28 INFO - queue closed
[task 2019-10-22T06:01:28.856Z] 06:01:28 INFO - Setting up ssl
[task 2019-10-22T06:01:28.872Z] 06:01:28 INFO - certutil |
[task 2019-10-22T06:01:28.887Z] 06:01:28 INFO - certutil |
[task 2019-10-22T06:01:28.903Z] 06:01:28 INFO - certutil |
[task 2019-10-22T06:01:28.903Z] 06:01:28 INFO - Certificate Nickname Trust Attributes
[task 2019-10-22T06:01:28.903Z] 06:01:28 INFO - SSL,S/MIME,JAR/XPI
[task 2019-10-22T06:01:28.903Z] 06:01:28 INFO -
[task 2019-10-22T06:01:28.903Z] 06:01:28 INFO - web-platform-tests CT,,
[task 2019-10-22T06:01:28.903Z] 06:01:28 INFO -
[task 2019-10-22T06:01:31.559Z] 06:01:31 INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test
[task 2019-10-22T06:01:32.800Z] 06:01:32 INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test/org.mozilla.geckoview.test.TestRunnerActivity -a android.intent.action.MAIN --es env9 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env8 R_LOG_DESTINATION=stderr --es args "-no-remote -profile /sdcard/tests/profile --marionette about:blank" --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env2 R_LOG_VERBOSE=1 --es env1 MOZ_WEBRENDER=0 --es env0 MOZ_CRASHREPORTER=1 --es env7 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env6 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:4,jsep:4 --es env4 STYLO_THREADS=4 --ez use_multiprocess True --es env12 R_LOG_LEVEL=6 --es env11 MOZ_PROCESS_LOG=/tmp/tmpPjI51Dpidlog --es env10 MOZ_CRASHREPORTER_NO_REPORT=1
[task 2019-10-22T06:01:34.366Z] 06:01:34 INFO - Starting runner
[task 2019-10-22T06:01:34.483Z] 06:01:34 INFO - TEST-START | /FileAPI/reading-data-section/filereader_error.html
[task 2019-10-22T06:01:34.680Z] 06:01:34 INFO -
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_error.html | FileAPI Test: filereader_error - assert_equals: The result is null expected (object) null but got (string) ""
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - reader.onloadend<@http://web-platform.test:8000/FileAPI/reading-data-section/filereader_error.html:26:22
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - Test.prototype.step_func/<@http://web-platform.test:8000/resources/testharness.js:1932:35
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_error.html:31:14
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:22
[task 2019-10-22T06:01:34.681Z] 06:01:34 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_error.html:16:15
[task 2019-10-22T06:01:35.103Z] 06:01:35 INFO - TEST-OK | /FileAPI/reading-data-section/filereader_error.html | took 620ms
...
[task 2019-10-22T06:01:45.557Z] 06:01:45 INFO - TEST-START | /FileAPI/reading-data-section/filereader_result.html
[task 2019-10-22T06:01:45.559Z] 06:01:45 INFO - Closing window 34
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | readAsText - assert_equals: expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:23:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:22
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:21:15
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | readAsDataURL - assert_equals: expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:36:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:22
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:34:15
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | readAsArrayBuffer - assert_equals: expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:49:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:22
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:47:15
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | readAsBinaryString - assert_equals: expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:61:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - async_test@http://web-platform.test:8000/resources/testharness.js:576:22
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:59:15
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "loadstart" event for readAsText - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "loadstart" event for readAsDataURL - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "loadstart" event for readAsArrayBuffer - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - TEST-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "loadstart" event for readAsBinaryString - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.761Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "progress" event for readAsText - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "progress" event for readAsDataURL - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO -
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - TEST-UNEXPECTED-FAIL | /FileAPI/reading-data-section/filereader_result.html | result is null during "progress" event for readAsArrayBuffer - assert_equals: result is null before read expected (object) null but got (string) ""
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - @http://web-platform.test:8000/FileAPI/reading-data-section/filereader_result.html:77:24
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1908:25
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests</<@http://web-platform.test:8000/resources/testharness.js:591:36
[task 2019-10-22T06:01:45.762Z] 06:01:45 INFO - promise_test/tests.promise_tests<@http://web-platform.test:8000/resources/testharness.js:590:20
[task 2019-10-22T06:01:46.183Z] 06:01:46 INFO - .
[task 2019-10-22T06:01:46.183Z] 06:01:46 INFO - TEST-OK | /FileAPI/reading-data-section/filereader_result.html | took 627ms

Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6ab93bf749e0
Use union return value for FileReader.result, r=smaug
Flags: needinfo?(amarchesini)
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.